/* Design tokens derived from the reverse-brand measurements (neutral palette, pill buttons, 20px cards,
   4px spacing base, light/dark band rhythm). No third-party logos or font files are used. */
:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --type-display-size: clamp(40px, 1.6rem + 3.6vw, 80px);
  --type-display-line: 1.02;
  --type-display-tracking: -0.024em;
  --type-h2-size: clamp(32px, 1.6rem + 1.5vw, 52px);
  --type-h3-size: clamp(22px, 1.1rem + 0.8vw, 30px);
  --type-lead-size: clamp(18px, 1rem + 0.48vw, 23px);
  --type-body-size: clamp(16px, 0.95rem + 0.19vw, 18px);
  --type-small-size: 14px;
  --color-background: #ffffff;
  --color-surface: #f7f7f7;
  --color-surface-inverse: #000000;
  --color-surface-inverse-2: #191c1f;
  --color-text: #1f1f1f;
  --color-text-muted: #5f5f62;
  --color-text-inverse: #f2f2f4;
  --color-text-inverse-muted: #c9c9cd;
  --color-action: #1f1f1f;
  --color-on-action: #ffffff;
  --color-accent: #6fa0ff;
  --color-accent-strong: #2f6fe8;
  --color-border: #d9d9dc;
  --color-error: #c4302b;
  --gradient-brand: radial-gradient(110% 90% at 15% 10%, #6fa0ff 0%, transparent 55%), radial-gradient(80% 80% at 90% 95%, #2f6fe8 0%, transparent 60%), linear-gradient(#000, #000);
  --space: 4px;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --button-height: 48px;
  --button-padding-x: 24px;
  --container: 1120px;
  --gutter: 24px;
  --nav-height: 72px;
  --ease: cubic-bezier(0.15, 0.5, 0.5, 1);
  --duration: 0.3s;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 400 var(--type-body-size)/1.5 var(--font-sans); }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-accent-strong); outline-offset: 3px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 calc(var(--space) * 8); }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--color-background) 85%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid color-mix(in oklab, var(--color-border) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: var(--nav-height); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--color-action); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--button-height); padding: 0 var(--button-padding-x); border-radius: var(--radius-pill); border: 0;
  background: var(--color-action); color: var(--color-on-action); font: 500 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease); }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #000; }
.btn-glass { background: #ffffff1f; color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px #ffffff33; }
.btn-outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* bands */
section { padding: calc(var(--space) * 24) 0; }
@media (max-width: 600px) { section { padding: calc(var(--space) * 14) 0; } }
.dark { background: var(--color-surface-inverse); color: var(--color-text-inverse); }
.dark .muted { color: var(--color-text-inverse-muted); }
.soft { background: var(--color-surface); }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--color-accent-strong); margin: 0 0 12px; }
.dark .kicker { color: var(--color-accent); }
h1, h2, h3 { font-weight: 500; margin: 0; }
h1 { font-size: var(--type-display-size); line-height: var(--type-display-line); letter-spacing: var(--type-display-tracking); }
h2 { font-size: var(--type-h2-size); line-height: 1.05; letter-spacing: -0.012em; margin-bottom: 20px; }
h3 { font-size: var(--type-h3-size); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 10px; }
.lead { font-size: var(--type-lead-size); line-height: 1.4; max-width: 44ch; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--type-small-size); }
p { margin: 0 0 16px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--gradient-brand); color: #fff; padding: calc(var(--space) * 28) 0 calc(var(--space) * 22); }
.hero .lead { color: #e9eefb; margin: 24px 0 32px; }
.hero h1 { max-width: 15ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.glass { background: #ffffff1a; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid #ffffff2e; border-radius: var(--radius-card); }
.hero-facts .glass { padding: 14px 18px; font-size: 15px; }
.hero-facts b { display: block; font-size: 22px; font-weight: 600; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); margin-top: 40px; }
.num { border-top: 2px solid var(--color-text); padding-top: 20px; }
.num b { display: block; font-size: clamp(36px, 1.6rem + 2vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
@media (max-width: 960px) { .nums { grid-template-columns: repeat(2, 1fr); } }

/* cards */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--color-surface); border-radius: var(--radius-card); padding: 28px; }
.soft .card { background: var(--color-background); }
.dark .card { background: #ffffff12; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 32px; }
.step { position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: #000; font-weight: 700; margin-bottom: 16px; }
.step .when { display: inline-block; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.doclist { list-style: none; padding: 0; margin: 16px 0 0; }
.doclist li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.doclist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--color-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* form */
.tabs { display: inline-flex; padding: 4px; background: var(--color-surface); border-radius: var(--radius-pill); margin: 8px 0 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; height: 44px; padding: 0 22px; border-radius: var(--radius-pill); font: 500 16px/1 var(--font-sans); color: var(--color-text); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--color-action); color: var(--color-on-action); }
.panel[hidden] { display: none; }
form { display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
legend { font-weight: 600; font-size: 18px; margin-bottom: 8px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.opt { font-weight: 400; color: var(--color-text-muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-background);
  font: 400 16px/1.2 var(--font-sans); color: var(--color-text); }
textarea { height: 110px; padding: 12px 16px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--color-accent-strong); outline: 2px solid color-mix(in oklab, var(--color-accent) 40%, transparent); }
.file { border: 1.5px dashed var(--color-border); border-radius: var(--radius-card); padding: 16px; background: var(--color-background); }
.file input { font: 400 14px var(--font-sans); width: 100%; }
.file small { display: block; font-weight: 400; color: var(--color-text-muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-note { font-size: 14px; color: var(--color-text-muted); }
.err { color: var(--color-error); font-size: 14px; min-height: 1em; }
.hp { position: absolute; left: -9999px; }

/* faq */
details { border-top: 1px solid #ffffff2e; padding: 20px 0; }
details:last-child { border-bottom: 1px solid #ffffff2e; }
summary { cursor: pointer; font-size: var(--type-lead-size); font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 28px; line-height: 1; transition: transform var(--duration) var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; max-width: 70ch; }

/* contacts + footer */
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
footer { background: var(--color-surface-inverse-2); color: var(--color-text-inverse-muted); padding: 48px 0; font-size: 14px; }
footer a { color: var(--color-text-inverse); }
footer .wrap { display: grid; gap: 12px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px #0000004d; }
.wa-float svg { width: 30px; height: 30px; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 480px) { .brand-sub { display: none; } .nav .wrap { gap: 12px; } .nav .btn-sm { padding: 0 14px; font-size: 14px; } }
label:not(.check) { display: block; }
label:not(.check) > input, label:not(.check) > textarea { display: block; margin-top: 6px; }
.file small { margin-top: 6px; }
.brand-sub { margin-left: -10px; white-space: pre; }
.nums6 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
@media (max-width: 860px) { .nums6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nums6 { grid-template-columns: 1fr; } }
.notice { background: #fff; border-left: 4px solid var(--color-accent-strong); border-radius: 12px; padding: 14px 18px; max-width: 70ch; }
.gdpr { display: grid; gap: 14px; background: var(--color-surface); border-radius: 16px; padding: 18px; font-size: 14px; }
.gdpr p { margin: 0; color: var(--color-text-muted); }
.gdpr .check { font-size: 15px; }
select { appearance: auto; }
label:not(.check) > select { display: block; margin-top: 6px; }
