:root {
  --ink: #111317;
  --ink-2: #23262d;
  --ink-3: #3a3f49;
  --muted: #5c6270;
  --line: #e4e6eb;
  --line-soft: #f0f1f4;
  --ground: #f4f5f7;
  --surface: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --teal-tint: #e6f4f2;
  --mint: #5eead4;
  --orange: #c2410c;
  --orange-ink: #9a3412;
  --orange-tint: #fff1e8;
  --bar-under: #dd6b2c;
  --bar-ok: #4e9c93;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #8ff2e1; color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid #d3d7de; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1px solid #3a3f49; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -0.02em; }
.brand .to { color: var(--teal); }
.dark .brand .to { color: var(--mint); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(17, 19, 23, 0.96); color: #fff; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: #b4bac5; text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 10px; }
.site-nav a:hover { color: #fff; }
.site-nav a.btn { margin-left: 8px; min-height: 42px; padding: 0 16px; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #e8eaee; padding: 64px 0 80px; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.hero h1 { font-size: clamp(42px, 6vw, 72px); color: #fff; font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lede { font-size: 19px; line-height: 1.55; color: #c4cad4; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: #9aa1ae; }
.hero-note a { color: var(--mint); }

.hero-card { flex: 1 1 440px; min-width: 0; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); transform: rotate(-1deg); }
.hero-card .card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.vendor-tile { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); font: 800 16px/1 var(--display); display: flex; align-items: center; justify-content: center; }
.card-top small { display: block; color: var(--muted); font-size: 13px; }
.card-top strong { font: 700 18px/1.2 var(--display); }
.big-stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.big-stat .n { font: 800 72px/0.9 var(--display); letter-spacing: -0.04em; color: var(--orange); }
.big-stat .label { font: 600 19px/1.2 var(--display); max-width: 230px; }
.mini-rows { margin-top: 18px; border-top: 1px solid var(--line-soft); }
.mini-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mini-row .m { font-family: var(--mono); font-size: 13px; color: var(--orange); font-weight: 600; }
.mini-row .s { font-family: var(--mono); font-size: 13px; font-weight: 600; border: 1.5px solid var(--teal); border-radius: 8px; padding: 5px 8px; }
.sample-tag { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- strips and sections ---------- */
.erp-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.erp-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.erp-strip p { font-size: 14px; color: var(--muted); }
.erp-list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.erp-list li { font: 700 17px/1 var(--display); color: var(--ink-3); }

.section { padding: 88px 0; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }

.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pain .num { font: 700 14px/1 var(--mono); color: var(--orange); }
.pain h3 { font-size: 22px; }
.pain p { color: var(--muted); }

.video-section { background: var(--ink); color: #e8eaee; }
.video-section .section-head h2 { color: #fff; }
.video-section .section-head p { color: #b4bac5; }
.video-frame { border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.step .badge { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--mint); display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--display); }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); }

.control { margin-top: 18px; background: var(--teal-tint); border-radius: var(--radius); padding: 24px 26px; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.control h3 { font-size: 20px; flex: 1 1 220px; }
.control ul { flex: 3 1 420px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.control li { display: flex; gap: 10px; font-size: 15px; }
.control li svg { flex: none; margin-top: 4px; }

/* ---------- pilot ---------- */
.pilot { background: var(--surface); border-top: 1px solid var(--line); }
.pilot-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pilot-offer { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pilot-offer h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.pilot-offer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pilot-offer li { display: flex; gap: 12px; font-size: 16px; }
.price-box { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.price-box .price { font: 800 30px/1.1 var(--display); letter-spacing: -0.03em; }
.price-box .price span { font: 500 16px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.price-box p { font-size: 14px; color: var(--muted); }

.form-card { flex: 1 1 420px; min-width: 0; background: var(--ground); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-card h3 { font-size: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid #c9ced6; border-radius: 10px; padding: 11px 12px; min-height: 48px; width: 100%; }
.field textarea { min-height: 88px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; gap: 10px; align-items: center; min-height: 40px; font-size: 15px; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 15px; min-height: 22px; }
.form-msg.error { color: var(--orange-ink); }
.form-msg.ok { color: var(--teal-dark); font-weight: 600; }
.form-fine { font-size: 13px; color: var(--muted); }

/* ---------- faq + footer ---------- */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font: 700 18px/1.3 var(--display); padding: 16px 0; list-style-position: outside; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

.site-footer { background: var(--ink); color: #9aa1ae; padding: 36px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer a:not(.brand) { color: #b4bac5; }

@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-card { transform: none; padding: 20px; }
  .big-stat .n { font-size: 56px; }
  .section { padding: 64px 0; }
  .site-nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
