/* ==========================================================================
   Athena OS — marketing site (PSM Athena)
   Light, clear, modern. Brand = obsidian + gold ramp + white (same as the app).
   Product mock-ups use the app's dark "obsidian" skin, scoped to .frame/.phone.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #f8f5ef;          /* warm off-white for alternating sections */
  --paper-2: #f1ece2;
  --ink: #15140f;            /* near-black, warm */
  --ink-2: #3a3731;
  --muted: #625d54;          /* ≥5:1 on white — safe for body text */
  --line: #ebe6dc;
  --line-2: #ddd6c8;

  --gold-hi: #e8d5a4;        /* brand gold ramp (same as the app) */
  --gold: #d4b072;
  --gold-deep: #a67c3d;
  --gold-ink: #8a6a33;       /* gold for TEXT on white (≈5:1) */

  --obs: #0b0c10;            /* obsidian */
  --on-obs: #f4f1ea;
  --on-obs-muted: #bdb7ac;

  --ok: #2f9e5b;

  --radius: 22px;
  --maxw: 1200px;
  --nav-h: 76px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 15, .05), 0 4px 14px -6px rgba(20, 19, 15, .08);
  --shadow: 0 24px 60px -30px rgba(20, 19, 15, .30);
  --shadow-lg: 0 50px 100px -40px rgba(20, 19, 15, .55), 0 18px 40px -24px rgba(20, 19, 15, .35);

  --ff-display: 'Saira', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gold-text: linear-gradient(100deg, #b5883f 0%, #8a6a33 100%);
  --gold-text-bright: linear-gradient(100deg, #f0dfb2 0%, #d4b072 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section[id], main[id] { scroll-margin-top: calc(var(--nav-h) - 6px); }

/* Icons from the sprite */
.ic {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
.band-dark :focus-visible { outline-color: var(--gold-hi); }

/* ---------- Type helpers ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
h1 em, h2 em {
  font-style: normal;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.band-dark h2 em, .band-dark h1 em { background: var(--gold-text-bright); -webkit-background-clip: text; background-clip: text; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 12.5px/1.3 var(--ff-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
  background: rgba(212, 176, 114, .14);
  border: 1px solid rgba(166, 124, 61, .24);
  padding: 8px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); box-shadow: 0 0 0 3px rgba(212, 176, 114, .3); }
.eyebrow-dark { color: #ecd9a8; background: rgba(212, 176, 114, .10); border-color: rgba(212, 176, 114, .30); }
.eyebrow-dark .dot { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--ff-body);
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px -14px rgba(20, 19, 15, .75); }
.btn-primary .ic { color: var(--gold-hi); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost .ic { color: var(--gold-deep); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #f0ddae, #d4b072); color: #1b1408; box-shadow: 0 16px 36px -16px rgba(212, 176, 114, .65); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -26px rgba(20, 19, 15, .5); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wordmark {
  display: inline-flex; align-items: baseline; gap: .4em;
  font: 800 18px/1 var(--ff-display); letter-spacing: .24em; color: var(--ink);
}
.wordmark b {
  font-weight: 700; font-size: .84em; letter-spacing: .22em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links > a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.nav-cta-mobile { display: none; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.lang button {
  font: 700 12.5px/1 var(--ff-body); letter-spacing: .06em;
  min-width: 40px; min-height: 32px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 60px 0 84px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 52% at 78% 42%, rgba(212, 176, 114, .22), transparent 70%),
    radial-gradient(30% 40% at 6% 0%, rgba(212, 176, 114, .10), transparent 70%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20, 19, 15, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 60% at 72% 42%, #000, transparent 75%);
  mask-image: radial-gradient(55% 60% at 72% 42%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -.015em; margin: 20px 0 22px; }
.hero h1 em { display: block; }
.lead { font-size: clamp(17.5px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hero-points .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(47, 158, 91, .12); color: var(--ok); }

/* ---- The hub: Athena OS at the centre of every department ---- */
.hero-visual { min-width: 0; }
.hub {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto;
  container-type: inline-size;
}
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines .orbit { fill: none; stroke: rgba(166, 124, 61, .26); stroke-width: .3; stroke-dasharray: 1 1.6; transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.hub-lines .orbit-in { stroke: rgba(166, 124, 61, .18); animation-direction: reverse; animation-duration: 70s; }
.hub-lines .rails path { fill: none; stroke: rgba(166, 124, 61, .30); stroke-width: .35; }
.hub-lines .flows path { fill: none; stroke: #c39a52; stroke-width: 1.15; stroke-linecap: round; stroke-dasharray: .01 5; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -5.01; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31cqi; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqi;
  background: radial-gradient(120% 120% at 30% 20%, #23242b, #0b0c10);
  border: 1px solid rgba(212, 176, 114, .55);
  box-shadow: 0 30px 60px -20px rgba(20, 19, 15, .6), 0 0 0 8px rgba(255, 255, 255, .7), 0 0 60px rgba(212, 176, 114, .35);
  z-index: 2;
}
.hub-core::before, .hub-core::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(212, 176, 114, .6);
  animation: ring 3.4s ease-out infinite;
}
.hub-core::after { animation-delay: 1.7s; }
@keyframes ring { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.6); opacity: 0; } }
.hub-core img { width: 12cqi; height: 12cqi; }
.hub-core span { font: 800 13px/1 var(--ff-display); font-size: clamp(9px, 2.5cqi, 13px); letter-spacing: .24em; color: #f4f1ea; text-indent: .24em; }

.hub-node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 25cqi;
  display: flex; flex-direction: column; align-items: center; gap: 1.4cqi;
  padding: 2.4cqi 1.6cqi 2.2cqi;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 13px; font-size: clamp(10.5px, 2.75cqi, 14.5px);
  font-weight: 600; line-height: 1.2; text-align: center; color: var(--ink);
  animation: float 6.5s ease-in-out infinite; animation-delay: var(--d, 0s);
  z-index: 3;
}
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
.hub-ico {
  width: 9cqi; height: 9cqi; min-width: 30px; min-height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f6ecd5, #ead9b2); color: var(--gold-ink);
}
.hub-ico .ic { width: 52%; height: 52%; }
.hub-caption { text-align: center; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   TRUST
   ========================================================================== */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.trust-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.trust-label { text-wrap: balance; font: 600 13px/1.4 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-clubs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px 40px; }
.club { display: flex; align-items: center; gap: 14px; text-align: left; }
.club img { height: 58px; width: auto; }
.club b { display: block; font: 700 17px/1.2 var(--ff-display); }
.club small { font-size: 13.5px; color: var(--muted); }
.trust-sep { width: 1px; height: 44px; background: var(--line-2); }
.trust-note { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--paper); }
.section-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; margin-top: 18px; }
.section-lead { font-size: 18.5px; color: var(--muted); margin: 18px auto 0; max-width: 42em; }
.band-dark .section-lead { color: var(--on-obs-muted); }

/* ---- Before / after ---- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cmp { position: relative; overflow: hidden; border-radius: 26px; padding: 30px 30px 32px; }
.cmp-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--ff-body); letter-spacing: .1em; text-transform: uppercase; }
.cmp-before { background: #fff; border: 1px solid var(--line); }
.cmp-before .cmp-tag { color: var(--muted); }
.cmp-after {
  background: radial-gradient(70% 60% at 100% 0%, rgba(212, 176, 114, .18), transparent 60%), linear-gradient(165deg, #17181e, #0b0c10);
  border: 1px solid rgba(212, 176, 114, .35); color: var(--on-obs); box-shadow: var(--shadow);
}
.cmp-after .cmp-tag { color: #ecd9a8; }

.mess { position: relative; height: 150px; margin: 18px 0 20px; }
.mchip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; max-width: 78%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  box-shadow: 0 10px 24px -14px rgba(20, 19, 15, .45);
}
.mchip > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mchip .ic { color: var(--muted); }
.mchip.m1 { left: 0; top: 6%; transform: rotate(-5deg); }
.mchip.m2 { right: 2%; top: 0; transform: rotate(4deg); }
.mchip.m3 { left: 10%; top: 56%; transform: rotate(3deg); }
.mchip.m4 { right: 6%; top: 60%; transform: rotate(-4deg); }
.ft { font: 800 9.5px/1 var(--ff-body); color: #fff; padding: 4px 5px; border-radius: 4px; letter-spacing: .04em; }
.ft-xls { background: #1f7a4a; }
.ft-doc { background: #2b5bb5; }

.tidy {
  margin: 18px 0 20px; padding: 16px; border-radius: 16px; min-height: 150px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(212, 176, 114, .25);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.tidy-player { display: flex; align-items: center; gap: 12px; }
.tidy-player .av { width: 40px; height: 40px; font-size: 13px; }
.tidy-player b { display: block; font: 700 16px/1.2 var(--ff-display); color: #fff; }
.tidy-player small { font-size: 12.5px; color: var(--on-obs-muted); }
.tidy-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.tidy-steps > span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: #ecdcb0;
  background: rgba(212, 176, 114, .13); padding: 6px 11px; border-radius: 999px;
}
.tidy-steps .ic { width: 14px; height: 14px; color: var(--gold); }

.cmp-list { display: flex; flex-direction: column; gap: 12px; }
.cmp-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.cmp-list .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; margin-top: -1px; }
.cmp-before .cmp-list li { color: var(--ink-2); }
.cmp-before .cmp-list .ic { color: #b4453f; background: #fbeceb; }
.cmp-after .cmp-list li { color: #ece7dd; }
.cmp-after .cmp-list .ic { color: var(--gold-hi); background: rgba(212, 176, 114, .16); }

/* ---- Journey ---- */
.journey { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.journey::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  opacity: .55;
}
.step {
  position: relative; z-index: 1; margin-top: 22px;
  padding: 36px 16px 22px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 18px/1 var(--ff-display);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line-2);
}
.step-ico {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f6ecd5, #ecdcb7); color: var(--gold-ink);
}
.step-ico .ic { width: 22px; height: 22px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.journey-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.journey-foot > span {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px;
}
.journey-foot .ic { width: 18px; height: 18px; color: var(--ok); }

/* ---- Tabs (inside the app) ---- */
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1 var(--ff-body); color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-2); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.tab .ic { width: 19px; height: 19px; color: var(--gold-deep); }
.tab:hover { border-color: var(--ink); transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 14px 30px -16px rgba(20, 19, 15, .7); }
.tab[aria-selected="true"] .ic { color: var(--gold-hi); }

.panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; animation: panelIn .45s ease; }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-copy h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.panel-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.panel-visual { min-width: 0; }

.checks { display: flex; flex-direction: column; gap: 4px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; padding: 6px 0; color: var(--ink-2); }
.checks .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; color: var(--gold-ink); background: rgba(212, 176, 114, .22); margin-top: -1px; }
.checks-dark li { color: #ece7dd; }
.checks-dark .ic { color: var(--gold-hi); background: rgba(212, 176, 114, .16); }

/* ==========================================================================
   PRODUCT MOCK-UPS (obsidian skin, like the real app)
   ========================================================================== */
.frame {
  --c-bg: #0f1014; --c-card: #17181e; --c-line: rgba(255, 255, 255, .07);
  --c-ink: #f4f1ea; --c-mut: #b3ada2; --c-dim: #8c867c; --c-gold: #e2c88f;
  background: var(--c-bg); color: var(--c-ink);
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(212, 176, 114, .25);
  box-shadow: var(--shadow-lg);
  font-size: 12px; line-height: 1.35; text-align: left;
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0a0b0e; border-bottom: 1px solid var(--c-line); }
.frame-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #e5706f; }
.frame-bar > i:nth-child(2) { background: #e3b552; }
.frame-bar > i:nth-child(3) { background: #5fc786; }
.frame-url { margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--c-dim); background: rgba(255, 255, 255, .05); padding: 4px 12px; border-radius: 999px; }
.frame-url .ic { width: 11px; height: 11px; }

.m-app { display: grid; grid-template-columns: 48px minmax(0, 1fr); min-height: 380px; }
.m-side { background: #0b0c0f; border-right: 1px solid var(--c-line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.m-side img { margin-bottom: 6px; }
.m-side span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #6f6a62; }
.m-side span .ic { width: 15px; height: 15px; }
.m-side span.on { background: rgba(212, 176, 114, .15); color: var(--c-gold); }
.m-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.m-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-h b { display: block; font: 700 15px/1.2 var(--ff-display); letter-spacing: .01em; }
.m-h small { display: block; font-size: 11px; color: var(--c-dim); margin-top: 2px; }
.m-pill { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(212, 176, 114, .4); color: var(--c-gold); white-space: nowrap; }
.m-live { color: #4ade80; border-color: rgba(74, 222, 128, .4); letter-spacing: .08em; }
.m-switch { display: inline-flex; padding: 3px; gap: 3px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(212, 176, 114, .3); }
.m-switch i { font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--c-dim); white-space: nowrap; }
.m-switch i.on { background: linear-gradient(180deg, #ecd9a8, #c9a463); color: #1b1408; }

.m-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-tile { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.m-tile > span { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-dim); }
.m-tile b { font: 700 22px/1.05 var(--ff-display); }
.m-tile small { font-size: 10px; color: var(--c-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-form { display: flex; gap: 3px; margin-top: 6px; flex-wrap: wrap; }
.m-form i { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font: 700 9px/1 var(--ff-body); font-style: normal; color: #0f1014; }
.m-form .w { background: #4ade80; } .m-form .d { background: #fbbf24; } .m-form .l { background: #f87171; }
.ok { color: #4ade80; } .warn { color: #fbbf24; } .bad { color: #f87171; }
.frame .ok, .frame .warn, .frame .bad { font-style: normal; }

.m-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.m-ch { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-mut); margin-bottom: 10px; }

/* pitch */
.m-pitch {
  position: relative; aspect-ratio: 1.55; border-radius: 8px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 16.66%, transparent 16.66% 33.33%), #123b25;
  border: 1px solid rgba(255, 255, 255, .2);
}
.m-pitch::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .25); }
.m-pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transform: translate(-50%, -50%); }
.pc {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; color: #15140f; font: 700 9.5px/1 var(--ff-body);
  padding: 4px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}
.pc i { width: 6px; height: 6px; border-radius: 50%; }
.pc i.ok { background: #22a35a; } .pc i.warn { background: #e09b17; } .pc i.bad { background: #e04848; }

/* lists, avatars, tags */
.m-list { display: flex; flex-direction: column; gap: 7px; }
.m-li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 6px; border-radius: 9px; background: rgba(255, 255, 255, .025); }
.m-li b, .kc b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-li small, .kc small { display: block; font-size: 10.5px; color: var(--c-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--c-mut); white-space: nowrap; }
.tag-warn { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.tag-ok { background: rgba(74, 222, 128, .15); color: #4ade80; }
.tag-gold { background: rgba(212, 176, 114, .18); color: #e8cf96; }
.av {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font: 700 10px/1 var(--ff-body); color: #fff; letter-spacing: .02em;
}
.av-1 { background: linear-gradient(135deg, #2a9d8f, #1d6f66); }
.av-2 { background: linear-gradient(135deg, #7c5cd6, #5536a8); }
.av-3 { background: linear-gradient(135deg, #4f7cc7, #2f5597); }
.av-4 { background: linear-gradient(135deg, #d0647a, #a23e57); }
.av-gold { background: linear-gradient(135deg, #f0ddae, #b8893f); color: #1b1408; }

/* kanban */
.m-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1; }
.kcol { background: rgba(255, 255, 255, .025); border: 1px solid var(--c-line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.kh { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 2px 2px 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mut); }
.kh span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh em { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--c-ink); }
.kc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 7px; align-items: center; padding: 7px; border-radius: 10px; background: var(--c-card); border: 1px solid var(--c-line); }
.kc .av { width: 24px; height: 24px; font-size: 9px; }
.kc .tag { grid-column: 1 / -1; justify-self: start; }

/* table (coach) */
.m-table .tr { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 5px; font-size: 11.5px; border-bottom: 1px solid var(--c-line); }
.m-table .tr:last-child { border-bottom: 0; }
.m-table .tr em { font-style: normal; font-weight: 700; color: var(--c-dim); text-align: center; }
.m-table .tr span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.m-table .tr.hot { background: rgba(212, 176, 114, .12); border-radius: 8px; border-bottom-color: transparent; }
.crest { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.c-mn { background: linear-gradient(135deg, #9fd9f5, #4aa6da); }
.c-la { background: linear-gradient(135deg, #cda86a, #1a1a1a); }
.c-se { background: linear-gradient(135deg, #6bbf59, #2f7d33); }
.c-lg { background: linear-gradient(135deg, #1d4fa3, #0b2a63); }
.nm-vs { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.nm-vs .crest { width: 18px; height: 18px; border-radius: 5px; }
.nm-vs b { font: 700 17px/1 var(--ff-display); }
.nm-vs span { margin-left: auto; font-size: 10.5px; color: var(--c-mut); background: rgba(255, 255, 255, .07); padding: 3px 9px; border-radius: 999px; }
.nm-diff { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.nm-diff i { flex: 1; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nm-diff i b { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4ade80, #fbbf24); }
.nm-xp { display: flex; align-items: baseline; justify-content: space-between; font-size: 11.5px; color: var(--c-mut); }
.nm-xp b { font: 700 18px/1 var(--ff-display); color: var(--c-ink); }
.m-bars .bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 26px; gap: 10px; align-items: center; padding: 4px 0; font-size: 11.5px; }
.m-bars .bar > span { color: #d2ccc1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-bars .bar i { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.m-bars .bar b { display: block; height: 100%; border-radius: 999px; }
.b-ok { background: #4ade80; } .b-warn { background: #fbbf24; } .b-bad { background: #f87171; }
.m-bars .bar em { font-style: normal; font-weight: 700; text-align: right; }

/* academy planner */
.planner { display: grid; grid-template-columns: 62px repeat(7, minmax(0, 1fr)); gap: 5px; align-items: center; }
.planner .pd { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-dim); text-align: center; }
.planner .pr { font-size: 10.5px; font-weight: 600; color: var(--c-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planner i { display: block; height: 22px; border-radius: 6px; }
.s-tec { background: #3b82c4; } .s-tac { background: #8b5cf6; } .s-fis { background: #e07a3f; }
.s-game { background: linear-gradient(135deg, #ecd9a8, #b8893f); }
.s-off { background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .14); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 10.5px; color: var(--c-mut); }
.legend > span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.stars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.star-chip { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--c-line); }
.star-chip > span:nth-child(2) { min-width: 0; }
.star-chip b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star-chip small { display: block; font-size: 10px; color: var(--c-dim); }
.star-chip em { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-weight: 700; font-size: 11px; color: #e8cf96; }
.star-chip em .ic { width: 11px; height: 11px; fill: currentColor; stroke: none; }

/* phone (scout) */
.scout-stage { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.phone {
  position: relative; width: 252px; flex-shrink: 0; padding: 10px; border-radius: 40px;
  background: #0b0c10; box-shadow: 0 0 0 1px rgba(212, 176, 114, .35), var(--shadow-lg);
  color: #f4f1ea; font-size: 12px; line-height: 1.35;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 18px; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { border-radius: 31px; background: linear-gradient(180deg, #15161c, #0f1014); padding: 46px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-top b { font: 700 16px/1 var(--ff-display); }
.ph-saved { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: #4ade80; }
.ph-saved .ic { width: 12px; height: 12px; }
.ph-player { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.ph-player .av { width: 38px; height: 38px; font-size: 12px; }
.ph-player b { display: block; font-size: 14px; }
.ph-player small { display: block; font-size: 11px; color: #9e988d; }
.ph-grades { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-grades > div { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.ph-grades span { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9e988d; }
.ph-grades b { font: 700 24px/1 var(--ff-display); }
.ph-grades b.gold { color: #e8cf96; }
.ph-attrs { display: flex; flex-direction: column; gap: 8px; }
.pa { display: grid; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 8px; align-items: center; font-size: 11.5px; }
.pa > span { color: #d2ccc1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa i { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pa i b { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #a67c3d, #e8d5a4); }
.pa em { font-style: normal; font-weight: 700; text-align: right; }
.ph-video { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; border: 1px dashed rgba(212, 176, 114, .4); font-size: 11.5px; color: #d2ccc1; }
.ph-video .ic { color: #e2c88f; width: 15px; height: 15px; }
.ph-rec { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .32); font-size: 11px; color: #d2ccc1; }
.ph-rec b { font: 700 15px/1 var(--ff-display); color: #4ade80; }

.tasks { display: flex; flex-direction: column; gap: 10px; width: 250px; max-width: 100%; }
.tasks-h { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tasks-h .ic { color: var(--gold-deep); }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.task > span:last-child { min-width: 0; }
.task-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #f6eedc; color: var(--gold-ink); flex-shrink: 0; }
.task-ico .ic { width: 18px; height: 18px; }
.task b { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.task small { display: block; font-size: 12.5px; font-weight: 600; color: #a5661a; margin-top: 2px; }
.task small.done { color: var(--ok); }

/* ==========================================================================
   DARK BANDS (Athena AI, final CTA)
   ========================================================================== */
.band-dark { position: relative; overflow: hidden; background: var(--obs); color: var(--on-obs); }
.band-dark h2 { color: #f8f5ee; }
.band-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 86% 8%, rgba(212, 176, 114, .17), transparent 62%),
    radial-gradient(40% 52% at 4% 96%, rgba(212, 176, 114, .09), transparent 62%);
}
.band-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
}

.ai-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ai-copy h2 { font-size: clamp(32px, 4vw, 48px); margin: 18px 0 0; }
.ai-copy .section-lead { margin: 18px 0 22px; }
.chat {
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(212, 176, 114, .25);
  border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.msg { max-width: 92%; padding: 13px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg-user { align-self: flex-end; background: linear-gradient(180deg, #f0ddae, #d4b072); color: #1b1408; font-weight: 500; border-bottom-right-radius: 5px; }
.msg-ai { align-self: flex-start; display: flex; flex-direction: column; gap: 9px; background: #16171d; border: 1px solid rgba(255, 255, 255, .08); color: #ece7dd; border-bottom-left-radius: 5px; }
.msg-who { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: #e2c88f; }
.res { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.res > span:nth-child(2) { min-width: 0; }
.res b { display: block; font-size: 13px; }
.res small { display: block; font-size: 11px; color: #9e988d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit { display: flex; align-items: center; gap: 7px; }
.fit i { width: 56px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.fit i b { display: block; height: 100%; background: linear-gradient(90deg, #a67c3d, #e8d5a4); }
.fit em { min-width: 34px; text-align: right; font-style: normal; font-weight: 700; font-size: 12.5px; color: #e8cf96; }
.chat-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(212, 176, 114, .55); color: #ecd9a8; font-size: 13px; font-weight: 600; }
.chat-btn .ic { width: 15px; height: 15px; }

/* ==========================================================================
   DEPARTMENTS · WHY · DATA · START · PLANS · FAQ · CTA · FOOTER
   ========================================================================== */
.deps, .whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dep, .why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dep:hover, .why:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.dep-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, #f6ecd5, #ecdcb7); color: var(--gold-ink); }
.dep-ico .ic { width: 25px; height: 25px; }
.dep h3 { font-size: 21px; margin-bottom: 14px; }
.dep ul { display: flex; flex-direction: column; gap: 9px; }
.dep li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.dep li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-deep) 0 30%, transparent 34%);
  border: 1.5px solid var(--gold);
}

.why-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--ink); color: var(--gold-hi); box-shadow: 0 0 0 6px rgba(212, 176, 114, .16); }
.why-ico .ic { width: 23px; height: 23px; }
.why h3 { font-size: 20px; margin-bottom: 8px; }
.why p { font-size: 15.5px; color: var(--muted); }

.data { margin-top: 56px; padding: 34px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-align: center; }
.data-label { font: 700 13px/1.4 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.data-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.data-chips li { font: 700 17px/1 var(--ff-display); letter-spacing: .01em; padding: 12px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); }
.data-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.start { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.start:not(:last-child)::after {
  content: ""; position: absolute; right: -17px; top: 52px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--gold-deep); border-right: 2px solid var(--gold-deep); transform: rotate(45deg);
}
.start-n { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; margin-bottom: 18px; background: linear-gradient(135deg, #f0ddae, #c39a52); color: #1b1408; font: 800 21px/1 var(--ff-display); }
.start h3 { font-size: 21px; margin-bottom: 8px; }
.start p { font-size: 15.5px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 32px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 32px; font-weight: 800; letter-spacing: .01em; margin-bottom: 6px; }
.plan-sub { color: var(--muted); margin-bottom: 22px; }
.plan .checks { flex: 1; margin-bottom: 20px; }
.plan-note { font-size: 14px; color: var(--muted); background: var(--paper); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.plan-full {
  color: var(--on-obs); border-color: rgba(212, 176, 114, .5); box-shadow: var(--shadow-lg);
  background: radial-gradient(80% 60% at 100% 0%, rgba(212, 176, 114, .2), transparent 60%), linear-gradient(170deg, #17181e, #0b0c10);
}
.plan-full h3 { color: #fff; }
.plan-full .plan-sub { color: var(--on-obs-muted); }
.plan-full .checks b { color: var(--gold-hi); }
.plan-flag { position: absolute; top: -14px; left: 32px; padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, #f0ddae, #d4b072); color: #1b1408; font: 800 12px/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; }

.faq-wrap { max-width: 880px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(166, 124, 61, .45); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font: 600 17.5px/1.4 var(--ff-body); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--paper-2); color: var(--gold-ink); transition: transform .25s ease, background .25s, color .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--ink); color: var(--gold-hi); }
.faq details p { padding: 0 24px 22px; font-size: 16px; color: var(--muted); max-width: 68ch; }

.cta { padding: 120px 0; text-align: center; }
.cta-inner { position: relative; max-width: 780px; }
.cta-mark { margin: 0 auto 22px; filter: drop-shadow(0 12px 30px rgba(212, 176, 114, .35)); }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 18px; }
.cta .section-lead { margin-top: 18px; }
.cta-actions { display: flex; justify-content: center; margin-top: 34px; }
.cta-mail { margin-top: 22px; font-size: 15px; color: var(--on-obs-muted); }
.cta-mail a { color: #ecd9a8; font-weight: 600; border-bottom: 1px solid rgba(236, 217, 168, .35); overflow-wrap: anywhere; }

.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.footer-by b { color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h4 { margin-bottom: 12px; font: 700 12.5px/1 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.footer-cols a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-slogan { font: 600 13.5px/1.4 var(--ff-display); letter-spacing: .06em; color: var(--gold-ink); }

.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .journey::before { display: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 22px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(20, 19, 15, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 18px; }
  .nav-right { margin-left: auto; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hub { max-width: 460px; }
  .panel { grid-template-columns: 1fr; gap: 32px; }
  .ai-grid { grid-template-columns: 1fr; gap: 36px; }
  .deps, .whys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding: 76px 0; }
  .hero { padding: 36px 0 64px; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 17px; }
  .nav-cta { display: none; }
  .sticky-cta { display: block; }
  .trust-sep { display: none; }
  .deps, .whys, .starts, .plans { grid-template-columns: 1fr; }
  .start:not(:last-child)::after { display: none; }
  .plans { gap: 34px; }

  /* tabs scroll sideways instead of wrapping */
  .tablist {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    margin: 0 -24px 32px; padding: 4px 24px 8px; scrollbar-width: none;
  }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { min-height: 48px; padding: 0 18px; font-size: 15px; }

  /* journey becomes a vertical timeline */
  .journey { grid-template-columns: 1fr; row-gap: 14px; }
  .journey::before { display: block; left: 37px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--gold) 6%, var(--gold) 94%, transparent); }
  .step { margin-top: 0; padding: 20px 20px 20px 78px; text-align: left; }
  .step-n { top: 20px; left: 16px; transform: none; }
  .step-ico { display: none; }

  /* mock-ups */
  .m-app { grid-template-columns: 1fr; min-height: 0; }
  .m-side { display: none; }
  .m-main { padding: 13px; }
  .m-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-row { grid-template-columns: 1fr; }
  .m-kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-bars .bar { grid-template-columns: 112px minmax(0, 1fr) 24px; }
  .scout-stage { flex-direction: column; }
  .tasks { width: 100%; max-width: 340px; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { padding: 20px 24px 96px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .btn-lg { min-height: 54px; padding: 0 22px; font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .wordmark { font-size: 16px; letter-spacing: .2em; }
  .brand img { width: 30px; height: 30px; }
  .lang button { min-width: 36px; padding: 0 8px; }
  .nav-inner { gap: 12px; }
  .eyebrow { letter-spacing: .09em; border-radius: 16px; }
  .cmp { padding: 26px 20px 28px; }
  .tablist { margin: 0 -18px 28px; padding: 4px 18px 8px; }
  .planner { grid-template-columns: 48px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}
