/* GGNAS typography: one family, natural proportions and a restrained hierarchy. */
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-variable.woff') format('woff');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --font: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-display: var(--font);
  --type-title: clamp(36px, 3.6vw, 50px);
  --type-body: 16px;
  --type-small: 13px;
  --type-label: 11px;
}

body {
  font-size: var(--type-body);
  line-height: 1.7;
  font-synthesis: none;
}

h1, h2 {
  font-family: var(--font);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.035em;
  line-height: 1.15;
}

h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -.025em;
}

.hero h1 {
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.13;
  white-space: normal;
}

:is(.section-copy, .features-heading, .safety-copy, .readiness-copy,
    .assembly-copy, .club-intro, .setup-heading, .faq-intro, .cta-content) h2 {
  font-size: var(--type-title);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.hero-subline {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.hero-description,
.section-copy > p, .section-copy > p.muted,
.features-heading > p,
.feature-library > p, .feature-hardware > p, .feature-team > p,
.safety-copy > p, .safety-copy > .safety-lead, .safety-copy > .safety-qualifier,
.safety-explainer p, .backup-note p, .risks-heading > p, .risk-body p,
.readiness-copy > p, .readiness-list p,
.reserve-heading > p, .reserve-checks p,
.assembly-copy > p, .assembly-step > p,
.club-intro > p, .step p, .faq-intro > p, .faq-answer p,
.cta-content > p {
  font-size: var(--type-body);
  line-height: 1.75;
  letter-spacing: 0;
}

.hero-description { max-width: 455px; }
.section-copy > p { max-width: 42ch; }
.step p { max-width: 38ch; }

.feature-library h3, .feature-hardware h3, .feature-team h3,
.safety-copy > h3, .safety-explainer h3,
.storage-heading h3, .backup-note h3, .risks-heading h3,
.readiness-list h3, .assembly-step > h3, .step h3 {
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.reserve-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
}

.reserve-node h4 { font-size: 22px; letter-spacing: -.025em; }
.faq-list summary { font-size: 17px; font-weight: 500; line-height: 1.5; }
.risk-name { font-size: 16px; line-height: 1.5; }
.risk-impact { font-size: 14px; line-height: 1.6; }
.risk-list summary { padding-right: 10px; }

.desktop-nav a { font-size: 14px; font-weight: 500; }
.button, .button-primary, .nav-cta,
.hero-actions .button, .club-config .button-dark,
.assembly-copy > .button, .reserve-bottom > .button,
.storage-bom .button, .cta-content > .button,
#request-form .button, #request-step > .button {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.hero-actions .text-link, .inline-link, .text-link,
.safety-bottom .inline-link, .readiness-copy > .inline-link,
.faq-intro > .inline-link, .setup-heading .text-link,
.hero-safety-link { font-size: 14px; font-weight: 500; }

.mono, .eyebrow {
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .065em;
  line-height: 1.6;
}

.hero-eyebrow, .section-meta > .eyebrow, .section-meta > .muted,
.assembly-copy > .eyebrow, .readiness-copy > .eyebrow,
.reserve-heading .eyebrow, .risks-heading .eyebrow,
.storage-heading .eyebrow, .storage-heading > .mono,
.storage-capacity > .mono, .storage-bom .mono,
.storage-disk > span, .storage-system > .mono,
.reserve-node-copy > .mono, .reserve-node-foot, .reserve-total > .mono,
.reserve-checks .mono, .risk-body .mono,
.config-heading > .mono, .config-heading > .mono:last-child,
.step-bottom, .cta-content .eyebrow, .dialog-shell .eyebrow {
  font-size: var(--type-label);
  letter-spacing: .05em;
  line-height: 1.6;
}

.hero-note, .hero-spec p, .diagram-note,
.assembly-copy > .assembly-note, .assembly-points > span,
.safety-bottom > p, .reserve-bottom > p, .reserve-node p,
.reserve-total > p, .config-storage, .config-note,
.storage-field > p, .storage-server-toggle small,
.storage-formula, .storage-split > span, .storage-status > p,
.storage-system p, .storage-bom p, .storage-assumptions,
.request-storage-summary p, .dialog-description, .dialog-note,
.dialog-back, .field-help, .footer-top > p {
  font-size: var(--type-small);
  line-height: 1.7;
}

.storage-field > label, .storage-field > .storage-label,
.storage-server-toggle strong, .storage-status > strong,
.storage-system strong, .request-storage-summary > span,
#request-form label { font-size: 14px; line-height: 1.5; }

.storage-field input, .storage-field select, .storage-unit,
#request-form input, #request-form select, #request-text {
  font-size: 16px;
  line-height: 1.5;
}

.storage-field select { padding-right: 28px; }
.hardware-options > button { font-size: 14px; line-height: 1.5; }
.config-summary p { font-size: 14px; line-height: 1.7; }
.segmented button { font-size: 12px; }
.demo-top > .mono:first-child, .demo-caption { font-size: 10px; }
.demo-top { flex-wrap: wrap; }
.demo-game strong { font-size: 14px; font-weight: 500; }
.game-status, .demo-bottom > span, .demo-bottom > button { font-size: 12px; }
.demo-bottom { flex-wrap: wrap; }
.game-cover { flex-shrink: 0; }
.hardware-equation { font-family: var(--font); letter-spacing: -.02em; }
.storage-target, .storage-capacity, .storage-bom strong,
.reserve-total > strong, .count-heading > output, .storage-disk > strong {
  font-variant-numeric: tabular-nums lining-nums;
}

.storage-capacity output, .count-heading > output, .hero-spec strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
}

.storage-capacity output { font-size: 68px; }
.storage-disk > strong { font-size: 26px; letter-spacing: -.02em; }
.storage-bom strong, .reserve-total > strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dialog-shell h2 { font-size: 36px; letter-spacing: -.035em; line-height: 1.15; }
.dialog-note { margin-top: 10px; }
.visual-caption, .assembly-caption { font-size: 10px; letter-spacing: .04em; }
.footer-bottom { font-size: 12px; }
.ticker-track > span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}

@media (max-width: 1150px) and (min-width: 901px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 12px; }
}

@media (max-width: 900px) {
  :root { --type-title: clamp(30px, 3.8vw, 40px); }
  .hero h1 { font-size: clamp(36px, 4.6vw, 48px); }
  .hero-subline { font-size: 18px; }
  .hero-eyebrow { font-size: 10px; }
  .storage-grid { gap: 28px; grid-template-columns: 1fr 1.1fr; }
  .storage-heading { align-items: start; flex-wrap: wrap; gap: 14px; }
  .storage-bom { grid-template-columns: 1fr; gap: 18px; }
  .storage-bom .button { justify-self: start; }
  .backup-note { grid-template-columns: 24px 1fr; }
  .backup-note-tag { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  :root {
    --type-title: clamp(28px, 7.2vw, 38px);
    --type-body: 15px;
    --type-small: 13px;
    --type-label: 10px;
  }
  .hero h1 { font-size: clamp(38px, 10.5vw, 60px); }
  .hero-subline { font-size: 18px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .04em; }
  .hero-note { align-items: start; }
  .hero-note svg { margin-top: 4px; flex-shrink: 0; }
  .hero-spec p { font-size: 11px; }
  .hero-spec { align-items: center; }
  .hero-bottom { gap: 15px; }
  .hero-scroll { display: none; }
  .assembly-copy > h2 { font-size: clamp(27px, 7.1vw, 36px); }
  .feature-library h3, .feature-hardware h3, .feature-team h3,
  .storage-heading h3, .backup-note h3, .readiness-list h3,
  .assembly-step > h3, .step h3 { font-size: 23px; }
  .storage-grid { grid-template-columns: 1fr; }
  .storage-bom .button { justify-self: stretch; }
  .storage-capacity output { font-size: 60px; }
  .storage-disk > strong { font-size: 23px; }
  .storage-bom strong, .reserve-total > strong { font-size: 22px; }
  .storage-disks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .storage-split { flex-wrap: wrap; }
  .storage-heading > .mono { display: none; }
  .storage-assumptions { font-size: 12px; }
  .reserve-heading h3 { font-size: 30px; }
  .reserve-node h4 { font-size: 22px; }
  .risk-impact { font-size: 13px; }
  .faq-list summary { font-size: 16px; gap: 18px; }
  .dialog-shell h2 { font-size: 32px; }
  .footer-bottom { font-size: 12px; }
  .ticker-track > span { font-size: 19px; }
}

@media (max-width: 365px) {
  .hero-bottom { align-items: start; }
  .hero-spec { gap: 8px; }
  .hero-spec p { font-size: 10px; }
  .hero-spec strong { font-size: 36px; }
  .hero-subline { font-size: 16px; gap: 7px; }
  .storage-disk { padding: 8px; }
  .storage-disk > span { font-size: 9px; letter-spacing: 0; }
  .storage-disk > strong { font-size: 21px; }
  .storage-bom strong, .reserve-total > strong { font-size: 20px; }
  .assembly-copy > .button { font-size: 14px; }
  .reserve-bottom > .button { font-size: 15px; }
  .dialog-shell h2 { font-size: 28px; }
}
