/* Repostless — site styles.
   Colour roles come from the app's design tokens (artifacts/token-spec.md → Theme.swift);
   the gradients and glows are site-only, for a TikTok-flavoured landing page.
   Dark only, to match the app. No build step: this file is served as it is. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg:            #07080B;
  --bg-2:          #0A0C12;
  --surface:       #12161E;
  --surface-2:     #171C26;
  --border:        #1A1F2B;
  --border-strong: #2A3140;

  --action:        #FF2D55;  /* removal / primary CTA */
  --success:       #22D3EE;  /* status, privacy, confirmation */
  --warning:       #F5A524;  /* limits, attention */
  --purchase:      #7C3AED;  /* Pro / buy only */

  --text:          #EDEFF3;
  --text-2:        #A3ACBB;
  --text-3:        #8A93A3;

  --grad: linear-gradient(96deg, #FF2D55 0%, #FF2D55 38%, #22D3EE 100%);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --page: 1160px;
  --font:    "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Space Grotesk", "DM Sans", -apple-system, system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ---------- animated background ---------- */

.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.aurora .a1 { width: 620px; height: 620px; top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(255,45,85,.55), transparent 65%);
  animation: drift1 26s ease-in-out infinite; }
.aurora .a2 { width: 560px; height: 560px; top: 120px; right: -180px;
  background: radial-gradient(circle, rgba(34,211,238,.42), transparent 65%);
  animation: drift2 32s ease-in-out infinite; }
.aurora .a4 { width: 720px; height: 720px; top: 3400px; right: -200px;
  background: radial-gradient(circle, rgba(255,45,85,.26), transparent 65%);
  animation: drift2 34s ease-in-out infinite; }
.aurora .a3 { width: 680px; height: 680px; top: 1500px; left: 30%;
  background: radial-gradient(circle, rgba(124,58,237,.30), transparent 65%);
  animation: drift1 38s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); }
                    50%     { transform: translate3d(90px,70px,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1.05); }
                    50%     { transform: translate3d(-80px,60px,0) scale(.92); } }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7,8,11,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; display: block; line-height: 1.1; }
.brand small { color: var(--text-3); font-size: 11px; letter-spacing: .02em; }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none; margin-left: auto;
  border: 1px solid var(--border); border-radius: 10px;
  background: none; color: var(--text); cursor: pointer;
}
.menu-btn:hover { background: rgba(255,255,255,.05); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .drop > button {
  font-family: inherit; font-size: 15px; color: var(--text-2);
  background: none; border: 0; cursor: pointer;
  padding: 9px 12px; border-radius: 10px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .drop > button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  display: none;
}
.drop[open] .drop-menu, .drop.is-open .drop-menu { display: block; }
/* Bridges the 8px gap between button and menu so the pointer never leaves .drop on the way down. */
@media (min-width: 1001px) {
  .drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.drop-menu a:hover { background: rgba(255,255,255,.05); }
.drop-menu strong { display: block; font-size: 15px; font-weight: 600; }
.drop-menu span { display: block; font-size: 13px; color: var(--text-3); line-height: 1.4; }

.pill-est {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 14px 7px 10px; text-decoration: none; margin-left: 6px;
}
.pill-est:hover { border-color: var(--success); }
.pill-est .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(34,211,238,.15);
  display: grid; place-items: center; color: var(--success); }
.pill-est em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); display: block; line-height: 1.2; }
.pill-est b { font-family: var(--display); font-size: 14px; }

/* ---------- buttons ---------- */

.btn {
  font-family: var(--display);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 10px 40px -8px rgba(255,45,85,.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 48px -8px rgba(255,45,85,.8); }
.btn-light { background: #EDEFF3; color: #0B0B0F; }
.btn-light:hover { background: #fff; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-pro { background: var(--purchase); color: #fff; }
.btn-pro:hover { background: #8B5CF6; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- section basics ---------- */

section { padding: 96px 0; position: relative; }
section[id] { scroll-margin-top: 92px; }
.rule { border-top: 1px solid var(--border); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.028em; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6.2vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }

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

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 14px;
}
.lede { font-size: 19px; color: var(--text-2); max-width: 62ch; margin: 0 0 28px; }
.section-head { max-width: 66ch; margin: 0 auto 48px; text-align: center; }
.section-head .lede { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,45,85,.12); border: 1px solid rgba(255,45,85,.35);
  color: #FF6B88; border-radius: 999px; padding: 6px 15px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--action);
  box-shadow: 0 0 0 0 rgba(255,45,85,.7); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,45,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,45,85,0); } }

/* ---------- hero ---------- */

.hero { padding: 76px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: -74px 0 auto 0; height: 900px; pointer-events: none;
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(255,45,85,.22), transparent 68%),
    radial-gradient(760px 460px at 84% 46%, rgba(34,211,238,.16), transparent 68%);
}
.hero .wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; color: var(--text-2);
}
.chips svg { color: var(--success); flex: none; }
.fineprint { font-size: 13px; color: var(--text-3); margin: 0; }

.phone {
  width: 312px; margin-left: auto;
  filter: drop-shadow(0 30px 50px rgba(255,45,85,.22));
}
.phone img { display: block; width: 100%; }
.phone.crop img { height: 600px; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(180deg,#000 80%,transparent 100%);
          mask-image: linear-gradient(180deg,#000 80%,transparent 100%); }

/* ---------- facts strip ---------- */

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: linear-gradient(100deg, rgba(255,45,85,.14), rgba(34,211,238,.12));
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 34px 20px; text-align: center;
}
.facts b { font-family: var(--display); font-size: clamp(26px,3.4vw,38px); display: block; letter-spacing: -.03em; }
.facts span { font-size: 14px; color: var(--text-2); }
.facts div:nth-child(odd) b { color: #FF4D6D; }
.facts div:nth-child(even) b { color: var(--success); }

/* ---------- cards ---------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: rgba(255,45,85,.45); transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,45,85,.15), 0 18px 40px -18px rgba(255,45,85,.35);
}
.card p { color: var(--text-2); margin: 0; font-size: 16px; }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 18px;
}
.tag {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  border: 1px solid #4C1D95; color: #C4B5FD; border-radius: 999px;
  padding: 2px 9px; margin-left: 8px; vertical-align: 3px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.step-n {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 700;
  color: #fff;
}
.step:nth-child(1) .step-n { background: var(--action); box-shadow: 0 0 34px -6px rgba(255,45,85,.7); }
.step:nth-child(2) .step-n { background: var(--success); color: #05252b; box-shadow: 0 0 34px -6px rgba(34,211,238,.7); }
.step:nth-child(3) .step-n { background: var(--action); box-shadow: 0 0 34px -6px rgba(255,45,85,.7); }
.step p { color: var(--text-2); margin: 0; font-size: 16px; }

/* ---------- demo ---------- */

.demo-wrap { display: flex; justify-content: center; }
.demo-note { text-align: center; color: var(--text-3); font-size: 14px; margin: 26px 0 0; }

/* ---------- estimator ---------- */

.est {
  background: linear-gradient(160deg, rgba(255,45,85,.10), rgba(34,211,238,.08) 70%, transparent);
  border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: 40px;
}
.est-top {
  display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start;
  background: rgba(7,8,11,.55); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 24px; margin-bottom: 20px;
}
.est-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.est-panel { background: rgba(7,8,11,.55); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; }
.est-panel.win { border-color: rgba(255,45,85,.45); background: linear-gradient(170deg, rgba(255,45,85,.10), rgba(7,8,11,.55) 60%); }
.est-panel h3 { margin: 0; }
.est label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.est input[type=text] {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); color: var(--text); font-family: var(--display);
  font-size: 30px; letter-spacing: -.02em; padding: 12px 16px;
}
.est input:focus { outline: 2px solid var(--success); outline-offset: 2px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.quick button {
  font-family: var(--mono); font-size: 14px; color: var(--text-2); cursor: pointer;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 0 16px; min-height: 44px; min-width: 62px;
}
.quick button:hover { color: var(--text); border-color: var(--text-3); }
.quick button[aria-pressed="true"] { border-color: var(--success); color: var(--success); background: rgba(34,211,238,.08); }
.est .time { font-family: var(--display); font-size: clamp(32px,4.4vw,46px); letter-spacing: -.03em; margin: 16px 0 6px; }
.est .time small { font-size: 16px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.est .per { font-size: 14px; color: var(--text-3); margin: 0; min-height: 40px; }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); width: 0; transition: width .5s cubic-bezier(.4,0,.2,1); }
.bar.flat i { background: var(--border-strong); }
.saved { text-align: center; margin: 24px 0 0; }
.saved span {
  display: inline-block; border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.08);
  border-radius: 999px; padding: 12px 26px; font-family: var(--display); font-weight: 600;
}
.saved b { color: var(--success); }
.est-fine { font-size: 13px; color: var(--text-3); margin: 16px 0 0; text-align: center; }

/* ---------- screenshots rail ---------- */

.rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px 20px 28px; scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.rail figure { margin: 0; flex: none; width: 260px; scroll-snap-align: center; }
/* The screenshots carry their own phone frame on a transparent background. */
.rail img { width: 100%; height: auto; }
.rail figcaption { color: var(--text-3); font-size: 14px; text-align: center; margin-top: 12px; }

/* ---------- table ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 16px; }
th, td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table { min-width: 640px; }
.compare-table tr.winner td, .compare-table tr.winner th {
  background: rgba(34,211,238,.07);
  box-shadow: inset 0 1px 0 0 rgba(34,211,238,.4), inset 0 -1px 0 0 rgba(34,211,238,.4);
}
.compare-table tr.winner th:first-child { box-shadow: inset 0 1px 0 0 rgba(34,211,238,.4), inset 0 -1px 0 0 rgba(34,211,238,.4), inset 3px 0 0 0 rgba(34,211,238,.4); }
.compare-table tr.winner td:last-child { box-shadow: inset 0 1px 0 0 rgba(34,211,238,.4), inset 0 -1px 0 0 rgba(34,211,238,.4), inset -3px 0 0 0 rgba(34,211,238,.4); }
.compare-table tr.winner:last-child th:first-child { border-radius: 0 0 0 var(--r-lg); }
.compare-table tr.winner:last-child td:last-child { border-radius: 0 0 var(--r-lg) 0; }
.compare-table .highlight { color: var(--success); font-weight: 600; }
.compare-table .tag {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .02em; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.compare-table .tag.good { background: var(--success); color: #04262B; }
.compare-table .tag.bad { background: var(--action); color: #fff; }
.compare-table .tag.warn { background: var(--warning); color: #2B1B02; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
thead th { color: var(--text-3); font-weight: 600; font-size: 14px; }
thead th:last-child { color: var(--text); }
tbody th { font-weight: 500; color: var(--text-2); }
td:last-child { color: var(--text); }
tbody tr:last-child { background: linear-gradient(90deg, rgba(255,45,85,.10), rgba(34,211,238,.08)); }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; }
.plan.pro { border-color: #3B2A6B; background: linear-gradient(170deg, rgba(124,58,237,.14), var(--surface) 60%); }
.plan .price { font-family: var(--mono); color: var(--text-3); font-size: 14px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan li { color: var(--text-2); padding-left: 24px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px;
  border-radius: 3px; background: var(--border-strong); }
.plan.pro li::before { background: var(--purchase); }

/* ---------- faq ---------- */

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.faq-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.faq-col > h3 { margin-bottom: 4px; }
.faq-col > p { color: var(--text-3); font-size: 14px; margin: 0 0 12px; }
details { border-top: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; color: var(--action); }
details p { color: var(--text-2); margin: 12px 0 0; font-size: 15px; }

/* ---------- final cta ---------- */

.final-band {
  background: linear-gradient(103deg, #FF2D55 0%, #C21E63 45%, #1B8FA3 100%);
  border-radius: 32px; padding: 72px 24px; text-align: center;
}
.final-band h2 { color: #fff; }
.final-band p { color: rgba(255,255,255,.88); font-size: 19px; max-width: 54ch; margin: 0 auto 30px; }
.final-band .btn-dark { background: #0B0B0F; color: #fff; }
.final-band .btn-dark:hover { background: #000; }
.final-band .hero-cta { justify-content: center; }
.final-band .fineprint { color: rgba(255,255,255,.75); }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--border); padding: 60px 0 70px; background: var(--bg-2); position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.foot-grid h4 { font-family: var(--display); color: #FF4D6D; font-size: 15px; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--text-2); font-size: 15px; margin: 14px 0 0; max-width: 34ch; }
.disclaimer { color: var(--text-3); font-size: 13px; max-width: 78ch; margin: 0 0 8px; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .aurora span, .badge i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .phone { margin: 0 auto; }
  .grid, .grid.four, .steps, .plans, .est-top, .est-results, .faq-cols { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .brand small { display: none; }
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 20px 40px; max-height: calc(100vh - 74px); overflow-y: auto; z-index: 25;
    border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav > a, .drop > button, .pill-est { display: flex; width: 100%; justify-content: flex-start; }
  .drop-menu {
    position: static; display: none; box-shadow: none; background: none; border: 0;
    padding: 2px 0 6px 14px; min-width: 0;
  }
  .drop.is-open .drop-menu { display: block; }
  section { padding: 68px 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .est { padding: 26px; }
}
/* ---------- launch-notify form (/download) ---------- */

.notify { max-width: 520px; margin: 0 0 22px; }
.notify-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.notify-platforms { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.notify-platforms legend { padding: 0; }
.notify-platforms label { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 6px 0;
  font-size: 15px; color: var(--text); cursor: pointer; }
.notify-platforms input { width: 18px; height: 18px; margin: 0; accent-color: var(--action); }
.notify-row { display: flex; gap: 10px; }
.notify input[type=email] {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 20px;
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text); font-family: var(--display); font-size: 16px;
}
.notify input[type=email]:focus { outline: 2px solid var(--success); outline-offset: 2px; }
.notify .fineprint { margin-top: 10px; }
.notify-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px;
  font-size: 14px; color: var(--text-2); cursor: pointer; }
.notify-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--action); }
.notify-status { margin: 8px 0 0; font-size: 15px; }
.notify-status:empty { display: none; }
.notify-status.ok { color: var(--success); }
.notify-status.err { color: var(--action); }
.notify.done .notify-row, .notify.done .notify-platforms, .notify.done .notify-consent { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .notify-row { flex-direction: column; }
  body { font-size: 16px; }
  .btn:not(.btn-sm) { width: 100%; }
  .hero-cta { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
  .final-band { padding: 52px 18px; border-radius: 24px; }
  .rail { padding-left: 4px; }
}

/* ---------- blog ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.post:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.post .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.post h3 { margin: 0 0 10px; }
.post p { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.post .more { margin-top: auto; color: var(--success); font-size: 15px; font-weight: 600; }

/* article page */
.article { max-width: 760px; margin: 0 auto; padding: 56px 20px 96px; position: relative; z-index: 1; }
.article .crumb { font-size: 14px; color: var(--text-3); margin: 0 0 20px; }
.article .crumb a { color: var(--text-2); text-decoration: none; }
.article .crumb a:hover { color: var(--text); }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 14px; }
.article .meta { font-family: var(--mono); font-size: 13px; color: var(--text-3); margin: 0 0 32px; }
.article h2 { font-size: 25px; margin: 44px 0 14px; }
.article h3 { font-size: 19px; margin: 30px 0 10px; }
.article p, .article li { color: var(--text-2); font-size: 17px; }
.article strong { color: var(--text); font-weight: 600; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 10px; }
.article a { color: var(--success); }
.article .lead { font-size: 20px; color: var(--text); }

.note {
  border: 1px solid var(--border-strong);
  background: rgba(245,165,36,.06); border-radius: var(--r-sm);
  padding: 18px 20px; margin: 26px 0;
}
.note b { display: block; color: var(--warning); font-size: 14px; margin-bottom: 6px;
  font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.note p { margin: 0; font-size: 15px; }

.cta-box {
  background: linear-gradient(140deg, rgba(255,45,85,.14), rgba(34,211,238,.10));
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 30px; margin: 44px 0;
}
.cta-box h3 { margin: 0 0 8px; }
.cta-box p { margin: 0 0 20px; font-size: 16px; }

.related { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 28px; }
.related h2 { font-size: 20px; margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { color: var(--text); text-decoration: none; font-weight: 500; }
.related a:hover { color: var(--success); }

.sources { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; }
.sources h2 { font-size: 17px; margin: 0 0 12px; }
.sources ol { padding-left: 20px; }
.sources li { font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.sources a { color: var(--text-2); word-break: break-word; }

@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr; } }
.hero.single .wrap { display: block; }

/* ---------- blog v2: covers, meta, TOC, figures ---------- */

.post { padding: 0; overflow: hidden; }
.post .cover-img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; border-bottom: 1px solid var(--border); }
.post .post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post .when { font-size: 13px; color: var(--text-3); display: flex; gap: 14px; margin: 0 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags li { font-size: 12px; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,.06);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 11px; }
.post .btn-read { margin-top: auto; align-self: flex-start; background: var(--action); color: #fff;
  border-radius: 10px; padding: 10px 18px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.post:hover .btn-read { box-shadow: 0 8px 30px -8px rgba(255,45,85,.7); }

.article .cover { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border-strong); margin: 0 0 30px;
  box-shadow: 0 40px 90px -40px rgba(255,45,85,.45); }
.article .meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: 14px; color: var(--text-3); margin: 0 0 16px; }
.article .meta-row b { color: var(--text-2); font-weight: 600; }
.article .tags { margin-bottom: 30px; }

.quick {
  border: 1px solid rgba(34,211,238,.35);
  background: rgba(34,211,238,.06); border-radius: var(--r-sm); padding: 18px 22px; margin: 28px 0;
}
.quick b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--success); margin-bottom: 6px; }
.quick p { margin: 0; color: var(--text); font-size: 17px; }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px 24px; margin: 0 0 12px; }
.toc b { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 10px; color: var(--text); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 0 0 6px; font-size: 15px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--success); }
.article h2[id] { scroll-margin-top: 92px; }

.fig { margin: 30px 0; }
.fig figcaption { font-size: 14px; color: var(--text-3); text-align: center; margin-top: 12px; }
.fig-phone { width: 290px; max-width: 100%; margin: 0 auto; border: 1px solid var(--border-strong);
  border-radius: 36px; padding: 8px; background: var(--surface); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.fig-phone img, .fig-phone video { border-radius: 29px; width: 100%; }
.fig-schematic { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 26px; }
.fig-schematic svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.article .table-scroll { margin: 26px 0; }
.article table { min-width: 560px; font-size: 15px; }

.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-grid a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .2s; }
.rel-grid a:hover { border-color: var(--border-strong); }
.rel-grid img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; }
.rel-grid span { display: block; padding: 12px 14px 14px; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; }
@media (max-width: 760px) { .rel-grid { grid-template-columns: 1fr; } }
.post .cover-img, .article .cover { height: auto; }
.article .tags { padding-left: 0; }
.article .tags li { margin: 0; font-size: 12px; }

/* ---------- legal pages (privacy / terms) ---------- */

.legal-doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; counter-reset: sect; }
.legal-doc h1.title { font-size: clamp(30px, 4.6vw, 40px); margin: 0 0 10px; }
.legal-doc .meta { color: var(--text-3); font-size: 13.5px; font-family: var(--mono); margin: 0 0 32px; line-height: 1.7; }

.legal-doc .principle, .legal-doc .callout {
  display: flex; gap: 14px; align-items: flex-start;
  border-radius: var(--r-md); padding: 20px 22px; margin: 0 0 36px;
}
.legal-doc .principle { background: var(--surface); border: 1px solid var(--border); }
.legal-doc .callout { background: rgba(245,165,36,.08); border: 1px solid rgba(245,165,36,.35); }
.legal-doc .principle svg { flex: none; margin-top: 2px; color: var(--success); }
.legal-doc .callout svg { flex: none; margin-top: 2px; color: var(--warning); }
.legal-doc .principle h2, .legal-doc .callout h2 { font-size: 17px; margin: 0 0 6px; }
.legal-doc .principle p, .legal-doc .callout p { margin: 0 0 10px; color: var(--text-2); font-size: 14.5px; }
.legal-doc .principle p:last-child, .legal-doc .callout p:last-child { margin-bottom: 0; }

.legal-doc .toc {
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2);
  padding: 18px 22px; margin: 0 0 44px;
}
.legal-doc .toc h2 { font-size: 11.5px; margin: 0 0 12px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.legal-doc .toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; font-size: 14px; }
@media (max-width: 620px) { .legal-doc .toc ol { columns: 1; } }
.legal-doc .toc li { margin-bottom: 5px; break-inside: avoid; }
.legal-doc .toc a { color: var(--text-2); text-decoration: none; }
.legal-doc .toc a:hover { color: var(--success); text-decoration: underline; }

.legal-doc section { margin: 0 0 38px; padding: 0; max-width: 68ch; scroll-margin-top: 90px; }
.legal-doc section h2 { font-size: 16px; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.legal-doc section h2 .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); font-weight: 600; flex: none; }
.legal-doc section h3 { font-size: 14px; margin: 22px 0 8px; font-weight: 600; }
.legal-doc section .body-text { color: var(--text-2); margin-top: 12px; font-size: 15px; }
.legal-doc section .body-text p { margin: 0 0 12px; }
.legal-doc section .body-text p:last-child { margin-bottom: 0; }
.legal-doc section .body-text ul { margin: 8px 0 14px; padding-left: 20px; }
.legal-doc section .body-text li { margin-bottom: 6px; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc code {
  font-family: var(--mono); font-size: .86em;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px;
  color: var(--text); word-break: break-all;
}

.legal-doc .split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 4px; }
@media (max-width: 620px) { .legal-doc .split { grid-template-columns: 1fr; } }
.legal-doc .split-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; background: var(--surface); }
.legal-doc .split-card.never { border-color: rgba(34,211,238,.35); }
.legal-doc .split-card h3 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 10px;
}
.legal-doc .split-card.never h3 { color: var(--success); }
.legal-doc .split-card.local h3 { color: var(--warning); }
.legal-doc .split-card ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }
.legal-doc .split-card li { margin-bottom: 6px; }
.legal-doc .split-card li:last-child { margin-bottom: 0; }

.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.legal-doc th, .legal-doc td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-doc th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3); font-weight: 600; white-space: nowrap;
}
.legal-doc td { color: var(--text-2); }
.legal-doc td:first-child { color: var(--text); font-weight: 500; }
.legal-doc .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); margin: 16px 0 4px; background: var(--surface); }
.legal-doc .table-wrap tr:last-child td { border-bottom: none; }

.legal-doc .contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; background: var(--surface);
}
.legal-doc .contact-card a.button {
  text-decoration: none; font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--bg); background: var(--text); padding: 10px 16px; border-radius: 10px; white-space: nowrap;
}

/* ---------- support page ---------- */

.support-page { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.support-page h1.title { font-size: clamp(30px, 4.6vw, 40px); margin: 0 0 32px; }
.support-page .contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; background: var(--surface);
  margin-bottom: 40px;
}
.support-page .contact-card a.button {
  text-decoration: none; font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--bg); background: var(--text); padding: 10px 16px; border-radius: 10px; white-space: nowrap;
}
.support-page section { margin: 0 0 40px; padding: 0; }
.support-page section h2 { font-size: 20px; margin: 0 0 14px; }
.support-page section .body-text { color: var(--text-2); }
.support-page section .body-text p { margin: 0 0 12px; }
.support-page section .body-text ol, .support-page section .body-text ul { margin: 8px 0 0; padding-left: 20px; }
.support-page section .body-text li { margin-bottom: 8px; }
.support-page .faq-item { border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; background: var(--surface); margin-bottom: 12px; }
.support-page .faq-item h3 { font-size: 15px; margin: 0 0 8px; }
.support-page .faq-item p { margin: 0; color: var(--text-2); font-size: 14.5px; }
/* Append to the end of styles.css. Nothing here overrides a value you chose on
   purpose — it fixes one contrast bug and covers the pages added in this pack.
   Appending twice is harmless. */

/* --- BUG: CTA buttons inside articles rendered cyan-on-red -----------------
   `.article a { color: var(--success) }` outranks `.btn-primary { color:#fff }`,
   so every "Download Repostless" button in every guide came out at about a
   2.2:1 contrast ratio. This restores the button colours. */
.article .btn { text-decoration: none; }
.article .btn-primary,
.article .btn-pro   { color: #fff; }
.article .btn-light { color: #0B0B0F; }
.article .btn-ghost { color: var(--text); }

/* --- the guides index heading, when it is the only column ----------------- */
.hero.single .wrap { display: block; }

/* --- "not shipped yet" status note on the platform pages ------------------ */
.article .note + .lead { margin-top: 20px; }

/* ---- Analytics consent banner (built by app.js) ---- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8);
}
.consent p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.consent p a { color: var(--text); }
.consent-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 600px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
}

/* Language switch (EN / ES) in the site header */
.lang-switch {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 11px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--text-2); text-decoration: none;
  border: 1px solid var(--border-strong); border-radius: 999px;
}
.lang-switch:hover { color: var(--text); background: rgba(255,255,255,.05); }
@media (max-width: 640px) {
  .site-header .wrap { gap: 10px; }
  .lang-switch { min-height: 32px; padding: 0 9px; font-size: 12px; }
  .site-header .btn-sm { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 440px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand b { font-size: 17px; }
  .site-header .btn-sm { padding: 0 12px; min-height: 38px; font-size: 13.5px; }
}
