/* Post Ascent landing page, revised composition.
   The icon-inspired ascent hero leads into real product crops, a compact
   product loop, cross-device continuity, plan choices, and trust controls. */

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #071a2d;
  --ink-soft: #102f4e;
  --navy: #123354;
  --navy-light: #1a466f;
  --coral: #ff6b59;
  --coral-deep: #b74237;
  --coral-pale: #fff0eb;
  --sky: #d9eef4;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --muted: #617080;
  --line: rgba(7, 26, 45, 0.13);
  --shadow: 0 28px 80px rgba(7, 26, 45, 0.16);
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 48px));
  font-family: "Avenir Next", Avenir, Figtree, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}
.site-header.scrolled {
  background: rgba(7, 26, 45, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 0.92rem; font-weight: 600; }
.site-nav > a:not(.button) { color: rgba(255, 255, 255, 0.78); transition: color 150ms ease; }
.site-nav > a:not(.button):hover { color: var(--white); }
.nav-toggle { display: none; border: 0; background: none; color: inherit; }

/* ---------- Controls ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--coral);
  border-radius: 15px;
  color: var(--ink);
  background: var(--coral);
  box-shadow: 0 14px 34px rgba(255, 107, 89, 0.23);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { background: #ff8b7b; transform: translateY(-2px); box-shadow: 0 18px 42px rgba(255, 107, 89, 0.3); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, .brand:focus-visible {
  outline: 3px solid rgba(255, 107, 89, 0.55);
  outline-offset: 4px;
}
.button-small { min-height: 41px; padding: 0 17px; border-radius: 12px; font-size: 0.84rem; }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: none; }
.button-light:hover { color: var(--white); background: var(--coral); border-color: var(--coral); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.text-link span { color: var(--coral); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--coral-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { flex: 0 0 auto; width: 26px; height: 2px; background: currentColor; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.x-mark { display: inline-block; font-style: normal; line-height: 0; white-space: nowrap; }
.x-mark svg { display: inline-block; width: 0.78em; height: 0.78em; margin: 0 0.02em; vertical-align: -0.03em; fill: currentColor; }
.eyebrow .x-mark svg { width: 0.95em; height: 0.95em; vertical-align: -0.12em; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; }
.eyebrow.light { color: #ff9587; }
.eyebrow.centred { justify-content: center; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 5.6vw, 5.3rem); letter-spacing: -0.05em; }
h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 3.5vw, 3.3rem); letter-spacing: -0.045em; text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 1.4rem; letter-spacing: -0.03em; }
.section-lede { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
.section-lede strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 165px 0 120px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 28%, rgba(35, 85, 129, 0.6), transparent 36%),
    linear-gradient(135deg, #061727 0%, #0a233a 58%, #0e2b46 100%);
  isolation: isolate;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lede { max-width: 540px; margin: 0 0 34px; color: rgba(255, 255, 255, 0.74); font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 500; line-height: 1.65; overflow-wrap: break-word; text-wrap: wrap; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-bottom: 36px; }
.hero .text-link { color: rgba(255, 255, 255, 0.9); }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0; margin: 0; list-style: none; color: rgba(255, 255, 255, 0.64); font-size: 0.8rem; font-weight: 600; }
.trust-list span { color: #ff9587; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; right: 4%; top: 16%; background: rgba(255, 107, 89, 0.08); }
.hero-glow-two { width: 360px; height: 360px; left: 36%; bottom: 2%; background: rgba(69, 160, 203, 0.09); }

/* The scene: the icon's three paper-fold peaks, a self-drawing route, the usual-range line. */
.hero-grid { position: relative; z-index: 1; }
.hero-stage { position: relative; min-height: 500px; }
.ascent-wrap { position: absolute; top: 10px; right: -70px; width: 760px; }
.ascent { display: block; width: 100%; height: auto; overflow: visible; }
.ascent-far { position: absolute; inset: 0; opacity: 0; transform: translateY(64px); animation: layer-in 2.2s cubic-bezier(0.33, 0, 0.2, 1) 0.15s forwards; }
.ascent-main { position: relative; opacity: 0; transform: translateY(56px); animation: layer-in 2s cubic-bezier(0.33, 0, 0.2, 1) 0.6s forwards; }
.ascent .sun { fill: none; stroke: rgba(255, 255, 255, 0.08); }
.f-hi { fill: url(#g-hi); } .f-lit { fill: url(#g-lit); } .f-mid { fill: url(#g-mid); }
.f-sha { fill: url(#g-sha); } .f-sha2 { fill: url(#g-sha2); } .f-deep { fill: url(#g-deep); }
.f-far { fill: url(#g-far); opacity: 0.85; }
.mist { fill: url(#g-mist); }
.f-cap-l { fill: #ffe1d8; opacity: 0.94; } .f-cap-r { fill: #f3b3a5; opacity: 0.9; }
.crease { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 2.5; stroke-linecap: round; }
.crease-soft { stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; }
.range-line { stroke: rgba(255, 255, 255, 0.38); stroke-width: 1.5; stroke-dasharray: 0.008 0.012; }
.range-label { fill: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.route { fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 2px 3px rgba(7, 26, 45, 0.45)); animation: draw-route 1.8s cubic-bezier(0.45, 0, 0.2, 1) 2s forwards; }
.waypoint { fill: var(--white); stroke: var(--coral-deep); stroke-width: 2.5; opacity: 0; animation: pop-in 0.35s ease forwards; }
.wp-1 { animation-delay: 2.55s; } .wp-2 { animation-delay: 2.9s; } .wp-3 { animation-delay: 3.3s; }
.summit-halo { fill: rgba(255, 255, 255, 0.18); opacity: 0; animation: pop-in 0.5s ease 3.75s forwards; }
.summit { fill: var(--white); stroke: var(--coral-deep); stroke-width: 3; opacity: 0; animation: pop-in 0.4s ease 3.7s forwards; }
.ascent-wrap .chip-momentum { left: 55%; top: 12%; opacity: 0; transform: translateY(6px); animation: chip-in 0.5s ease 3.95s forwards; }
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes layer-in { to { opacity: 1; transform: none; } }
@keyframes pop-in { to { opacity: 1; } }
@keyframes chip-in { to { opacity: 1; transform: none; } }

/* The real app: two real-pixel crops from the same screenshot, side by side. */
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin: 0 0 24px; }
.shot-panel { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 26px 60px -32px rgba(7, 26, 45, 0.4); }
.shot-panel figcaption { display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 2px 4px 14px; }
.shot-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--ink); background: #ff8d7e; font-size: 0.95rem; font-weight: 900; }
.shot-panel figcaption div { display: grid; gap: 2px; }
.shot-panel strong { font-size: 0.98rem; letter-spacing: -0.015em; }
.shot-panel small { color: var(--muted); font-size: 0.8rem; font-weight: 600; line-height: 1.4; }
.shot-crop { position: relative; overflow: hidden; border: 1px solid rgba(7, 26, 45, 0.16); border-radius: 12px; background: #0b1a2b; }
.shot-crop picture { display: contents; }
.shot-crop img { position: absolute; display: block; max-width: none; height: auto; }
.shot-inbox .shot-crop { aspect-ratio: 1.72; }
.shot-inbox img { width: 198%; left: 0; top: -9.1%; }
.shot-coach .shot-crop { aspect-ratio: 1.72; }
.shot-coach img { width: 202%; left: -102%; top: -85.9%; }
.post-author { display: flex; align-items: center; gap: 11px; }
.post-author > div:last-child { display: grid; }
.post-author strong { font-size: 0.92rem; }
.post-author small { color: #81909c; font-size: 0.72rem; }
.mini-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 0.7rem; font-weight: 900; }
.mini-avatar.coral { color: #a23831; background: #ffe1dc; }
.mini-avatar.blue { color: #174f72; background: #dceff6; }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(15, 45, 73, 0.94); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3); backdrop-filter: blur(12px); color: var(--white); }
.floating-chip > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--ink); background: #ff8d7e; font-weight: 900; }
.floating-chip div { display: grid; }
.floating-chip strong { font-size: 0.72rem; }
.floating-chip small { color: rgba(255, 255, 255, 0.66); font-size: 0.58rem; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading.centred { margin-inline: auto; text-align: center; }
.section-heading.centred .eyebrow { justify-content: center; }
.section-heading.centred .section-lede { margin-inline: auto; }

/* Product */
.product-section { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -90px; top: -85px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.07; }
.feature-coral { background: var(--coral-pale); }
.feature-navy { color: var(--white); background: var(--ink-soft); }
.feature-sky { background: #e8f4f6; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 44px; border-radius: 15px; color: var(--white); background: var(--coral); font-size: 1.05rem; font-weight: 900; box-shadow: 0 12px 25px rgba(255, 107, 89, 0.2); }
.feature-navy .feature-icon { color: #ffd5ce; background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.feature-sky .feature-icon { color: var(--ink); background: #b8dce7; box-shadow: none; }
.feature-card > p { margin: 0 0 30px; color: var(--muted); }
.feature-navy > p { color: rgba(255, 255, 255, 0.68); }
.mini-ui { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 10px 30px rgba(62, 39, 35, 0.08); }
.mini-ui .status-dot { width: 10px; height: 10px; border-radius: 50%; background: #42aa77; box-shadow: 0 0 0 5px rgba(66, 170, 119, 0.14); }
.mini-ui div { display: grid; margin-right: auto; }
.mini-ui strong { font-size: 0.78rem; }
.mini-ui small { color: var(--muted); font-size: 0.64rem; }
.mini-ui b { color: var(--coral-deep); }
.feature-card blockquote { margin: auto 0 0; padding: 18px; border-left: 3px solid var(--coral); border-radius: 0 12px 12px 0; color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.07); font-size: 0.92rem; }
.sparkline { position: relative; margin-top: auto; padding: 15px; border-radius: 14px; background: rgba(255, 255, 255, 0.66); }
.spark-label { display: block; color: var(--muted); font-size: 0.62rem; font-weight: 800; text-transform: uppercase; }
.sparkline svg { overflow: visible; }
.sparkline .area { fill: rgba(255, 107, 89, 0.12); }
.sparkline .line { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }

/* Loop */
.loop-section { background: var(--cream); }
.loop-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 48px; max-width: none; }
.loop-heading h2 { margin-bottom: 0; }
.loop-heading .section-lede { padding-bottom: 8px; }
.loop-strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.loop-strip::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: rgba(7, 26, 45, 0.18); }
.loop-strip li { position: relative; }
.loop-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral-deep); background: var(--cream); font-size: 0.85rem; font-weight: 900; }
.loop-strip h3 { margin-bottom: 10px; font-size: 1.2rem; }
.loop-strip p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.loop-return { display: flex; align-items: center; gap: 10px; margin: 52px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.loop-return span { color: var(--coral-deep); font-size: 1.1rem; }

/* Continuity */
.continuity-section { background: var(--paper); }
.continuity-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 100px; }
.phone-wrap { position: relative; display: grid; place-items: center; min-height: 650px; }
.phone-halo { position: absolute; width: 550px; height: 550px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 89, 0.18), transparent 68%); }
.phone { position: relative; z-index: 1; width: 300px; height: 625px; padding: 18px 17px; overflow: hidden; border: 8px solid #061725; border-radius: 48px; color: var(--white); background: #071a2d; box-shadow: 0 35px 75px rgba(7, 26, 45, 0.28); }
.phone::after { content: ""; position: absolute; top: 10px; left: 50%; width: 84px; height: 22px; border-radius: 20px; background: #020b12; transform: translateX(-50%); }
.phone-top { display: flex; justify-content: space-between; padding: 0 7px 27px; font-size: 0.58rem; font-weight: 800; }
.phone-top i { width: 17px; height: 8px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 3px; }
.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.phone-head > div:first-child { display: grid; }
.phone-head small { color: var(--coral-deep); font-size: 0.48rem; font-weight: 900; letter-spacing: 0.1em; }
.phone-head strong { font-size: 1.05rem; }
.phone .mini-avatar { width: 31px; height: 31px; font-size: 0.56rem; }
.phone-summary { display: grid; gap: 3px; padding: 15px; border: 1px solid #2d587b; border-radius: 16px; background: #163b5d; }
.phone-summary strong { font-size: 0.72rem; }
.phone-summary span { color: #a9bdce; font-size: 0.58rem; }
.phone-post { margin-top: 14px; padding: 14px; border: 1px solid #2d587b; border-radius: 17px; background: #153b5d; }
.phone-post .post-author { gap: 9px; }
.phone-post .post-author strong { font-size: 0.63rem; }
.phone-post .post-author small { font-size: 0.51rem; }
.phone-post p { margin: 14px 0; font-size: 0.7rem; line-height: 1.55; }
.phone-post > b { color: #ff8c7d; font-size: 0.64rem; }
.phone-tabs { position: absolute; inset: auto 13px 13px; display: flex; justify-content: space-around; padding: 9px 4px; border: 1px solid #2d587b; border-radius: 22px; background: rgba(15, 48, 77, 0.96); }
.phone-tabs span { display: grid; place-items: center; min-width: 42px; color: #bad0df; font-size: 0.8rem; }
.phone-tabs small { font-size: 0.42rem; }
.phone-tabs .active { color: #ff8d7e; }
.continuity-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; font-weight: 500; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 34px 0 0; list-style: none; font-weight: 650; }
.check-list li { display: flex; align-items: center; gap: 13px; }
.check-list span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #9b3c33; background: #ffdcd6; font-size: 0.72rem; }

/* Plans */
.plans-section { background: var(--cream); }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 510px)); justify-content: center; gap: 24px; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.plan-top span { color: var(--coral-deep); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.plan-top strong { color: #5b6873; font-size: 0.72rem; letter-spacing: 0.1em; }
.plan-card h3 { font-size: 2.4rem; letter-spacing: -0.04em; }
.plan-card > p { color: var(--muted); }
.plan-card ul { display: grid; gap: 13px; padding: 26px 0 30px; margin: 0 0 auto; border-top: 1px solid var(--line); list-style: none; }
.plan-card li::before { content: "✓"; margin-right: 11px; color: var(--coral-deep); font-weight: 900; }
.pro-card { color: var(--white); border-color: var(--ink); background: var(--ink); box-shadow: var(--shadow); }
.pro-card .plan-top span { color: #ff9b8c; }
.pro-card .plan-top strong, .pro-card > p { color: rgba(255, 255, 255, 0.62); }
.pro-card ul { border-color: rgba(255, 255, 255, 0.14); }
.popular { position: absolute; top: -14px; right: 28px; padding: 7px 13px; border-radius: 9px; color: #8a342d; background: #ffd9d1; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.08em; }
.pricing-note { margin: 28px 0 0; color: var(--muted); text-align: center; font-size: 0.82rem; }

/* Trust */
.trust-section { color: var(--white); background: linear-gradient(135deg, #0a2238, #143a5c); }
.trust-heading { max-width: 760px; }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.trust-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 12px; color: var(--ink); background: #ff8d7e; font-size: 0.95rem; font-weight: 900; }
.trust-points h3 { margin-bottom: 10px; font-size: 1.15rem; }
.trust-points p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; }

/* Final CTA */
.final-cta { padding: 130px 0; background: var(--coral-pale); }
.final-card { display: flex; flex-direction: column; align-items: center; max-width: 900px; text-align: center; }
.final-card img { margin-bottom: 30px; border-radius: 22px; box-shadow: 0 18px 38px rgba(7, 26, 45, 0.16); }
.final-card h2 { max-width: 760px; }
.final-card > p:not(.eyebrow) { max-width: 610px; margin: 0 0 30px; color: var(--muted); font-size: 1.08rem; font-weight: 500; }

/* Footer */
.site-footer { padding: 55px 0; color: rgba(255, 255, 255, 0.62); background: #04111e; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; }
.site-footer .brand { color: var(--white); }
.site-footer p { margin: 0; font-size: 0.88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.82rem; font-weight: 700; }
.site-footer nav a:hover { color: var(--white); }
.site-footer small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.72rem; }

/* Legal pages (unchanged) */
.legal-page { min-height: 100vh; background: var(--paper); }
.legal-page .site-header { position: static; color: var(--white); background: var(--ink); }
.legal-main { padding: 84px 0 120px; }
.legal-shell { width: min(760px, calc(100vw - 48px)); margin-inline: auto; }
.legal-intro { margin-bottom: 52px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-intro h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 6vw, 4.6rem); color: var(--ink); }
.legal-intro p { max-width: 650px; color: var(--muted); }
.legal-date { display: inline-flex; padding: 6px 10px; border-radius: 8px; color: #864139 !important; background: #ffe5de; font-size: 0.74rem; font-weight: 800; }
.legal-content h2 { margin: 48px 0 14px; font-size: 1.65rem; letter-spacing: -0.035em; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.legal-content p, .legal-content li { color: #435361; }
.legal-content ul { display: grid; gap: 9px; padding-left: 21px; }
.legal-content a { color: var(--coral-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { margin: 34px 0; padding: 20px 22px; border-left: 4px solid var(--coral); border-radius: 0 12px 12px 0; background: var(--coral-pale); }

/* ---------- Agent-native landing ---------- */
.brand-mode {
  margin-left: 2px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}
.agent-hero { min-height: 820px; }
.agent-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.agent-hero .hero-copy { min-width: 0; }
.agent-hero h1 { font-size: clamp(3rem, 4.45vw, 4.3rem); }
.agent-hero h1 > span { display: block; }
.agent-hero .hero-stage { min-height: 540px; }
.agent-ascent { top: 0; right: -84px; width: 790px; }
.hero-console {
  position: absolute;
  z-index: 5;
  right: 7%;
  bottom: 7%;
  display: grid;
  width: min(360px, 54%);
  padding: 0 18px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.77);
  background: rgba(4, 17, 30, 0.9);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  margin: 0 -18px 13px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.43);
  font: 700 0.63rem/1 Figtree, sans-serif;
  letter-spacing: 0.04em;
}
.console-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff8270; }
.console-bar i:nth-child(2) { background: #f5c667; }
.console-bar i:nth-child(3) { background: #62b98a; }
.console-bar span { margin-left: 5px; }
.hero-console code { padding: 4px 0; color: rgba(255, 255, 255, 0.77); font-size: 0.73rem; }
.hero-console code b { color: #ff9587; }
.hero-console code em { color: #77d3a1; font-style: normal; }
.hero-console small { margin-top: 9px; color: rgba(255, 255, 255, 0.37); font: 600 0.61rem/1.4 Figtree, sans-serif; }

.agent-compatibility { padding: 62px 0 58px; border-bottom: 1px solid var(--line); background: var(--cream); }
.compatibility-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); align-items: end; gap: 60px; margin-bottom: 30px; }
.compatibility-heading .eyebrow { margin-bottom: 12px; }
.compatibility-heading h2 { margin-bottom: 0; font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.compatibility-heading > p { max-width: 560px; margin: 0 0 3px; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.agent-logo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.agent-logo-grid li { display: flex; min-width: 0; min-height: 94px; align-items: center; justify-content: center; flex-direction: column; gap: 9px; padding: 13px 8px; border: 1px solid rgba(7, 26, 45, 0.09); border-radius: 15px; background: rgba(255, 255, 255, 0.72); }
.agent-logo-grid strong { font-size: 0.72rem; line-height: 1.2; text-align: center; }
.agent-logo-mark { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 10px; }
.agent-logo-mark img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.agent-logo-wide { padding: 2px; background: #0b0b0d; }
.compatibility-note { margin: 17px 0 0; color: #71808a; font-size: 0.66rem; line-height: 1.5; text-align: center; }

.agent-feature-grid .feature-card { min-height: 465px; }
.signal-stack { display: grid; gap: 7px; margin-top: auto; }
.signal-stack span {
  display: flex;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}
.signal-stack b { font-weight: 700; }
.signal-stack em { color: var(--coral-deep); font-style: normal; font-weight: 850; }
.opportunity-mini { display: flex; align-items: center; gap: 13px; margin-top: auto; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.07); }
.opportunity-mini > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); background: #ff8d7e; font-weight: 900; }
.opportunity-mini div { display: grid; }
.opportunity-mini b { font-size: 0.82rem; }
.opportunity-mini small { color: rgba(255, 255, 255, 0.55); font-size: 0.63rem; }
.json-mini { display: grid; gap: 6px; margin-top: auto; padding: 16px; border-radius: 14px; color: #dcebf0; background: var(--ink); font-size: 0.66rem; }
.json-mini code:nth-child(2) { color: #ffb2a6; }

.provider-section { background: #edf5f6; }
.provider-flow { display: grid; grid-template-columns: 1fr auto 1.12fr auto 1fr; align-items: center; gap: 17px; }
.provider-card { min-height: 280px; padding: 31px; border: 1px solid rgba(7, 26, 45, 0.11); border-radius: 24px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 20px 45px -35px rgba(7, 26, 45, 0.42); }
.provider-card h3 { margin-top: 30px; }
.provider-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.provider-label { color: var(--coral-deep); font-size: 0.62rem; font-weight: 900; letter-spacing: 0.11em; }
.provider-core { min-height: 315px; color: var(--white); border-color: var(--ink); background: var(--ink); box-shadow: 0 28px 70px -35px rgba(7, 26, 45, 0.72); }
.provider-core .provider-label { color: #ff9587; }
.provider-core p { color: rgba(255, 255, 255, 0.65); }
.flow-arrow { color: var(--coral-deep); font-size: 1.4rem; font-weight: 500; }
.classifier-note { display: flex; align-items: flex-start; gap: 15px; max-width: 820px; margin: 32px auto 0; padding: 18px 21px; border: 1px solid rgba(7, 26, 45, 0.09); border-radius: 16px; background: rgba(255, 255, 255, 0.65); }
.classifier-note > span { color: var(--coral-deep); font-size: 1.15rem; }
.classifier-note p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.classifier-note strong { color: var(--ink); }

.protocol-section { color: var(--white); background: #071a2d; }
.protocol-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr); align-items: center; gap: 90px; }
.protocol-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.66); font-size: 1.03rem; }
.tool-list { display: grid; gap: 0; padding: 0; margin: 32px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); list-style: none; }
.tool-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tool-list code { color: #ff9c8e; font-size: 0.74rem; }
.tool-list span { color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
.code-card { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 22px; background: #04111e; box-shadow: 0 35px 85px rgba(0, 0, 0, 0.35); }
.code-card .console-bar { margin: 0; padding-inline: 18px; }
.code-card pre { min-height: 190px; padding: 34px 28px 18px; margin: 0; overflow-x: auto; color: #d9ebf2; font-size: 0.9rem; line-height: 1.65; }
.copy-button { margin: 0 28px 25px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 9px; color: var(--white); background: rgba(255, 255, 255, 0.08); cursor: pointer; font-size: 0.73rem; font-weight: 800; }
.copy-button:hover { color: var(--ink); background: #ff8d7e; border-color: #ff8d7e; }
.copy-button:focus-visible { outline: 3px solid rgba(255, 107, 89, 0.55); outline-offset: 3px; }
.code-card > p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 13px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.48); font-size: 0.68rem; }
.code-card > p span { width: 7px; height: 7px; border-radius: 50%; background: #62b98a; box-shadow: 0 0 0 4px rgba(98, 185, 138, 0.12); }

.pricing-section { background: var(--cream); }
.pricing-layout { display: grid; grid-template-columns: minmax(350px, 0.8fr) minmax(500px, 1.2fr); align-items: stretch; gap: 25px; }
.agent-plan { display: flex; flex-direction: column; padding: 39px; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.agent-plan .plan-top { margin-bottom: 23px; }
.agent-plan .plan-top span { color: #ff9b8c; }
.agent-plan .plan-top strong { color: rgba(255, 255, 255, 0.5); font-size: 0.58rem; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 4rem; line-height: 1; letter-spacing: -0.06em; }
.price span { color: rgba(255, 255, 255, 0.56); }
.annual { margin: 8px 0 25px; color: rgba(255, 255, 255, 0.55); font-size: 0.83rem; }
.agent-plan ul { display: grid; gap: 11px; padding: 24px 0; margin: 0 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.14); list-style: none; font-size: 0.86rem; }
.agent-plan li::before { content: "✓"; margin-right: 10px; color: #ff9587; font-weight: 900; }
.agent-plan .button { align-self: stretch; margin-top: 24px; }
.limits-card { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.limits-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.limits-head span { color: var(--coral-deep); font-size: 0.63rem; font-weight: 900; letter-spacing: 0.11em; }
.limits-head h3 { margin: 8px 0 0; font-size: 1.35rem; }
.limits-head > code { flex: 0 0 auto; padding: 7px 9px; border-radius: 7px; color: #29587b; background: #e4f1f5; font-size: 0.65rem; }
.limits-list { margin: 0; border-top: 1px solid var(--line); }
.limits-list div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.limits-list dt { color: var(--muted); font-size: 0.77rem; }
.limits-list dd { margin: 0; color: var(--ink); font-size: 0.77rem; font-weight: 850; text-align: right; }
.limits-card > p { margin: 20px 0 0; color: var(--muted); font-size: 0.75rem; }
.limits-card > p code { color: var(--coral-deep); font-size: 0.7rem; }

/* Motion */
.reveal { opacity: 1; transform: none; transition: opacity 650ms ease, transform 650ms ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal-late { transition-delay: 150ms; }
.reveal-mid { transition-delay: 80ms; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .hero-grid { gap: 40px; }
  .ascent-wrap { width: 640px; right: -60px; top: 20px; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 40px, 760px); }
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-stage { min-height: 0; margin-top: 12px; }
  .ascent-wrap { position: relative; top: auto; right: auto; width: 100%; margin: 0 auto; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .loop-heading { grid-template-columns: 1fr; gap: 20px; }
  .loop-strip { grid-template-columns: 1fr; gap: 0; }
  .loop-strip::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; }
  .loop-strip li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 34px; }
  .loop-strip li:last-child { padding-bottom: 0; }
  .loop-num { margin-bottom: 0; }
  .loop-strip h3 { grid-column: 2; margin-top: 10px; }
  .loop-strip p { grid-column: 2; }
  .continuity-grid { grid-template-columns: 1fr; gap: 60px; }
  .continuity-copy { order: -1; }
  .trust-points { grid-template-columns: 1fr; gap: 32px; }
  .agent-hero { min-height: 0; }
  .agent-hero .hero-grid { grid-template-columns: 1fr; }
  .agent-hero .hero-stage { min-height: 580px; }
  .agent-ascent { right: auto; }
  .compatibility-heading { grid-template-columns: 1fr; gap: 12px; }
  .agent-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .provider-flow { grid-template-columns: 1fr; gap: 15px; }
  .provider-card, .provider-core { min-height: 0; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .protocol-grid, .pricing-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); --radius: 22px; }
  .nav-shell { min-height: 68px; }
  .nav-toggle { position: relative; z-index: 3; display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
  .nav-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; background: var(--white); transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; justify-content: center; padding: 80px 30px; background: rgba(4, 17, 30, 0.98); transform: translateX(100%); transition: transform 220ms ease, visibility 0s linear 220ms; }
  .site-nav.open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .site-nav > a:not(.button) { padding: 10px 0; color: var(--white); font-size: 1.6rem; }
  .site-nav .button { margin-top: 20px; }
  .hero { padding: 120px 0 96px; }
  h1 { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-list { display: grid; }
  .hero { padding-bottom: 80px; }
  .hero-stage { margin-top: 20px; }
  .ascent-wrap .chip-momentum { left: auto; right: 2%; top: 4%; }
  .floating-chip { padding: 9px 12px; }
  .floating-chip strong { font-size: 0.68rem; }
  .floating-chip small { font-size: 0.54rem; }
  .shot-panel { padding: 10px; border-radius: 18px; }
  .shot-inbox .shot-crop { aspect-ratio: 1.5; }
  .shot-inbox img { width: 238%; left: -20.2%; top: -6%; }
  .shot-coach .shot-crop { aspect-ratio: 2.1; }
  .shot-coach img { width: 213%; left: -110.6%; top: -150%; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 40px; }
  .feature-card { padding: 27px; }
  .phone-wrap { min-height: 590px; transform: scale(0.9); }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; padding: 30px; }
  .plan-card ul { margin-bottom: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
  .legal-shell { width: calc(100vw - 32px); }
  .legal-page .site-nav { position: static; inset: auto; visibility: visible; flex-direction: row; justify-content: flex-end; gap: 14px; width: auto; padding: 0; background: none; transform: none; }
  .legal-page .site-nav > a:not(.button) { padding: 0; font-size: 0.75rem; }
  .legal-page .site-nav a:last-child { display: none; }
  .brand-mode { display: none; }
  .agent-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.25rem); }
  .agent-hero .hero-stage { min-height: 390px; }
  .agent-ascent { width: 118%; margin-left: -8%; }
  .agent-compatibility { padding: 52px 0 48px; }
  .agent-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-console { right: 2%; bottom: 1%; width: 67%; padding-inline: 13px; }
  .hero-console .console-bar { margin-inline: -13px; }
  .hero-console code { font-size: 0.61rem; }
  .hero-console small { font-size: 0.52rem; }
  .agent-feature-grid .feature-card { min-height: 0; }
  .provider-card { padding: 26px; }
  .protocol-grid { gap: 38px; }
  .tool-list li { grid-template-columns: 1fr; gap: 4px; }
  .code-card pre { min-height: 165px; padding: 25px 20px 12px; font-size: 0.74rem; }
  .copy-button { margin: 0 20px 22px; }
  .agent-plan, .limits-card { padding: 27px; }
  .limits-head { display: grid; }
  .limits-head > code { justify-self: start; }
  .limits-list div { align-items: flex-start; }
}

@media (max-width: 430px) {
  .phone-wrap { margin: -45px 0; transform: scale(0.78); }
  .final-cta { padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .route { stroke-dashoffset: 0; animation: none; }
  .waypoint, .summit, .summit-halo, .ascent-wrap .chip-momentum, .ascent-far, .ascent-main { opacity: 1; transform: none; animation: none; }
}
