/* RTOGuard marketing site. Self-contained, no framework. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-bold.woff2") format("woff2"); }

:root {
  --ink: #10140f;
  --lime: #cdf547;
  --n900: #101010;
  --n700: #4a4a4a;
  --n500: #6b6b6b;
  --n200: #e3e3e3;
  --n100: #f4f4f4;
  --paper: #f6f6f2;
  --white: #ffffff;
  --green: #2e9e6a;
  --amber: #d49b0b;
  --red: #e0533d;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(16, 20, 15, .04), 0 12px 40px -12px rgba(16, 20, 15, .14);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--n900);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.08rem; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.nav { display: none; gap: 28px; font-size: .94rem; }
.nav a { text-decoration: none; color: var(--n700); }
.nav a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; letter-spacing: -0.01em;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 20px -8px rgba(16,20,15,.5); }
.btn-primary:hover { transform: translateY(-1px); background: #000; }
.btn-primary .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(205,245,71,.18); }
.btn-ghost { color: var(--ink); border: 1px solid var(--n200); background: var(--white); }
.btn-ghost:hover { border-color: #cfcfcf; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* Eyebrow + pills */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--n500); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--n100); color: var(--n700); white-space: nowrap; }
.pill-soon { background: #fff6dc; color: #7a5a00; }
.pill-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 112px 0; } }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--n700); font-size: 1.1rem; margin-top: 18px; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--n700); line-height: 1.55; }

/* Hero */
.hero { padding: 40px 0 56px; position: relative; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .04em; }
.hero .lede { margin: 24px 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-notes { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--n500); }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { flex: none; }

.frame {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--n200); background: #fbfbf9; font-size: .78rem; color: var(--n500); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--n200); display: inline-block; }
.frame-bar span { margin-left: 8px; }
.frame-bar .pill { margin-left: auto; font-size: .7rem; }
.frame img { width: 100%; }

.hero-visual { position: relative; }
.hero-visual .phone {
  position: absolute; right: -14px; bottom: -40px; width: 30%; max-width: 190px;
  filter: drop-shadow(0 24px 40px rgba(16,20,15,.22));
  display: none;
}
@media (min-width: 640px) { .hero-visual .phone { display: block; } }
.score-chip {
  position: absolute; left: -10px; top: 26%;
  display: none; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--n200); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3;
}
.score-chip b { display: block; color: var(--ink); font-size: .95rem; }
.score-chip .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: var(--ink);
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--red) 67%, var(--n200) 0); }
@media (min-width: 1000px) { .score-chip { display: flex; left: -36px; } }

/* Problem */
.problem { background: var(--white); border-top: 1px solid var(--n200); border-bottom: 1px solid var(--n200); }
.problem-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.define { border-left: 3px solid var(--lime); padding: 4px 0 4px 18px; margin: 26px 0 0; color: var(--n700); }
.define strong { color: var(--ink); }
.leaks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.leaks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--n200); border-radius: var(--radius-sm); background: var(--paper); }
.leaks .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--n200); }
.leaks h3 { margin-bottom: 4px; }
.leaks p { margin: 0; color: var(--n700); font-size: .98rem; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius); padding: 28px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--lime); font-weight: 700; font-size: .95rem; margin-bottom: 22px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--n700); margin: 0; font-size: .98rem; }
.meter { display: flex; gap: 4px; margin-top: 20px; }
.meter span { flex: 1; height: 6px; border-radius: 3px; background: var(--n200); }
.meter .g { background: var(--green); } .meter .a { background: var(--amber); } .meter .r { background: var(--red); }
.outcomes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.outcomes span { font-size: .78rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--n100); color: var(--n700); }
.outcomes .ok { background: var(--ink); color: #fff; }
.flowline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 20px; font-size: .72rem; color: var(--n500); text-align: center; }
.flowline span { padding-top: 10px; border-top: 6px solid var(--n200); border-radius: 3px; }
.flowline .k { border-color: var(--green); color: var(--ink); font-weight: 600; }

/* Feature rows */
.feature-row { display: grid; gap: 36px; align-items: center; padding: 40px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--n200); }
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1.25fr; gap: 72px; padding: 64px 0; }
  .feature-row.flip .feature-copy { order: 2; }
}
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; font-weight: 700; margin-bottom: 16px; }
.feature-copy > p { color: var(--n700); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--n700); font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%23cdf547' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* Feature grid */
.fgrid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.fcard { background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius-sm); padding: 24px; }
.fcard .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--n200); margin-bottom: 18px; }
.fcard h3 { margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fcard p { margin: 0; color: var(--n700); font-size: .96rem; }
.fcard.soon { background: repeating-linear-gradient(135deg, #fff, #fff 10px, #fbfbf8 10px, #fbfbf8 20px); border-style: dashed; }

/* Money (dark) */
.money { background: var(--ink); color: #d9dcd5; }
.money h2, .money h3 { color: #fff; }
.money .eyebrow { color: #9ea39a; }
.money .eyebrow::before { background: var(--lime); }
.money .section-head p { color: #b8bcb3; }
.money-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .money-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.waterfall { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.waterfall li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.waterfall li b { color: #fff; font-weight: 600; display: block; }
.waterfall li small { color: #9ea39a; font-size: .86rem; }
.waterfall .bar { width: 96px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.waterfall .bar i { display: block; height: 100%; border-radius: 4px; }
.waterfall .kept { background: rgba(205,245,71,.08); border-color: rgba(205,245,71,.35); }
.roas-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.roas-pair div { padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); }
.roas-pair div:last-child { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.roas-pair b { display: block; font-size: 1.05rem; color: inherit; }
.roas-pair div:first-child b { color: #fff; }
.roas-pair small { font-size: .85rem; opacity: .85; }
.money .frame { border-color: rgba(255,255,255,.12); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.money .note { font-size: .82rem; color: #8d9289; margin-top: 14px; }
.money .ticks li { color: #c9ccc4; }
.money .ticks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%2310140f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.money .ticks strong { color: #fff; }

/* Trust */
.trust-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid > div { padding: 24px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--n200); }
.trust-grid h3 { margin: 14px 0 6px; font-size: 1.02rem; }
.trust-grid p { margin: 0; color: var(--n700); font-size: .94rem; }

/* Pricing */
.pricing { background: var(--white); border-top: 1px solid var(--n200); border-bottom: 1px solid var(--n200); }
.plans { display: grid; gap: 18px; max-width: 920px; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; gap: 22px; } }
.plan { border: 1px solid var(--n200); border-radius: var(--radius); padding: 32px 28px; background: var(--paper); display: flex; flex-direction: column; }
.plan.pro { background: var(--ink); color: #d9dcd5; border-color: var(--ink); }
.plan.pro h3, .plan.pro .price { color: #fff; }
.plan h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .price { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); margin: 18px 0 2px; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--n500); }
.plan.pro .price small { color: #9ea39a; }
.plan .quota { font-weight: 600; margin: 10px 0 22px; color: var(--ink); }
.plan.pro .quota { color: var(--lime); }
.plan .ticks { margin: 0 0 28px; flex: 1; }
.plan.pro .ticks li { color: #c9ccc4; }
.plan.pro .ticks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%2310140f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { width: 100%; }
.pricing-foot { color: var(--n500); font-size: .92rem; margin-top: 22px; max-width: 920px; }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq-list { border-top: 1px solid var(--n200); }
.faq-list details { border-bottom: 1px solid var(--n200); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.04rem; color: var(--ink); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--n500); border-bottom: 2px solid var(--n500); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list .a { padding: 0 0 22px; color: var(--n700); }
.faq-list .a p:last-child { margin-bottom: 0; }

/* Final CTA */
.final { padding: 24px 0 88px; }
.final-card {
  background: var(--ink); color: #c9ccc4; border-radius: 28px; padding: 48px 24px; text-align: center; position: relative; overflow: hidden;
}
@media (min-width: 720px) { .final-card { padding: 80px 48px; } }
.final-card::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(205,245,71,.16), transparent 70%);
  pointer-events: none;
}
.final-card > * { position: relative; }
.final-card h2 { color: #fff; max-width: 15em; margin: 0 auto; }
.final-card p { max-width: 34em; margin: 18px auto 30px; }
.final-card .cta-row { justify-content: center; }
.final-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Footer */
.site-footer { border-top: 1px solid var(--n200); padding: 48px 0 40px; font-size: .92rem; color: var(--n500); }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--n700); margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--n700); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .small { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--n200); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer p { max-width: 30em; }

/* Article (guide) */
.article-hero { padding: 40px 0 8px; }
@media (min-width: 900px) { .article-hero { padding: 72px 0 16px; } }
.crumbs { font-size: .88rem; color: var(--n500); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--n200); }
.crumbs a { color: var(--n700); text-decoration: none; }
.article-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 16em; }
.article-meta { color: var(--n500); font-size: .9rem; margin-top: 20px; }
.article-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 88px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { font-size: .92rem; }
@media (min-width: 1040px) { .toc { position: sticky; top: 96px; align-self: start; } }
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--n500); margin-bottom: 12px; font-weight: 600; }
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--n500); }
.toc a { color: var(--n700); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 700px; font-size: 1.06rem; line-height: 1.72; color: #262626; min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2em 0 .7em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.18rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose a { text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.callout { border: 1px solid var(--n200); background: var(--white); border-radius: var(--radius-sm); padding: 20px 22px; margin: 1.6em 0; font-size: 1rem; }
.callout.lime { border-left: 4px solid var(--lime); }
.callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--n200); border-radius: var(--radius-sm); background: var(--white); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 440px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--n200); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: #fafaf7; }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose tr.total td { font-weight: 700; color: var(--ink); background: #fbfde9; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; background: var(--ink); color: #e9ecdf; padding: 16px 18px; border-radius: var(--radius-sm); margin: 1em 0 1.4em; overflow-x: auto; white-space: pre; }
.guide-cta { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: #c9ccc4; }
.guide-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.5rem; }
.guide-cta p { font-size: 1rem; }

/* Simple pages */
.simple { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.simple h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 16px; }
.simple p { color: var(--n700); max-width: 30em; margin: 0 auto 26px; }
.simple .cta-row { justify-content: center; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Header actions + mobile menu (no JS: details/summary) */
.head-actions { display: flex; align-items: center; gap: 10px; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--n200); background: var(--white); display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--n200); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--paper); }
@media (min-width: 860px) { .menu { display: none; } .head-install { min-height: 40px; } }

.pill-lime { background: var(--lime); color: var(--ink); }
.more { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 1px; }
.more::after { content: " \2192"; }
.more:hover { border-bottom-color: var(--ink); }
.trust-more { margin-top: 24px; }
.grid-title { margin: 56px 0 4px; font-size: 1.3rem; }
a.fcard.link { text-decoration: none; display: block; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a.fcard.link:hover { border-color: #cfcfcf; transform: translateY(-2px); box-shadow: var(--shadow); }
.plan-tag { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 600; color: var(--n500); }
.btn-ghost.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Sub-page hero */
.page-hero { padding: 40px 0 24px; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 36px; } }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 17em; }
.page-hero .lede { margin-top: 20px; max-width: 38em; }
section.tight { padding: 32px 0; }
@media (min-width: 900px) { section.tight { padding: 48px 0; } }
.h-sm { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.narrow { max-width: 820px; }
.muted-p { color: var(--n500); font-size: .95rem; }

/* Feature detail */
.fhero { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .fhero { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.fh-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.fh-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); }
.fd-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .fd-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.fd-block { background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius); padding: 28px; }
.fd-block .h-sm { font-size: 1.25rem; margin-bottom: 14px; }
.fd-block p { color: var(--n700); }
.fd-block p:last-child { margin-bottom: 0; }
.fd-block .ticks { margin-top: 4px; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--n200); border-radius: var(--radius-sm); background: var(--white); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 480px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--n200); text-align: left; }
.compare thead th { background: #fafaf7; font-weight: 600; color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--n900); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; font-weight: 700; color: var(--ink); }
.compare .c { text-align: center; }
.compare td.c svg { display: inline-block; vertical-align: middle; }
.compare .muted { color: var(--n500); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* How it works */
.how-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .how-side { position: sticky; top: 96px; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 28px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--n200); }
.tl-n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 700; }
.timeline h3 { margin: 8px 0 6px; }
.timeline p { margin: 0; color: var(--n700); }
.how-side .callout { margin-top: 18px; }

/* FAQ page */
.faq-group + .faq-group { margin-top: 48px; }

/* Blog */
.post-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius); padding: 28px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card .eyebrow { margin-bottom: 14px; }
.post-card h2 { font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 12px; }
.post-card p { color: var(--n700); font-size: .98rem; flex: 1; }
.post-meta { font-size: .85rem; color: var(--n500); }
.prose .lead { font-size: 1.18rem; color: var(--n700); }
.prose .checklist { margin: 0; padding-left: 1.3em; }
.prose ul.ticks { padding-left: 0; }
.guide-cta .cta-row { margin-top: 6px; }
.prose .guide-cta a.btn { text-decoration: none; }
.article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.article-layout.no-toc .prose { margin: 0; }

/* Legal */
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
ul.plain { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
ul.plain li { margin-bottom: .55em; }
.prose code { font-size: .88em; background: var(--n100); padding: 1px 6px; border-radius: 5px; }

/* Contact + changelog */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius); padding: 32px 28px; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); margin-bottom: 18px; }
.big-link { font-size: clamp(1.05rem, 3.6vw, 1.35rem); font-weight: 600; color: var(--ink); word-break: break-all; }
.log-entry { background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius); padding: 32px 28px; }
.log-date { font-weight: 600; color: var(--n500); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.soon-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.soon-list li { padding: 14px 16px; border: 1px dashed #d8cfa8; background: #fffbea; border-radius: 12px; color: var(--n700); }
.h-sm .pill { vertical-align: middle; margin-left: 8px; }
.foot-gap { margin-top: 28px; }
.foot-brand .brand { margin-bottom: 14px; }

/* Layout refinements after visual review */
figure { margin: 0; }
:root { --wrap: 1240px; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: .95fr 1.15fr; }
  .feature-row { grid-template-columns: .85fr 1.3fr; }
  .feature-row.flip { grid-template-columns: 1.3fr .85fr; }
  .feature-row.flip .feature-copy { order: 2; }
}
.features-sec .section-head { margin-bottom: 0; }
.features-sec .feature-row:first-of-type { padding-top: 40px; }
.hero-visual .phone { right: -22px; bottom: -48px; width: 26%; max-width: 170px; }
.plan h3 { flex-wrap: wrap; }
.plan h3 .pill { white-space: normal; }
.table-wrap { position: relative; }
table.compare { min-width: 0; }
@media (max-width: 520px) { .compare th, .compare td { padding: 12px 10px; font-size: .9rem; } }
@media (min-width: 900px) { section { padding: 96px 0; } .features-sec { padding-top: 72px; } }
code { font-size: .88em; background: var(--n100); padding: 1px 6px; border-radius: 5px; }
.frame-bar span:not(.pill) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.plan .ticks { align-content: start; }
.prose table { min-width: 0; }
@media (max-width: 520px) { .prose th, .prose td { padding: 10px 10px; font-size: .88rem; } }
