/* System fonts only: nothing is loaded from third parties, so the site needs no cookie or consent banner. */
:root {
  --ink: #0e0f12;
  --ink-2: #1a1c21;
  --paper: #f6f3ee;
  --card: #fffdf9;
  --line: #ddd8cf;
  --muted: #5d5a55;
  --muted-dark: #a9a59d;
  --red: #ff3d2e;
  --red-text: #c9281a; /* 4.9:1 on paper; --red itself is only 3.2:1 */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 650; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }
a { color: var(--red-text); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
mark { background: #ffe14d; color: var(--ink); padding: 0 0.2em; }

.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--paper); border-bottom: 1px solid #ffffff1a; }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font: 600 1.05rem var(--mono); letter-spacing: -0.02em; margin-right: auto; }
.mark { width: 2rem; height: 2rem; border-radius: 0.4rem; box-shadow: 0 0 0 1px #ffffff26; }
.top nav { display: flex; gap: 1.5rem; }
.top nav a, .lang { color: var(--muted-dark); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover, .lang:hover { color: var(--paper); }
@media (max-width: 52rem) { .top nav { display: none; } }
@media (max-width: 26rem) { .lang { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--red); color: var(--ink); font-weight: 650; text-decoration: none; padding: 0.8rem 1.3rem; border-radius: 0.5rem; border: 1.5px solid var(--red); }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 0.45rem 0.9rem; font-size: 0.95rem; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--paper); border-color: #ffffff59; }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 52rem) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { font: 500 0.85rem var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); margin-bottom: 1.25rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d5cd; margin-top: 1.5rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.flow { margin: 0; background: var(--ink-2); border: 1px solid #ffffff1f; border-radius: 1rem; padding: 1.5rem; font-family: var(--mono); font-size: 0.9rem; }
.flow figcaption { display: flex; justify-content: space-between; align-items: center; color: var(--muted-dark); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.tag { font: 500 0.7rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid currentColor; border-radius: 99px; padding: 0.15rem 0.6rem; }
.flow-name { font-size: 1.15rem; margin: 0.75rem 0 1.25rem; }
.flow-name::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 0.25em; background: var(--red); vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow-name::after { animation: none; } }
.flow ol { list-style: none; margin: 0; padding: 0; }
.flow li { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid #ffffff14; font-size: 0.85rem; }
.flow li::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--paper); }
.flow li span:last-child { margin-left: auto; color: var(--muted-dark); white-space: nowrap; }
.flow li.pending { color: var(--muted-dark); }
.flow li.pending::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--red); }
.flow-foot { padding-top: 1rem; border-top: 1px solid #ffffff1f; color: #d9d5cd; font-size: 0.85rem; }

/* Sections */
.block { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.block > h2 { margin-bottom: 2.5rem; max-width: 22ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem; }
.card p { color: var(--muted); margin-top: 0.75rem; }
.num { display: block; font: 500 0.85rem var(--mono); color: var(--red-text); margin-bottom: 2.5rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: "0" counter(step); display: block; font: 500 0.85rem var(--mono); color: var(--red-text); margin-bottom: 0.75rem; }
.steps p { color: var(--muted); margin-top: 0.5rem; }

.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan.featured .sub, .plan.featured li { color: #d9d5cd; }
.plan .tag { position: absolute; top: -0.75rem; left: 1.5rem; background: var(--red); color: var(--ink); border-color: var(--red); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 1.5rem !important; color: inherit !important; }
.price b { font-size: 2.1rem; letter-spacing: -0.03em; line-height: 1; }
.price span { font: 0.9rem var(--mono); opacity: 0.7; }
.sub { font-size: 0.95rem; margin-top: 0.4rem !important; }
.plan ul { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.6rem; flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; background: var(--red); border-radius: 2px; }
.plan .btn { text-align: center; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 1.25rem; }

.big { background: var(--ink); color: var(--paper); margin-top: clamp(3.5rem, 8vw, 6rem); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.big h2 { max-width: 20ch; }
.big p:not(.eyebrow) { color: #d9d5cd; max-width: 40rem; margin: 1.25rem 0 2rem; font-size: 1.15rem; }

.contact { text-align: center; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.contact h2 { margin-inline: auto; margin-bottom: 1rem; }
.contact p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; font-size: 1.15rem; }

.foot { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
.foot p + p { margin-top: 0.4rem; }
.foot a { color: inherit; }

.prose { max-width: 44rem; padding: clamp(3rem, 7vw, 5rem) 0; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.35rem; margin: 2.25rem 0 0.6rem; }
.prose p + p { margin-top: 1rem; }

/* Services */
.block > h2:has(+ .section-lead) { margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin-bottom: 2.5rem; }
.cards.services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.services .card { display: flex; flex-direction: column; }
.services .num { margin-bottom: 1.5rem; }
.subs { list-style: none; margin: auto 0 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subs li { font: 500 0.8rem var(--mono); border: 1px solid var(--line); border-radius: 99px; padding: 0.25rem 0.7rem; }
