/* =========================================================
   TheraSaaS Premium Website Build — Sales Page
   ---------------------------------------------------------
   BRAND TOKENS: swap the values under "SWAP THESE" with the
   official TheraSaaS brand colors and fonts. Everything else
   inherits from these custom properties.
   ========================================================= */

:root {
  /* ---------- TheraSaaS brand colors (from logo + therasaas.com) ---------- */
  --brand:        #025BC6;   /* primary brand blue */
  --brand-bright: #167DFF;   /* bright blue (CTA gradient end) */
  --brand-deep:   #071A2B;   /* brand navy: dark sections + headings */
  --brand-navy2:  #022145;   /* deep blue */
  --brand-soft:   #9BC1F5;   /* soft blue for blobs / muted accents */
  --green:        #16A34A;   /* brand positive green (checkmarks) */
  /* CTA gradient mirrors the "Schedule Demo" button on therasaas.com */
  --cta-grad:     linear-gradient(90deg, #025BC6 0%, #167DFF 100%);
  --cta-grad-hover: linear-gradient(90deg, #0250AE 0%, #0F6FEC 100%);

  /* Section gradients, tuned to the logo blue */
  --grad-dark:
    radial-gradient(110% 130% at 50% -25%, #1d4f97 0%, rgba(16, 49, 95, 0) 58%),
    linear-gradient(158deg, #0d2f5c 0%, #08203c 55%, #050f20 100%);
  --grad-light:
    radial-gradient(120% 130% at 50% 0%, #F3F8FF 0%, #E3ECFF 100%);

  /* ---------- Neutrals / surfaces ---------- */
  --cream:        #FFFFFF;   /* page background (white, on-brand) */
  --cream-2:      #EFF4FF;   /* alt section background (light blue tint) */
  --paper:        #FFFFFF;   /* cards */
  --ink:          #071A2B;   /* primary text (brand navy) */
  --ink-soft:     #51617A;   /* secondary text (slate) */
  --line:         #DCE6F5;   /* hairlines / borders (blue-gray) */

  /* ---------- Fonts (Plus Jakarta Sans, matching therasaas.com) ---------- */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, sans-serif;

  /* ---------- Scale ---------- */
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(30, 42, 40, 0.06);
  --shadow:    0 18px 50px -18px rgba(2, 33, 69, 0.28);
  --shadow-lg: 0 30px 80px -24px rgba(2, 33, 69, 0.38);

  --space-section: clamp(3.5rem, 8vw, 7rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--space-section); }

.skip-link {
  position: absolute; left: 0; top: -120px;
  background: var(--brand-deep); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 10px 0; z-index: 200; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.5vw, 2.9rem); font-weight: 800; margin: 0 0 1rem; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }
.section > .container > h2,
.section > .container > .kicker,
.section > .container > .section-intro { text-align: center; }
.section-intro { max-width: 60ch; margin-inline: auto; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2.6rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
  font-weight: 700; color: var(--brand); margin: 0 0 1.2rem;
}

/* Section kicker: small label above the value-led headline */
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem;
  font-weight: 700; color: var(--brand); margin: 0 0 .55rem;
}
.math .kicker, .scarcity .kicker { color: var(--brand-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; text-decoration: none;
  border-radius: 999px; border: 0; cursor: pointer; line-height: 1;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta-grad); color: #fff;
  padding: 1.05rem 2rem; font-size: 1.05rem;
  box-shadow: 0 12px 26px -10px rgba(2, 91, 198, 0.55);
}
.btn-primary:hover { background: var(--cta-grad-hover); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(2, 91, 198, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.12rem; }
.btn-sm { padding: .7rem 1.25rem; font-size: .95rem; }
.btn:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 2rem; }
.cta-row.center { justify-content: center; margin-top: 2.8rem; }
.cta-note, .cta-row .cta-note { color: var(--ink-soft); font-size: 0.98rem; max-width: 30ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand-deep); letter-spacing: -0.02em; }
.brand-logo-text span { color: var(--brand); }
.brand-logo { height: 38px; width: auto; }

/* Header nav (anchor links to key sections) */
.header-nav { display: flex; align-items: center; gap: 1.75rem; margin-inline-start: auto; }
.header-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  position: relative; padding-block: .3rem; white-space: nowrap; transition: color .15s ease;
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.header-nav a:hover { color: var(--brand); }
.header-nav a:hover::after, .header-nav a:focus-visible::after { transform: scaleX(1); }
.header-nav a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.header-cta { box-shadow: none; }
/* Hide the nav where it would crowd the logo + CTA; logo + CTA remain. */
@media (max-width: 1024px) { .header-nav { display: none; } }
@media (max-width: 540px) { .header-cta { padding: .6rem 1rem; font-size: .85rem; } .brand-logo-text { font-size: 1.25rem; } }

/* Offset anchored sections so the sticky header doesn't cover their tops */
.section[id] { scroll-margin-top: 80px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-1 { width: 460px; height: 460px; background: var(--brand-bright); top: -160px; right: -120px; opacity: .28; }
.blob-2 { width: 380px; height: 380px; background: var(--brand); bottom: -180px; left: -120px; opacity: .22; }
.blob-3 { width: 300px; height: 300px; background: var(--brand-soft); top: 40%; right: 30%; opacity: .3; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin: 0 0 1.4rem; }
.hero h1 em { color: var(--brand); font-style: italic; }
.price-pop {
  display: inline-block; position: relative; white-space: nowrap;
  background: var(--cta-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.price-pop::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.28em;
  background: var(--brand-bright); opacity: .22; border-radius: 4px; z-index: -1;
}
.rocket { white-space: nowrap; }
.hero-sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--ink-soft); max-width: 56ch; margin-bottom: 0; }

/* ---------- Problem ---------- */
.problem { background: var(--paper); }
.problem h2, .problem .kicker { text-align: left; }
.problem p { font-size: 1.12rem; }
.lead-line { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--brand); margin-block: 1.6rem; }
.hand-down { font-weight: 600; font-size: 1.15rem; }

/* ---------- Section alt backgrounds ---------- */
.stack { background: var(--grad-light); }
.math { background: var(--grad-dark); color: #EAF1FB; }
.hosting { background: var(--grad-light); }
.why { background: var(--paper); }
.plan { background: var(--grad-light); }
.switch { background: var(--paper); }
.featured-faq { background: var(--grad-light); }
.scarcity { background: var(--grad-dark); color: #EAF1FB; }
.terms { background: var(--paper); }

/* ---------- Value Stack table ---------- */
.stack-table-wrap { max-width: 880px; margin-inline: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stack-table, .compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font-size: 1.02rem;
}
.stack-table thead th, .compare-table thead th {
  background: var(--brand-deep); color: #fff; text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  letter-spacing: .03em; text-transform: uppercase; padding: 1rem 1.4rem;
}
.stack-table thead th:last-child, .compare-table thead th:last-child { text-align: right; }
.stack-table td, .compare-table td { padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); vertical-align: top; }
.stack-table tbody tr:nth-child(even) td, .compare-table tbody tr:nth-child(even) td { background: #F4F8FF; }
.td-desc { display: block; color: var(--ink-soft); font-weight: 400; font-size: .94rem; margin-top: .2rem; }
.stack-table .value, .compare-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; color: var(--brand-deep); }
.compare-table td:last-child { font-weight: 600; color: var(--ink-soft); }
.value-incl { color: var(--brand) !important; font-style: italic; }
.stack-table tfoot td {
  background: var(--brand); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem; padding: 1.1rem 1.4rem; border: 0;
}
.stack-table tfoot .total { text-align: right; font-size: 1.5rem; color: #fff; }

/* ---------- 3-column TheraSaaS value comparison ---------- */
.stack-intro { margin-bottom: 2.2rem; }
.compare-3 { min-width: 620px; } /* keeps columns legible; scrolls on small phones */
.compare-3 .value { width: 22%; }
.compare-3 .ts-cell, .compare-3 .th-ts { width: 26%; text-align: center; }

/* Highlighted TheraSaaS header cap */
.compare-3 thead .th-ts {
  background: var(--cta-grad); color: #fff; vertical-align: middle;
  text-align: center !important;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35);
}
.th-ts-name { display: block; font-size: 1rem; letter-spacing: .02em; text-transform: none; }
.th-ts-sub { display: block; font-size: .72rem; font-weight: 600; opacity: .9; text-transform: none; letter-spacing: .02em; margin-top: .15rem; }

/* TheraSaaS column cells: tinted + green "Included" with a check */
.compare-3 td.ts-cell { background: rgba(2, 91, 198, 0.06) !important; text-align: center; vertical-align: middle; }
.ts-yes {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--green); white-space: nowrap; font-size: .98rem;
}
.ts-yes::before {
  content: "✓"; display: grid; place-items: center;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .82rem; line-height: 1;
}

/* TheraSaaS total cell: the punchline price */
.compare-3 tfoot .ts-total {
  background: var(--cta-grad) !important; color: #fff; text-align: center; line-height: 1.2;
}
.ts-price { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; }
.ts-per { font-size: .9rem; font-weight: 700; opacity: .9; }
.ts-total-sub { display: block; font-family: var(--font-body); font-size: .76rem; font-weight: 600; opacity: .95; margin-top: .35rem; }

/* In the 3-col layout, mute the real-world total so the TheraSaaS price wins the eye */
.compare-3 tfoot .total { background: var(--brand-deep) !important; }

/* ---------- Do the Math (dark): upgrade equation ---------- */
.math h2, .math .section-intro { color: #fff; }
.math .section-intro { color: #C6D8F2; }
.upgrade { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

/* plan toggle */
.plan-toggle { display: inline-flex; gap: .25rem; padding: .3rem; margin-bottom: 2.2rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.plan-tab { border: 0; background: transparent; color: #C6D8F2; font-family: var(--font-body); font-weight: 700; font-size: .95rem; padding: .6rem 1.3rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.plan-tab:hover { color: #fff; }
.plan-tab.is-on { background: var(--cta-grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(2,91,198,.7); }
.plan-tab:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }

/* hero equation: small cost -> big value */
.equation { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.eq-cost { display: flex; flex-direction: column; align-items: center; gap: .3rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 1rem 1.6rem; }
.eq-amt { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: #fff; line-height: 1; }
.eq-amt .eq-per { font-size: 1rem; font-weight: 700; color: #B9CDEA; }
.eq-label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #8FA8CC; }
.eq-arrow { font-size: 2.2rem; color: var(--brand-soft); line-height: 1; }
.eq-value { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.eq-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.7rem + 3vw, 3.8rem); line-height: 1; background: linear-gradient(90deg, #9CC6FF, #2E8BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eq-value .eq-label { color: #C6D8F2; text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; }

/* shared benefit list */
.upgrade-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; max-width: 700px; }
.upgrade-points li { display: flex; gap: .6rem; align-items: flex-start; color: #D6E4F7; font-size: 1rem; line-height: 1.45; }
.upgrade-points li strong { color: #fff; }
.upgrade-points svg { flex: none; width: 1.3rem; height: 1.3rem; fill: var(--brand-soft); margin-top: .12rem; }
@media (max-width: 600px) { .upgrade-points { grid-template-columns: 1fr; } .eq-arrow { transform: rotate(90deg); } }

/* ---------- Hosting (dark) ---------- */
.scarcity h2 { color: #fff; text-align: left; }
.hosting h2 { text-align: center; }
.scarcity .kicker { text-align: left; }
.hosting .kicker { text-align: center; }
.scarcity p { color: #C6D8F2; font-size: 1.12rem; }
.hosting p { font-size: 1.12rem; }
.scarcity em { color: #fff; font-style: italic; }
.scarcity strong { color: #fff; }
.callout-line { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; margin-top: 1.8rem; }
.hosting .callout-line { color: var(--brand); text-align: center; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Why / feature grid ---------- */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-grid li {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .2s ease, box-shadow .25s ease;
}
.feature-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: rgba(2, 91, 198, 0.1); color: var(--brand); margin-bottom: 1rem; }
.feat-icon svg { width: 1.55rem; height: 1.55rem; }
.feature-grid h3 { margin: 0 0 .5rem; color: var(--brand-deep); }
.feature-grid p { margin: 0; color: var(--ink-soft); }
.why-zinger { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; color: var(--brand-deep); text-align: center; max-width: 22ch; margin: 2.8rem auto 0; line-height: 1.25; }

/* ---------- Plan steps ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }
.steps li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s ease, box-shadow .25s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  flex: none; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--cta-grad); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
  box-shadow: 0 10px 22px -10px rgba(2, 91, 198, 0.6);
}
.steps li > div { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.steps h3 { margin: 0; }
.step-time { display: inline-block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: rgba(2,91,198,.1); padding: .25rem .6rem; border-radius: 999px; }
.steps p { margin: 0; color: var(--ink-soft); }
/* Connector chevrons between steps on desktop: white, centered, larger */
@media (min-width: 760px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -2.4rem;
    width: 1.4rem; height: 1.4rem;
    border-top: 3px solid var(--brand); border-right: 3px solid var(--brand);
    transform: translateY(-50%) rotate(45deg); z-index: 2;
  }
}
.plan-foot { text-align: center; margin-top: 2rem; font-size: 1.15rem; }

/* ---------- How We Do It (dark editorial) ---------- */
.howwe { background: var(--grad-dark); color: #EAF1FB; }
.howwe .kicker { color: var(--brand-soft); }
.howwe h2 { color: #fff; max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.howwe-analogy { border-left: 4px solid var(--brand-bright); padding-left: 1.5rem; margin: 1.8rem auto 2.8rem; max-width: 68ch; }
.howwe-analogy p { color: #C6D8F2; font-size: 1.14rem; line-height: 1.8; font-style: italic; margin: 0; }
.howwe-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .howwe-grid { grid-template-columns: 1fr 1fr; } }
.howwe-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 1.75rem 1.65rem; transition: transform .2s ease, border-color .25s ease; }
.howwe-card:hover { transform: translateY(-4px); border-color: rgba(155, 193, 245, 0.45); }
.howwe-ico { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: rgba(155, 193, 245, 0.14); color: var(--brand-soft); margin-bottom: 1rem; }
.howwe-ico svg { width: 1.55rem; height: 1.55rem; }
.howwe-card h3 { margin: 0 0 .45rem; color: #fff; font-size: 1.2rem; }
.howwe-card p { margin: 0; color: #9FB8D4; font-size: 1rem; line-height: 1.6; }
.howwe-stats { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2.8rem; padding-top: 2.1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.howwe-stat { text-align: center; }
.howwe-num { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.1; }
.howwe-desc { display: block; font-size: .85rem; color: var(--brand-soft); margin-top: .3rem; }
.howwe-divider { width: 1px; height: 2.8rem; background: rgba(255, 255, 255, 0.15); }
@media (max-width: 560px) { .howwe-divider { display: none; } }

/* ---------- Switch ---------- */
.switch h2, .switch .kicker { text-align: left; }
.switch p { font-size: 1.1rem; }
.switch .callout-line { color: var(--brand); }

/* ---------- Showcase: single-column rebuilds ---------- */
.showcase-rows { display: flex; flex-direction: column; gap: clamp(2.4rem, 5vw, 3.8rem); margin-top: 2.6rem; }
.show-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; background: linear-gradient(160deg, #F4F8FF 0%, #E4EDFD 100%); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-sm); }
@media (max-width: 820px) { .show-row { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (min-width: 821px) { .show-row.flip .show-shot { order: 2; } }

.show-frame { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .2s ease, box-shadow .25s ease; }
.show-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.show-bar { display: flex; gap: 6px; padding: 9px 12px; background: #EDF2FA; border-bottom: 1px solid var(--line); }
.show-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D6EA; }
.show-bar i:nth-child(1) { background: #ff5f57; } .show-bar i:nth-child(2) { background: #febc2e; } .show-bar i:nth-child(3) { background: #28c840; }
.show-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.show-detail h3 { font-size: clamp(1.45rem, 3vw, 1.95rem); color: var(--brand-deep); margin: 0 0 .55rem; }
.show-switch { font-size: 1rem; color: var(--ink-soft); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.show-switch strong { color: var(--ink); }
.show-switch .ar { color: var(--brand-bright); font-weight: 800; }
.show-zero { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green); background: rgba(22, 163, 74, .12); padding: .25rem .6rem; border-radius: 999px; }

.show-stats { display: flex; gap: clamp(1.6rem, 4vw, 2.4rem); padding: 1.1rem 0; border-top: 1px solid var(--line); margin-bottom: 1rem; }
.show-stat .n { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; color: var(--ink); line-height: 1; }
.show-stat .n.g { color: var(--green); }
.show-stat .l { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #7a8a9a; margin-top: .35rem; }

.show-load { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid #DCE9FB; border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1.2rem; font-weight: 800; }
.show-load .ll { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #7a8a9a; margin-right: .15rem; }
.show-load s { color: #aab6c6; font-weight: 600; font-size: 1.05rem; }
.show-load .ar { color: var(--brand-bright); }
.show-load b { color: var(--green); font-size: 1.35rem; }
.show-load .imp { margin-left: auto; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green); background: rgba(22, 163, 74, .12); padding: .25rem .6rem; border-radius: 999px; }

.show-quote { margin: 0 0 1.2rem; background: #fff; border: 1px solid #E2ECF8; border-left: 4px solid var(--brand-bright); border-radius: 10px; padding: 1rem 1.2rem; }
.show-quote p { margin: 0; font-style: italic; color: #2c3a4d; font-size: 1.04rem; line-height: 1.55; }
.show-quote cite { display: block; margin-top: .6rem; font-style: normal; font-weight: 800; font-size: .85rem; color: var(--brand); }
.show-note { margin: 0 0 1.2rem; font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.show-note strong { color: var(--ink); }
.link-arrow { display: inline-block; font-weight: 800; color: var(--brand); text-decoration: none; }
.link-arrow:hover { color: var(--brand-bright); }
.show-soon { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .82rem; color: var(--ink-soft); background: #EEF2F8; padding: .42rem .85rem; border-radius: 999px; }
.show-soon svg { flex-shrink: 0; }

/* ---------- Featured FAQ blocks ---------- */
.faq-blocks { display: grid; gap: 1.3rem; max-width: 860px; margin-inline: auto; }
.faq-block { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 1.7rem 1.8rem; box-shadow: var(--shadow-sm); }
.faq-block h3 { margin: 0 0 .7rem; color: var(--brand-deep); }
.faq-block p { margin: 0; color: var(--ink-soft); }

/* ---------- Risk ---------- */
.promise-list { list-style: none; margin: 0 auto 0; padding: 0; max-width: 820px; display: grid; gap: 1rem; }
.promise-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.15rem 1.4rem; box-shadow: var(--shadow-sm); }
.promise-list .chk { flex: none; color: var(--brand); line-height: 0; margin-top: .1rem; }
.promise-list .chk svg { width: 1.4rem; height: 1.4rem; display: block; }
.promise-list p { margin: 0; color: var(--ink-soft); }
.risk .callout-line { text-align: center; color: var(--brand); }

/* ---------- Scarcity + Final CTA ---------- */
.final-cta-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); text-align: center; margin-top: 2.4rem; }
.final-cta-card h3 { color: #fff; font-size: 1.8rem; margin: 0 0 .8rem; }
.final-cta-card p { color: #D5E6E3; }
.final-cta-card .btn { margin-top: 1rem; }
.final-tag { margin: 1.6rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--brand-soft); }
.final-tag strong { color: var(--brand-soft); }

/* ---------- Accordion ---------- */
.accordion-faq { background: var(--cream); }
.accordion { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.acc-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc-header { margin: 0; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink);
  padding: 1.2rem 1.4rem; line-height: 1.35;
}
.acc-trigger:hover { color: var(--brand-deep); }
.acc-trigger:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: var(--radius-sm); }
.acc-icon { flex: none; width: 1.4rem; height: 1.4rem; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.acc-icon::before { top: 50%; left: 0; right: 0; height: 2.5px; transform: translateY(-50%); }
.acc-icon::after { left: 50%; top: 0; bottom: 0; width: 2.5px; transform: translateX(-50%); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.acc-panel-inner { padding: 0 1.4rem 1.3rem; }
.acc-panel-inner p { margin: 0; color: var(--ink-soft); }
.acc-trigger[aria-expanded="true"] + .acc-panel { max-height: 600px; }
/* No-JS / pre-hydration fallback: show all answers so content is always crawlable */
.no-js .acc-panel { max-height: none; }

/* ---------- Terms ---------- */
.terms h2 { text-align: left; }
.terms-intro { color: var(--ink-soft); margin-bottom: 2rem; }
.terms-accordion .acc-trigger { font-size: 1.02rem; }
.terms-updated { margin-top: 2.4rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-dark); color: #B6C6DC; padding-block: 3.5rem; text-align: center; }
.footer-inner { display: grid; gap: 1.1rem; justify-items: center; }
.site-footer .brand-logo-text { color: #fff; }
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.footer-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #EAF1FB; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin: .2rem 0 0; }
.footer-links a { color: #9FB3CC; font-size: .9rem; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { color: #7F92AC; font-size: .9rem; margin: .6rem 0 0; }

/* ---------- Legal pages (Terms of Service, Privacy Policy) ---------- */
.legal-hero { background: var(--grad-light); padding-block: clamp(2.4rem, 6vw, 4rem); text-align: center; }
.legal-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: 0 0 .6rem; }
.legal-eff { color: var(--ink-soft); font-size: .95rem; font-weight: 600; margin: 0; }
.legal-intro { color: var(--ink-soft); font-size: 1.08rem; max-width: 62ch; margin: 1rem auto 0; line-height: 1.7; }
.legal-wrap { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.legal { max-width: 760px; margin-inline: auto; }
.legal-toc { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.5rem; margin-bottom: 2.6rem; }
.legal-toc p { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin: 0 0 .7rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.8rem; }
.legal-toc li { margin: 0 0 .4rem; font-size: .92rem; break-inside: avoid; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--brand); text-decoration: underline; }
.legal h2 { font-size: 1.32rem; color: var(--brand-deep); margin: 2.6rem 0 .7rem; scroll-margin-top: 90px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; color: var(--ink); margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.75; }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol.legal-list { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal li { margin-bottom: .5rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand); font-weight: 600; }
.legal-updated { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; font-style: italic; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }


/* ---------- Hosting: renting vs. partner comparison ---------- */
.host-frame { font-size: 1.12rem; font-weight: 500; color: var(--ink-soft); text-align: center; max-width: 60ch; margin: 0 auto .6rem; }
.host-frame-punch { font-size: 1.16rem; font-weight: 700; color: var(--brand-deep); text-align: center; max-width: 55ch; margin: 0 auto 1.9rem; }
.host-compare { display: grid; gap: 1.3rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 820px) { .host-compare { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
.host-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem; box-shadow: var(--shadow-sm); position: relative; }
.host-col.is-thera { border: 2px solid var(--brand); box-shadow: 0 18px 50px -22px rgba(2, 91, 198, 0.4); padding-top: 1.8rem; }
.host-col-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; background: var(--cta-grad); color: #fff; font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 999px; }
.host-col-title { margin: 0 0 .35rem; color: var(--brand-deep); }
.host-col.is-builder .host-col-title { color: var(--ink); }
.host-col-tag { margin: 0 0 1.3rem; color: var(--ink-soft); font-size: 1rem; font-weight: 600; }
.host-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.host-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.5; }
.host-list svg { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .12rem; }
.is-builder-list svg { color: #94A3B8; }
.is-thera-list svg { color: var(--brand); }
.is-thera-list li { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: reveal .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal:nth-child(1) { animation-delay: .05s; }
.reveal:nth-child(2) { animation-delay: .15s; }
.reveal:nth-child(3) { animation-delay: .28s; }
.reveal:nth-child(4) { animation-delay: .42s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.in-view { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
