:root {
  --bg: #ffffff;
  --ink: #16202b;
  --ink-dim: #566072;
  --dark: #0e1116;
  --dark-2: #141a22;
  --dark-surface: #1a212b;
  --dark-border: #273140;
  --dark-text: #e7edf4;
  --dark-text-dim: #9fb0c3;
  --tint: #f6f8fb;
  --line: #e4e9f0;
  --accent: #f4a300;
  --accent-2: #ff7a18;
  --accent-ink: #1a1203;
  --radius: 16px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(16,32,43,.04), 0 8px 24px rgba(16,32,43,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .5rem .9rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--dark); }
.brand .accent { color: var(--accent); }
.accent { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent-2); font-weight: 800; margin-bottom: .6rem; }
.muted { color: var(--ink-dim); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(244,163,0,.28); }
.btn-primary:hover { background: #ffb81f; box-shadow: 0 8px 22px rgba(244,163,0,.36); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }

/* ---- Topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(16px, 5vw, 40px);
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.topnav a { color: var(--ink-dim); font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: var(--ink); }
.topnav .btn-primary { color: var(--accent-ink); }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #1b2534 0%, var(--dark) 55%);
  color: var(--dark-text);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  max-width: var(--max); margin-inline: auto; width: 100%;
  padding: clamp(56px, 8vw, 104px) clamp(16px, 5vw, 40px);
}
/* full-bleed dark hero background */
body { }
.hero { border-radius: 0; }
.hero .lead { color: var(--dark-text-dim); }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); max-width: 40rem; margin-bottom: 1.6rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--dark-text); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.07); }
.hero-note { margin-top: 1.4rem; font-size: .86rem; color: var(--dark-text-dim); letter-spacing: .01em; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }

/* make hero span full width */
.hero { max-width: none; }
.hero > * { }
.hero { padding-inline: max(calc((100vw - var(--max))/2 + 16px), 16px); }

/* ---- Sections ---- */
.section { padding-block: clamp(52px, 8vw, 96px); }
.section-lead { font-size: 1.1rem; color: var(--ink-dim); max-width: 46rem; margin: 0 auto 2rem; }
.section-lead.center { margin-inline: auto; }
.band-tint { background: var(--tint); }
.band-dark { background: var(--dark); color: var(--dark-text); }
.band-dark h2, .band-dark .eyebrow { color: var(--dark-text); }
.band-dark .section-lead { color: var(--dark-text-dim); }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: 1.1rem; }
.grid-feat { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 2.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 2rem; }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow);
}
.card p { color: var(--ink-dim); margin: 0; }
.band-dark .card { background: var(--dark-surface); border-color: var(--dark-border); box-shadow: none; }
.band-dark .card p { color: var(--dark-text-dim); }

.feat .ico-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: .9rem;
  background: linear-gradient(135deg, rgba(244,163,0,.16), rgba(255,122,24,.16));
  border: 1px solid rgba(244,163,0,.35);
}
.ico-badge svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.stat { text-align: center; padding: 1.4rem 1rem; border: 1px solid var(--dark-border); border-radius: var(--radius); background: var(--dark-2); }
.stat-k { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stat-v { display: block; color: var(--dark-text-dim); font-size: .95rem; margin-top: .3rem; }

/* ---- Flow ---- */
.flow { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; counter-reset: flow; }
.flow li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.flow-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: .7rem; }
.flow h3 { margin-bottom: .3rem; }
.flow p { color: var(--ink-dim); margin: 0; font-size: .97rem; }

/* ---- Checks ---- */
.checks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.checks.tight { margin-top: 1.2rem; gap: .6rem; }
.checks li { position: relative; padding-left: 2.1rem; color: var(--dark-text-dim); }
.band-dark .checks li { color: var(--dark-text-dim); }
.section:not(.band-dark) .checks li { color: var(--ink-dim); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/></svg>") center/70% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/></svg>") center/70% no-repeat;
}
.checks strong { color: inherit; }
.band-dark .checks strong { color: var(--dark-text); }
.section:not(.band-dark) .checks strong { color: var(--ink); }

/* ---- Split / mobile ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phone { display: flex; justify-content: center; }
.phone-screen {
  width: 260px; border-radius: 28px; padding: 1.1rem; background: var(--dark); color: var(--dark-text);
  border: 8px solid #0a0d12; box-shadow: 0 24px 50px rgba(16,32,43,.22);
}
.ps-row { font-size: .85rem; color: var(--dark-text-dim); display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.ps-row .dot { width: 9px; height: 9px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 4px rgba(53,208,127,.18); }
.ps-card { background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 12px; padding: .8rem .9rem; margin-bottom: .7rem; font-weight: 700; }
.ps-card span { display: block; font-weight: 500; color: var(--dark-text-dim); font-size: .82rem; margin-top: .2rem; }
.ps-card.alt { border-left: 3px solid var(--accent); }
.ps-btn { margin-top: .4rem; background: var(--accent); color: var(--accent-ink); text-align: center; padding: .7rem; border-radius: 10px; font-weight: 800; }

/* ---- CTA band ---- */
.cta-band { background: radial-gradient(900px 400px at 50% 120%, #1b2534 0%, var(--dark) 60%); color: var(--dark-text); }
.cta-band h2 { color: var(--dark-text); }
.cta-band .section-lead { color: var(--dark-text-dim); }
.center-cta { justify-content: center; }
.cta-band .btn-ghost { color: var(--dark-text); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.07); }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--dark-text-dim); padding-block: 2.6rem 1.6rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.6rem; border-bottom: 1px solid var(--dark-border); }
.footer .brand { color: var(--dark-text); }
.footer .muted { color: var(--dark-text-dim); margin: .5rem 0 0; max-width: 24rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; align-items: center; }
.foot-nav a { color: var(--dark-text-dim); font-size: .95rem; }
.foot-nav a:hover { color: var(--dark-text); }
.foot-bottom { padding-top: 1.2rem; font-size: .88rem; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; max-width: 360px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split .phone { order: -1; }
}
@media (max-width: 620px) {
  .topnav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
