/* ============================================================
   Sereo — marketing site
   Brand: Midnight Navy · Deep Teal · Warm Amber
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --navy: #0e1b2d;
  --navy-900: #091321;
  --navy-950: #060d17;
  --slate: #2a3b52;
  --teal: #2aa7a1;
  --teal-bright: #34c3bc;
  --mint: #a8d8d1;
  --amber: #e7c06d;
  --ivory: #f5f2ea;
  --coral: #d86f67;
  --green: #3ecf8e;

  /* Semantic surfaces */
  --bg: var(--navy);
  --bg-deep: var(--navy-950);
  --surface: rgba(42, 59, 82, 0.35);
  --surface-2: rgba(42, 59, 82, 0.55);
  --surface-solid: #16233a;
  --border: rgba(168, 216, 209, 0.12);
  --border-strong: rgba(168, 216, 209, 0.24);

  /* Text */
  --text: #eef2f6;
  --text-soft: #b7c2d0;
  --text-mut: #7d8aa0;

  /* Type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --num: "Plus Jakarta Sans", ui-monospace, "SF Mono", sans-serif;

  /* Radii */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 30px 90px -30px rgba(42, 167, 161, 0.45);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--mint) 48%, var(--amber) 100%);
  --grad-text: linear-gradient(120deg, #7fe3dc 0%, #a8d8d1 40%, var(--amber) 100%);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

::selection {
  background: rgba(42, 167, 161, 0.35);
  color: #fff;
}

/* ---------- Global background field ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% -5%, rgba(42, 167, 161, 0.22), transparent 60%),
    radial-gradient(55% 45% at 95% 8%, rgba(231, 192, 109, 0.12), transparent 55%),
    radial-gradient(70% 60% at 50% 110%, rgba(42, 167, 161, 0.1), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 11vw, 140px);
  position: relative;
}

.section--tight {
  padding-block: clamp(56px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}

.section-head p {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--text-soft);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  color: #06231f;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -8px rgba(42, 167, 161, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(42, 167, 161, 0.75);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

/* ---------- Store badges (official artwork) ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s;
}

.store-badge img {
  display: block;
  height: 54px;
  width: auto;
}

/* Both official badges are full-bleed black boxes, so matching the image
   height matches the button height. Google's artwork carries a thin grey
   border, so nudge it up ~1px so the black areas read as equal. */
.store-badge[data-store="google"] img {
  height: 55px;
}

.store-badge:hover {
  transform: translateY(-3px);
}

.store-badge:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 12px;
}

.badge-note {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mut);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(231, 192, 109, 0.18);
}

.cta-wrap .badge-note,
.learn-hero .badge-note {
  justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(9, 15, 24, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 10px rgba(42, 167, 161, 0.35));
}

.site-header .brand img {
  width: 160px;
  height: auto;
  max-width: none;
  margin: -9px -10px;
  clip-path: inset(25% 8%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 168px);
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: rgba(42, 167, 161, 0.1);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 26px;
}

.hero .pill b {
  background: var(--amber);
  color: #2a1e00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 6.6vw, 68px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
}

.hero-sub {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: var(--teal-bright);
  flex: none;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual .glow {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(42, 167, 161, 0.35), transparent 62%);
  filter: blur(30px);
  z-index: 0;
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: 300px;
  max-width: 78vw;
  aspect-ratio: 1080 / 2200;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #26374d, #0c1420);
  box-shadow:
    0 2px 0 1px rgba(255, 255, 255, 0.06) inset,
    var(--shadow), var(--shadow-glow);
  z-index: 1;
}

.phone::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 26px;
  background: #05080e;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--navy-950);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-visual .phone {
  width: 340px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Floating stat chips near hero phone */
.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(13, 22, 37, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}

.float-chip .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-chip .ic svg {
  width: 19px;
  height: 19px;
}

.float-chip > span:not(.ic) {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.float-chip .lbl {
  font-size: 11px;
  color: var(--text-mut);
  line-height: 1.2;
}

.float-chip .val {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.float-chip.a {
  top: 6%;
  left: -9%;
  animation-delay: -1s;
}

.float-chip.b {
  bottom: 12%;
  right: -8%;
  animation-delay: -3.5s;
}

.float-chip.a .ic { background: rgba(62, 207, 142, 0.18); color: var(--green); }
.float-chip.b .ic { background: rgba(231, 192, 109, 0.18); color: var(--amber); }

/* ---------- Marquee / trust strip ---------- */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(9, 15, 24, 0.4);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px clamp(24px, 5vw, 56px);
  padding-block: 26px;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

.strip-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal-bright);
  flex: none;
}

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, background 0.35s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 0% 0%, rgba(42, 167, 161, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.card:hover::after {
  opacity: 1;
}

.card .ic {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(42, 167, 161, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--teal-bright);
}

.card .ic svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.tag-pro {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #2a1e00;
  background: var(--amber);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Alternating media rows ---------- */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.media-row + .media-row {
  margin-top: clamp(72px, 10vw, 130px);
}

.media-row.reverse .media-text {
  order: 2;
}

.media-text h2 {
  font-size: clamp(27px, 4vw, 40px);
  margin: 16px 0 18px;
}

.media-text > p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.check-list li {
  display: flex;
  gap: 13px;
  font-size: 15.5px;
  color: var(--text-soft);
}

.check-list li b {
  color: var(--text);
  font-weight: 700;
}

.check-list .ck {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(42, 167, 161, 0.16);
  color: var(--teal-bright);
  margin-top: 1px;
}

.check-list .ck svg {
  width: 15px;
  height: 15px;
}

.media-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.media-visual .phone {
  width: 290px;
}

.media-visual .glow {
  position: absolute;
  width: 90%;
  height: 70%;
  top: 15%;
  background: radial-gradient(circle, rgba(42, 167, 161, 0.28), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

/* ---------- Coach section ---------- */
.coach {
  position: relative;
}

.coach-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(150deg, rgba(42, 167, 161, 0.12), rgba(231, 192, 109, 0.06) 60%, transparent),
    var(--surface);
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px);
}

.coach-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.coach h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin: 18px 0 18px;
}

.coach .lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.coach-quote {
  border-left: 3px solid var(--teal);
  padding: 6px 0 6px 20px;
  margin-bottom: 28px;
  font-size: 18px;
  color: var(--mint);
  font-weight: 600;
  font-style: italic;
}

.coach-feats {
  display: grid;
  gap: 18px;
}

.coach-feat {
  display: flex;
  gap: 14px;
}

.coach-feat .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(9, 15, 24, 0.5);
  border: 1px solid var(--border-strong);
  color: var(--teal-bright);
}

.coach-feat .ic svg { width: 21px; height: 21px; }

.coach-feat h4 {
  font-size: 16px;
  margin-bottom: 3px;
}

.coach-feat p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 28px 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.stat .n {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .l {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
}

/* ---------- Calculators ---------- */
.calc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.calc-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.calc-chip:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.calc-chip svg {
  width: 18px;
  height: 18px;
  color: var(--teal-bright);
  flex: none;
}

.calc-chip .p {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber);
  border: 1px solid rgba(231, 192, 109, 0.35);
  border-radius: 999px;
  padding: 2px 7px;
}

/* ---------- Privacy pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 34px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.pillar .ic {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: rgba(42, 167, 161, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--teal-bright);
}

.pillar .ic svg { width: 30px; height: 30px; }

.pillar h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 15px;
  color: var(--text-soft);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 860px;
  margin-inline: auto;
}

.plan {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.plan.pro {
  border-color: var(--border-strong);
  background:
    linear-gradient(160deg, rgba(42, 167, 161, 0.14), rgba(231, 192, 109, 0.06) 70%, transparent),
    var(--surface-2);
  box-shadow: var(--shadow);
}

.plan-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a1e00;
  background: var(--amber);
  padding: 5px 11px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 6px;
}

.plan .price .amt {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.plan .price .per {
  font-size: 15px;
  color: var(--text-mut);
}

.plan .price-note {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 13px;
}

.plan li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-soft);
}

.plan li svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--teal-bright);
  margin-top: 1px;
}

.plan li.muted {
  color: var(--text-mut);
}

.plan li.muted svg {
  color: var(--text-mut);
}

.plan .btn {
  width: 100%;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  margin-left: auto;
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform 0.3s;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--teal-bright);
  border-radius: 2px;
}

.faq-item summary .plus::before {
  top: 50%;
  left: 3px;
  right: 3px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item summary .plus::after {
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 2px;
  transform: translateX(-50%);
  transition: opacity 0.3s;
}

.faq-item[open] summary .plus::after {
  opacity: 0;
}

.faq-item .faq-body {
  padding: 0 26px 24px;
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.68;
}

/* ---------- CTA ---------- */
.cta-wrap {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 82px) clamp(28px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(42, 167, 161, 0.28), transparent 60%),
    radial-gradient(60% 100% at 90% 100%, rgba(231, 192, 109, 0.14), transparent 60%),
    var(--surface-2);
}

.cta-wrap img.mark {
  width: 66px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 24px rgba(42, 167, 161, 0.5));
}

.cta-wrap h2 {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 16px;
}

.cta-wrap p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 34px;
}

.cta-wrap .store-badges {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 13, 23, 0.6);
  padding-block: clamp(48px, 7vw, 72px) 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-mut);
  max-width: 300px;
}

.footer-brand .tagline {
  margin-top: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-mut);
}

.footer-bottom .disclaimer {
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- Reveal animation (only hides when JS is present) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-visual .phone,
  .float-chip {
    animation: none;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  z-index: 200;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(13, 22, 37, 0.95);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast svg { width: 18px; height: 18px; color: var(--teal-bright); }

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { align-items: center; }
  .store-badges { justify-content: center; }
  .badge-note { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-visual { order: -1; }
  .media-row,
  .media-row.reverse .media-text {
    grid-template-columns: 1fr;
    order: initial;
  }
  .media-row .media-text { order: 2; text-align: center; }
  .media-row .media-visual { order: 1; }
  .check-list { max-width: 460px; margin-inline: auto; text-align: left; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .calc-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: rgba(9, 15, 24, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  body.nav-open .nav-links a { padding: 13px 16px; }

  .pricing { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .float-chip { display: none; }
  .hero-visual .phone { width: 300px; }
}

@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .store-badge img { height: 48px; }
  .store-badge[data-store="google"] img { height: 49px; }
}

/* ============================================================
   LEARN HUB & ARTICLES
   ============================================================ */

/* ---------- Learn hub ---------- */
.learn-hero {
  padding-top: clamp(120px, 15vw, 160px);
  padding-bottom: clamp(28px, 5vw, 48px);
  text-align: center;
}

.learn-hero .eyebrow { justify-content: center; margin-bottom: 18px; }

.learn-hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.learn-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--text-soft);
}

/* Featured posts */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(36px, 6vw, 56px);
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, background 0.35s;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.post-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.post-thumb.grad-a { background: linear-gradient(140deg, #123b46, #0e2338 70%); }
.post-thumb.grad-b { background: linear-gradient(140deg, #16303f, #241c2c 90%); }
.post-thumb.grad-c { background: linear-gradient(140deg, #12303a, #1a2a1e 90%); }
.post-thumb.grad-d { background: linear-gradient(140deg, #1a2c46, #0e2436 80%); }

.post-thumb svg {
  width: 64px;
  height: 64px;
  color: rgba(168, 216, 209, 0.55);
  stroke-width: 1.2;
}

.post-thumb .num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--mint);
  text-transform: uppercase;
}

.post-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.post-card h3 { font-size: 20px; line-height: 1.25; }

.post-card p { font-size: 15px; color: var(--text-soft); flex: 1; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mut);
  margin-top: 4px;
}

.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mut); }

/* Pillars overview */
.learn-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.pillar-row {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
}

.pillar-row .ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(42, 167, 161, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--teal-bright);
}

.pillar-row .ic svg { width: 23px; height: 23px; }
.pillar-row h3 { font-size: 17px; margin-bottom: 4px; }
.pillar-row p { font-size: 14px; color: var(--text-soft); margin: 0; }

.learn-note { margin-top: 34px; text-align: center; font-size: 15px; color: var(--text-mut); }
.learn-note b { color: var(--mint); font-weight: 700; }

/* ---------- Article page ---------- */
.article-wrap {
  padding-top: clamp(104px, 13vw, 140px);
  padding-bottom: clamp(56px, 8vw, 90px);
}

.article { max-width: 760px; margin-inline: auto; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-mut);
  margin-bottom: 22px;
}

.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }

.article-head .post-cat { margin-bottom: 14px; display: block; }

.article-head h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.article-head .lead {
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-mut);
}

.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mut); }

/* Prose */
.article-body { font-size: 17.5px; line-height: 1.75; color: var(--text-soft); }
.article-body h2 {
  font-size: clamp(23px, 3.4vw, 30px);
  margin-top: 48px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.article-body h3 { font-size: 20px; margin-top: 34px; margin-bottom: 4px; color: var(--text); }
.article-body p { margin-top: 20px; }
.article-body strong, .article-body b { color: var(--text); font-weight: 700; }
.article-body a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--mint); }
.article-body ul, .article-body ol { padding-left: 24px; margin-top: 18px; }
.article-body li { margin-top: 10px; }
.article-body li::marker { color: var(--teal); }

.article-body blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--teal);
  font-size: 20px;
  color: var(--mint);
  font-style: italic;
}

/* Data table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.article-body th, .article-body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.article-body th { background: rgba(42, 59, 82, 0.5); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.article-body tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; margin-top: 24px; }
.table-scroll table { margin-top: 0; }

/* Callouts */
.callout {
  margin: 30px 0;
  padding: 20px 22px;
  border-radius: var(--r);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  gap: 15px;
  font-size: 16px;
}
.callout .ci { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.callout .ci svg { width: 18px; height: 18px; }
.callout p { margin: 0; }
.callout strong { display: block; margin-bottom: 3px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.callout.tip { background: rgba(42, 167, 161, 0.08); }
.callout.tip .ci { background: rgba(42, 167, 161, 0.18); color: var(--teal-bright); }
.callout.tip strong { color: var(--teal-bright); }
.callout.warn { background: rgba(216, 111, 103, 0.08); border-color: rgba(216, 111, 103, 0.3); }
.callout.warn .ci { background: rgba(216, 111, 103, 0.18); color: var(--coral); }
.callout.warn strong { color: var(--coral); }
.callout.key { background: rgba(231, 192, 109, 0.07); border-color: rgba(231, 192, 109, 0.3); }
.callout.key .ci { background: rgba(231, 192, 109, 0.16); color: var(--amber); }
.callout.key strong { color: var(--amber); }

/* Key takeaways */
.takeaways {
  margin: 40px 0 8px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}
.takeaways h2 { margin: 0 0 14px; font-size: 20px; }
.takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.takeaways li { display: flex; gap: 12px; font-size: 16px; margin: 0; }
.takeaways li svg { flex: none; width: 21px; height: 21px; color: var(--teal-bright); margin-top: 2px; }

/* In-article Sereo CTA */
.article-cta {
  margin: 44px 0;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(150deg, rgba(42, 167, 161, 0.14), rgba(231, 192, 109, 0.05) 70%, transparent), var(--surface);
  display: flex;
  align-items: center;
  gap: 22px;
}
.article-cta img { width: 54px; height: 54px; flex: none; filter: drop-shadow(0 8px 18px rgba(42, 167, 161, 0.45)); }
.article-cta .txt { flex: 1; }
.article-cta h3 { font-size: 19px; margin-bottom: 5px; }
.article-cta p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.article-cta .btn { flex: none; }

.article-disclaimer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-mut);
  line-height: 1.6;
}

/* Related */
.related { margin-top: clamp(56px, 8vw, 80px); }
.related h2 { font-size: 24px; text-align: center; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin-inline: auto; }

/* Learn responsive */
@media (max-width: 960px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .learn-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .article-body { font-size: 17px; }
}

/* ============================================================
   FULL SCREENSHOTS (no phone frame) + DUO
   ============================================================ */
.shot {
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--navy-950);
  max-width: 300px;
  width: 100%;
}
.shot img { width: 100%; height: auto; display: block; }

.screens-duo {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
}
.screens-duo .shot { max-width: 260px; }
.screens-duo .shot:nth-child(1) { transform: translateY(-14px); }
.screens-duo .shot:nth-child(2) { transform: translateY(14px); }

@media (max-width: 560px) {
  .screens-duo { gap: 10px; }
  .screens-duo .shot { max-width: 50%; }
  .screens-duo .shot:nth-child(1),
  .screens-duo .shot:nth-child(2) { transform: none; }
}

/* Tools group list on homepage */
.calc-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.calc-group h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 6px 0 12px;
}
.calc-group + .calc-group { margin-top: 8px; }
.calc-chip.is-free { border-color: var(--border-strong); }
.calc-chip .free {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
  border: 1px solid rgba(42, 167, 161, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
  text-transform: uppercase;
}
a.calc-chip { cursor: pointer; }
a.calc-chip:hover { border-color: var(--teal); }

/* ============================================================
   INTERACTIVE CALCULATORS
   ============================================================ */
.calc-hero {
  padding-top: clamp(104px, 13vw, 140px);
  padding-bottom: 8px;
  text-align: center;
}
.calc-hero .eyebrow { justify-content: center; margin-bottom: 16px; }
.calc-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.calc-hero p { max-width: 620px; margin: 0 auto; font-size: clamp(16px, 2.3vw, 19px); color: var(--text-soft); }

.calc-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: clamp(30px, 5vw, 44px);
}

.calc-panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
}
.calc-panel h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 20px; }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text-soft); margin-bottom: 8px; }
.field .input-wrap,
.lot-row .input-wrap { position: relative; display: flex; align-items: center; }
.field .input-wrap .pre,
.lot-row .input-wrap .pre {
  position: absolute; left: 16px; color: var(--text-mut); font-size: 16px; font-weight: 600; pointer-events: none;
}
.field input[type="number"],
.field input[type="text"],
.lot-row input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: rgba(9, 15, 24, 0.5);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background 0.2s;
  -moz-appearance: textfield;
}
.field input:focus,
.lot-row input:focus { outline: none; border-color: var(--teal); background: rgba(9, 15, 24, 0.7); }
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button,
.lot-row input::-webkit-outer-spin-button,
.lot-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input.has-pre,
.lot-row input.has-pre { padding-left: 30px; }
.lot-row input[type="number"] { -moz-appearance: textfield; }
.field .hint { margin-top: 7px; font-size: 12.5px; color: var(--text-mut); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Segmented control */
.seg {
  display: flex;
  gap: 6px;
  background: rgba(9, 15, 24, 0.5);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 5px;
  flex-wrap: wrap;
}
.seg button {
  flex: 1;
  min-width: max-content;
  padding: 10px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.seg button.active { background: rgba(42, 167, 161, 0.22); color: #fff; }

/* Add-lot rows (average calculator) */
.lot-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.lot-row .rm {
  width: 44px; align-self: stretch; border-radius: 11px; border: 1px solid var(--border-strong);
  background: rgba(216, 111, 103, 0.1); color: var(--coral); display: grid; place-items: center;
}
.lot-row .rm svg { width: 18px; height: 18px; }
.lot-row .rm:disabled { opacity: 0.35; cursor: not-allowed; }
.add-lot {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px dashed var(--border-strong);
  background: transparent; color: var(--teal-bright); font-weight: 700; font-size: 14px; margin-top: 4px;
}
.add-lot:hover { background: rgba(42, 167, 161, 0.08); }

/* Results */
.calc-result { position: relative; }
.result-hero {
  text-align: center;
  padding: 22px 18px;
  border-radius: var(--r);
  background: linear-gradient(150deg, rgba(42, 167, 161, 0.16), transparent 80%), rgba(9, 15, 24, 0.4);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.result-hero .rlabel { font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.result-hero .rbig {
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.result-hero .rbig.pos { color: var(--green); }
.result-hero .rbig.neg { color: var(--coral); }

.result-list { display: grid; gap: 1px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.result-list .r {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; background: var(--surface);
}
.result-list .r .k { font-size: 14.5px; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.result-list .r .v { font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.result-list .r .v.pos { color: var(--green); }
.result-list .r .v.neg { color: var(--coral); }
.result-list .r .v.amber { color: var(--amber); }

/* R:R visual bar */
.rr-bar { display: flex; height: 40px; border-radius: 11px; overflow: hidden; margin-bottom: 18px; border: 1px solid var(--border); }
.rr-bar .risk { background: rgba(216, 111, 103, 0.55); }
.rr-bar .reward { background: rgba(62, 207, 142, 0.5); }
.rr-bar span { display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; min-width: 0; overflow: hidden; white-space: nowrap; }

/* Payoff chart */
.payoff-wrap { margin-bottom: 18px; border-radius: var(--r); border: 1px solid var(--border); background: rgba(9, 15, 24, 0.4); padding: 12px; }
.payoff-chart { width: 100%; height: auto; display: block; }
.payoff-legend { display: flex; justify-content: center; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--text-mut); }
.payoff-legend span { display: inline-flex; align-items: center; gap: 6px; }
.payoff-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Calculator CTA card */
.calc-cta {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(150deg, rgba(42, 167, 161, 0.16), rgba(231, 192, 109, 0.05) 75%, transparent), var(--surface);
  text-align: center;
}
.calc-cta img { width: 46px; height: 46px; margin: 0 auto 12px; filter: drop-shadow(0 8px 18px rgba(42,167,161,0.45)); }
.calc-cta h3 { font-size: 18px; margin-bottom: 6px; }
.calc-cta p { font-size: 14px; color: var(--text-soft); margin: 0 auto 16px; max-width: 340px; }
.calc-cta .btn { width: 100%; }

.calc-disclaimer { margin-top: 16px; font-size: 12.5px; color: var(--text-mut); text-align: center; line-height: 1.6; }

/* Educational content under a calculator */
.calc-content { max-width: 760px; margin: clamp(48px, 8vw, 90px) auto 0; }

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

/* ============================================================
   GLOSSARY
   ============================================================ */
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px auto 0;
  max-width: 780px;
}
.glossary-nav a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 800; font-size: 15px; color: var(--text-soft); transition: all 0.2s;
}
.glossary-nav a:hover { border-color: var(--teal); color: #fff; background: var(--surface-2); }
.glossary-nav a.empty { opacity: 0.3; pointer-events: none; }

.glossary-group { margin-top: clamp(36px, 6vw, 56px); scroll-margin-top: 90px; }
.glossary-group .letter {
  font-size: 26px; font-weight: 800; color: var(--teal-bright);
  padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--border);
}
.glossary-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.term {
  padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.25s, transform 0.25s;
}
.term:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.term dt { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.term dd { margin: 0; font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
.term dd a { color: var(--teal-bright); }

@media (max-width: 720px) {
  .glossary-list { grid-template-columns: 1fr; }
}

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-hero { max-width: 640px; margin: 22px 0 clamp(30px, 5vw, 46px); }
.support-hero .post-cat { display: block; margin-bottom: 14px; }
.support-hero h1 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.support-hero p { font-size: clamp(16px, 2.4vw, 18px); color: var(--text-soft); line-height: 1.6; }

.support-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.support-panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(24px, 3.4vw, 36px);
}
.support-panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }

/* ---- Form ---- */
.sform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sfield { margin-bottom: 18px; }
.sform-row .sfield { margin-bottom: 18px; }
.sfield label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.sfield label .opt { font-weight: 500; color: var(--text-mut); font-size: 13px; }

.sfield input[type="text"],
.sfield input[type="email"],
.sfield textarea,
.sfield select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: rgba(9, 15, 24, 0.5);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.sfield textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.sfield input::placeholder,
.sfield textarea::placeholder { color: var(--text-mut); font-weight: 400; }
.sfield input:focus,
.sfield textarea:focus,
.sfield select:focus { outline: none; border-color: var(--teal); background: rgba(9, 15, 24, 0.72); }

/* Select with custom chevron */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-mut); pointer-events: none; }
.select-wrap select option { background: var(--surface-solid); color: #fff; }

.sform-submit { width: 100%; margin-top: 4px; gap: 10px; }
.sform-submit svg { width: 18px; height: 18px; }

.sform-fineprint { margin-top: 14px; font-size: 13px; color: var(--text-mut); text-align: center; line-height: 1.55; }
[data-js-only] { display: none; }
.js [data-js-only] { display: block; }
.js [data-nojs-only] { display: none; }

/* Success state */
.sform-success { text-align: center; padding: 14px 8px; }
.sform-success-ic {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(62, 207, 142, 0.14); color: var(--green); margin-bottom: 16px;
}
.sform-success-ic svg { width: 30px; height: 30px; }
.sform-success h3 { font-size: 21px; margin-bottom: 10px; }
.sform-success p { color: var(--text-soft); max-width: 380px; margin: 0 auto 20px; font-size: 15.5px; }
.sform-success p a { color: var(--teal-bright); font-weight: 600; }

/* ---- Sidebar ---- */
.support-side { display: grid; gap: 16px; }
.support-card {
  border-radius: var(--r); border: 1px solid var(--border); background: var(--surface);
  padding: 24px 24px 22px;
}
.support-card.muted { background: rgba(9, 15, 24, 0.32); }
.support-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.support-card > p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 16px; }

.email-chip {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 13px 16px; border-radius: 13px; border: 1px solid var(--border-strong);
  background: rgba(42, 167, 161, 0.08); color: #fff; font-weight: 600; font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.email-chip:hover { border-color: var(--teal); background: rgba(42, 167, 161, 0.14); }
.email-chip svg { width: 18px; height: 18px; color: var(--teal-bright); flex: none; }
.email-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  background: none; border: none; color: var(--text-soft); font-size: 13.5px; font-weight: 600; padding: 4px 2px;
  transition: color 0.2s;
}
.copy-btn:hover { color: #fff; }
.copy-btn.copied { color: var(--green); }
.copy-btn svg { width: 15px; height: 15px; }

.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.topic-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-soft);
  font-size: 15px; font-weight: 600; transition: color 0.2s;
}
.topic-list li:last-child a { border-bottom: none; }
.topic-list a:hover { color: #fff; }
.topic-list a svg { width: 16px; height: 16px; color: var(--text-mut); flex: none; transition: transform 0.2s, color 0.2s; }
.topic-list a:hover svg { transform: translateX(3px); color: var(--teal-bright); }

.tip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tip-list li {
  position: relative; padding-left: 26px; font-size: 14px; color: var(--text-soft); line-height: 1.6;
}
.tip-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
}
.tip-list strong { color: var(--text); font-weight: 700; }

/* ---- Support FAQ ---- */
.support-faq { margin-top: clamp(48px, 7vw, 84px); max-width: 780px; }
.support-faq h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.sfaq-list { display: grid; gap: 12px; }

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sform-row { grid-template-columns: 1fr; gap: 0; }
}
