:root {
  --ink: #242538;
  --muted: #5d5f73;
  --paper: #fff8fc;
  --surface: #ffffff;
  --line: #e8e1ea;
  --dark: #171720;
  --pink: #f873aa;
  --peach: #ffa77b;
  --yellow: #ffd46a;
  --mint: #b8f3c5;
  --sky: #aee0f5;
  --shadow: 0 18px 40px rgba(36, 37, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #fff;
  background: rgba(23, 23, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(1120px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  min-width: max-content;
  padding: 20px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-color: var(--pink);
}

.hero,
.page-hero {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px),
    linear-gradient(135deg, #181820, #292533 58%, #3a2932);
  background-size: auto, 22px 22px, auto;
}

.hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.hero-inner,
.page-hero-inner,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  padding: 72px 0 64px;
}

.hero-mark {
  width: 94px;
  height: 94px;
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: 54px;
  font-weight: 900;
}

h2 {
  font-size: 34px;
  font-weight: 900;
}

h3 {
  font-size: 20px;
  font-weight: 900;
}

.hero-copy,
.page-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.button {
  color: #171720;
  background: var(--yellow);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.button:hover,
.button:focus,
.button-secondary:hover,
.button-secondary:focus {
  transform: translateY(-1px);
}

.content-band,
.gallery-band,
.soft-band,
.page-content {
  padding: 56px 0;
}

.content-band,
.page-content {
  background: var(--surface);
}

.soft-band {
  background: #fff1d8;
}

.gallery-band {
  background: var(--paper);
}

.lead {
  margin: 0;
  max-width: 860px;
  font-size: 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 2px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.art-card,
.info-card,
.policy-card,
.support-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.art-card {
  padding: 14px;
}

.art-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #ece7ef;
}

.art-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.info-grid,
.support-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.support-card,
.download-card {
  padding: 24px;
}

.info-card p,
.support-card p,
.download-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
}

.meta-list dt {
  color: var(--muted);
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  font-weight: 800;
}

.page-hero-inner {
  padding: 74px 0 58px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
}

.policy-flow {
  display: grid;
  gap: 18px;
}

.policy-card h2,
.policy-card h3 {
  margin-bottom: 10px;
}

.policy-card {
  padding: 26px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
}

.policy-card ul,
.policy-card ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.side-note {
  align-self: start;
  position: sticky;
  top: 88px;
  padding: 22px;
  border-radius: 8px;
  background: #e9f9ee;
  border: 1px solid #cff0d8;
}

.side-note p {
  margin: 8px 0 0;
  color: #34533f;
  font-weight: 700;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.status-item {
  padding: 18px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.status-item strong {
  display: block;
  font-size: 24px;
}

.status-item span {
  color: var(--muted);
  font-weight: 750;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
  padding: 32px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav-wrap,
  .footer-inner,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 4px 12px;
    overflow-x: visible;
    padding-bottom: 8px;
  }

  .site-nav a {
    padding: 6px 0 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 48px 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy,
  .page-copy {
    font-size: 18px;
  }

  .feature-list,
  .gallery,
  .info-grid,
  .support-grid,
  .download-grid,
  .status-strip,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 480px) {
  .nav-wrap,
  .hero-inner,
  .page-hero-inner,
  .container,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 34px;
  }

  .content-band,
  .gallery-band,
  .soft-band,
  .page-content {
    padding: 40px 0;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
