/* Superior Actors: white, airy (Vercel), dotted hero with a live input (Firecrawl), one cobalt accent. Mobile first. */
:root {
  --bg: #ffffff; --fg: #0b0d12; --muted: #5b616e; --faint: #8a909c; --line: #e7e9ee; --soft: #f6f7f9;
  --accent: #2457f5; --accent-dark: #1b44c4; --accent-soft: #eef2ff; --ok: #12805c; --ok-soft: #e7f5ef; --warn: #b4580b;
  --display: 'Geist', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --body: 'Geist', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --radius: 12px; --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.01em; }
.logo span.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--fg); display: grid; place-items: center; }
.logo span.mark::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--bg); transform: rotate(45deg); }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
nav.main a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 18px; font: 500 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.dark { background: var(--fg); color: #fff; }
.btn.dark:hover { background: #262a33; }
.btn.blue { background: var(--accent); color: #fff; }
.btn.blue:hover { background: var(--accent-dark); }
.btn.line { background: var(--bg); color: var(--fg); border-color: var(--line); }
.btn.line:hover { border-color: #cfd3db; }
.btn.small { padding: 8px 14px; font-size: 14px; }
@media (max-width: 720px) { nav.main a.hide-m { display: none; } nav.main { gap: 14px; } }

/* hero with live demo */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
  background-image: radial-gradient(circle, #d9dde5 1px, transparent 1.2px); background-size: 22px 22px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,.96) 40%, rgba(255,255,255,.55) 75%, rgba(255,255,255,0) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 10vw, 112px) clamp(48px, 8vw, 88px); text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; }
.pill { flex-wrap: wrap; justify-content: center; }
.pill b { white-space: nowrap; background: var(--accent-soft); color: var(--accent); font-weight: 600; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
h1 { font: 600 clamp(36px, 6.4vw, 68px)/1.04 var(--display); letter-spacing: -.035em; margin: 22px auto 16px; max-width: 15ch; text-wrap: balance; }
.lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--muted); max-width: 56ch; margin: 0 auto; text-wrap: balance; }
.demo { max-width: 640px; margin: 34px auto 0; text-align: left; }
.demo form { display: flex; gap: 8px; background: var(--bg); border: 1px solid #d5d9e1; border-radius: 14px; padding: 7px; box-shadow: 0 1px 2px rgba(15,20,30,.04), 0 12px 32px -12px rgba(15,20,30,.18); }
.demo form:focus-within { border-color: var(--accent); }
.demo input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px/1.2 var(--mono); padding: 10px 10px; background: transparent; color: var(--fg); }
.demo .hint { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--faint); }
.demo .hint button { border: 0; background: none; color: var(--muted); font: 13px var(--mono); cursor: pointer; padding: 0; text-decoration: underline dotted; }
.spin { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.busy .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.result { margin-top: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 12px 32px -16px rgba(15,20,30,.18); }
.result .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font: 500 14px var(--mono); color: var(--muted); }
.badge { font: 600 12px/1 var(--body); border-radius: 999px; padding: 5px 9px; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.no { background: var(--soft); color: var(--muted); }
.result dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; font-size: 14.5px; }
.result dt { color: var(--faint); }
.result dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13.5px; }
.result .phase { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.result .phase i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--soft), #eceef2, var(--soft)); background-size: 200% 100%; animation: sh 1.2s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.result .cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.result .err { color: var(--warn); }
@media (max-width: 560px) {
  .demo form { flex-direction: column; }
  .demo .btn { width: 100%; padding: 13px; }
  .result dl { grid-template-columns: 1fr; gap: 2px; }
  .result dt { margin-top: 6px; }
}

/* sections */
section.block { padding-block: clamp(56px, 9vw, 96px); border-bottom: 1px solid var(--line); }
.eyebrow { font: 500 13px var(--mono); color: var(--accent); letter-spacing: .02em; }
h2 { font: 600 clamp(28px, 4vw, 42px)/1.1 var(--display); letter-spacing: -.03em; margin: 10px 0 14px; max-width: 22ch; text-wrap: balance; }
h3 { font: 600 18px/1.3 var(--display); letter-spacing: -.01em; margin: 0 0 6px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); font: 600 13px var(--mono); margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* sheet mock */
.sheet { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: 0 20px 50px -30px rgba(15,20,30,.3); }
.sheet .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.sheet .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dae0; }
.sheet .scroll { overflow-x: auto; }
.sheet table { border-collapse: collapse; width: 100%; min-width: 760px; font: 13px/1.4 var(--mono); }
.sheet th { background: var(--soft); color: var(--muted); font-weight: 500; text-align: left; }
.sheet th, .sheet td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 10px; white-space: nowrap; }
.sheet td.new { background: #f7faff; }
.sheet td .st { color: var(--ok); }

/* pricing */
.billing { display: inline-flex; margin-top: 28px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: var(--soft); }
.billing button { border: 0; background: none; font: 500 14px var(--body); padding: 8px 14px; border-radius: 7px; cursor: pointer; color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.billing small { color: var(--ok); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); min-width: 0; }
.plan.rec { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); position: relative; }
.plan.rec::before { content: "Recommended"; position: absolute; top: -11px; left: 20px; background: var(--accent); color: #fff; font: 600 11.5px/1 var(--body); padding: 5px 9px; border-radius: 999px; }
.plan .name { font: 600 15px var(--display); }
.plan .price { font: 600 38px/1 var(--display); letter-spacing: -.03em; }
.plan .price small { font: 400 14px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .was { font-size: 13.5px; color: var(--faint); min-height: 20px; }
.plan .was s { margin-right: 6px; }
.plan .was b { color: var(--ok); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--ok); margin-right: 8px; }
.plan .unit { font: 13px var(--mono); color: var(--faint); }
.plan .btn { margin-top: auto; width: 100%; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; gap: 22px; } .plan.rec { order: -1; } }

/* faq */
.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 500 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

/* tool cards on the home page */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tool:hover { border-color: #cfd3db; }
.tool .kind { font: 500 12.5px var(--mono); color: var(--faint); }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }
.tool .go { margin-top: auto; color: var(--accent); font-size: 14.5px; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } }

/* legal pages and footer */
main.doc { padding-block: 48px 72px; }
main.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; max-width: none; text-align: left; }
main.doc h2 { font-size: 22px; margin-top: 32px; max-width: none; }
main.doc p, main.doc li { color: #2d323b; max-width: 72ch; }
main.doc .tablewrap { overflow-x: auto; }
main.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
main.doc td, main.doc th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
footer.site { padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }
footer.site a:hover { color: var(--fg); }
