@font-face {
  font-family: Inter;
  src: url('./fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #FFFFFF;
  --gunmetal: #2B2D2B;
  --bronze: #7F6030;
  --brand-gold: #C49A58;
  --line: rgb(43 45 43 / .18);
  --inverse-line: rgb(255 255 255 / .24);
  --muted: rgb(43 45 43 / .8);
  --inverse-muted: rgb(255 255 255 / .82);
  --foreground: var(--gunmetal);
  --radius: 8px;
  --page-gutter: clamp(1.125rem, 5vw, 4rem);
  --section-space: clamp(3.5rem, 8vw, 7rem);
  --display: Manrope, Inter, system-ui, sans-serif;
  --motion: 170ms cubic-bezier(.2, .65, .35, 1);
  font: 100%/1.6 Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  color: var(--foreground);
}

main { flex: 1; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h1, h2 { text-wrap: balance; }
h2, h3 { line-height: 1.17; }
h1 { font-size: clamp(2.75rem, 5.9vw, 5.4rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; }
h2 { font-size: clamp(1.875rem, 3.5vw, 3.25rem); letter-spacing: -.042em; font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -.025em; font-weight: 800; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--foreground); outline-offset: 4px; }

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 3;
  inset: .75rem auto auto .75rem;
  padding: .625rem 1rem;
  color: var(--white);
  background: var(--gunmetal);
  outline-color: var(--brand-gold);
  border-radius: var(--radius);
}

.shell { width: min(100%, 88rem); padding-inline: var(--page-gutter); margin-inline: auto; }
.dark { --foreground: var(--white); background: var(--gunmetal); color: var(--foreground); }

.site-header { border-bottom: 1px solid var(--inverse-line); }

.header-inner {
  display: flex;
  min-height: 4.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-block: .5rem;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand img { flex: none; }

.section-nav, .header-actions, .languages, .hero-actions, .store-actions, .footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header-actions { gap: clamp(.5rem, 1.25vw, 1.5rem); }
.section-nav { order: 2; width: 100%; gap: .125rem 1.25rem; border-top: 1px solid var(--inverse-line); }
.section-nav a, .footer-inner nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .875rem; text-decoration: none; }
.section-nav a:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: .24em; }

.languages button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .25rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--inverse-muted);
  font-size: .875rem;
  cursor: pointer;
}

.languages button:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.languages button[aria-pressed="true"] { color: var(--white); text-decoration: underline var(--brand-gold) 2px; text-underline-offset: .32em; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--bronze);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--motion), color var(--motion), border-color var(--motion);
}

.button:hover { background: var(--gunmetal); }
.dark .button { border-color: var(--brand-gold); }
.dark .button:hover { background: var(--white); color: var(--gunmetal); border-color: var(--white); }
.header-cta { min-height: 2.75rem; font-size: .875rem; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 650; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--bronze); text-decoration-thickness: 2px; }

.hero {
  display: grid;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 7rem);
}

.hero-copy { min-width: 0; }
.hero h1 { margin-block: 1rem; }
.hero h1 span { display: block; }
.accent, .eyebrow { color: var(--bronze); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.65; }
.hero-actions, .store-actions { gap: .5rem 1.375rem; margin-top: 1.5rem; }
.release-note { margin-top: 1rem; color: var(--muted); font-size: .875rem; font-weight: 600; }

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 34rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gunmetal);
}

.hero-art::before, .hero-art::after {
  position: absolute;
  background: var(--inverse-line);
  content: '';
}
.hero-art::before { inset: 50% 0 auto; height: 1px; }
.hero-art::after { inset: 0 auto 0 50%; width: 1px; }
.art-ring { position: absolute; inset: 6%; border: 1px solid var(--inverse-line); border-radius: 50%; }
.art-ring-inner { inset: 13%; border-color: rgb(196 154 88 / .55); }
.hero-art img { z-index: 1; width: 61%; height: auto; padding: 3%; background: var(--gunmetal); border-radius: 50%; }

.feature-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.feature-section h2 { max-width: 24ch; }
.features {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  margin-top: 1.75rem;
  list-style: none;
}
.features li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem .75rem; padding-top: 1.125rem; border-top: 1px solid var(--inverse-line); }
.features li p { grid-column: 2; max-width: 38ch; color: var(--inverse-muted); }
.feature-icon { color: var(--brand-gold); }

.editorial {
  display: grid;
  gap: clamp(1.75rem, 5vw, 6rem);
  padding-block: var(--section-space);
}

.editorial h2 { margin-block: .5rem 1rem; }
.editorial .text-link { margin-top: .75rem; }
.portal-link { margin-inline-start: .875rem; }
.steps { padding-left: 2.25rem; }
.steps li { padding: .875rem 0 .875rem .375rem; border-top: 1px solid var(--line); }
.steps li::marker { color: var(--bronze); font-family: var(--display); font-weight: 800; }
.steps p, .faq p { margin-top: .375rem; color: var(--muted); }
.faq h3 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 2.75rem; padding-block: .75rem; font-weight: 650; cursor: pointer; }
.faq summary::marker { color: var(--bronze); }
.faq p { margin: 0 0 1rem; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(1.5rem, 4.5vw, 3.75rem);
  border-radius: 12px;
}
.callout h2 { max-width: 21ch; }
.callout p { margin-top: .625rem; color: var(--inverse-muted); }
.callout-actions nav { display: flex; flex-wrap: wrap; gap: 0 .875rem; margin-top: .5rem; }
.callout-actions nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; text-underline-offset: .22em; }

.site-footer { padding-block: 1.625rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner p { color: var(--inverse-muted); font-size: .875rem; }
.footer-inner nav { gap: .25rem 1.25rem; }

.compact-page { max-width: 68rem; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.compact-intro h1 { max-width: 16ch; margin-block: .625rem 1rem; font-size: clamp(2.5rem, 5.5vw, 4.625rem); }
.compact-mark { margin-bottom: 1.125rem; }
.acquisition, .support-page .acquisition-grid { margin-top: clamp(2rem, 5vw, 3.75rem); }
.acquisition > h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.acquisition-grid { display: grid; gap: 1rem; }
.acquisition-grid > * {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--bronze);
  border-radius: var(--radius);
}
.acquisition-grid > :target { outline: 2px solid var(--bronze); outline-offset: 3px; }
.acquisition-grid h2 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.acquisition-grid p { margin-top: .75rem; color: var(--muted); }
.acquisition-grid .state { font-weight: 700; color: var(--bronze); }
.contact-address { overflow-wrap: anywhere; }
.contact-address:has([hidden]) { margin-top: 0; }
.support-links { padding: 0; margin-top: .5rem; list-style: none; }

@media (max-width: 34rem) {
  .header-inner { column-gap: .5rem; }
  .header-actions { margin-inline-start: auto; }
  .header-cta { padding-inline: .65rem; }
}

@media (max-width: 24rem) {
  .header-cta { display: none; }
}

@media (min-width: 44rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
  .features li { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .features li p { grid-column: auto; }
  .editorial { grid-template-columns: 1fr 1fr; }
  .acquisition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 58rem) {
  .section-nav { order: 0; width: auto; border: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: artwork-entry 380ms ease-out; }
  @keyframes artwork-entry {
    from { transform: scale(.98); }
    to { transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.compact-language { display: none; }
@media (max-width: 40.625rem) {
  .languages button { display: none; }
  .compact-language {
    display: block;
    min-height: 44px;
    max-width: 50px;
    padding: 4px;
    border: 0;
    color: #eeeade;
    background: #2b2d2b;
    font: 12px Inter, sans-serif;
  }
  .site-header .brand { font-size: 18px; }
  .site-header .brand img { width: 28px; height: 28px; }
  .header-actions { gap: 7px; flex-wrap: nowrap; }
  .header-cta { font-size: 12px; padding-inline: 9px; }
}
