/* Shared page chrome for syncademia.com — pairs with /assets/brand/tokens.css */
* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--color-bg); color: var(--color-text);
  font-family: var(--syn-font-body); line-height: 1.625; font-size: 16px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--syn-navy); color: var(--syn-white); padding: 10px 18px;
  border-radius: 0 0 var(--syn-radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* —— Header (Design B: navy glass) —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,29,56,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px; min-height: 70px;
  display: flex; align-items: center; gap: 28px; flex-wrap: nowrap;
}
/* Wordmark SVG is outlined (text as paths), so <img> renders it to spec */
/* Logo is the home control (links to /) — make that unmistakable: pointer +
   a subtle lift/dim on hover, snappy transition, and an accessible focus ring. */
.site-header .logo {
  display: inline-flex; align-items: center;
  cursor: pointer; border-radius: 8px;
}
.site-header .logo img {
  height: 28px; width: auto; display: block;
  transition: opacity .18s ease, transform .18s ease;
}
.site-header .logo:hover img { opacity: .8; transform: translateY(-1px); }
.site-header .logo:active img { opacity: .9; transform: translateY(0); }
.site-header .logo:focus-visible { outline: 3px solid rgba(46,125,224,.5); outline-offset: 4px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: nowrap; }
.site-nav a {
  color: rgba(255,255,255,.65);
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: color .15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
/* Hover treatment = colour shift + subtle lift (see motion block), NOT an
   underline — overrides the global a:hover underline so the nav matches the logo. */
.site-nav a:hover { text-decoration: none; }
.site-nav a:focus-visible { outline: 3px solid rgba(46,125,224,.5); outline-offset: 4px; border-radius: 6px; }

/* —— Main content —— */
main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 56px 32px 96px; }
main.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--syn-font-display); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 40px; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 48px 0 12px; }
h3 { font-size: 18px; margin: 28px 0 8px; }
p, ul, ol { color: var(--color-text); margin: 0 0 16px; }
.muted, .lede { color: #5D6B7A; }
.lede { font-size: 19px; max-width: 64ch; margin-bottom: 8px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: var(--syn-tracking-tag);
  text-transform: uppercase; color: var(--syn-blue); /* Design B: blue on light, mint on dark */ margin: 0 0 10px;
}
.updated { font-size: 14px; color: #5D6B7A; margin-bottom: 36px; }
a { color: var(--syn-blue-deep); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--syn-blue-deep); outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 4px; }
hr { border: none; border-top: 1px solid var(--color-border); margin: 40px 0; }

/* —— Cards / feature grid (Design B bento) —— */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 36px 0; }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--syn-radius-md); padding: 30px; box-shadow: var(--syn-shadow);
}
.card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: #5D6B7A; font-size: 14.5px; }

/* —— Bento card extensions: uppercase kicker + pinned viz panel (Design B) —— */
.card .bk { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--syn-slate-soft); margin: 0 0 12px; }
.card .viz { margin-top: 20px; border: 1px solid var(--color-border); border-radius: 12px;
  padding: 14px 16px; background: #FBFCFA; font-size: 12px; }
.eval-q { font-size: 11.5px; font-weight: 700; margin-bottom: 8px; color: var(--syn-navy); }
.eval-dots { display: flex; gap: 5px; margin-bottom: 10px; }
.eval-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--syn-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: var(--syn-slate); }
.eval-dot.on { background: var(--syn-blue); color: #fff; }
.eval-meta { font-size: 10px; color: var(--syn-slate-soft); }

/* —— Buttons (Design B: pill, glow, spring) —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--syn-gradient);
  color: var(--color-on-primary); padding: 12px 24px; min-height: 44px;
  border-radius: var(--syn-radius-pill); border: none; cursor: pointer;
  font-family: var(--syn-font-body); font-size: 15px; font-weight: 700;
  box-shadow: var(--syn-shadow-glow);
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(26,163,196,.45); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(46,125,224,.5); outline-offset: 2px; }
/* secondary on dark surfaces */
.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28);
  padding: 12px 24px; min-height: 44px; border-radius: var(--syn-radius-pill);
  font-weight: 700; font-size: 15px;
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), border-color .15s ease;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,.55); transform: translateY(-1px); text-decoration: none; }

/* —— Feature icon chips —— */
.card-icon {
  display: inline-flex; padding: 11px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(46,125,224,.10), rgba(47,198,140,.14));
}
.card-icon svg { width: 26px; height: 26px; display: block; }

/* —— Stat numerals (flat navy: gradient is reserved) —— */
.stat {
  font-family: var(--syn-font-display); font-weight: 600; font-size: 56px;
  line-height: 1; letter-spacing: -1px; margin: 0 0 6px;
  color: var(--syn-navy);
}

/* —— Footer (Design B: navy deep, brand + link columns) —— */
.site-footer {
  background: var(--syn-navy-deep); color: rgba(255,255,255,.5); font-size: 14px;
}
.site-footer .inner { max-width: 1160px; margin: 0 auto; padding: 56px 32px 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 48px; }
.foot-brand img { height: 26px; margin-bottom: 14px; display: block; }
.foot-brand p {
  margin: 0; max-width: 280px; font-size: 11px; font-weight: 700;
  letter-spacing: var(--syn-tracking-tag); text-transform: uppercase; color: rgba(255,255,255,.5);
}
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-col h4 {
  font-family: var(--syn-font-body); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 14px;
}
.foot-col a { display: block; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); padding: 5px 0; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.4);
}
.foot-base a { color: rgba(255,255,255,.65); font-weight: 600; }
.foot-base a:hover { color: #fff; }
.foot-base .pow { display: flex; align-items: center; gap: 8px; font-weight: 700; color: rgba(255,255,255,.7); }
.foot-base .pow img { height: 18px; display: block; }
.site-footer .legal { font-size: 12px; color: rgba(255,255,255,.35); margin: 18px 0 0; }

@media (max-width: 560px) {
  h1 { font-size: 32px; }
  main { padding-top: 40px; }
}

/* —— Motion (gated: no-preference only; .reveal hidden states require JS) —— */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html.js .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.6,.2,1) var(--reveal-delay, 0s),
                transform .7s cubic-bezier(.2,.6,.2,1) var(--reveal-delay, 0s);
  }
  html.js .reveal.in { opacity: 1; transform: none; }

  .card, .tile { transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s cubic-bezier(.2,.6,.2,1), border-color .35s ease; }
  .card:hover, .tile:hover { transform: translateY(-4px); box-shadow: var(--syn-shadow-lg); }
  .card:hover { border-color: var(--syn-teal); }

  /* Diagram arrows: data visibly flowing */
  .flow { stroke-dasharray: 1 13; animation: flowdash 1s linear infinite; }
  @keyframes flowdash { to { stroke-dashoffset: -14; } }
  .site-nav a { transition: color .2s ease, transform .2s ease; }
  .site-nav a:hover { transform: translateY(-1px); }
  .site-nav a:active { transform: translateY(0); }
}

/* —— Feature showcase (tabs) — degrades to stacked cards without JS —— */
.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin: 36px 0; align-items: start; }
.show-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 16px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; font: inherit; font-weight: 600; font-size: 15px;
  color: #5D6B7A; cursor: pointer;
}
.show-tab svg { width: 20px; height: 20px; flex: none; }
.show-tab:hover { color: var(--syn-navy); }
.show-tab[aria-selected="true"] {
  background: var(--color-surface); border-color: var(--color-border);
  box-shadow: var(--syn-shadow); color: var(--syn-navy);
}
.showcase-panel {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--syn-radius-md); padding: 36px; box-shadow: var(--syn-shadow);
  color: var(--color-text); /* stays readable when the panel sits inside a dark hero */
}
.showcase-panel h3 { margin: 0 0 10px; font-size: 22px; }
.showcase-panel p { color: #5D6B7A; margin: 0 0 12px; max-width: 60ch; font-size: 16px; }
html.js .showcase-panel { display: none; }
html.js .showcase-panel.active { display: block; }
html:not(.js) .showcase-rail { display: none; }
html:not(.js) .showcase-panel { margin-bottom: 16px; }
@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-rail { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
  .show-tab { width: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .showcase-panel.active { animation: panelin .4s cubic-bezier(.2,.6,.2,1); }
  @keyframes panelin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* —— Explorable diagram (Toybox) —— */
.hotspot { cursor: pointer; outline: none; }
.hotspot:hover { opacity: .8; }
.hotspot.sel, .hotspot:focus-visible { opacity: 1; filter: drop-shadow(0 3px 8px rgba(37,99,201,.5)); }
.diagram-hint {
  font-size: 13px; font-weight: 700; color: #5D6B7A; text-align: center;
  margin: 0 0 14px; display: none;
}
html.js .diagram-hint { display: block; }
.diagram-explore { max-width: 640px; margin: 8px auto 40px; }
html.js .diagram-detail { display: none; }
html.js .diagram-detail.active { display: block; }
html:not(.js) .diagram-detail { margin-bottom: 14px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .diagram-detail.active { animation: panelin .4s cubic-bezier(.2,.6,.2,1); }
}

/* —— Elevated page hero (Design B: navy deep + blurred gradient glow) —— */
main.flush { max-width: none; padding: 0; }
.phero { position: relative; overflow: hidden; text-align: center; padding: 104px 24px 88px;
  background: var(--syn-navy-deep); color: #fff; }
.phero::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; background: var(--syn-gradient); opacity: .16;
  filter: blur(90px); border-radius: 50%; pointer-events: none; }
.phero > * { position: relative; }
.phero-inner { max-width: 1160px; margin: 0 auto; }
.pilltag { display: inline-block; margin: 0 0 22px; padding: 0; border: none; background: none;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--syn-green); }
.phero h1 { color: #fff; font-size: clamp(42px, 5vw, 64px); line-height: 1.06; margin: 0 auto 24px; max-width: 19ch; }
.phero .lede { font-size: 19px; color: rgba(255,255,255,.68); max-width: 58ch; margin: 0 auto; line-height: 1.6; }
.phero .btn { margin-top: 32px; }
/* one gradient-text phrase per dark hero */
.phero .grad, .phero .sync-grad { background-image: var(--syn-gradient-text-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 104px 32px; }
.page-wrap.narrow { max-width: 760px; }

/* —— Abstracted product surface (shared) — tangible, non-revealing —— */
.appshot { position: relative; max-width: 780px; margin: 52px auto 0; }
.appshot-glow { position: absolute; inset: 8% 8% -10% 8%; z-index: 0; filter: blur(50px); opacity: .55;
  background: radial-gradient(60% 80% at 28% 18%, rgba(46,125,224,.42), transparent 70%),
              radial-gradient(60% 80% at 82% 62%, rgba(47,198,140,.40), transparent 70%); }
.appshot-win { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: #fff; text-align: left;
  border: 1px solid var(--color-border); box-shadow: 0 44px 96px rgba(22,40,74,.20), 0 10px 26px rgba(22,40,74,.08); }
.appshot-bar { display: flex; gap: 7px; align-items: center; padding: 13px 16px; background: #FBFCFB; border-bottom: 1px solid var(--color-border); }
.appshot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #E2E7E2; }
.appshot-body { display: grid; grid-template-columns: 172px 1fr; }
.appshot-side { padding: 18px 14px; background: #FAFBFA; border-right: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 10px; }
.appshot-side i { height: 30px; border-radius: 8px; background: #ECF0EC; }
.appshot-side i.on { background: linear-gradient(120deg, rgba(46,125,224,.16), rgba(47,198,140,.20)); box-shadow: inset 0 0 0 1px rgba(46,125,224,.22); }
.appshot-main { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.appshot-head { display: flex; align-items: center; justify-content: space-between; }
.appshot-head u { display: block; height: 16px; width: 160px; border-radius: 6px; background: #E6EAE6; }
.appshot-head b { display: block; height: 26px; width: 88px; border-radius: 999px; background: linear-gradient(120deg, #2E7DE0, #2FC68C); }
.appshot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.appshot-stats div { border: 1px solid var(--color-border); border-radius: 12px; padding: 13px; }
.appshot-stats em { display: block; height: 22px; width: 56%; border-radius: 6px; margin-bottom: 9px; background: linear-gradient(120deg, #2563C9, #18996D); }
.appshot-stats i { display: block; height: 8px; width: 78%; border-radius: 4px; background: #E6EAE6; }
.appshot-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.appshot-grid span { height: 26px; border-radius: 7px; background: #F0F3F0; }
.appshot-grid span.f { background: linear-gradient(120deg, rgba(46,125,224,.55), rgba(47,198,140,.6)); }
@media (max-width: 620px) { .appshot-body { grid-template-columns: 1fr; } .appshot-side { flex-direction: row; flex-wrap: wrap; } .appshot-side i { flex: 1; min-width: 52px; } }
@media (prefers-reduced-motion: no-preference) { .appshot-win { animation: floaty 6.5s ease-in-out infinite alternate; } @keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } } }
.tb-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tb-chips span { font-size: 12px; font-weight: 700; color: #0B7390; background: var(--syn-mist); border-radius: 999px; padding: 6px 13px; }

/* —— iPhone 17 Pro Max device frame (holds a real, name-blurred app screenshot) —— */
.iphone { position: relative; width: 344px; max-width: 86vw; margin: 48px auto 0; }
.iphone-glow { position: absolute; inset: 3% -20% -10% -20%; z-index: 0; filter: blur(58px); opacity: .5;
  background: radial-gradient(54% 58% at 28% 16%, rgba(46,125,224,.52), transparent 70%),
              radial-gradient(54% 58% at 76% 72%, rgba(47,198,140,.48), transparent 70%); }
.iphone-frame { position: relative; z-index: 1; border-radius: 58px; padding: 10px;
  background: linear-gradient(155deg, #3b3b42, #15151a 55%, #2c2c33);
  box-shadow: 0 48px 100px rgba(22,40,74,.32), 0 12px 30px rgba(0,0,0,.22), inset 0 0 0 1.5px rgba(255,255,255,.06); }
.iphone-screen { position: relative; border-radius: 48px; overflow: hidden; background: #fff; }
/* status bar above + a home-indicator safe area below, so the app's own top
   header and bottom nav clear the rounded corners (like a real iPhone). */
.iphone-screen img { display: block; width: 100%; margin-top: 40px; margin-bottom: 46px; }
.iphone-screen:has(img)::after { content: ''; position: absolute; bottom: 15px; left: 50%;
  transform: translateX(-50%); width: 33%; height: 5px; border-radius: 3px;
  background: rgba(20,30,50,.30); z-index: 4; }
.iphone-splash { aspect-ratio: 430 / 932; background: var(--syn-gradient); display: grid; place-items: center; }
.iphone-splash .iphone-emblem { width: 96px; height: 96px; margin: 0; }
.iphone-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 80px; height: 23px; background: #000; border-radius: 13px; z-index: 4; }
.iphone-status { position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 3; display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; color: #1d1d1f; font-family: var(--syn-font-body); font-weight: 700; font-size: 13px; }
.iphone-status .ip-right { display: inline-flex; align-items: center; gap: 6px; }
.iphone-batt { width: 22px; height: 11px; border: 1.5px solid rgba(0,0,0,.5); border-radius: 3px; position: relative; }
.iphone-batt::before { content: ''; position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; width: 13px; background: #1d1d1f; border-radius: 1px; }
.iphone-batt::after { content: ''; position: absolute; right: -3px; top: 3.5px; height: 4px; width: 2px; background: rgba(0,0,0,.5); border-radius: 1px; }
@media (prefers-reduced-motion: no-preference) { .iphone-frame { animation: floaty 6.5s ease-in-out infinite alternate; } }

/* —— Apple-style product feature beats (big phones, alternating) —— */
.hero-phone { display: flex; justify-content: center; padding: 4px 24px 0; }
.beat { padding: 84px 24px; overflow: hidden; }
.beat-inner { max-width: 1020px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.beat--reverse .beat-visual { order: -1; }
.beat-text h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; line-height: 1.1; margin: 14px 0 18px; }
.beat-text p { font-size: 18px; color: #5D6B7A; line-height: 1.55; max-width: 46ch; margin: 0; }
.beat-visual { display: flex; justify-content: center; }
.beat--tint { background: linear-gradient(180deg, rgba(46,125,224,.045), rgba(47,198,140,.06)); }
.feat-head { text-align: center; max-width: 720px; margin: 0 auto; padding: 8px 24px 0; }
.feat-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 16px; }
.feat-head p { color: #5D6B7A; font-size: 17px; margin: 0; }
@media (max-width: 760px) { .beat { padding: 58px 22px; } .beat-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; } .beat--reverse .beat-visual { order: 0; } .beat-text p { margin: 0 auto; } }

/* —— Product hero extras (heroes are navy deep; .phero--wash kept as a
   legacy class with no extra styling — the base .phero glow applies) —— */
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
/* the phero's lone-button margin doesn't apply inside the CTA row: without
   this the ghost button stretches to the primary's margin box (oversized) */
.hero-cta .btn { margin-top: 0; }
.phero .hero-note { font-size: 13px; color: rgba(255,255,255,.45); margin: 18px 0 0; }
.hero-cta .btn-ghost { display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; min-height: 44px; border-radius: var(--syn-radius-pill);
  font-weight: 700; font-size: 15px; color: #fff; border: 1.5px solid rgba(255,255,255,.28); background: transparent;
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), border-color .15s ease; }
.hero-cta .btn-ghost:hover { text-decoration: none; border-color: rgba(255,255,255,.55); transform: translateY(-1px); }
.hero-phone .iphone { width: 340px; margin-top: 44px; }
.hero-phone .iphone-frame { animation: none; }  /* no idle float */

/* Phone-screen coverflow: a 3D carousel of app screens */
.cflow { position: relative; overflow: hidden; color: #fff; display: block;
  background: var(--syn-navy-deep); padding: 104px 24px 96px; }
.cflow::after { content: ''; position: absolute; left: 50%; top: 6%; width: 760px; height: 560px;
  max-width: 130%; transform: translateX(-50%); border-radius: 50%; pointer-events: none; filter: blur(40px);
  background: radial-gradient(circle, rgba(47,198,140,.18), rgba(46,125,224,.12) 48%, transparent 72%); }
.cflow-head { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cflow-head .eyebrow { color: #6FE3C0; letter-spacing: .06em; }
.cflow-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; line-height: 1.08; margin: 12px 0 14px; color: #fff; }
.cflow-head p { color: rgba(255,255,255,.74); font-size: 18px; margin: 0; line-height: 1.5; }

/* coverflow stage */
.cflow-stage { position: relative; z-index: 1; height: 660px; max-width: 1080px; margin: 36px auto 0;
  display: flex; align-items: center; justify-content: center; }
.cflow-slide { position: absolute; top: 50%; left: 50%; width: 286px; max-width: 78vw;
  transition: transform .55s cubic-bezier(.4,.05,.2,1), opacity .55s ease, filter .55s ease;
  will-change: transform, opacity; }
.cflow-slide[data-pos="center"] { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; filter: none; }
.cflow-slide[data-pos="left"]   { transform: translate(calc(-50% - 232px), -50%) scale(.82); opacity: .6; z-index: 2; filter: brightness(.52) saturate(.85); cursor: pointer; }
.cflow-slide[data-pos="right"]  { transform: translate(calc(-50% + 232px), -50%) scale(.82); opacity: .6; z-index: 2; filter: brightness(.52) saturate(.85); cursor: pointer; }
.cflow-slide[data-pos="hidden"] { transform: translate(-50%, -50%) scale(.7); opacity: 0; z-index: 1; pointer-events: none; }

.cflow-phone { position: relative; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e 60%, #0b0b0c);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.cflow-slide[data-pos="center"] .cflow-phone { box-shadow: 0 60px 110px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); }
/* white status strip on top so the time + island sit ABOVE the app's own
   header (the screenshots already include the in-app "Sync" header). */
.cflow-screen { position: relative; border-radius: 38px; overflow: hidden; background: #fff; padding-top: 40px; }
.cflow-screen img { display: block; width: 100%; }
.cflow-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; background: #000; border-radius: 14px; z-index: 4; }
.cflow-status { position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 3; display: flex; align-items: center;
  padding: 0 28px; font-size: 13px; font-weight: 600; color: #16284A; }

/* nav arrows */
.cflow-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff;
  cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s ease; }
.cflow-nav:hover { background: rgba(255,255,255,.2); }
.cflow-nav svg { width: 18px; height: 18px; }
.cflow-prev { left: calc(50% - 470px); }
.cflow-next { left: calc(50% + 426px); }

/* caption + dots */
.cflow-cap { position: relative; z-index: 4; text-align: center; max-width: 520px; margin: 4px auto 0; min-height: 96px; }
.cflow-step { color: #6FE3C0; font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.cflow-cap h3 { color: #fff; font-size: 24px; letter-spacing: -.5px; line-height: 1.16; margin: 8px 0; }
.cflow-cap p { color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.55; margin: 0; }
.cflow-capset { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.cflow-capset.cflow-on { position: relative; opacity: 1; pointer-events: auto; }

.cflow-dots { display: flex; gap: 10px; justify-content: center; align-items: center; width: max-content;
  margin: 24px auto 0; padding: 7px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.cflow-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); border: none;
  cursor: pointer; padding: 0; transition: background .2s ease, width .2s ease; }
.cflow-dot.cflow-on { background: var(--syn-green); width: 24px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .cflow-slide, .cflow-capset, .cflow-dot { transition: none; }
}
@media (max-width: 820px) {
  .cflow-prev { left: 8px; } .cflow-next { left: auto; right: 8px; }
  .cflow-slide { width: 230px; }
  .cflow-slide[data-pos="left"], .cflow-slide[data-pos="right"] { opacity: 0; pointer-events: none; }
}
@media (max-width: 680px) { .cflow { padding: 76px 0 84px; }
  .cflow-head { padding-left: 18px; padding-right: 18px; } }

/* Design B CTA: light, centered, 5px gradient rule across the top.
   The gradient stays on the button, never as the band fill. */
.cta-band { position: relative; text-align: center; background: var(--syn-white); color: var(--syn-navy);
  padding: 110px 24px; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--syn-gradient); }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 18px; color: var(--syn-navy); }
.cta-band p { color: var(--syn-slate); font-size: 17px; line-height: 1.6; margin: 0 auto 36px; max-width: 52ch; }

/* —— Ambient feature marquee (pure CSS, decorative; scoped) —— */
.feature-marquee { --marquee-speed: 60s; /* one full loop; lower = faster */
  position: relative; width: calc(100% + 48px); margin: 48px -24px 0;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.feature-marquee__track { display: flex; width: max-content;
  animation: feature-marquee-scroll var(--marquee-speed) linear infinite; }
.feature-marquee__tile { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px;
  margin-right: 14px; padding: 11px 22px 11px 11px; border-radius: 16px;
  background: rgba(255,255,255,.62); border: 1px solid rgba(22,40,74,.08);
  box-shadow: 0 8px 22px rgba(22,40,74,.09);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* marquee inside a navy hero: solid white chips so labels stay readable */
.phero .feature-marquee__tile { background: rgba(255,255,255,.94); border-color: rgba(255,255,255,.2); }
/* flat tinted icon tiles: the signature gradient is reserved for CTAs/badges */
.feature-marquee__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--syn-mist); }
.feature-marquee__icon svg { width: 18px; height: 18px; display: block;
  fill: none; stroke: #0B7390; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature-marquee__label { font-family: var(--syn-font-body); font-weight: 600; font-size: 15px;
  color: #16284A; white-space: nowrap; }
@keyframes feature-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .feature-marquee__track { animation: none; } }

/* —— Header dropdowns + demo CTA —— */
.site-nav { align-items: center; }
.nav-cta { flex: none; padding: 10px 20px; font-size: 14px; min-height: 40px; }
@media (max-width: 880px) { .nav-cta { display: none; } .site-header .inner { padding: 12px 24px; gap: 18px; } .site-nav { gap: 16px; } }
.nav-item { position: relative; }
.nav-trigger { background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--syn-font-body); font-weight: 600; font-size: 14px; color: rgba(255,255,255,.65);
  display: inline-flex; align-items: center; gap: 5px; transition: color .15s ease; }
.nav-trigger .caret { width: 11px; height: 11px; flex: none; transition: transform .22s ease; }
.nav-item:hover .nav-trigger, .nav-item:focus-within .nav-trigger,
.nav-item.open .nav-trigger { color: #fff; }
.nav-item:hover .caret, .nav-item:focus-within .caret,
.nav-item.open .caret { transform: rotate(180deg); }
.nav-trigger:focus-visible { outline: 3px solid rgba(46,125,224,.5); outline-offset: 4px; border-radius: 6px; }
.nav-menu { position: absolute; top: calc(100% + 16px); left: 50%; z-index: 60;
  transform: translateX(-50%) translateY(8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.6,.2,1), transform .22s cubic-bezier(.2,.6,.2,1), visibility 0s linear .22s;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--syn-radius-lg); box-shadow: var(--syn-shadow-lg); padding: 10px; }
/* invisible hover bridge across the gap between trigger and panel */
.nav-menu::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
/* gradient hairline echoing the header's .gradient-strip */
.nav-menu::after { content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--syn-gradient); }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu, .nav-item.open .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.menu-products { width: 384px; }
.menu-aud { width: 356px; }
.menu-card, .menu-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; }
.menu-card:hover, .menu-row:hover { background: var(--syn-mist); text-decoration: none; }
.menu-card:focus-visible, .menu-row:focus-visible { outline: 2px solid var(--syn-blue-deep); outline-offset: -2px; }
.menu-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.menu-ico svg { width: 26px; height: 26px; display: block; }
.ico-sync { background: var(--syn-gradient); }
.ico-toybox { background: var(--syn-navy); }
.menu-chip { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,125,224,.10), rgba(47,198,140,.14)); }
.menu-chip svg { width: 22px; height: 22px; display: block; }
.menu-txt b { display: block; font-family: var(--syn-font-display); font-weight: 600;
  font-size: 16px; color: var(--syn-navy); line-height: 1.3; }
.menu-txt small { display: block; font-size: 13px; font-weight: 500; line-height: 1.45; color: #5D6B7A; margin-top: 2px; }
.menu-foot { border-top: 1px solid var(--color-border); margin: 8px 6px 2px; padding: 10px 8px 4px; }
/* re-assert link color: `.site-nav a` paints anchors header-white, unreadable on the panel */
.menu-foot a { font-size: 13.5px; color: var(--syn-blue-deep); }

/* —— Mobile nav: hamburger sheet (≤720px) ——
   The burger button is injected by site.js; the sheet is the existing .site-nav
   re-laid-out as a panel under the header, with the dropdowns as in-flow
   disclosure groups and a copy of the demo CTA at the bottom. Without JS there
   is no burger, so the nav falls back to wrapped rows (html:not(.js) below). */
.nav-burger { display: none; }
.site-nav .sheet-cta { display: none; }

@media (max-width: 720px) {
  html.js .nav-burger {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    margin-left: auto; width: 44px; height: 44px; flex: none;
    background: none; border: none; cursor: pointer; border-radius: 10px; padding: 0;
  }
  html.js .nav-burger:focus-visible { outline: 3px solid rgba(46,125,224,.5); outline-offset: 2px; }
  html.js .nav-burger .bar {
    display: block; width: 20px; height: 2px; border-radius: 1px;
    background: rgba(255,255,255,.92);
    transition: transform .22s cubic-bezier(.2,.6,.2,1);
  }
  html.js .nav-burger .bar + .bar { margin-top: 6px; }
  html.js .nav-open .nav-burger .bar:first-child { transform: translateY(4px) rotate(45deg); }
  html.js .nav-open .nav-burger .bar:last-child { transform: translateY(-4px) rotate(-45deg); }

  html.js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 10px 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 24px 48px -12px rgba(15,29,56,.28);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  html.js .site-header.nav-open .site-nav { display: flex; animation: sheet-in .22s cubic-bezier(.2,.6,.2,1); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { html.js .site-header.nav-open .site-nav { animation: none; } }

  html.js .site-nav > a { color: var(--syn-navy); font-size: 16px; padding: 12px 10px; border-radius: 8px; }
  html.js .site-nav > a:hover { background: rgba(15,29,56,.05); text-decoration: none; }

  html.js .site-nav .nav-item { width: 100%; }
  html.js .site-nav .nav-trigger {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    color: var(--syn-navy); font-size: 16px; padding: 12px 10px; border-radius: 8px;
    white-space: nowrap;
  }
  html.js .site-nav .nav-trigger:hover { background: rgba(15,29,56,.05); }
  html.js .site-nav .nav-item.open .nav-trigger { color: var(--syn-blue-deep); }

  /* dropdown panels become in-flow groups inside the sheet */
  html.js .site-nav .nav-menu {
    display: none; position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    width: 100%; border: none; box-shadow: none;
    background: rgba(15,29,56,.03); border-radius: 10px;
    padding: 6px; margin: 0 0 4px;
  }
  html.js .site-nav .nav-menu::before, html.js .site-nav .nav-menu::after { display: none; }
  html.js .site-nav .nav-item.open .nav-menu { display: block; }
  html.js .site-nav .menu-aud { width: 100%; }

  /* the demo CTA lives in the sheet on mobile (the header copy hides at 880px) */
  html.js .site-nav .sheet-cta { display: flex; justify-content: center; margin-top: 10px; padding: 12px 20px; font-size: 15px; }

  body.nav-locked { overflow: hidden; }

  /* no JS: wrapped rows with focus-opened disclosure groups — never a dead burger */
  html:not(.js) .site-header .inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { flex-wrap: wrap; width: 100%; }
  html:not(.js) .nav-item { width: 100%; }
  html:not(.js) .nav-menu { position: static; transform: none; width: 100%; box-shadow: none; border: none;
    padding: 2px 0 6px; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  html:not(.js) .nav-menu::before, html:not(.js) .nav-menu::after { display: none; }
  html:not(.js) .nav-item:focus-within .nav-menu { display: block; }
}

/* —— Audience switcher pills (live inside the navy hero) —— */
.aud-switch { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.aud-switch a { padding: 8px 18px; border-radius: var(--syn-radius-pill); font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.aud-switch a:hover { text-decoration: none; color: #fff; border-color: rgba(255,255,255,.4); }
.aud-switch a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--syn-navy); }

@media (max-width: 480px) {
  .site-header .inner { padding: 12px 16px; gap: 12px; }
  .site-header .logo img { height: 22px; }
}
