/* ModelSystems.ai — shared styles */
:root {
  --bg: #06080f;
  --bg-2: #0b0f1c;
  --navy: #17213d;
  --ink: #0e1324;
  --text: #e9ecf5;
  --muted: #8b93ab;
  --dim: #5b637b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.025);
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, sans-serif;
  --ui: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  --header-h: 82px;
  --gutter: 24px;
  --vsl-pad: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  /* top navy glow */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 50% -5%, #1b2748 0%, rgba(23, 33, 61, 0.55) 35%, transparent 70%),
    radial-gradient(60% 40% at 0% 30%, rgba(30, 44, 84, 0.35), transparent 70%),
    radial-gradient(60% 40% at 100% 20%, rgba(30, 44, 84, 0.3), transparent 70%),
    linear-gradient(180deg, #0d1324 0%, var(--bg) 60%);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header / footer ---------- */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--header-h);
  padding: 0 16px;
}
.site-header.ruled { border-bottom: 1px solid var(--line); }
.logo {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}
.logo small { font-size: 0.52em; margin-left: 1px; }

.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  font-size: 11px;
  color: var(--dim);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .footer-fine { display: block; margin-top: 16px; }
.footer-fine p { margin: 0 0 6px; max-width: 860px; line-height: 1.6; color: #4d556c; }
.footer-fine a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- cookie banner ---------- */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 18px 16px 22px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(14, 19, 36, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7);
}
.cookie-bar p { margin: 0; flex: 1; font-size: 13px; line-height: 1.55; color: #b9c0d4; }
.cookie-bar a { color: #fff; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-btn {
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: #dfe3ee;
  font: 500 13px var(--sans);
  cursor: pointer;
}
.cookie-btn:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cookie-btn.primary { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
/* desktop: a corner card, clear of the centred video and button */
@media (min-width: 1300px) {
  .cookie-bar {
    left: 20px; right: auto; bottom: 20px;
    margin: 0;
    max-width: 270px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }
  .cookie-actions .cookie-btn { flex: 1; }
}
@media (max-width: 560px) {
  .cookie-bar { gap: 12px; padding: 12px; left: 10px; right: 10px; bottom: 10px; border-radius: 12px; }
  .cookie-bar p { font-size: 12px; line-height: 1.45; }
  .cookie-bar .cb-long { display: none; }
  .cookie-actions { gap: 6px; }
  .cookie-btn { padding: 10px 12px; font-size: 12.5px; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0 0; }
.legal .eyebrow, .legal .headline { text-align: left; margin-left: 0; }
.legal-updated { margin: 18px 0 36px; font-size: 13px; color: var(--dim); }
.legal h2 { margin: 40px 0 12px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.legal p, .legal li { color: #b4bbcf; font-size: 15.5px; line-height: 1.75; font-weight: 300; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: #e9ecf5; font-weight: 500; }
.legal a { color: #c9d6ff; text-underline-offset: 3px; }
.legal-missing { background: rgba(255, 196, 87, 0.16); color: #ffcf7a !important; padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.consent { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: var(--dim); }
.consent a { color: var(--muted); text-underline-offset: 2px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ba5c3;
  text-align: center;
  margin: 0 0 22px;
  font-feature-settings: "ss01", "cv11";
}
/* hero variant: small pill with a live dot */
.eyebrow.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #c3cae0;
  font-size: 11px;
  letter-spacing: 0.14em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.eyebrow.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb5ff;
  box-shadow: 0 0 0 3px rgba(143, 181, 255, 0.18);
  flex: none;
}

.headline {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-align: center;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 10%, #aeb7d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  /* background-clip:text clips to the box — pad so descenders (g, y, q) aren't cut */
  padding: 0.04em 0.06em 0.16em;
  margin-bottom: -0.16em;
}
.h-xl { font-size: clamp(34px, 5.4vw, 68px); max-width: 980px; }
.h-lg { font-size: clamp(32px, 4.6vw, 62px); max-width: 900px; }
.h-md { font-size: clamp(28px, 3.4vw, 44px); }

.lede {
  max-width: 560px;
  margin: 22px auto 0;
  text-align: center;
  color: #b9c0d4;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
}
.label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

::selection { background: rgba(143, 181, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid #8fb5ff; outline-offset: 3px; border-radius: 6px; }
.cal-wrap :focus-visible { outline-color: var(--ink); }

/* scroll-in reveal (disabled when reduced motion is on) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 34px;
  border-radius: 10px;
  border: 0;
  font: 600 15px/1 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #dde2ef 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 10px 40px -8px rgba(170, 186, 235, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 14px 50px -8px rgba(170,186,235,.6), 0 2px 6px rgba(0,0,0,.4); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.35; pointer-events: none; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  padding: 18px 12px;
  font-weight: 500;
}
.btn-ghost:hover { color: #fff; box-shadow: none; }
.cta-note {
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- placeholders ---------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #3c4359;
  font-size: 12px;
  text-align: center;
}
.ph svg { width: 28px; height: 28px; opacity: 0.8; }

/* =========================================================
   LANDING
   ========================================================= */
/* Hero fits headline + the whole video in one viewport: the video slot takes
   whatever height is left and the player sizes itself to it. The button sits
   directly underneath, just below the fold on shorter screens. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(14px, 3.5vh, 48px) 0 14px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100svh - var(--header-h));
}
.hero > * { flex-shrink: 0; }
.hero .eyebrow { margin-bottom: clamp(10px, 2vh, 22px); }
.h-hero { font-size: clamp(26px, min(4.2vw, 5.6vh), 60px); max-width: 1220px; }
.hero .lede { margin-top: clamp(10px, 2vh, 22px); max-width: 640px; }
/* the intro line sits above the video on tall screens, below the fold on short ones */
.lede-below { display: none; margin-top: 28px; }
.vsl-slot { width: 100%; margin-top: clamp(14px, 3.5vh, 44px); }
.vsl {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--vsl-pad);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(120, 138, 190, 0.28), rgba(70, 82, 118, 0.18));
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8), 0 0 80px -30px rgba(120, 140, 210, 0.35);
}
@supports (container-type: size) {
  .vsl-slot {
    container-type: size;
    flex: 0 1 calc(min(1000px, 100vw - 2 * var(--gutter)) * 9 / 16 + 2 * var(--vsl-pad));
    min-height: 170px;
  }
  .vsl {
    max-width: none;
    width: min(100cqw, calc((100cqh - 2 * var(--vsl-pad)) * 16 / 9 + 2 * var(--vsl-pad)));
  }
}
.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.vsl-frame iframe, .vsl-frame wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.vsl-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.vsl-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,19,24,.1), rgba(18,19,24,.55)); pointer-events: none; }
.vsl-play, .vsl-meta { z-index: 1; }
.vsl-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.vsl-play span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.vsl-play:hover span { transform: scale(1.06); }
.vsl-play svg { width: 30px; height: 30px; margin-left: 5px; fill: #111; }
.vsl-meta {
  position: absolute;
  left: 22px;
  bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  pointer-events: none;
}
.vsl-meta::before { content: "▶"; margin-right: 8px; font-size: 9px; }

.hero-cta { margin-top: 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-cta .cta-note { margin-top: 14px; }

.stats {
  margin: clamp(24px, 5vh, 64px) auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 20px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.stat b {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 10%, #aeb7d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { margin-top: 110px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .label { display: block; margin-bottom: 16px; }
.h-sec { font-size: clamp(28px, 3.6vw, 46px); max-width: 760px; }
.section-sub {
  max-width: 520px;
  margin: 16px auto 0;
  color: #aab1c6;
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
}

/* ---------- case studies ----------
   Four layouts, chosen with `resultsLayout` in config.js:
   masonry · grid · spotlight · strip  */
.result {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.result:hover { transform: translateY(-3px); border-color: var(--line-2); }
.result-shot {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.result-shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.result-shot.empty { background: #131828; cursor: default; aspect-ratio: 16 / 9; }
.result-shot.empty .ph { height: 100%; }
.result-body { padding: 22px 24px 24px; }
.result h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}
.result .label { font-size: 10.5px; }
/* thumbnail: fixed shape, whole screenshot fitted inside on white */
.thumb .result-shot { aspect-ratio: 16 / 10; overflow: hidden; }
.thumb .result-shot img { height: 100%; object-fit: contain; }

/* ===== card designs (resultsStyle) =====
   frame (default, above) · paper · chat · stat · glass */
.result h3 .fig { font-weight: inherit; }

/* paper: the screenshot is the card. White all over, headline in ink. */
.style-paper .result {
  background: #fff;
  border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
.style-paper .result:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 32px 70px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); }
.style-paper .result-shot { padding: 14px 14px 0; }
.style-paper .result-shot img { border-radius: 8px; border: 1px solid #eceef3; }
.style-paper .result-body { padding: 18px 20px 22px; }
.style-paper .result h3 { color: var(--ink); }
.style-paper .result .label { color: #8d93a3; }
.style-paper.layout-grid .result-body, .style-paper.layout-strip .result-body { padding: 22px 20px 6px; }
.style-paper.layout-grid .result-shot, .style-paper.layout-strip .result-shot { padding: 10px 14px 14px; }

/* chat: the screenshot sits in a received bubble, your headline is the reply */
.style-chat .result { background: transparent; border: 0; border-radius: 0; overflow: visible; padding: 4px 0 4px 44px; position: relative; }
.style-chat .result:hover { transform: none; }
.style-chat .result::before {
  content: "MS";
  position: absolute; left: 0; bottom: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--ink);
  font: 500 13px var(--serif);
  display: grid; place-items: center;
}
.style-chat .result-shot {
  border-radius: 18px 18px 18px 6px;
  padding: 8px;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.8);
}
.style-chat .result-shot img { border-radius: 11px; }
.style-chat .result-body {
  margin-top: 10px;
  padding: 16px 20px 18px;
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(180deg, #2a3660, #1d2648);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.8);
}
.style-chat .result h3 { font-size: 19px; margin-bottom: 8px; }
.style-chat .result .label { color: #aeb9dc; }
.style-chat .result .label::before { content: "↳ "; }
.style-chat.layout-grid .result, .style-chat.layout-strip .result { flex-direction: column; }
.style-chat.layout-grid .result h3 { min-height: 0; }
.style-chat .thumb .result-shot, .style-chat.thumb .result-shot { aspect-ratio: 16 / 10; }

/* stat: the figure is the hero, the screenshot is a tucked-in polaroid */
.style-stat .result {
  background: radial-gradient(120% 80% at 0% 0%, rgba(60, 78, 130, .45), transparent 60%), rgba(12, 16, 30, .9);
  border-color: var(--line-2);
  display: flex; flex-direction: column;
}
.style-stat .result-body { order: -1; padding: 28px 26px 0; }
.style-stat .result h3 { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-height: 0; }
.style-stat .result h3 .fig {
  font-size: 50px; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 10%, #aeb7d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.style-stat .result h3 span { font-size: 17px; font-weight: 500; color: #c9d0e4; letter-spacing: -0.02em; }
.style-stat .result-shot {
  margin: 22px 26px 26px auto;
  width: min(62%, 300px);
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  padding: 6px 6px 18px;
  transform: rotate(2deg);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.9);
  transition: transform .25s ease;
}
.style-stat .result:hover .result-shot { transform: rotate(0deg) scale(1.02); }
.style-stat .result-shot img { height: 100%; object-fit: cover; object-position: top; border-radius: 3px; }
.style-stat.layout-masonry .result-shot { aspect-ratio: 16 / 10; }
.style-stat.layout-spotlight .result:not(:first-child) .result-shot { margin: 12px; width: auto; transform: none; padding: 5px; }

/* ----- stat variations: same big figure, different screenshot treatment ----- */
.is-stat .result h3 { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.is-stat .result h3 .fig {
  font-size: 50px; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 10%, #aeb7d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.is-stat .result h3 span { font-size: 17px; font-weight: 500; color: #c9d0e4; letter-spacing: -0.02em; }
.is-stat .result {
  background: radial-gradient(120% 80% at 0% 0%, rgba(60, 78, 130, .45), transparent 60%), rgba(12, 16, 30, .9);
  border-color: var(--line-2);
}

/* 4a · stack: figure on top, the whole screenshot full width underneath */
.results.style-stat-stack .result { display: flex; flex-direction: column; text-align: left; }
.style-stat-stack .result-body { order: -1; padding: 28px 26px 22px; }
.style-stat-stack .result-shot { margin: 0 14px 14px; width: auto; border-radius: 10px; padding: 8px; }
.style-stat-stack .result-shot img { border-radius: 6px; }

/* 4b · split: figure on the left, screenshot on the right, wide cards */
.style-stat-split.layout-grid { grid-template-columns: 1fr 1fr; }
.results.style-stat-split .result { display: grid; grid-template-columns: 1fr 1.1fr; text-align: left; }
.style-stat-split .result-body { padding: 30px 8px 30px 28px; align-self: center; }
.style-stat-split .result h3 .fig { font-size: 46px; }
.style-stat-split .result-shot { margin: 14px; width: auto; height: calc(100% - 28px); aspect-ratio: auto; border-radius: 10px; padding: 8px; min-height: 190px; }
.style-stat-split .result-shot img { height: 100%; object-fit: contain; border-radius: 6px; }

/* 4c · overlay: screenshot fills the card, figure sits on a dark fade at the bottom */
.results.style-stat-overlay .result { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; text-align: left; }
.style-stat-overlay .result-shot { position: absolute; inset: 0; padding: 16px; aspect-ratio: auto; }
.style-stat-overlay .result-shot img { width: 100%; height: auto; object-fit: unset; border-radius: 6px; }
.style-stat-overlay .result-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px 26px 26px;
  background: linear-gradient(180deg, rgba(12, 16, 30, 0) 0%, rgba(12, 16, 30, .92) 38%, rgba(12, 16, 30, .98) 100%);
  pointer-events: none;
}
.style-stat-overlay .result h3 span { color: #dfe4f2; }
.style-stat-overlay .result .label { color: #aeb7d6; }

/* 4d · only: just the numbers; the screenshot opens on tap */
.results.style-stat-only .result { display: flex; flex-direction: column; padding: 30px 26px 24px; text-align: left; }
.style-stat-only .result-body { order: -1; padding: 0 0 18px; }
.style-stat-only .result h3 .fig { font-size: 56px; }
.style-stat-only .result-shot {
  margin-top: auto;
  width: auto; aspect-ratio: auto;
  padding: 0;
  background: transparent;
  color: #8fb5ff;
  font: 600 13px var(--sans);
  text-align: left;
  cursor: pointer;
}
.style-stat-only .result-shot img { display: none; }
.style-stat-only .result-shot::after { content: "View the screenshot →"; }
.style-stat-only .result-shot:hover { color: #fff; }

/* shots: just the screenshots, whole, no text at all */
.results.style-shots .result { background: #fff; border: 0; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.style-shots .result-body { display: none; }
.style-shots .result-shot { padding: 10px; aspect-ratio: auto; }
.style-shots .result-shot img { height: auto; object-fit: unset; border-radius: 8px; }
.style-shots.layout-grid { display: block; columns: 2; column-gap: 20px; max-width: 1060px; margin: 0 auto; }
.style-shots.layout-grid .result { break-inside: avoid; margin: 0 0 20px; display: block; }

/* glass: frosted panel, soft glow edge, verified-style name */
.style-glass .result {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03) 50%, rgba(120,140,210,.08));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 30px 80px -30px rgba(90,120,220,.35);
  position: relative;
}
.style-glass .result::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 40%);
}
.style-glass .result:hover { border-color: rgba(255,255,255,.28); }
.style-glass .result-shot { margin: 12px; width: auto; border-radius: 10px; padding: 6px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); }
.style-glass .result-shot img { border-radius: 6px; }
.style-glass .result-body { padding: 10px 24px 24px; }
.style-glass .result h3 { font-size: 22px; }
.style-glass .result .label { color: #b9c3e3; display: inline-flex; align-items: center; gap: 6px; }
.style-glass .result .label::before {
  content: "✓"; width: 15px; height: 15px; border-radius: 50%;
  background: #8fb5ff; color: #0b1020; font: 700 10px/15px var(--sans); text-align: center; letter-spacing: 0;
}
.style-glass.layout-grid .result-body, .style-glass.layout-strip .result-body { padding: 24px 24px 8px; }
.style-glass.layout-grid .result-shot, .style-glass.layout-strip .result-shot { margin: 0 12px 12px; }
.style-glass.layout-spotlight .result:not(:first-child) .result-shot { margin: 8px; }

/* A · masonry: screenshots at natural size, packed into two columns */
.layout-masonry { columns: 2; column-gap: 20px; max-width: 1060px; margin: 0 auto; }
.layout-masonry .result { break-inside: avoid; margin: 0 0 20px; }

/* B · grid: three uniform cards, headline first, cropped thumbnail */
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layout-grid .result { display: flex; flex-direction: column-reverse; }
.layout-grid .result-body { padding: 26px 24px 22px; }
.layout-grid .result h3 { font-size: 24px; min-height: 2.4em; }

/* C · spotlight: one featured screenshot, the rest as a compact list */
.layout-spotlight { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.layout-spotlight .result:first-child { grid-row: 1 / span 5; }
.layout-spotlight .result:first-child .result-shot { aspect-ratio: auto; }
.layout-spotlight .result:first-child .result-shot img { height: auto; }
.layout-spotlight .result:first-child h3 { font-size: 30px; }
.layout-spotlight .result:not(:first-child) { display: grid; grid-template-columns: 150px 1fr; align-items: center; }
.layout-spotlight .result:not(:first-child) .result-shot { height: 100%; aspect-ratio: auto; padding: 6px; min-height: 96px; }
.layout-spotlight .result:not(:first-child) .result-body { padding: 16px 20px; }
.layout-spotlight .result:not(:first-child) h3 { font-size: 17px; margin-bottom: 6px; }
.layout-spotlight .result:not(:first-child) .label { font-size: 9.5px; }

/* D · strip: one horizontal row, swipe or arrow through it */
.layout-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: -4px -4px 0;
  scrollbar-width: none;
}
.layout-strip::-webkit-scrollbar { display: none; }
.layout-strip .result { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column-reverse; }
.layout-strip .result h3 { font-size: 22px; min-height: 2.4em; }
.strip-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.strip-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.strip-nav button:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.shot-box {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1000px, 94vw);
  max-height: 90vh;
  cursor: zoom-out;
}
.shot-box::backdrop { background: rgba(4, 6, 12, 0.86); backdrop-filter: blur(4px); }
.shot-box img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: 14px; background: #fff; padding: 12px; }

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e9ecf5;
  transition: color 0.15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #fff; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(#aeb7d6, #aeb7d6) center / 10px 1.5px no-repeat,
    linear-gradient(#aeb7d6, #aeb7d6) center / 1.5px 10px no-repeat;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0.06);
}
.faq-list p {
  margin: 0;
  padding: 0 60px 26px 4px;
  color: #aab1c6;
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 820px;
}

.closer {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(40, 54, 98, 0.35), transparent 70%),
    rgba(10, 14, 26, 0.7);
}
.closer .btn { margin-top: 34px; }

/* =========================================================
   APPLY
   ========================================================= */
.apply { max-width: 680px; margin: 0 auto; padding: 56px 0 0; }
.progress {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 44px;
  max-width: 420px;
}
.progress[hidden] { display: none; }
.progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8ea0d6, #fff);
  transition: width 0.4s ease;
}
.step { display: none; animation: rise 0.45s ease both; }
.step.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step .eyebrow { margin-bottom: 16px; }
.step h2 { margin-bottom: 34px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; color: var(--muted); }
.input {
  width: 100%;
  padding: 17px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: 400 16px var(--sans);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.input:focus { border-color: rgba(190, 202, 240, 0.6); background: rgba(255, 255, 255, 0.06); }
textarea.input { min-height: 120px; resize: vertical; }
.options { display: grid; gap: 12px; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 15px;
  color: #dfe3ee;
  transition: border-color 0.15s, background 0.15s;
}
.option:hover { border-color: rgba(255, 255, 255, 0.3); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .key {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.option:has(input:checked) { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.option:has(input:checked) .key { background: #fff; color: var(--ink); border-color: #fff; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; }
.step-nav.back-only { justify-content: flex-start; margin-top: 22px; }
.step-nav.back-only .btn-ghost { padding-left: 0; }
.error { color: #f0a3a3; font-size: 13px; min-height: 18px; margin-top: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.notfit { text-align: center; padding-top: 30px; }
.notfit p { color: #aab1c6; line-height: 1.7; max-width: 520px; margin: 22px auto 0; font-weight: 300; }
.notfit-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.notfit-cta[hidden] { display: none; }
.notfit-cta .cta-note { margin-top: 14px; }

/* =========================================================
   BOOK
   ========================================================= */
.book-hero { padding: 64px 0 0; text-align: center; }
.cal-wrap {
  margin: 48px auto 0;
  max-width: 1040px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  min-height: 700px;
  position: relative;
}
.cal-wrap .calendly-inline-widget { min-width: 320px; height: 760px; }
/* placeholder shown until a Calendly link is set in config.js */
.cal-ph {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 700px;
  color: var(--ink);
  text-align: left;
}
.cal-ph-info { padding: 40px; border-right: 1px solid #eceef3; }
.cal-ph-badge {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font: 500 19px var(--serif);
}
.cal-ph-org { margin-top: 22px; color: #5d6478; font-size: 15px; }
.cal-ph-title { margin: 10px 0 0; font-size: 25px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.cal-ph-meta { margin-top: 18px; color: #6b7286; font-size: 15px; line-height: 1.65; }
.cal-ph-meta p { margin: 0; }
.cal-ph-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 40px; text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, #f1f3f8 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, #f1f3f8 39px 40px),
    #fafbfd;
}
.cal-ph-body .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: #fff; border: 1px solid #e3e6ee;
  display: grid; place-items: center; color: #3b4664;
  box-shadow: 0 6px 20px -8px rgba(14, 19, 36, 0.3);
}
.cal-ph-body .ico svg { width: 26px; height: 26px; }
.cal-ph-body h4 { margin: 8px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cal-ph-body p { margin: 0; color: #6b7286; font-size: 14px; line-height: 1.6; max-width: 360px; }
.cal-ph-body code {
  font: 500 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #eef0f6; color: var(--ink); padding: 5px 8px; border-radius: 6px;
}
.cal-ph-body .btn { margin-top: 10px; padding: 14px 22px; font-size: 14px; }

/* =========================================================
   BOOKED
   ========================================================= */
.booked-hero { padding: 80px 0 0; text-align: center; }
.booked-hero .eyebrow { margin-bottom: 26px; }
.steps-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 76px; }
.todo {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 40px 46px 44px;
  background: linear-gradient(180deg, rgba(30, 38, 66, 0.55), rgba(14, 18, 32, 0.6));
}
.todo .num { font-size: 13px; letter-spacing: 0.3em; color: #cfd5e6; }
.todo h3 { margin: 16px 0 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.todo p { margin: 0; color: #aab1c6; font-size: 16px; line-height: 1.6; font-weight: 300; }

.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.story-media {
  aspect-ratio: 9 / 10;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  background: linear-gradient(180deg, #151925, #0f1219);
  position: relative;
}
.story-media .ph { height: 100%; }
.story-media video, .story-media iframe, .story-media wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.story-media { aspect-ratio: 9 / 16; background-size: cover; background-position: center; }
/* fewer than three stories: keep the cards a sensible size and centre them */
.stories.count-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.stories.count-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.story h4 { margin: 22px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.story .label { font-size: 12px; color: #9aa2b8; }

/* ---------- responsive ---------- */
.option, .btn { -webkit-tap-highlight-color: transparent; }

/* short screens (laptops, landscape tablets): give the video the room */
@media (max-height: 900px), (max-width: 560px) {
  .lede-top { display: none; }
  .lede-below { display: block; }
}
@media (max-height: 760px) and (min-width: 561px) {
  :root { --header-h: 66px; }
  .logo { font-size: 30px; }
}
/* landscape phones: can't fit everything, let it scroll naturally */
@media (max-height: 500px) {
  .hero { max-height: none; }
  .vsl-slot { flex: 0 0 auto; height: 78vh; }
}

/* tablet */
@media (max-width: 980px) {
  .cal-ph { grid-template-columns: 1fr; min-height: 0; }
  .cal-ph-info { border-right: 0; border-bottom: 1px solid #eceef3; }
  .cal-ph-body { min-height: 380px; }
  .todo { padding: 32px 30px 36px; }
  .stories { gap: 20px; }
}
@media (max-width: 720px) {
  .steps-2 { grid-template-columns: 1fr; }
  .layout-masonry, .style-shots.layout-grid { columns: 1; max-width: 560px; }
  .layout-grid { grid-template-columns: 1fr 1fr; }
  .layout-spotlight { grid-template-columns: 1fr; }
  .layout-spotlight .result:first-child { grid-row: auto; }
  .stories { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 40px; }
}

/* phone */
@media (max-width: 560px) {
  :root { --header-h: 60px; --gutter: 16px; --vsl-pad: 5px; }
  .logo { font-size: 25px; }
  .eyebrow { letter-spacing: 0.18em; font-size: 10px; line-height: 1.6; }
  .lede { font-size: 15px; }
  .h-hero { font-size: clamp(24px, min(7.4vw, 4.2vh), 34px); letter-spacing: -0.04em; }
  .vsl { border-radius: 14px; }
  .vsl-frame { border-radius: 10px; }
  .vsl-play span { width: 64px; height: 64px; }
  .vsl-play svg { width: 22px; height: 22px; margin-left: 4px; }
  .vsl-meta { left: 12px; bottom: 10px; font-size: 9.5px; }
  .btn { width: 100%; padding: 17px 24px; }
  .cta-note { font-size: 9.5px; letter-spacing: 0.18em; }
  .stats { grid-template-columns: 1fr; gap: 10px; max-width: 420px; }
  .stat { padding: 20px 16px; }
  .section-head { margin-bottom: 30px; }
  .section-sub { font-size: 14.5px; }
  .faq-list summary { font-size: 15.5px; padding: 20px 2px; gap: 16px; }
  .faq-list p { padding: 0 2px 22px; font-size: 14.5px; }
  .section { margin-top: 72px; }
  .result-body { padding: 18px 18px 20px; }
  .result h3 { font-size: 19px; }
  .result-shot { padding: 6px; }
  .layout-grid { grid-template-columns: 1fr; }
  .layout-grid .result h3, .layout-strip .result h3 { min-height: 0; font-size: 20px; }
  .layout-spotlight .result:first-child h3 { font-size: 24px; }
  .layout-spotlight .result:not(:first-child) { grid-template-columns: 110px 1fr; }
  .style-stat .result h3 .fig, .is-stat .result h3 .fig, .style-stat-only .result h3 .fig { font-size: 42px; }
  .style-stat-split.layout-grid { grid-template-columns: 1fr; }
  .results.style-stat-split .result { grid-template-columns: 1fr; }
  .style-stat-split .result-body { padding: 24px 22px 6px; }
  .style-stat-split .result-shot { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .results.style-stat-overlay .result { aspect-ratio: 1 / 1; }
  .style-stat .result-shot { width: 70%; margin: 16px 18px 20px auto; }
  .style-chat .result { padding-left: 40px; }
  .todo { padding: 28px 22px; }
  .todo h3 { font-size: 22px; }
  .todo p { font-size: 15px; }
  .closer { padding: 56px 20px; }
  .book-hero, .booked-hero { padding-top: 32px; }
  .cal-wrap { margin-top: 32px; border-radius: 16px; min-height: 0; }
  .cal-ph-info, .cal-ph-body { padding: 26px 20px; }
  .cal-ph-badge { width: 42px; height: 42px; font-size: 16px; }
  .cal-ph-title { font-size: 21px; }
  .cal-ph-meta { font-size: 14px; }
  .eyebrow.pill { font-size: 10px; letter-spacing: 0.1em; padding: 8px 14px 8px 12px; }
  .steps-2 { margin-top: 44px; }
  .stories { margin-top: 44px; }
  .apply { padding-top: 32px; }
  .progress { margin-bottom: 32px; }
  .step h2 { margin-bottom: 26px; }
  .option { padding: 16px; font-size: 14.5px; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .step-nav .btn-ghost { width: auto; }
  .step-nav { gap: 12px; }
  .site-footer { margin-top: 64px; }
  .site-footer .wrap { flex-direction: column; gap: 10px; }
  .footer-links { gap: 16px; }
  .legal { padding-top: 32px; }
  .legal p, .legal li { font-size: 15px; }
}
@media (hover: none) {
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
