/* =========================================================
   SIXA  |  shared stylesheet for SIXA Solutions & SIXA Foundation
   Two themes share one system:
   .theme-solutions  dark silicon  (navy, orange signal traces)
   .theme-foundation light sandstone (ink navy, teal and gold)
   ========================================================= */

:root {
  /* brand constants (from the original sixa.co.in palette) */
  --orange: #E8531A;
  --orange-lt: #FF6B35;
  --orange-dk: #C23D0A;
  --gold: #F2A93B;
  --teal: #1CB8A0;
  --navy: #080F18;
  --navy-2: #0D1825;
  --navy-3: #142030;
  --navy-4: #1C2E42;
  --paper: #F4EEE6;
  --steel-lt: #C4D0DC;
  --steel: #7A90A4;
  --steel-dk: #3A4E60;

  --font-display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body: 'Sora', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* type scale, ratio ~1.25 on a 17px base */
  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3rem;
  --t-lg: 1.65rem;
  --t-xl: clamp(2rem, 3.2vw, 2.6rem);
  --t-2xl: clamp(2.6rem, 5vw, 4rem);
  --t-3xl: clamp(3rem, 7.5vw, 6.2rem);
}

/* ---------- themes ---------- */
.theme-solutions {
  --bg: var(--navy);
  --bg-2: var(--navy-2);
  --panel: var(--navy-3);
  --line: var(--navy-4);
  --ink: var(--paper);
  --ink-2: var(--steel-lt);
  --muted: var(--steel);
  --accent: var(--orange);
  --accent-ink: var(--navy);
  --accent-text: var(--orange-lt);
  --accent-2: var(--gold);
  --signal: var(--teal);
  --focus: var(--gold);
  color-scheme: dark;
}

.theme-foundation {
  --bg: #F1E6D3;
  --bg-2: #E7D7BC;
  --panel: #FBF6EC;
  --line: #D3BF9E;
  --ink: var(--navy-2);
  --ink-2: #2A3B4D;
  --muted: #56636F;
  --accent: var(--orange-dk);
  --accent-ink: #FFFFFF;
  --accent-text: #A8330A;
  --accent-2: #8A5A0F;
  --signal: #0B6E5F;
  --focus: var(--orange-dk);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.1; }
h4 { font-size: var(--t-md); line-height: 1.15; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-2); }
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 60ch; font-weight: 300; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.mono { font-family: var(--font-mono); font-size: .82em; letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* a section heading block: title, then a short sentence */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--ink-2); font-size: var(--t-md); font-weight: 300; line-height: 1.55; }
.kicker { display: block; font-family: var(--font-body); font-size: var(--t-sm); font-weight: 600; color: var(--accent-text); margin-bottom: 14px; letter-spacing: .01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--font-display); letter-spacing: .04em; font-size: 1.08rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.theme-foundation .btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .02em; }
.brand-name small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav li a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  text-decoration: none; font-size: .95rem; color: var(--ink-2); white-space: nowrap;
}
.main-nav li a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.main-nav li a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

/* the ampersand switch: jump to the other half of SIXA */
.side-switch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none;
  font-size: .9rem; color: var(--ink); white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.side-switch:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.side-switch .amp {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font: 700 1.15rem/1 var(--font-display);
}
.side-switch .arr { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.side-switch:hover .arr { transform: translateX(3px); }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1120px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; display: none;
    max-height: calc(100vh - 72px); overflow: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav li a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .header-inner .side-switch { display: none; }
  .main-nav a.side-switch-mobile { display: inline-flex; margin-top: 18px; }
}
.main-nav a.side-switch-mobile { display: none; }
@media (max-width: 1120px) { .main-nav a.side-switch-mobile { display: inline-flex; margin-top: 18px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; }
.page-hero .lede { margin-top: 8px; }
.crumbs { font-size: var(--t-sm); color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* blueprint grid used behind Solutions heroes */
.theme-solutions .grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
/* woven texture behind Foundation heroes */
.theme-foundation .grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(45deg, rgba(13,24,37,.045) 0 1px, transparent 1px 14px),
                    repeating-linear-gradient(-45deg, rgba(13,24,37,.045) 0 1px, transparent 1px 14px);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 10%, transparent 70%);
}
.page-hero > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ---------- layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) {
  .split, .cols-3 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cols-2, .cols-4 { grid-template-columns: 1fr; }
}

/* ---------- announcement strip ---------- */
.notice {
  background: var(--accent); color: var(--accent-ink);
  font-size: .95rem;
}
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.notice strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em; }
.notice a { font-weight: 600; margin-left: auto; text-underline-offset: 3px; }
@media (max-width: 640px) { .notice a { margin-left: 0; } }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }

/* ---------- offering blocks (large, not a card grid) ---------- */
.offer {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: start;
  padding: 36px 0; border-top: 1px solid var(--line);
}
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer-icon { width: 96px; height: 96px; }
.offer h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.offer p { color: var(--ink-2); }
.offer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.offer .btn { align-self: center; }
@media (max-width: 800px) {
  .offer { grid-template-columns: 1fr; gap: 14px; }
  .offer-icon { width: 64px; height: 64px; }
  .offer .btn { justify-self: start; }
}
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem;
  border: 1px solid var(--line); color: var(--ink-2); line-height: 1.4;
}
.tag-accent { border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent-text); }
.tag-signal { border-color: color-mix(in srgb, var(--signal) 60%, transparent); color: var(--signal); }

/* ---------- panels ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(22px, 3vw, 32px);
}
.panel h3 { font-size: 1.55rem; }
.panel p:last-child { margin-bottom: 0; }

/* audience rows (who it is for) */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.audience > div { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); }
.audience > div:last-child { border-right: 0; }
.audience h3 { font-size: 1.6rem; }
.audience ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.audience li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.audience li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--accent); }
@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr; }
  .audience > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience > div:last-child { border-bottom: 0; }
}

/* ---------- process steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; padding: 0 18px 0 0; position: relative; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent-text);
  font: 700 1.2rem/1 var(--font-display); background: var(--bg); position: relative; z-index: 1;
  margin-bottom: 18px;
}
.steps li::after {
  content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px);
}
.steps li:last-child::after { display: none; }
.steps h4 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.steps .dur { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); display: block; margin-top: 4px; }
@media (max-width: 1000px) {
  .steps, .steps.steps-4 { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 44px; bottom: -26px; left: 21px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 10px); }
}

/* ---------- shuttle board ---------- */
.shuttle-board { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.shuttle-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }
.shuttle-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 12px; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.shuttle-row:last-child { border-bottom: 0; }
.shuttle-row .sid { font-family: var(--font-mono); font-size: 1rem; color: var(--ink); }
.shuttle-row .lbl { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.shuttle-row .val { font-size: .95rem; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-open { color: var(--signal); }
.status-open::before { background: var(--signal); }
.status-soon { color: var(--accent-2); }
.status-soon::before { background: var(--accent-2); }
.status-closed { color: var(--muted); }
@media (max-width: 760px) {
  .shuttle-row { grid-template-columns: 1fr 1fr; }
  .shuttle-row > :first-child { grid-column: 1 / -1; }
}

/* ---------- price card ---------- */
.price {
  border: 1px solid var(--accent); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel) 55%);
}
.price .amount { font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); margin: 10px 0 6px; }
.price .amount span { font-size: .4em; font-weight: 600; color: var(--muted); margin-left: 6px; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 4px;
  background: color-mix(in srgb, var(--signal) 18%, transparent);
  border: 1px solid var(--signal);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.2em + 3px); width: 5px; height: 9px;
  border: solid var(--signal); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- IP catalogue ---------- */
.ip-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; font: 500 .9rem/1 var(--font-body); cursor: pointer;
}
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ip-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.ip-table th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ip-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ip-table td:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.ip-table .desc { color: var(--ink-2); font-size: .92rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-scroll .ip-table tr:last-child td { border-bottom: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 26px 20px 0 0; }
.stat b { display: block; font: 700 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--font-display); }
.stat span { display: block; color: var(--ink-2); font-size: .93rem; margin-top: 8px; max-width: 22ch; line-height: 1.45; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* ---------- partner strip ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.partner {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2);
  background: color-mix(in srgb, var(--panel) 60%, transparent);
}
.partner small { display: block; font: 400 .72rem/1.3 var(--font-body); color: var(--muted); letter-spacing: 0; margin-top: 2px; }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post-art { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; background: var(--bg-2); }
.post-art svg { width: 100%; height: 100%; }
.post .meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.post h3 { font-size: 1.45rem; margin-bottom: 8px; transition: color .2s; }
.post:hover h3 { color: var(--accent-text); }
.post p { font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.post-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.post-featured .post-art { margin: 0; }
.post-featured h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post-featured { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ---------- 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-weight: 600; font-size: 1.3rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.8rem/1 var(--font-body); color: var(--accent-text); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 72ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); padding: 0; }
.field .req { color: var(--accent-text); }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.theme-foundation .field input, .theme-foundation .field select, .theme-foundation .field textarea { background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: #E5484D; }
.field .err { display: none; color: #E5484D; font-size: .82rem; margin-top: 6px; }
.theme-foundation .field .err { color: #B42318; }
.field:has([aria-invalid="true"]) .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks-field { display: flex; flex-wrap: wrap; gap: 8px; }
.checks-field label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 400; font-size: .9rem; cursor: pointer; color: var(--ink-2);
}
.checks-field input { width: 16px; height: 16px; min-height: 0; accent-color: var(--accent); margin: 0; }
.checks-field label:has(input:checked) { border-color: var(--accent); color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-foot p { font-size: .8rem; color: var(--muted); margin: 0; max-width: 46ch; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-sm); font-size: .95rem; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--signal) 14%, transparent); border: 1px solid var(--signal); }
.form-status.bad { display: block; background: rgba(229,72,77,.1); border: 1px solid #E5484D; }
.btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }

/* segmented tabs (form switcher) */
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  padding: 10px 18px; border-radius: 999px; font: 600 .95rem/1 var(--font-body);
}
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { border-top: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.cta-inner h2 { margin: 0; max-width: 18ch; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand img { width: 120px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-2); max-width: 34ch; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-base a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- prose (privacy, long text) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* placeholder marker for content still to be confirmed by SIXA */
.tbc { border-bottom: 1px dashed var(--accent-2); cursor: help; }

/* ---------- reveal (one orchestrated moment per hero) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-reveal > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .hero-reveal > *:nth-child(2) { animation-delay: .08s; }
  .hero-reveal > *:nth-child(3) { animation-delay: .16s; }
  .hero-reveal > *:nth-child(4) { animation-delay: .24s; }
  .hero-reveal > *:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
