/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --brand: #e85b2a;
  --brand-dark: #c94116;
  --ink: #0d1b27;
  --ink-soft: #3d5568;
  --ink-faint: #7a8fa0;
  --bg: #f7f5f2;
  --bg-white: #ffffff;
  --card: #ffffff;
  --line: rgba(15,27,40,.08);
  --line-md: rgba(15,27,40,.12);
  --accent: #fff4ef;
  --accent-border: rgba(232,91,42,.18);
  --shadow-xs: 0 1px 4px rgba(15,27,40,.05);
  --shadow-sm: 0 2px 14px rgba(15,27,40,.07), 0 1px 3px rgba(15,27,40,.04);
  --shadow-md: 0 8px 36px rgba(15,27,40,.10), 0 2px 8px rgba(15,27,40,.05);
  --shadow-lg: 0 24px 72px rgba(15,27,40,.14), 0 6px 18px rgba(15,27,40,.07);
  --shadow-xl: 0 40px 100px rgba(15,27,40,.18), 0 12px 32px rgba(15,27,40,.10);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 10px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { width: min(1100px, calc(100% - 48px)); margin: 0 auto }
.section    { padding: 56px 0 }
.section-lg { padding: 84px 0 }
.section-sm { padding: 36px 0 }
.section-alt {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ── Topbar ────────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247,245,242,.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, var(--brand) 0%, #ff8a55 100%);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(232,91,42,.38), 0 1px 3px rgba(232,91,42,.2);
  flex-shrink: 0;
}
.nav { display: flex; gap: 2px; align-items: center }
.nav a {
  font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  padding: 8px 12px; border-radius: 999px;
  transition: color .14s, background .14s;
}
.nav a:hover { color: var(--ink); background: rgba(15,27,40,.06) }
.nav .cta-mini {
  background: var(--ink); color: #fff;
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  margin-left: 10px;
  transition: background .14s, transform .18s, box-shadow .18s;
  box-shadow: 0 3px 10px rgba(13,27,39,.25);
}
.nav .cta-mini:hover {
  background: #17293a; transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(13,27,39,.32);
}

/* ── Hero section ──────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 80px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 56px; align-items: center }

.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--brand-dark);
  padding: 6px 13px; border-radius: 999px;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px; border: 1.5px solid var(--accent-border);
}
h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  font-weight: 900;
  line-height: 1.02; letter-spacing: -.045em; color: var(--ink);
}
.lead {
  font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch;
  margin: 20px 0 0; line-height: 1.74;
}

/* Hero CTA row */
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-trust {
  margin-top: 16px; font-size: .85rem; color: var(--ink-faint);
  display: flex; align-items: center; gap: 6px;
}
.hero-trust::before {
  content: '';
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  flex-shrink: 0;
}

/* Hero image */
.hero-img-wrap {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(15,27,40,.18), 0 8px 24px rgba(15,27,40,.10);
  border: 1px solid rgba(255,255,255,.7);
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  transition: transform .45s ease, box-shadow .45s ease;
}
.hero-img-wrap:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 100px rgba(15,27,40,.22), 0 10px 28px rgba(15,27,40,.12);
}
.hero-img-wrap img { width: 100%; display: block }
.hero-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.1) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 800; font-size: .98rem; letter-spacing: -.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, background .14s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) }
.btn-primary {
  background: linear-gradient(130deg, var(--brand) 0%, #ff7540 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232,91,42,.30), 0 3px 8px rgba(232,91,42,.16);
}
.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(232,91,42,.38), 0 6px 14px rgba(232,91,42,.22);
}
.btn-secondary {
  background: var(--bg-white); border-color: var(--line-md); color: var(--ink-soft);
  font-weight: 700; box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { color: var(--ink); border-color: rgba(15,27,40,.18) }
.btn-lg { padding: 17px 34px; font-size: 1.06rem }

/* ── Typography ────────────────────────────────────────────────────────────── */
.section-kicker {
  display: inline-block;
  font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.038em; line-height: 1.08; color: var(--ink);
}
.section-sub {
  font-size: 1.05rem; color: var(--ink-soft); max-width: 64ch;
  margin-top: 14px; line-height: 1.72;
}
.small { font-size: .88rem; color: var(--ink-faint) }

/* ── Value / proof strip ───────────────────────────────────────────────────── */
.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-white);
  border: 1.5px solid var(--line-md);
  border-radius: 20px; overflow: hidden;
  margin-top: 36px;
  box-shadow: var(--shadow-xs);
}
.value-strip-item {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  transition: background .18s;
}
.value-strip-item:last-child { border-right: none }
.value-strip-item:hover { background: var(--accent) }
.value-strip-icon {
  font-size: 1.35rem; margin-bottom: 9px; display: block;
  width: 40px; height: 40px; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.value-strip-item strong { display: block; font-size: .93rem; font-weight: 800; margin-bottom: 3px; color: var(--ink) }
.value-strip-item span { font-size: .84rem; color: var(--ink-soft); line-height: 1.4 }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1.5px solid rgba(15,27,40,.08);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), box-shadow .26s, border-color .2s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15,27,40,.05);
}
.card h3 { margin: 0 0 10px; font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink) }
.card p  { margin: 0; font-size: .97rem; color: var(--ink-soft); line-height: 1.66 }

/* Feature card accent top stripe */
.card-feature { border-top: 3px solid var(--brand) }
.card-feature .icon { background: var(--accent) }

/* ── Icon badge ────────────────────────────────────────────────────────────── */
.icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent);
  font-size: 1.3rem; margin-bottom: 18px; flex-shrink: 0;
  border: 1px solid var(--accent-border);
}

/* ── Grids ─────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ff8a55);
  color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em;
  margin-bottom: 18px; flex-shrink: 0;
  box-shadow: 0 5px 16px rgba(232,91,42,.30);
}

/* Connector line between steps */
.steps-wrap { position: relative }
.steps-wrap::before {
  content: ''; position: absolute;
  top: 54px; left: calc(26px + 36px / 2); right: calc(26px + 36px / 2);
  height: 1.5px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(232,91,42,.08) 100%);
  pointer-events: none; z-index: 0;
}
.steps-wrap .steps { position: relative; z-index: 1 }

/* ── Example / About layout ────────────────────────────────────────────────── */
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start }

/* ── Who-it-helps list ─────────────────────────────────────────────────────── */
ul.clean { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px }
ul.clean li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .97rem; color: var(--ink-soft); line-height: 1.6;
}
ul.clean li::before {
  content: '✓';
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--accent); color: var(--brand-dark);
  border-radius: 999px; font-size: .72rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px; border: 1px solid var(--accent-border);
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px }
.faq-item {
  background: var(--bg-white);
  border: 1.5px solid rgba(15,27,40,.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm); padding: 22px 26px;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.faq-item:hover {
  border-color: rgba(15,27,40,.08);
  border-left-color: var(--brand);
  box-shadow: 0 4px 24px rgba(15,27,40,.07), 0 1px 6px rgba(15,27,40,.04);
  transform: translateX(4px);
}
.faq-item h3 { margin: 0 0 9px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink) }
.faq-item p  { margin: 0; font-size: .96rem; color: var(--ink-soft); line-height: 1.68 }

/* ── CTA panel ─────────────────────────────────────────────────────────────── */
.cta-panel {
  background: linear-gradient(145deg, #0d1b27 0%, #1a3048 55%, #112034 100%);
  color: #fff; border-radius: 28px;
  padding: 64px 60px;
  display: grid; grid-template-columns: 1.6fr .4fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ''; position: absolute;
  width: 560px; height: 560px; border-radius: 999px;
  background: var(--brand); opacity: .09; filter: blur(100px);
  top: -180px; left: -140px; pointer-events: none;
}
.cta-panel::after {
  content: ''; position: absolute;
  width: 320px; height: 320px; border-radius: 999px;
  background: #3b82f6; opacity: .07; filter: blur(70px);
  bottom: -100px; right: -60px; pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1 }
.cta-panel .section-kicker { color: rgba(255,255,255,.55) }
.cta-panel .section-title { color: #fff; margin: 0 0 14px }
.cta-panel p { color: rgba(255,255,255,.68); margin: 0 0 30px; font-size: 1.06rem; line-height: 1.72 }
.cta-panel .btn-lg { font-size: 1.06rem }
.cta-trust {
  margin-top: 14px; font-size: .84rem;
  color: rgba(255,255,255,.42); display: flex; align-items: center; gap: 16px;
}
.cta-trust span { display: flex; align-items: center; gap: 5px }
.notice {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.78);
  padding: 22px; border-radius: 18px;
  font-size: .92rem; line-height: 1.68;
  display: grid; gap: 10px;
}
.notice-item { display: flex; align-items: center; gap: 8px; font-weight: 600 }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  padding: 52px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 5px }
.footer-brand strong { font-weight: 800; font-size: .97rem; letter-spacing: -.01em }
.footer-brand span { font-size: .86rem; color: var(--ink-faint) }
.inline-links { display: flex; gap: 4px; flex-wrap: wrap; align-items: center }
.inline-links a {
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  padding: 5px 10px; border-radius: var(--radius-xs);
  transition: color .13s, background .13s;
}
.inline-links a:hover { color: var(--ink); background: rgba(15,27,40,.05) }
.footer-copy { font-size: .84rem; color: var(--ink-faint); margin-top: 8px }

/* ── Misc helpers ──────────────────────────────────────────────────────────── */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px }
.badge {
  padding: 8px 14px; background: var(--bg-white); border: 1.5px solid var(--line-md);
  border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink-soft);
}

/* ── Divider ───────────────────────────────────────────────────────────────── */
hr.divider { border: none; border-top: 1px solid var(--line); margin: 0 }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-section  { padding: 56px 0 44px }
  .hero-grid     { grid-template-columns: 1fr; gap: 36px }
  .hero-img-wrap { max-width: 520px; transform: none !important }
  .value-strip   { grid-template-columns: 1fr 1fr }
  .cta-panel     { grid-template-columns: 1fr; padding: 48px 40px }
  .example       { grid-template-columns: 1fr }
  .grid-3        { grid-template-columns: 1fr 1fr }
  .steps         { grid-template-columns: 1fr 1fr }
  .steps-wrap::before { display: none }
}
@media (max-width: 640px) {
  .nav a:not(.cta-mini) { display: none }
  .container     { width: calc(100% - 32px) }
  .hero-section  { padding: 44px 0 36px }
  .section-lg    { padding: 56px 0 }
  .section       { padding: 40px 0 }
  .grid-3, .steps, .grid-2 { grid-template-columns: 1fr }
  .value-strip   { grid-template-columns: 1fr 1fr }
  .cta-panel     { padding: 40px 28px; border-radius: 22px; text-align: center }
  .cta-panel > * + * { display: none }
  .hero-actions  { flex-direction: column; align-items: flex-start }
}
@media (max-width: 440px) {
  .value-strip { grid-template-columns: 1fr }
}
