:root {
  --bg: #0d1619; --bg-1: #121d21; --bg-2: #17262c; --bg-3: #1f3239; --line: #2d4a54;
  --text: #e8ecee; --text-2: #a9bac1;
  --accent: #14d9c3; --accent-2: #4be8d6; --on-accent: #062a30;
  --ink: #0d1619; --ink-2: #3e535b; --paper: #ffffff; --paper-2: #f2f6f7; --rule: #d9e3e6;
  --teal-ink: #0a6f66;
  --blue: #3b78b4; --amber: #d9a03a; --violet: #9567e0; --green: #3d8f45; --coral: #ff6b57;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 7.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.8vw, 2.9rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--ink-2); max-width: 40em; }
.dark .lead, .hero .lead, .signup .lead, .page-head .lead { color: var(--text-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 650; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1f3239; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 550; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn { min-height: 40px; padding: 0 18px; color: var(--on-accent); font-size: .95rem; }
.nav .btn:hover { color: var(--on-accent); }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } .brand img { height: 26px; } }
.site-header.solid { position: relative; background: var(--bg); }

/* Hero */
.hero { background: radial-gradient(900px 500px at 80% -10%, rgba(20,217,195,.18), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(59,120,180,.14), transparent 60%), var(--bg); color: var(--text); padding: 116px 0 0; overflow: hidden; }
.hero h1 { max-width: 12em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--text-2); }
.hero { position: relative; padding-bottom: 84px; }
.hero > .wrap { position: relative; z-index: 1; }

/* Hero backdrop: a faded, tilted capture of the real editor behind the headline. Decorative only (aria-hidden). */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; perspective: 1800px; perspective-origin: 50% 20%; }
.hero-bg .plane { position: absolute; left: 50%; top: 40px; width: min(1400px, 180vw); transform: translateX(-50%); }
.hero-bg .tilt { transform: rotateX(17deg) rotateZ(-1.6deg) scale(1.04); transform-origin: 50% 0; animation: hero-drift 60s ease-in-out infinite alternate; will-change: transform; }
.hero-bg img { display: block; width: 100%; height: auto; opacity: .2; filter: blur(2.5px) brightness(2.3) contrast(1.15);
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 28%, transparent 86%); mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 28%, transparent 86%); }
/* Keep it dim behind the words (left) and melt it into the slate at the edges and bottom. */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,22,25,.66) 0%, rgba(13,22,25,.34) 50%, rgba(13,22,25,0) 80%), linear-gradient(180deg, rgba(13,22,25,0) 62%, var(--bg) 100%); }
@keyframes hero-drift { from { transform: rotateX(17deg) rotateZ(-1.6deg) scale(1.04) translate3d(-1.5%, 0, 0); } to { transform: rotateX(15deg) rotateZ(-1deg) scale(1.08) translate3d(1.5%, -1%, 0); } }
@media (max-width: 640px) {
  .hero-bg { perspective: 1200px; }
  .hero-bg .plane { top: 120px; width: 230vw; }
  .hero-bg .tilt { transform: rotateX(10deg) rotateZ(-1deg); animation-name: hero-drift-m; }
  .hero-bg img { opacity: .2; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(13,22,25,.55) 0%, rgba(13,22,25,.35) 55%, var(--bg) 100%); }
  .hero { padding-bottom: 56px; }
}
@keyframes hero-drift-m { from { transform: rotateX(10deg) rotateZ(-1deg) translate3d(-3%, 0, 0); } to { transform: rotateX(10deg) rotateZ(-1deg) translate3d(3%, 0, 0); } }

/* Showcase: the real editor, in a browser frame, with callouts on real UI */
.showcase { padding-top: 0; margin-top: -56px; position: relative; z-index: 2; }
.shot { margin: 0; }
.shot-frame { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 90px rgba(20,217,195,.10); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); }
.shot-bar b { margin: 0 auto; transform: translateX(-24px); font-weight: 500; font-size: 12px; color: var(--text-2); background: var(--bg); border-radius: 6px; padding: 3px 28px; }
.shot-view { position: relative; line-height: 0; }
.shot-view img { display: block; width: 100%; height: auto; }
.callouts { position: absolute; inset: 0; line-height: 1.3; }
.callout { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.callout::before { content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,217,195,.28), 0 0 0 1px rgba(6,42,48,.6); }
.callout .tag { position: absolute; white-space: nowrap; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; letter-spacing: 0; text-transform: none; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.callout .tag.wrap { white-space: normal; width: 128px; border-radius: 14px; top: -22px !important; }
.callout .tag::after { content: ""; position: absolute; background: var(--accent); }
.callout.left .tag { right: 24px; top: -14px; } .callout.left .tag::after { left: 100%; top: 50%; width: 12px; height: 2px; }
.callout.right .tag { left: 24px; top: -14px; } .callout.right .tag::after { right: 100%; top: 50%; width: 12px; height: 2px; }
.callout.below .tag { left: 0; top: 26px; transform: translateX(-50%); } .callout.below .tag::after { left: 50%; bottom: 100%; width: 2px; height: 14px; }
@media (max-width: 760px) {
  .callouts { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; background: var(--bg-1); line-height: 1.3; }
  .callout { position: static; width: auto; height: auto; }
  .callout::before, .callout .tag::after { display: none; }
  .callout .tag { position: static; transform: none !important; font-size: 12.5px; padding: 5px 11px; box-shadow: none; }
}

/* Sections */
section { padding: 88px 0; }
@media (max-width: 600px) { section { padding: 64px 0; } }
.section-head { max-width: 44em; margin-bottom: 48px; }
.section-head h2 + p { margin-top: 16px; }
.alt { background: var(--paper-2); }
.dark { background: var(--bg); color: var(--text); }
.dark h2, .dark h3 { color: #fff; }

.steps { display: grid; gap: 20px; counter-reset: s; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg-1); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.feature.big { border-color: rgba(20,217,195,.5); background: linear-gradient(180deg, rgba(20,217,195,.09), var(--bg-1)); }
@media (min-width: 1000px) { .feature.wide { grid-column: span 2; } }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(20,217,195,.14); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: .98rem; }

.who { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; border-left: 4px solid var(--accent); }
.who p { margin-top: 6px; color: var(--ink-2); font-size: .96rem; }

.faq { max-width: 52em; }
details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.1rem; padding: 18px 36px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--teal-ink); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 42em; }

/* Waitlist */
.signup { background: radial-gradient(700px 360px at 50% 0, rgba(20,217,195,.16), transparent 70%), var(--bg); color: var(--text); text-align: center; }
.signup h2 { color: #fff; }
.signup .lead { margin: 16px auto 0; }
.wl { margin: 36px auto 0; max-width: 560px; display: grid; gap: 12px; text-align: left; }
.wl label { font-size: .85rem; font-weight: 600; color: var(--text-2); display: grid; gap: 6px; }
.wl input, .wl select { font: inherit; color: var(--text); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 50px; width: 100%; }
.wl input:hover, .wl select:hover { border-color: #4a7280; }
.wl input:focus-visible, .wl select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl .btn { margin-top: 4px; }
.wl-msg { min-height: 1.5em; font-size: .95rem; color: var(--text-2); text-align: center; }
.wl-msg.ok { color: var(--accent); font-weight: 600; }
.wl-msg.err { color: #ffb4a8; }
.wl-msg a { color: var(--accent); }

/* Footer */
footer { background: #091013; color: var(--text-2); padding: 48px 0 40px; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer img { height: 28px; width: auto; margin-bottom: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--accent); text-decoration: underline; }
.legal { width: 100%; padding-top: 24px; border-top: 1px solid #1c2c32; font-size: .85rem; }

/* Inner pages */
.page-head { background: var(--bg); color: var(--text); padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page-head .lead { margin-top: 16px; }
.prose { max-width: 44em; padding: 56px 0 96px; }
.prose p { margin-bottom: 16px; color: var(--ink-2); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(245,185,66,.16); color: #8a5a00; border: 1px solid rgba(245,185,66,.5); }
.dark .badge, .page-head .badge { color: #f5b942; }
.tiers { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 56px 0 24px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { border: 1px solid var(--rule); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,217,195,.25); }
.tier .price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink-2); }
.tier ul { margin: 0; padding: 0 0 0 1.1em; color: var(--ink-2); display: grid; gap: 8px; flex: 1; }
.tier .btn { margin-top: 8px; }
.fine { color: var(--ink-2); font-size: .95rem; max-width: 44em; padding-bottom: 96px; }
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--teal-ink); }
.notfound p { margin: 16px auto 28px; color: var(--ink-2); }

/* Reveal motion */
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Nav: keep Compare visible on phones */
@media (max-width: 560px) { .nav a.keep { display: inline-flex; padding: 10px 8px; } .nav a { white-space: nowrap; } .nav .btn { padding: 0 12px; font-size: .88rem; } .site-header .wrap { gap: 4px; } }

/* Team cards with status tags */
.who.teams > div { display: flex; flex-direction: column; align-items: flex-start; }
.who.teams p { margin-top: 10px; }
.tag { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.tag.on { background: #dff5f1; color: #075a52; border: 1px solid #9bd8cf; }
.tag.dev { background: #fdf1d8; color: #7a4f00; border: 1px solid #ecc67a; }
.more { margin-top: 28px; font-weight: 600; }

/* Compare page */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
.tbl-wrap:focus-visible { outline-offset: 2px; }
table.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 900px; font-size: .92rem; line-height: 1.4; }
.cmp caption { text-align: left; padding: 14px 16px; font-weight: 650; color: var(--ink-2); caption-side: top; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.cmp thead th { background: var(--bg); color: #fff; font-weight: 650; font-size: .88rem; vertical-align: bottom; }
.cmp thead th small { display: block; color: var(--text-2); font-weight: 450; margin-top: 2px; }
.cmp tbody th { font-weight: 650; background: var(--paper-2); width: 17%; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--rule); }
.cmp thead th:first-child { z-index: 2; box-shadow: none; }
.cmp thead th.us { background: #0b3b3a; border-top: 3px solid var(--accent); }
.cmp td.us { background: #e3f6f3; border-left: 1px solid #9bd8cf; border-right: 1px solid #9bd8cf; }
.cmp .badge { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; }
.v { display: block; font-weight: 700; }
.v.y { color: #075a52; } .v.p { color: #7a4f00; } .v.n { color: #8a2b1d; } .v.c { color: #3b4e8c; }
.v::before, .ic { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; font-size: .78rem; font-weight: 800; margin-right: 6px; vertical-align: .05em; font-style: normal; }
.ic { margin-right: 4px; }
.v.y::before, .ic.y { background: #075a52; color: #fff; }
.v.p::before, .ic.p { background: #f3d79b; color: #5c3b00; }
.v.n::before, .ic.n { background: #f4cfc8; color: #8a2b1d; }
.v.c::before, .ic.c { background: #d9def2; color: #3b4e8c; }
.v.y::before { content: "\2713" / ""; } .v.p::before { content: "~" / ""; } .v.n::before { content: "\2715" / ""; } .v.c::before { content: "\2022" / ""; }
.ic.y::before { content: "\2713"; } .ic.p::before { content: "~"; } .ic.n::before { content: "\2715"; } .ic.c::before { content: "\2022"; }
.why { background: linear-gradient(180deg, #e3f6f3, #f2fbf9); border: 1px solid #9bd8cf; border-radius: 16px; padding: 24px 26px; margin-bottom: 28px; }
.why h2 { font-size: 1.3rem; margin-bottom: 12px; }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 800px) { .why ul { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.why li { color: var(--ink-2); font-size: .98rem; } .why li b { display: block; color: var(--teal-ink); font-size: 1.05rem; }
@media (max-width: 700px) { .cmp tbody th { min-width: 118px; max-width: 118px; font-size: .85rem; } .cmp thead th:first-child { min-width: 118px; } .cmp td { min-width: 190px; } }
.cmp td span.d { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 2px; font-weight: 400; }
sup a { text-decoration: none; font-weight: 700; padding: 0 1px; }
.cols2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .cols2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; }
.card h3 { margin-bottom: 8px; } .card p, .card li { color: var(--ink-2); font-size: .97rem; }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
ol.src { padding-left: 1.6em; display: grid; gap: 8px; color: var(--ink-2); font-size: .92rem; overflow-wrap: anywhere; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; margin: 14px 0 0; color: var(--ink-2); }
.small { font-size: .88rem; color: var(--ink-2); }
.pad { padding: 56px 0; }
