@font-face { font-family: "Site Serif"; src: url("assets/fonts/PTSerif-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Site Serif"; src: url("assets/fonts/PTSerif-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Site Sans"; src: url("assets/fonts/Inter.woff") format("woff"); font-weight: 100 900; font-display: swap; }

/* Colours from the app (Brand.swift). */
:root {
  --navy: #041e42;
  --navy-deep: #02102a;
  --navy-soft: #123a7a;
  --gold: #d0a054;
  --gold-light: #ecce93;
  --red: #e51837;
  --mist: #f4f5f7;
  --white: #fff;
  --ink: #111827;
  --muted: #566074;
  --line: #e2e5eb;
  --serif: "Site Serif", "PT Serif", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Site Sans", "Segoe UI", Roboto, sans-serif;
  --num: "Site Sans", -apple-system, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1.04; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 64px; }

/* Language: both texts are in the page, one is shown. */
html[lang="tr"] .en, html[lang="en"] .tr { display: none !important; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 2 * var(--gutter)); }

.eyebrow { font: 600 0.74rem/1.4 var(--num); letter-spacing: 0.2em; text-transform: uppercase; color: #8a6420; margin-bottom: 18px; }
.dark .eyebrow, .night .eyebrow { color: var(--gold); }

.head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 80px); }
.head p:not(.eyebrow) { margin-top: 20px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.dark .head p:not(.eyebrow), .night .head p:not(.eyebrow) { color: #b9c4da; }

/* ---------- Buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 18px; font: 600 0.9rem/1 var(--num); text-decoration: none; white-space: nowrap; }
.pill-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 70%); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(208, 160, 84, 0.75); }
a.pill { transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.pill:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(208, 160, 84, 0.85); }
.pill-big { padding: 18px 30px; font-size: 1.02rem; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 3px; }
.text-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top)); color: var(--white); transition: background 0.3s ease, box-shadow 0.3s ease; }
.bar.is-scrolled { background: rgba(3, 18, 44, 0.95);backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(208, 160, 84, 0.25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.2rem/1 var(--serif); }
.brand img { border-radius: 9px; }
.links { display: flex; gap: 26px; margin-inline: auto; font-size: 0.9rem; }
.links a { text-decoration: none; color: #c8d1e4; white-space: nowrap; }
.links a:hover { color: var(--white); }
.bar-end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.lang button { border: 0; background: none; color: #c8d1e4; font: 600 0.75rem/1 var(--num); padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
@media (max-width: 1180px) { .links { display: none; } .bar-end { margin-left: auto; } }
@media (max-width: 520px) { .bar-cta { display: none; } }

/* ---------- Surfaces ---------- */
section { position: relative; padding-block: var(--section); }
.dark { background: radial-gradient(120% 90% at 78% 12%, #0b3270 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--white); overflow: hidden; }
.night { background: #000; color: var(--white); }
.light { background: var(--mist); }
.paper { background: var(--white); }
.contours { position: absolute; inset: 0; background: url("assets/img/contours.svg") center / cover no-repeat; opacity: 0.5; pointer-events: none; }
.dark > .wrap { position: relative; }

/* ---------- Devices ---------- */
.phone { position: relative; width: 100%; padding: 2.7%; border-radius: 15.8% / 7.3%; background: linear-gradient(150deg, #7c8494 0%, #23262e 14%, #0c0d11 50%, #1d2028 84%, #666e7e 100%); box-shadow: 0 50px 80px -40px rgba(2, 12, 32, 0.65), 0 18px 36px -24px rgba(2, 12, 32, 0.55); }
.phone::before, .phone::after { content: ""; position: absolute; width: 1%; border-radius: 3px; background: #3a3f4a; }
.phone::before { left: -0.9%; top: 21%; height: 15%; }
.phone::after { right: -0.9%; top: 27%; height: 10%; }
.phone img, .phone video { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 13.8% / 6.35%; background: #0c1220; }

.watch { position: relative; width: 100%; padding: 11% 11.5%; border-radius: 31% / 27%; background: linear-gradient(150deg, #d9d5cc 0%, #8b877f 16%, #45433f 48%, #77736b 80%, #cdc8bd 100%); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.8); }
.watch::before { content: ""; position: absolute; right: -4.5%; top: 25%; width: 7%; height: 23%; border-radius: 35% 60% 60% 35% / 18%; background: repeating-linear-gradient(180deg, #a9a49a 0 3px, #5d5a54 3px 5px); }
.watch::after { content: ""; position: absolute; left: -2%; top: 33%; width: 3.2%; height: 22%; border-radius: 6px 2px 2px 6px; background: linear-gradient(#ff8a2a, #e0580c); }
.watch-screen { position: relative; border-radius: 25% / 20.5%; background: #000; padding: 4.5%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8); }
.watch-screen img, .watch-screen video { width: 100%; aspect-ratio: 410 / 502; object-fit: cover; border-radius: 19% / 15.5%; }

/* Pause control added to every video by app.js. */
.video-toggle { position: absolute; right: -10px; bottom: 22px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(4, 16, 40, 0.72); color: #fff; font: 700 12px/1 var(--num); cursor: pointer; opacity: 0; transition: opacity 0.2s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.phone:hover .video-toggle, .watch-screen:hover .video-toggle, .video-toggle:focus-visible, .video-toggle.is-paused { opacity: 1; }
@media (hover: none) { .video-toggle { opacity: 0.9; } }
/* The button sits on the rim of the device, so it never covers what the video shows. */
.watch-screen .video-toggle { width: 28px; height: 28px; right: -14%; bottom: -8%; font-size: 10px; }
.phone video, .watch-screen video { cursor: pointer; }
.tile .peek .video-toggle { bottom: auto; top: 44px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(112px, 14vh, 160px) 0; min-height: min(100svh, 1080px); display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(24px, 5vw, 80px); flex: 1; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
/* The English headline is longer; this keeps it on two lines next to the phone. */
@media (min-width: 861px) { html[lang="en"] .hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); } }
.hero-copy { padding-bottom: 40px; }
.lede { margin-top: 28px; max-width: 46ch; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #bfcae0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }
.hero-stage { position: relative; justify-self: center; width: min(100%, 460px); padding: 0 40px 56px 90px; }
.hero-phone { width: min(100%, 320px, 30vh + 40px); min-width: 240px; margin-left: auto; transform: rotate(2.2deg); }
.hero-watch { position: absolute; left: -18px; bottom: 76px; width: 204px; transform: rotate(-5deg); }
.ghost-number { position: absolute; right: -4%; top: -9%; margin: 0; font: 800 clamp(10rem, 22vw, 19rem)/1 var(--num); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(208, 160, 84, 0.3); user-select: none; pointer-events: none; }
.promise { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 26px; border-top: 1px solid rgba(208, 160, 84, 0.3); font: 600 0.8rem/1.4 var(--num); letter-spacing: 0.09em; text-transform: uppercase; color: #aebbd6; position: relative; }
.promise li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 11px; vertical-align: 1px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { padding-bottom: 0; }
  .hero-stage { width: min(100%, 400px); padding: 0 12px 40px 64px; }
  .hero-phone { width: 100%; min-width: 0; max-width: 280px; }
  .hero-watch { width: 41%; bottom: 76px; }
  .promise { justify-content: flex-start; }
}

/* ---------- Distance scene ---------- */
.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 120px); align-items: start; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; max-width: 480px; transition: opacity 0.35s ease; }
.js .step:not(.is-active) { opacity: 0.28; }
.step:first-child { min-height: 64vh; }
.yard { display: flex; align-items: baseline; gap: 12px; color: var(--navy); margin-bottom: 8px; }
.yard b { font: 800 clamp(5.5rem, 11vw, 9.5rem)/0.95 var(--num); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.yard > span { font: 600 1.2rem/1.2 var(--num); color: #8a6420; }
.step h3 { margin-top: 10px; padding-top: 24px; border-top: 2px solid var(--gold); }
.step p:not(.yard) { margin-top: 14px; color: var(--muted); }
.step-phone { display: none; }
.scene-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.scene-stage .phone { width: min(100%, 360px, 40vh); min-width: 250px; }
.stack { display: grid; }
.stack img { grid-area: 1 / 1; opacity: 0; transition: opacity 0.5s ease; }
.stack img.is-active { opacity: 1; }

@media (max-width: 860px) {
  .scene { display: block; }
  .scene-stage { display: none; }
  .step, .step:first-child { min-height: 0; margin: 0 auto 96px; }
  .js .step:not(.is-active) { opacity: 1; }
  .step:last-child { margin-bottom: 0; }
  .step-phone { display: block; width: min(100%, 300px); margin: 36px auto 0; }
}

/* ---------- Watch ---------- */
.watch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); width: min(960px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.watch-row li:nth-child(even) { padding-top: 56px; }
.watch-row .watch { max-width: 236px; margin-inline: auto; }
.watch-row figcaption { margin-top: 30px; text-align: center; font-size: 0.93rem; color: #98a2b8; }
.watch-row figcaption b { display: block; margin-bottom: 4px; font: 700 1.1rem/1.35 var(--serif); color: var(--white); }
.watch-row figcaption > span { display: block; max-width: 26ch; margin-inline: auto; }
.watch-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 8vw, 112px); }
.watch-more li { border-top: 1px solid rgba(208, 160, 84, 0.45); padding-top: 22px; }
.watch-more h3 { font-size: 1.15rem; }
.watch-more p { margin-top: 10px; font-size: 0.93rem; color: #98a2b8; }
@media (max-width: 860px) { .watch-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* On phones the three watches are swiped sideways. */
@media (max-width: 680px) {
  .watch-row { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 28px; padding: 0 19% 20px; scrollbar-width: none; }
  .watch-row li { flex: 0 0 100%; scroll-snap-align: center; }
  .watch-row li:nth-child(even) { padding-top: 0; }
}
@media (max-width: 480px) { .watch-more { grid-template-columns: 1fr; } }

/* ---------- Scoring ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .head { margin-bottom: 40px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); align-items: start; }
.duo .phone:last-child { margin-top: 72px; }
.calc { background: var(--navy); color: var(--white); border-radius: 26px; padding: 24px clamp(18px, 3vw, 30px); box-shadow: 0 30px 50px -34px rgba(4, 30, 66, 0.8); max-width: 480px; }
.calc-title { font: 600 0.72rem/1.4 var(--num); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.calc-row { display: flex; align-items: center; gap: 14px; margin-block: 16px; }
.calc button { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--navy-soft); color: var(--white); font: 500 1.6rem/1 var(--num); cursor: pointer; transition: background 0.2s ease, transform 0.1s ease; }
.calc button:hover { background: #1b50a6; }
.calc button:active { transform: scale(0.94); }
.calc button:disabled { opacity: 0.35; cursor: default; }
.calc output, .calc-points { display: flex; flex-direction: column; align-items: center; }
.calc output { min-width: 68px; }
.calc output b, .calc-points b { font: 700 2.9rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.calc output > span, .calc-points span { font-size: 0.75rem; color: #9fb0d2; }
.calc-points { margin-left: auto; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.16); min-width: 100px; }
.calc-points b { color: var(--gold-light); }
.calc-formula { font-size: 0.8rem; color: #8796b8; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .duo { max-width: 560px; margin-inline: auto; width: 100%; } .duo .phone:last-child { margin-top: 40px; } }

/* ---------- After the round ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.tile { display: flex; flex-direction: column; background: var(--mist); border-radius: 32px; overflow: hidden; border: 1px solid var(--line); }
.tile-navy { background: linear-gradient(170deg, #0b3270, var(--navy) 55%); border-color: var(--navy); color: var(--white); }
.tile-copy { padding: 30px 30px 24px; }
.tile-copy p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }
.tile-navy .tile-copy p { color: #b3c1de; }
/* A phone cut off at the bottom of its tile. */
.peek { margin-top: auto; padding-inline: 13%; height: 330px; overflow: hidden; }
.tile-tall .peek { height: 520px; }
.peek .phone { box-shadow: 0 -10px 50px -26px rgba(2, 12, 32, 0.45); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover .peek .phone { transform: translateY(-10px); }
/* Where the interesting part is at the bottom of the screen, the phone is cut off at the top instead. */
.peek-end { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 26px; }
.peek-end .phone { flex: none; }
@media (max-width: 940px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile-tall .peek { height: 470px; } }

/* ---------- Practice ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); align-items: start; }
.trio > figure:nth-child(2) { margin-top: 64px; }
.trio .phone { max-width: 320px; margin-inline: auto; }
.trio figcaption { max-width: 320px; margin: 28px auto 0; color: #a9b6d3; font-size: 0.97rem; }
.trio figcaption b { display: block; margin-bottom: 4px; font: 700 1.2rem/1.4 var(--serif); color: var(--white); }
.trio figcaption > span { display: block; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-light); font: 600 0.66rem/1.4 var(--num); letter-spacing: 0.1em; text-transform: uppercase; }
html[lang="tr"] .trio figcaption b > .tr, html[lang="en"] .trio figcaption b > .en { display: inline; }
@media (max-width: 780px) { .trio { grid-template-columns: 1fr; gap: 72px; } .trio > figure:nth-child(2) { margin-top: 0; } .trio .phone { max-width: 290px; } }

/* ---------- Privacy ---------- */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.columns > div { border-top: 2px solid var(--navy); padding-top: 24px; }
.columns p { margin-top: 12px; color: var(--muted); }
.fine { margin-top: 36px; font-size: 0.85rem; color: #6b7486; max-width: 80ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.chips li { padding: 11px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 500 0.9rem/1.2 var(--num); color: var(--navy); }
@media (max-width: 780px) { .columns { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
#faq .head { margin-bottom: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 700 1.2rem/1.35 var(--serif); color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 1.9rem/1 var(--num); color: var(--gold); transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 26px 0; color: var(--muted); }

/* ---------- Finale and footer ---------- */
.finale { text-align: center; }
.finale .app-icon { margin: 0 auto 36px; border-radius: 24px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(208, 160, 84, 0.4); }
.finale .lede { margin-inline: auto; margin-bottom: 40px; }
.foot { background: var(--navy-deep); color: #8593b2; font-size: 0.82rem; padding-block: 56px max(56px, env(safe-area-inset-bottom)); }
.foot p + p { margin-top: 10px; }
.foot-brand { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #b9c4da; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Multi-page additions: page headers, feature lists, cards, menu ---------- */
.links a[aria-current="page"] { color: var(--white); box-shadow: 0 2px 0 var(--gold); padding-bottom: 4px; }
.page-head { padding-block: clamp(120px, 16vh, 180px) clamp(56px, 8vw, 104px); }
.page-head h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.page-head h1 em { font-style: normal; color: var(--gold-light); }
.page-head .lede { max-width: 62ch; }
html[lang="en"] .page-head h1 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px); margin-top: clamp(8px, 2vw, 24px); }
.feats + .head, .feats + .note, .head + .feats { margin-top: 0; }
.feats li { border-top: 2px solid var(--navy); padding-top: 22px; }
.feats p { margin-top: 10px; color: var(--muted); font-size: 0.97rem; }
.feats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dark .feats li, .night .feats li { border-color: rgba(208, 160, 84, 0.55); }
.dark .feats p, .night .feats p { color: #b3c1de; }
.paper .feats + .head, .light .feats + .head { margin-top: clamp(64px, 8vw, 110px); }
.note { max-width: 70ch; margin-top: clamp(36px, 5vw, 64px); padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(208, 160, 84, 0.12); font-size: 0.92rem; color: var(--ink); }
.dark .note { color: #d6deef; background: rgba(255, 255, 255, 0.06); }
.tag { background: rgba(208, 160, 84, 0.2); color: var(--gold-light); font: 600 0.62rem/1.2 var(--num); letter-spacing: 0.12em; text-transform: uppercase; }
.paper .tag, .light .tag { color: #8a6420; }
@media (max-width: 940px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feats, .feats.two { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 54px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 40px -26px rgba(4, 30, 66, 0.5); }
.card h3 { font-size: 1.35rem; }
.card p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.card i, .more-link i { font-style: normal; color: #8a6420; }
.card i { position: absolute; left: 24px; bottom: 20px; font-size: 1.3rem; transition: transform 0.25s ease; }
.card:hover i { transform: translateX(6px); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

.more { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 40px var(--gutter); background: var(--mist); border-top: 1px solid var(--line); }
.more::before { content: ""; }
.more-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.more-link:hover { border-color: var(--gold); }

.course-list { columns: 3 260px; column-gap: 40px; }
.course-list li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.foot-links a { color: #c8d1e4; text-decoration: none; }
.foot-links a:hover { color: var(--white); }

/* Menu for narrow screens: a plain <details>, no script */
.menu { display: none; position: relative; }
.menu summary { list-style: none; padding: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; content: ""; position: relative; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu nav { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; min-width: 220px; padding: 10px; border-radius: 20px; background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.menu nav a { padding: 12px 14px; border-radius: 12px; color: #dbe3f3; text-decoration: none; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 1180px) { .menu { display: block; } }
.menu { border: 0; }
.menu:last-child { border: 0; }
.menu summary::after { content: none; }
.menu[open] summary::after { transform: none; }
.menu summary { display: grid; gap: 0; font-size: 0; }

/* Requirements table */
.req-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--white); }
.req { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.req th, .req td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.req thead th { font: 600 0.72rem/1.4 var(--num); letter-spacing: 0.14em; text-transform: uppercase; color: #8a6420; background: var(--mist); }
.req tbody th { font: 700 1.05rem/1.35 var(--serif); width: 18%; color: var(--navy); }
.req td:nth-child(2) { width: 32%; font-weight: 600; }
.req td:last-child { color: var(--muted); }
.req tbody tr:last-child > * { border-bottom: 0; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.watch-row.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; margin-top: clamp(40px, 6vw, 72px); }
.watch-row.pair li:nth-child(even) { padding-top: 56px; }
.single { max-width: 340px; margin-inline: auto; }
.single .phone { width: 100%; }
.phone img[data-shot="range"], .phone img[data-shot="range-swing"] { aspect-ratio: 428 / 930; }

/* ---------- Caddy demo ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.demo-chat { height: min(640px, 76vh); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 28px; background: rgba(2, 16, 42, 0.72); border: 1px solid rgba(208, 160, 84, 0.35); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); scrollbar-width: thin; }
.msg { max-width: 94%; border-radius: 20px; padding: 14px 18px; font-size: 0.97rem; line-height: 1.5; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); font-weight: 600; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; width: 100%; background: #0c1f45; border: 1px solid rgba(255, 255, 255, 0.1); border-bottom-left-radius: 6px; color: #e6ebf7; animation: rise 0.35s ease both; }
.msg.bot.intro { width: auto; background: transparent; border-style: dashed; color: #b9c4da; }
.msg.bot.typing { width: auto; display: flex; gap: 6px; padding: 16px 20px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0.4; animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.looked { font-size: 0.78rem; color: #8fa0c4; margin-bottom: 8px; }
.looked::before { content: "⌕ "; }
.headline { font-size: 1.3rem; line-height: 1.25; color: var(--gold-light); margin-bottom: 14px; }
.blk { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin-top: 14px; }
.blk p + p { margin-top: 8px; }
.blk.possible { border-color: #e8a13a; } .blk.nodata, .blk.general { border-color: #6d7a99; } .blk.plan { border-color: #5b95ea; } .blk.ai { border-color: #a58cf0; background: rgba(165, 140, 240, 0.08); border-radius: 0 12px 12px 0; padding: 10px 14px; }
.blk.ai small { display: block; margin-top: 8px; color: #9aa6c4; font-size: 0.78rem; }
.badge { display: inline-block; margin-bottom: 6px; font: 600 0.66rem/1.3 var(--num); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.blk.possible .badge { color: #e8a13a; } .blk.nodata .badge, .blk.general .badge { color: #9aa6c4; } .blk.plan .badge { color: #7aa8f0; } .blk.ai .badge { color: #b8a5f5; }
.mini { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 0.9rem; }
.mini th, .mini td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-variant-numeric: tabular-nums; }
.mini th { font: 600 0.68rem/1.3 var(--num); letter-spacing: 0.1em; text-transform: uppercase; color: #8fa0c4; }
.bars { margin-top: 12px; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 72px 1fr 44px; align-items: center; gap: 10px; font-size: 0.88rem; }
.bars i { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * var(--shown, 1)); background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 6px; transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.msg details.evi { border: 0; margin-top: 16px; }
.msg details.evi:last-child { border: 0; }
.msg details.evi summary { padding: 0; font: 600 0.8rem/1.4 var(--num); color: #9db8ee; justify-content: flex-start; gap: 8px; }
.msg details.evi summary::after { content: "▾"; font: 400 0.8rem/1 var(--num); color: #9db8ee; }
.msg details.evi[open] summary::after { transform: rotate(180deg); }
.msg details.evi p { padding: 8px 0 0; font-size: 0.85rem; color: #b3c1de; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip, .ask { font: 600 0.88rem/1.3 var(--sans); cursor: pointer; border-radius: 999px; border: 1px solid rgba(208, 160, 84, 0.55); background: transparent; color: var(--gold-light); padding: 9px 15px; text-align: left; transition: background 0.2s, transform 0.2s; }
.chip:hover, .ask:hover { background: rgba(208, 160, 84, 0.16); }
.chip:disabled, .ask:disabled { opacity: 0.45; cursor: default; }
.demo-side .eyebrow { margin-bottom: 14px; }
.asks { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.typed { display: flex; gap: 8px; margin-top: 22px; }
.typed input { flex: 1; min-width: 0; font: 400 0.95rem/1.3 var(--sans); padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; }
.typed input::placeholder { color: #8fa0c4; }
.typed button { width: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.fine-dark { margin-top: 14px; font-size: 0.8rem; color: #8fa0c4; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-side { order: -1; } .demo-chat { height: 560px; } }
@media (prefers-reduced-motion: reduce) { .msg.bot, .typing i { animation: none; } .bars i::after { transition: none; } }
