/* revongrowth.com. Colours come from tokens.css (packages/brand). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--rg-charcoal);
  background: var(--rg-page);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rg-sage-ink); text-underline-offset: 3px; }
a:hover { color: var(--rg-sage-ink-2); }
:focus-visible { outline: 3px solid var(--rg-sage-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--rg-charcoal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--rg-sage-ink); color: #fff; }
.btn-primary:hover { background: var(--rg-sage-ink-2); color: #fff; }
.btn-ghost { border-color: var(--rg-line-strong); color: var(--rg-charcoal); background: #fff; }
.btn-ghost:hover { border-color: var(--rg-sage-ink); color: var(--rg-sage-ink); }
.btn-light { background: var(--rg-sage); color: var(--rg-charcoal-3); }
.btn-light:hover { background: #a7bcaa; color: var(--rg-charcoal-3); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(248 249 247 / 0.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rg-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 32px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--rg-charcoal); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--rg-sage-ink); }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rg-line-strong); background: #fff; border-radius: 10px; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--rg-charcoal); border-radius: 2px; position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--rg-page); border-bottom: 1px solid var(--rg-line); padding: 8px 16px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--rg-line); font-size: 16px; }
  .site-nav .btn { margin-top: 16px; height: 48px; }
}

/* Sections */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rg-sage-ink); }
.lede { font-size: 20px; color: var(--rg-steel); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--rg-steel); font-size: 18px; }
.alt { background: #fff; border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); }

/* Hero */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--rg-sage-ink); }
.hero .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--rg-steel); }
.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 54px); margin-top: 12px; max-width: 820px; }
.page-hero .lede { margin-top: 20px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 56px 0 48px; } }

/* Product illustration (built in HTML, not a screenshot) */
.mock { position: relative; background: #fff; border: 1px solid var(--rg-line); border-radius: 16px; box-shadow: 0 1px 2px rgb(32 38 45 / .05), 0 30px 60px -30px rgb(32 38 45 / .28); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--rg-line); background: var(--rg-panel); font-size: 13px; color: var(--rg-steel); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rg-line-strong); }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--rg-line); border-radius: 12px; }
.mock-row strong { display: block; font-size: 15px; }
.mock-row small { color: var(--rg-steel); font-size: 13px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--rg-sage-soft); color: var(--rg-sage-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--rg-sage-soft); color: var(--rg-sage-ink); white-space: nowrap; }
.chip.steel { background: var(--rg-panel); color: var(--rg-steel); }
.stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stage div { padding: 10px; border-radius: 10px; background: var(--rg-panel); font-size: 12px; color: var(--rg-steel); }
.stage b { display: block; font-size: 18px; color: var(--rg-charcoal); }
.stage div.on { background: var(--rg-sage-soft); color: var(--rg-sage-ink); }
.mock-caption { margin-top: 12px; font-size: 12px; color: var(--rg-steel-2); text-align: right; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--rg-line); border-radius: 16px; padding: 28px; }
.alt .card { background: var(--rg-page); }
.card h3 { font-size: 20px; margin-top: 14px; }
.card p { margin-top: 10px; color: var(--rg-steel); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--rg-sage-soft); color: var(--rg-sage-ink); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.product-card { display: flex; flex-direction: column; padding: 36px; }
.product-card h3 { font-size: 28px; }
.product-card .tag { margin-top: 6px; color: var(--rg-sage-ink); font-weight: 600; font-size: 15px; }
.product-card ul { margin: 20px 0 28px; }
.product-card .btn { margin-top: auto; align-self: flex-start; }
ul.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--rg-charcoal-2); font-size: 16px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--rg-sage-ink); border-bottom: 2px solid var(--rg-sage-ink); transform: rotate(-45deg); }
.soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--rg-panel); color: var(--rg-steel); font-size: 12px; font-weight: 600; vertical-align: 2px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 10px; }
.feature p { margin-top: 16px; color: var(--rg-steel); }
.feature ul.ticks { margin-top: 22px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.flip > :first-child { order: 0; } .feature + .feature { margin-top: 64px; } }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { list-style: none; counter-increment: s; background: #fff; border: 1px solid var(--rg-line); border-radius: 16px; padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rg-charcoal); color: #fff; font-weight: 700; font-size: 14px; }
.steps h3 { font-size: 19px; margin-top: 16px; }
.steps p { margin-top: 8px; color: var(--rg-steel); font-size: 16px; }
ol.steps { padding: 0; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Package table */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .packages { grid-template-columns: 1fr; } }
.package { background: #fff; border: 1px solid var(--rg-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.package.featured { border-color: var(--rg-sage-ink); box-shadow: 0 0 0 1px var(--rg-sage-ink); }
.package h3 { font-size: 22px; }
.package p.for { margin-top: 6px; color: var(--rg-steel); font-size: 15px; min-height: 48px; }
.package ul.ticks { margin: 18px 0 0; gap: 8px; }
.package ul.ticks li { font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rg-line); border-radius: 16px; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rg-line); }
table.compare thead th { font-size: 13px; color: var(--rg-steel); font-weight: 600; background: var(--rg-panel); }
table.compare td.y { color: var(--rg-sage-ink); font-weight: 700; }
table.compare td.n { color: var(--rg-steel-3); }
table.compare tr:last-child td { border-bottom: 0; }

/* Prose (legal, security) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--rg-charcoal-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose .muted { color: var(--rg-steel); font-size: 15px; }

/* Contact */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; }
.contact-card .big { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--rg-charcoal); word-break: break-all; }

/* CTA band */
.cta { background: var(--rg-charcoal); color: #fff; padding: 88px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); max-width: 640px; }
.cta p { margin-top: 14px; color: var(--rg-on-dark); max-width: 560px; }
.cta .mark { width: 72px; height: auto; margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--rg-charcoal-3); color: var(--rg-on-dark); padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.footer-grid > * { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer a { color: var(--rg-on-dark); text-decoration: none; word-break: break-all; }
.site-footer a:hover { color: #fff; }
.footer-mark { width: 40px; }
.footer-tag { margin-top: 12px; max-width: 240px; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rg-charcoal-2); font-size: 13px; }

.draft-banner { background: var(--rg-warn); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: 48px; }
.notfound p { margin: 16px auto 28px; color: var(--rg-steel); }
.pt-0 { padding-top: 0; }
.mt { margin-top: 24px; }
.fineprint { margin-top: 20px; font-size: 14px; color: var(--rg-steel); }
