/* ---------------------------------------------------------------------------
   Vela — public site.
   Shares the extension's palette so the site and the product read as one thing.
--------------------------------------------------------------------------- */
:root {
  --bg: #FBFCFC; --surface: #FFFFFF; --surface-2: #F1F4F4;
  --ink: #0F1615; --ink-2: #3D4B4A; --muted: #6C7D7B;
  --line: #E2E8E7; --line-2: #CDD7D5;
  --accent: #0E6357; --accent-hover: #0A4D44; --accent-soft: #E2EFEC; --accent-line: #B9D8D1;
  --r: 10px;
  --f: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1112; --surface: #151A1B; --surface-2: #1C2324;
    --ink: #E7EDEB; --ink-2: #B9C6C4; --muted: #8A9A98;
    --line: #262F30; --line-2: #384344;
    --accent: #43A895; --accent-hover: #58BFAB; --accent-soft: #14302A; --accent-line: #1F4840;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 860px; margin: 0 auto; padding-inline: 22px; }
.narrow { max-width: 680px; }

/* nav */
nav {
  border-bottom: 1px solid var(--line); background: var(--surface);
  position: sticky; top: 0; z-index: 10;
}
nav .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px;
         letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
nav a.link { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
nav a.link:hover { color: var(--accent); }
@media (max-width: 560px) { nav a.link.hide-sm { display: none; } }

/* type */
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.08; letter-spacing: -.03em;
     margin: 0 0 18px; text-wrap: balance; font-weight: 700; }
h2 { font-size: 24px; letter-spacing: -.018em; margin: 44px 0 10px; font-weight: 650; text-wrap: balance; }
h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 620; }
p { margin: 0 0 15px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 7px; }
li::marker { color: var(--muted); }
a { color: var(--accent); }
strong { font-weight: 620; }
.lede { font-size: 18.5px; color: var(--ink-2); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
code { font-family: var(--f-mono); font-size: .87em; background: var(--surface-2);
       border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }

/* hero */
.hero { padding-block: 72px 40px; }
.cta {
  display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 22px; border-radius: var(--r);
}
.cta:hover { background: var(--accent-hover); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 26px 0 10px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.plan.pop { border-color: var(--accent); }
.plan-name { font-weight: 650; font-size: 15px; }
.plan-price { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 2px;
              font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-cr { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* legal docs */
.doc { padding-block: 44px 20px; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.doc p, .doc li { font-size: 15.5px; }
.updated { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
           border-radius: 0 var(--r) var(--r) 0; padding: 15px 17px; margin: 0 0 20px; }
.callout p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 0 0 20px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

footer {
  border-top: 1px solid var(--line); margin-top: 70px; padding-block: 28px 44px;
  font-size: 14px; color: var(--muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .sp { margin-left: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
