/* Star Alliance Consulting — site stylesheet
   Palette: night blue / graphite for strong sections, ivory for reading,
   discreet champagne gold accent. Two families: Fraunces (headings), Inter (text). */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin-var.woff2') format('woff2-variations'), url('/assets/fonts/fraunces-latin-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2-variations'), url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night-950: #08111e;
  --night-900: #0c1829;
  --night-800: #13243a;
  --night-700: #1d3350;
  --graphite: #1c2026;
  --ivory: #f6f2e9;
  --ivory-2: #ede7da;
  --paper: #fbf9f4;
  --gold: #c9ab74;          /* accent on dark backgrounds */
  --gold-soft: #e3cfa6;
  --gold-deep: #7d6232;     /* accent text on light backgrounds (AA) */
  --ink: #15181d;
  --ink-2: #434a54;
  --on-dark: #f3efe6;
  --on-dark-2: #c3c9d3;
  --line: rgba(21, 24, 29, 0.14);
  --line-dark: rgba(243, 239, 230, 0.16);
  --error: #a3261b;
  --error-bg: #fbeceb;
  --success: #1f6b45;
  --focus: #2a6fdb;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(8, 17, 30, 0.06), 0 8px 24px rgba(8, 17, 30, 0.06);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 450;
  font-variation-settings: 'opsz' 72, 'SOFT' 0, 'WONK' 0;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.3vw, 4rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); line-height: 1.22; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-soft); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--night-950); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--night-900); color: var(--on-dark); }
.section--graphite { background: var(--graphite); color: var(--on-dark); }
.section--dark p, .section--graphite p { color: var(--on-dark-2); }
.section--dark h2, .section--dark h3, .section--graphite h2, .section--graphite h3 { color: var(--on-dark); }
.section + .section--ivory, .section--ivory + .section:not(.section--dark):not(.section--graphite) { border-top: 0; }

.grid-2 { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid-2--even { grid-template-columns: 1fr 1fr; }
  .sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--graphite .eyebrow, .hero .eyebrow, .page-hero--dark .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead, .hero .lead, .page-hero--dark .lead { color: var(--on-dark-2); }
.measure { max-width: 64ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 1.125rem; }
.section--dark .section-head p { color: var(--on-dark-2); }
.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--gold); color: var(--night-950); }
.btn--primary:hover { background: var(--gold-soft); }
.btn--dark { background: var(--night-900); color: var(--on-dark); }
.btn--dark:hover { background: var(--night-700); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.section--dark .text-link, .section--graphite .text-link { color: var(--on-dark); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(8, 17, 30, 0.97);
  color: var(--on-dark); border-bottom: 1px solid var(--line-dark);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(8, 17, 30, 0.9); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 10px 14px; font: 600 0.9375rem var(--font-body); cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars span { top: 5px; } .nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-5.25px) rotate(-45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span { opacity: 0; }

.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--night-950); border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.no-js .site-nav { display: block; position: static; width: 100%; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .nav-toggle { display: none; }
.nav-list { list-style: none; margin: 0; padding: 12px var(--gutter) 24px; display: flex; flex-direction: column; }
.nav-list a { display: block; padding: 12px 0; text-decoration: none; color: var(--on-dark); font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.nav-list a[aria-current='page'] { color: var(--gold); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 0 var(--gutter) 24px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 0.875rem; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 6px 8px; border-radius: 3px; text-decoration: none; color: var(--on-dark-2); }
.lang-switch [aria-current='true'] { color: var(--on-dark); background: rgba(255, 255, 255, 0.08); }
.lang-switch a:hover { color: var(--on-dark); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open, .no-js .site-nav { display: flex; align-items: center; position: static; background: none; border: 0; flex: 1; max-height: none; overflow: visible; width: auto; }
  .site-nav > nav { margin-left: auto; }
  .nav-list { flex-direction: row; gap: 4px; padding: 0; }
  .nav-list a { border: 0; padding: 8px 12px; font-size: 0.9688rem; border-radius: 3px; position: relative; }
  .nav-list a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
  .nav-list a:hover::after, .nav-list a[aria-current='page']::after { transform: scaleX(1); }
  .nav-list a[aria-current='page'] { color: var(--on-dark); }
  .nav-actions { padding: 0; margin-left: 20px; gap: 14px; flex-wrap: nowrap; }
}

/* ---------- Hero ---------- */
.hero { background: var(--night-950); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 0% 0%, rgba(201, 171, 116, 0.10), transparent 60%);
}
.hero-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 80px); position: relative; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero .lead { max-width: 56ch; margin-bottom: 32px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 0.9375rem; color: var(--on-dark-2); }
.hero-note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-badges { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px 20px; color: var(--on-dark); font-size: 0.9375rem; }
@media (min-width: 620px) { .hero-badges { grid-template-columns: 1fr 1fr; } }
.hero-badges li { display: flex; gap: 8px; align-items: flex-start; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.hero .hero-note { margin-top: 18px; }
.hero-media { position: relative; margin: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.hero-media img { aspect-ratio: 4 / 3; }
.hero-media::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(201, 171, 116, 0.45); border-radius: var(--radius-lg); z-index: -1; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 64px; min-height: min(640px, calc(100vh - var(--header-h))); }
  .hero-media img { aspect-ratio: 4 / 5; max-height: 520px; }
}
@media (max-width: 959px) {
  .hero-media { z-index: 0; }
  .hero-media::after { display: none; }
  .hero-media img { aspect-ratio: 16 / 9; }
}

.instrument-strip { border-top: 1px solid var(--line-dark); background: var(--night-950); color: var(--on-dark-2); }
.instrument-strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9375rem; }
.instrument-strip li { display: inline-flex; align-items: center; gap: 10px; }
.instrument-strip li::before { content: ''; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.instrument-strip abbr { text-decoration: none; color: var(--on-dark); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero--dark { background: var(--night-950); color: var(--on-dark); border-bottom: 0; }
.page-hero--dark h1 { color: #fff; }
.page-hero-grid { display: grid; gap: 40px; }
.page-hero-grid .hero-media img { aspect-ratio: 16/10; }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 64px; }
}
.breadcrumbs { font-size: 0.875rem; margin-bottom: 24px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--ink-2); opacity: .6; }
.breadcrumbs a { color: var(--ink-2); }
.page-hero--dark .breadcrumbs a, .page-hero--dark .breadcrumbs li { color: var(--on-dark-2); }

/* ---------- Needs (start from client's situation) ---------- */
.needs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.need { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.need-index { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-deep); margin-bottom: 14px; }
.need h3 { margin-bottom: 12px; }
.need p { color: var(--ink-2); flex: 1; }
@media (min-width: 900px) {
  .needs { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .need { padding: 8px 36px 8px; border-bottom: 0; border-left: 1px solid var(--line); }
  .need:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Solution blocks ---------- */
.solution-list { display: grid; gap: 20px; }
.solution {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.solution:hover { border-color: rgba(125, 98, 50, 0.45); box-shadow: var(--shadow); }
.solution-tag { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-deep); margin-bottom: 10px; }
.solution h3 { margin-bottom: 18px; }
.facts { display: grid; gap: 14px; margin: 0 0 22px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; }
@media (min-width: 720px) { .facts div { grid-template-columns: 180px 1fr; gap: 20px; } }
.side-media { margin: 32px 0 0; }
.side-media img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.side-media figcaption { font-size: 0.75rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--line-dark); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 26px;
  font-family: var(--font-display); font-size: 1.75rem; line-height: 1; color: var(--gold);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { margin: 0; }
@media (min-width: 960px) {
  .steps--row { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps--row .step { padding: 72px 0 0; }
  .steps--row .step::before { top: 24px; }
}
.section:not(.section--dark):not(.section--graphite) .step { border-color: var(--line); }
.section:not(.section--dark):not(.section--graphite) .step::before { color: var(--gold-deep); }
.step p { color: inherit; }
.section--dark .step p { color: var(--on-dark-2); }
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 18px 22px;
  border-left: 2px solid var(--gold); background: rgba(255, 255, 255, 0.04); border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 820px;
}
.callout p { margin: 0; }
.callout svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.section:not(.section--dark) .callout, .page-section .callout { background: var(--ivory); border-left-color: var(--gold-deep); }
.section:not(.section--dark) .callout svg { color: var(--gold-deep); }

/* ---------- Check list / why ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 3px; }
.checks strong { display: block; font-weight: 600; margin-bottom: 2px; }
.checks span { color: var(--ink-2); }
.section--dark .checks li { border-color: var(--line-dark); }
.section--dark .checks svg { color: var(--gold); }
.section--dark .checks span { color: var(--on-dark-2); }
.checks--compact li { padding: 12px 0; }
.bullets { padding-left: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.bullets li::before { content: ''; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; background: var(--gold-deep); transform: rotate(45deg); }
.section--dark .bullets li::before { background: var(--gold); }

/* ---------- Partner band ---------- */
.band-media { position: relative; overflow: hidden; background: var(--night-900); color: var(--on-dark); }
.band-media picture { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.band-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 17, 30, 0.96) 0%, rgba(8, 17, 30, 0.82) 55%, rgba(8, 17, 30, 0.55) 100%); z-index: 1; }
.band-media .container { position: relative; z-index: 2; }
.band-media h2 { color: #fff; max-width: 22ch; }
.band-media p { color: var(--on-dark-2); max-width: 60ch; }
.profiles { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.profiles li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; font-size: 0.9375rem; color: var(--on-dark); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.3rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--gold-deep); }
.faq-body { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night-950); color: var(--on-dark); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(201, 171, 116, 0.12), transparent); pointer-events: none; }
.cta-band-inner { display: grid; gap: 28px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 22ch; }
.cta-band p { color: var(--on-dark-2); max-width: 58ch; margin: 0; }
.cta-band .alt-contact { font-size: 0.9375rem; margin-top: 16px; }
.cta-band .alt-contact a { color: var(--on-dark); }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }

/* ---------- Content sections (inner pages) ---------- */
.page-section { padding-block: clamp(56px, 7vw, 96px); }
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-section.section--ivory + .page-section, .page-section + .page-section.section--ivory { border-top: 0; }
.example {
  border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  position: relative;
}
.example-label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.example-label svg { width: 18px; height: 18px; flex: none; }
.example p:last-child { margin-bottom: 0; }
.example .example-note { font-size: 0.875rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.two-lists { display: grid; gap: 32px; }
@media (min-width: 760px) { .two-lists { grid-template-columns: 1fr 1fr; } }
.tile-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tile-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { border-top: 2px solid var(--gold-deep); padding-top: 18px; }
.tile h3 { font-size: 1.25rem; }
.tile p { color: var(--ink-2); }
.link-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.link-card:hover { border-color: rgba(125, 98, 50, 0.5); box-shadow: var(--shadow); }
.link-card h3 { margin: 0; font-size: 1.3rem; }
.link-card p { margin: 0; color: var(--ink-2); }
.link-card .text-link { margin-top: 10px; align-self: flex-start; }

.id-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.id-table th, .id-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.id-table th { font-weight: 600; width: 40%; padding-right: 16px; }
.id-table td { font-variant-numeric: tabular-nums; word-break: break-word; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--ink); }
.prose .updated { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; } }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
.form-aside { display: grid; gap: 28px; }
.form-aside h2 { font-size: 1.35rem; }
.aside-block { padding-top: 20px; border-top: 1px solid var(--line); }
.aside-block p { color: var(--ink-2); }

.stepper { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); padding-top: 10px; border-top: 3px solid var(--ivory-2); }
.stepper li::before { content: counter(s) '. '; }
.stepper li.is-review { counter-increment: none; flex: 0.8; }
.stepper li.is-review::before { content: ''; }
.stepper li[aria-current='step'] { color: var(--ink); border-color: var(--gold-deep); }
.stepper li.is-done { color: var(--ink); border-color: var(--night-700); }
.no-js .stepper { display: none; }

fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.45rem; font-weight: 450; margin-bottom: 6px; padding: 0; }
.fieldset-intro { color: var(--ink-2); margin-bottom: 22px; font-size: 0.9688rem; }
.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 16px; align-items: start; }
@media (min-width: 620px) { .field-row--2 { grid-template-columns: 1fr 1fr; } .field-row--amount { grid-template-columns: 2fr 1fr; } }
label, .label { display: block; font-weight: 600; font-size: 0.9688rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-2); font-size: 0.875rem; }
.hint { display: block; font-size: 0.875rem; color: var(--ink-2); margin: 6px 0 0; }
fieldset.field > .hint { margin: -2px 0 8px; }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #b9b5ac; border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--night-700); box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.25); }
[aria-invalid='true'] { border-color: var(--error) !important; }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: 0.9063rem; font-weight: 500; margin-top: 6px; }
.field-error:empty { display: none; }
.choices { display: grid; gap: 8px; }
@media (min-width: 620px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border: 1.5px solid #c9c5bb; border-radius: var(--radius);
  background: #fff; cursor: pointer; font-weight: 500; min-height: 52px; transition: border-color .15s, background-color .15s;
}
.choice label::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #8e8a82; flex: none; background: #fff; }
.choice input:checked + label { border-color: var(--night-800); background: #f3f1ea; }
.choice input:checked + label::before { border: 5.5px solid var(--night-800); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.choices[aria-invalid='true'] .choice label { border-color: var(--error); }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: 0.9375rem; color: var(--ink-2); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--night-800); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-actions .btn--primary { background: var(--night-900); color: #fff; }
.form-actions .btn--primary:hover { background: var(--night-700); }
.btn-back { background: none; border: 0; padding: 10px 0; font: 600 1rem var(--font-body); color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.form-privacy { font-size: 0.875rem; color: var(--ink-2); margin: 18px 0 0; }
.error-summary { border: 2px solid var(--error); background: var(--error-bg); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.error-summary h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--error); }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 500; }
.form-status { border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status--error { background: var(--error-bg); color: var(--error); border: 1px solid rgba(163, 38, 27, 0.35); }
.form-status--info { background: var(--ivory); }
.summary-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.summary-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.summary-head h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0; }
.summary-head button { background: none; border: 0; color: var(--night-700); font: 600 0.9375rem var(--font-body); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; padding: 4px 0; }
.summary-list { margin: 0; display: grid; gap: 8px; }
.summary-list div { display: grid; gap: 2px; }
@media (min-width: 620px) { .summary-list div { grid-template-columns: 200px 1fr; gap: 16px; } }
.summary-list dt { color: var(--ink-2); font-size: 0.9375rem; }
.summary-list dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.js [data-step]:not(.is-active) { display: none; }
.no-js [data-step='review'] { display: none; }
.no-js .js-only { display: none; }
.js .nojs-only { display: none; }
.form-success { text-align: left; }
.form-success .success-mark { width: 52px; height: 52px; border-radius: 50%; background: #e6f1ea; color: var(--success); display: grid; place-items: center; margin-bottom: 18px; }
.form-success .success-mark svg { width: 26px; height: 26px; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
[aria-busy='true'] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-950); color: var(--on-dark-2); padding-block: 64px 32px; font-size: 0.9688rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand p { max-width: 36ch; margin-top: 18px; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: 0.875rem; }
.footer-legal p { margin: 0; }
.footer-ids { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer .lang-switch a, .site-footer .lang-switch span { color: var(--on-dark-2); }
.site-footer .lang-switch [aria-current='true'] { color: var(--on-dark); }

/* ---------- Motion (hover/focus transitions only; content is never hidden on load) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Compact form page header ---------- */
.form-intro { background: var(--ivory); border-bottom: 1px solid var(--line); padding-block: clamp(20px, 3vw, 32px); }
.form-intro h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin: 0 0 6px; }
.form-intro p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.form-section { padding-block: clamp(16px, 3vw, 32px) clamp(48px, 6vw, 80px); }
.form-section .form-panel { padding: clamp(18px, 3vw, 32px); }
.form-section .stepper { margin-bottom: 18px; }

.solution-list--row { display: grid; gap: 20px; }
@media (min-width: 900px) { .solution-list--row { grid-template-columns: repeat(3, 1fr); } }
.facts--stacked div { grid-template-columns: 1fr !important; gap: 2px !important; }


/* ---------- Sticky action bar (mobile) + floating WhatsApp (desktop) ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 17, 30, 0.96); border-top: 1px solid var(--line-dark); }
.sticky-bar .btn { min-height: 46px; padding: 10px 16px; }
.sticky-bar .btn--primary { flex: 1; }
.btn--wa { background: #12744a; color: #fff; width: 52px; padding: 0; }
.btn--wa svg, .wa-float svg { width: 24px; height: 24px; transform: none !important; }
.wa-float { display: none; }
body { padding-bottom: 72px; }
@media (min-width: 900px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
  .wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #12744a; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 20px rgba(8, 17, 30, 0.25); }
  .wa-float:hover { background: #0e5f3c; }
}
@media print { .sticky-bar, .wa-float { display: none !important; } }

/* ---------- Guides ---------- */
.guide-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } .guide-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.guide-toc { font-size: 0.9375rem; }
.guide-toc ol { padding-left: 1.1em; margin: 0 0 20px; color: var(--ink-2); }
.guide-toc li { margin-bottom: 6px; }
.guide-toc a { color: var(--ink-2); text-decoration: none; }
.guide-toc a:hover { color: var(--ink); text-decoration: underline; }
.guide-toc .btn, .guide-toc .btn:hover { color: var(--on-dark); text-decoration: none; }
.guide-meta { color: var(--ink-2); font-size: 0.875rem; margin-bottom: 16px; }
.toc-title, .answer-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 8px; }
@media (max-width: 999px) { .guide-toc ol, .toc-title, .toc-cta { display: none; } }
.guide-body { max-width: 74ch; }
.guide-body h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.answer-box { background: var(--ivory); border-left: 3px solid var(--gold-deep); padding: 20px 24px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin-bottom: 24px; }
.answer { font-size: 1.125rem; line-height: 1.6; margin: 0; }
.takeaways { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px 8px; margin-bottom: 12px; }
.guide-body table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; margin: 0 0 1.2em; display: block; overflow-x: auto; }
.guide-body th, .guide-body td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.guide-body th { font-weight: 600; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--night-900); color: var(--on-dark); padding: 20px 24px; border-radius: var(--radius-lg); margin: 32px 0; }
.inline-cta p { margin: 0; color: var(--on-dark-2); max-width: 46ch; }
.inline-cta strong { color: #fff; display: block; margin-bottom: 4px; }
.inline-cta .btn--dark { background: var(--gold); color: var(--night-950); }
.sources ol { padding-left: 1.2em; font-size: 0.9375rem; color: var(--ink-2); }
.glossary div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 600; }
.glossary dd { margin: 2px 0 0; color: var(--ink-2); }
.link-card h3 { font-size: 1.2rem; }
.trust { background: var(--paper); border-top: 1px solid var(--line); }
.trust-list { margin: 0; display: grid; gap: 0; }
.trust-list div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .trust-list div { grid-template-columns: 200px 1fr; gap: 16px; } }
.trust-list dt { color: var(--ink-2); font-size: 0.9375rem; }
.trust-list dd { margin: 0; word-break: break-word; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}
