/* Verulla marketing — Paper / Signal. Fonts self-hosted (no third-party requests).
   All colours live in the theme blocks below; swap themes with <html data-theme="midnight">. */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

:root { /* Paper / Signal */
  --ground: #F5F5F2; --surface: #EAEAE5; --raised: #E2E2DC;
  --line: #D9D9D3; --line-strong: #A8A8A1; --dim: #CFCFC8;
  --ink: #0B0B0C; --muted: #4A4A47; --subtle: #66665F;
  --accent: #FF4F1F; --on-accent: #0B0B0C; --label: #C2360F; --mark: #FF4F1F;
  --band: #0B0B0C; --band-ink: #F5F5F2; --band-muted: #B4B4B0;
  --err: #9B1C0A;
  --mono: "Space Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
}
:root[data-theme="midnight"] {
  --ground: #0B0B0C; --surface: #141416; --raised: #1A1A1C;
  --line: #222224; --line-strong: #3A3A3D; --dim: #2A2A2D;
  --ink: #F5F5F2; --muted: #B4B4B0; --subtle: #8C8C88;
  --accent: #C6F432; --on-accent: #0B0B0C; --label: #C6F432; --mark: #C6F432;
  --band: #F5F5F2; --band-ink: #0B0B0C; --band-muted: #4A4A47;
  --err: #FF8A87;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .accent-band :focus-visible { outline-color: currentColor; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -64px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 20px; font-family: var(--mono); font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-family: var(--mono); font-size: 14px; color: var(--label); letter-spacing: .08em; }
.small { font-size: 15px; }

/* header */
header.site { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.glyph { width: 44px; height: 25px; display: block; }
.glyph .px { fill: var(--ink); }
.glyph .pxm { fill: var(--mark); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.links a:not(.btn) { color: var(--muted); text-decoration: none; padding: 10px 0; }
.links a:not(.btn):hover { color: var(--ink); text-decoration: underline; }

/* buttons */
.btn { display: inline-block; text-align: center; text-decoration: none; font-family: var(--sans); font-size: 17px; font-weight: 600; padding: 12px 20px; border: 1px solid transparent; cursor: pointer; }
.btn-lg { padding: 16px 28px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(.94); }
.btn-outline { display: block; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 500; padding: 14px 20px; text-align: center; }
.btn-outline.btn { display: inline-block; }
.btn-outline:hover { background: var(--surface); }
.plan .btn-accent { border-color: var(--accent); font-weight: 600; }
.btn-dark { background: var(--on-accent); color: var(--accent); }
.btn-dark:hover { opacity: .88; }
.btn-ghost { border: 2px solid var(--on-accent); color: var(--on-accent); padding: 14px 26px; }
.btn-ghost:hover { background: rgba(11,11,12,.1); }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.lead { max-width: 34rem; font-size: 20px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { flex: 1 1 420px; min-width: 0; height: 440px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.glyph.glyph-xl { width: 220px; height: 124px; }
.hero-visual .px { fill: var(--dim); }

/* sections */
.sec { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.sec-tight { padding-top: 0; padding-bottom: 112px; gap: 48px; }
#features { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 44rem; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.sub { color: var(--muted); font-size: 18px; }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 2px; background: var(--line); }
.feat { background: var(--ground); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.feat p { color: var(--muted); }
.pips { display: flex; gap: 4px; }
.pip { width: 14px; height: 14px; display: block; }
.pip-ink { background: var(--ink); } .pip-line { background: var(--line-strong); } .pip-mark { background: var(--mark); }

/* dark band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--band-muted); }
.band .sec { padding-top: 112px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--band-ink); padding-top: 24px; }
.step .num { font-family: var(--mono); font-weight: 700; font-size: 40px; line-height: 1; }
.step h3 { font-size: 22px; }
.step p { color: var(--band-muted); }

/* promise */
.promise { max-width: 56rem; display: flex; flex-direction: column; gap: 32px; }
.promise-text { font-size: clamp(24px, 3vw, 40px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.promise figcaption { color: var(--subtle); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.plan { border: 1px solid var(--dim); background: var(--ground); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan.featured { border-color: var(--accent); background: var(--surface); }
.plan-name { font-family: var(--mono); font-weight: 700; letter-spacing: .06em; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.price .unit { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--subtle); margin-top: 4px; }
.plan-body { color: var(--muted); flex: 1; }
.fine { color: var(--subtle); font-size: 15px; max-width: 52rem; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-family: var(--mono); font-size: 24px; color: var(--label); }
.qa[open] summary::after { content: "–"; }
.qa p { color: var(--muted); max-width: 46rem; padding-bottom: 24px; }

/* closing band + form */
.accent-band { background: var(--accent); color: var(--on-accent); }
.close { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.close-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.accent-band h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.close-text > p { font-size: 18px; max-width: 34rem; }
.signup { max-width: 34rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 17px; padding: 16px; border: 2px solid var(--on-accent); background: var(--ground); color: var(--ink); border-radius: 0; }
.signup input[aria-invalid=true] { border-color: var(--err); }
.signup button { padding: 16px 28px; border: 0; }
.signup button:disabled { opacity: .6; cursor: default; }
.note { margin-top: 12px; font-size: 15px; }
.note.err { font-weight: 700; }

/* footer */
.foot { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.wordmark-txt { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.mark-us { color: var(--label); }
.foot-brand .small { color: var(--subtle); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { color: var(--muted); text-decoration: none; padding: 2px 0; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 600px) {
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero-visual { height: 240px; }
  .glyph.glyph-xl { width: 160px; height: 90px; }
  .sec { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .sec-tight { padding-top: 0; padding-bottom: 72px; }
  .band .sec { padding-top: 72px; }
  .close { padding-top: 64px; padding-bottom: 64px; }
  .feat, .plan { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
