/* ═══════════════════════════════════════════════════════════════════════
   D9Commerce landing — same design language as the admin app:
   indigo primary + orange hero energy, slate surface scale, Inter with
   tabular numerals, tinted icon chips, soft cards, pill chips, the billing
   page's plan-card pattern. Zero JS; server-cached.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --primary: #4338CA;
  --primary-2: #6366F1;
  --orange-grad: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  --indigo-grad: linear-gradient(135deg, #6366F1 0%, #4338CA 100%);
  --good: #15803D;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.05);
  --shadow-lift: 0 12px 32px rgba(15,23,42,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink-2); background: var(--bg);
  font: 16px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
a { color: var(--primary); }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ── Buttons (same chips as the admin) ─────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border-radius: 12px; padding: 12px 22px; font-weight: 700; font-size: 15px;
  transition: transform .15s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--indigo-grad); color: #fff;
  box-shadow: 0 4px 14px rgba(67,56,202,.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(67,56,202,.40); }
.btn-outline {
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary-2); color: var(--primary); background: #EEF2FF; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-head nav > a:not(.btn-primary):not(.btn-outline) {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.site-head nav > a:not(.btn-primary):not(.btn-outline):hover { color: var(--primary); }
.site-head .btn-primary, .site-head .btn-outline { padding: 9px 18px; font-size: 14px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 88% -10%, rgba(99,102,241,.14), transparent 60%),
    radial-gradient(600px 380px at -8% 25%, rgba(234,88,12,.10), transparent 55%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 0 0 18px; }
.hero h1 .grad {
  background: var(--orange-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.trust li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.trust li i { color: var(--good); font-size: 11px; }

/* Hero mock: a miniature of the real admin (hero banner + KPis + table rows) */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lift); padding: 16px; transform: rotate(1.2deg);
}
.mock-hero {
  background: var(--orange-grad); border-radius: 12px; height: 54px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  color: #fff; font-weight: 800; font-size: 14px;
}
.mock-hero span { background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; font-size: 10.5px; font-weight: 700; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 12px 0; }
.mock-kpi { border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; }
.mock-kpi b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-kpi span { font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mock-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 6px;
  border-top: 1px solid #F1F5F9; font-size: 11.5px; color: var(--ink-2);
}
.mock-row .ph { width: 30px; height: 30px; border-radius: 8px; background: var(--indigo-grad); opacity: .85; flex-shrink: 0; }
.mock-row .nm { flex: 1; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .pr { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-row .st { background: #DCFCE7; color: var(--good); border-radius: 999px; padding: 2px 9px; font-size: 9.5px; font-weight: 700; }
.mock-row .st.sync { background: #EEF2FF; color: var(--primary); }

/* ── Marketplace chips (same pills as the inventory page) ──────────────── */
.logos { padding: 8px 0 14px; }
.logos .wrap { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.logos span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px;
  font-weight: 700; font-size: 13.5px; color: var(--ink-2); background: var(--surface);
}
.logos i { font-size: 14px; }

/* ── Section scaffolding ───────────────────────────────────────────────── */
section.block { padding: 72px 0; }
.block h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; text-align: center; margin: 0 0 10px; }
.block .sub { text-align: center; color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: block; text-align: center; font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}

/* ── Feature cards (admin card language + tinted icon chips) ───────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #C7D2FE; }
.feature .chip {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 17px; margin-bottom: 14px;
  color: var(--fc, var(--primary)); background: color-mix(in srgb, var(--fc, var(--primary)) 12%, transparent);
}
.feature h3 { font-size: 16px; margin: 0 0 7px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ── AI credits band ───────────────────────────────────────────────────── */
.ai-band { background: var(--surface); border-block: 1px solid var(--border); }
.ai-band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.ai-band h2 { text-align: left; }
.ai-band .sub2 { color: var(--muted); font-size: 15.5px; margin: 12px 0 20px; }
.ai-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ai-points li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.ai-points i { color: var(--good); margin-top: 3px; }
.credit-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow);
}
.credit-card h4 { margin: 0 0 4px; font-size: 15px; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.credit-card h4 i { color: var(--primary); }
.credit-card .hint { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.credit-card table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.credit-card td { padding: 9px 4px; border-top: 1px solid var(--border); color: var(--ink-2); }
.credit-card td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.credit-card td i { color: var(--primary); width: 18px; }

/* ── Pricing (mirror of the billing page's plan cards) ─────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 12px 32px rgba(67,56,202,.16); }
.plan-ribbon {
  position: absolute; top: 14px; right: -36px; transform: rotate(38deg);
  background: var(--indigo-grad); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 5px 40px;
}
.plan h3 { font-size: 16.5px; margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.plan h3 i { color: var(--primary); }
.plan .price { font-size: 34px; font-weight: 800; color: var(--ink); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .annual { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; flex: 1; display: grid; gap: 7px; }
.plan ul i { color: var(--good); font-size: 11px; margin-right: 7px; }
.plan .btn-primary, .plan .btn-outline { justify-content: center; }
.guarantee { text-align: center; color: var(--muted); font-size: 13.5px; max-width: 660px; margin: 28px auto 0; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; transition: border-color .18s ease, box-shadow .18s ease;
}
details:hover { border-color: #C7D2FE; }
details[open] { box-shadow: var(--shadow-lift); border-color: #C7D2FE; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; color: var(--primary); font-weight: 600; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* ── CTA band (the admin hero gradient, decorative circles included) ───── */
.cta-band { padding: 40px 0 84px; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  background: var(--orange-grad); border-radius: 24px; color: #fff;
  padding: 62px 28px; box-shadow: 0 16px 44px rgba(234,88,12,.28);
}
.cta-inner::after {
  content: ''; position: absolute; top: -42%; right: -5%; width: 300px; height: 300px;
  background: rgba(255,255,255,.10); border-radius: 50%; pointer-events: none;
}
.cta-inner::before {
  content: ''; position: absolute; bottom: -38%; left: 14%; width: 220px; height: 220px;
  background: rgba(255,255,255,.07); border-radius: 50%; pointer-events: none;
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin: 0 0 12px; position: relative; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; position: relative; }
.cta-inner .btn-primary {
  background: #fff; color: #C2410C; box-shadow: 0 6px 18px rgba(0,0,0,.18); position: relative;
}
.cta-inner .btn-primary:hover { box-shadow: 0 10px 26px rgba(0,0,0,.24); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--border); background: var(--surface); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 22px; flex-wrap: wrap; }
.site-foot .brand { font-size: 16px; }
.site-foot p { color: var(--muted); font-size: 12.5px; margin: 4px 0 0; }
.site-foot nav { display: flex; gap: 18px; }
.site-foot nav a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.site-foot nav a:hover { color: var(--primary); }

/* ── Hero mock: sync-receipt toast ─────────────────────────────────────── */
.mock-toast {
  margin-top: 12px; display: flex; align-items: center; gap: 9px;
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 11px;
  padding: 9px 13px; font-size: 11.5px; font-weight: 600; color: #166534;
}
.mock-toast i { color: var(--good); }
.mock-toast b { font-variant-numeric: tabular-nums; }

/* ── Workflow band (five-step loop) ────────────────────────────────────── */
.flow-block { padding-bottom: 56px; }
.flow {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.flow-step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px 18px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #C7D2FE; }
.flow-step:not(:last-child)::after {
  content: '\2192'; position: absolute; top: 26px; right: -15px; z-index: 2;
  color: #C7D2FE; font-size: 18px; font-weight: 800;
}
.flow-step .n {
  position: absolute; top: 14px; right: 14px; font-size: 26px; font-weight: 800;
  color: #EEF2FF; -webkit-text-stroke: 1.5px #C7D2FE; line-height: 1;
}
.flow-step .fi {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 16px; margin-bottom: 12px;
  background: var(--indigo-grad); color: #fff; box-shadow: 0 6px 14px -6px rgba(67,56,202,.5);
}
.flow-step h3 { font-size: 15px; margin: 0 0 6px; }
.flow-step p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Numbers band ──────────────────────────────────────────────────────── */
.numbers { background: var(--surface); border-block: 1px solid var(--border); padding: 34px 0; }
.numbers .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px;
}
.num { text-align: center; }
.num b {
  display: block; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: var(--indigo-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num span { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ── Feature pillars (grouped checklists) ──────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); border-top: 3px solid var(--fc, var(--primary));
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pillar .p-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pillar .chip {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 17px; flex-shrink: 0;
  color: var(--fc, var(--primary)); background: color-mix(in srgb, var(--fc, var(--primary)) 12%, transparent);
}
.pillar h3 { font-size: 16.5px; margin: 0; line-height: 1.25; }
.pillar .p-blurb { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.pillar .p-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.pillar .p-list li { font-size: 12.8px; color: var(--ink-2); line-height: 1.45; display: flex; gap: 9px; }
.pillar .p-list i { color: var(--fc, var(--good)); font-size: 10.5px; margin-top: 4px; flex-shrink: 0; }
.micro-note {
  text-align: center; color: var(--muted); font-size: 13px; max-width: 720px;
  margin: 30px auto 0; line-height: 1.6;
}

/* ── Autopilot band (dark) ─────────────────────────────────────────────── */
.auto-band { background: #0F172A; }
.auto-band .eyebrow { color: #A5B4FC; }
.auto-band h2 { color: #F1F5F9; }
.auto-band .sub { color: #94A3B8; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.auto-card {
  background: #16213C; border: 1px solid #253355; border-radius: var(--radius);
  padding: 20px; transition: transform .18s ease, border-color .18s ease;
}
.auto-card:hover { transform: translateY(-3px); border-color: #3B4E7E; }
.auto-card i {
  width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 15px; margin-bottom: 12px;
  background: rgba(99,102,241,.18); color: #A5B4FC;
}
.auto-card h3 { color: #E2E8F0; font-size: 15px; margin: 0 0 6px; }
.auto-card p { color: #94A3B8; font-size: 12.8px; margin: 0; line-height: 1.55; }

/* ── Security strip ────────────────────────────────────────────────────── */
.sec-strip { background: var(--surface); border-block: 1px solid var(--border); padding: 60px 0; }
.sec-strip h2 { margin-bottom: 34px; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 26px; }
.sec-item { display: flex; gap: 13px; align-items: flex-start; }
.sec-item > i {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center; font-size: 14.5px;
  background: #EEF2FF; color: var(--primary);
}
.sec-item b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.sec-item span { font-size: 12.8px; color: var(--muted); line-height: 1.5; }

/* ── Legal prose pages (/terms, /privacy) ──────────────────────────────── */
.legal { padding: 64px 0 84px; }
.legal .wrap { max-width: 760px; }
.legal .eyebrow { text-align: left; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 0 0 6px; }
.legal-meta { color: var(--muted); font-size: 13.5px; margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.legal h2 { font-size: 19px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 8px; }
.legal li::marker { color: var(--primary); }
.legal a { font-weight: 600; }

/* ── Contact page ──────────────────────────────────────────────────────── */
.contact-hero { position: relative; overflow: hidden; padding: 74px 0 38px; text-align: center; }
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(680px 400px at 82% -18%, rgba(99,102,241,.16), transparent 62%),
    radial-gradient(560px 340px at -4% 8%, rgba(234,88,12,.10), transparent 55%),
    radial-gradient(circle at 1px 1px, rgba(67,56,202,.07) 1px, transparent 0);
  background-size: auto, auto, 26px 26px;
  pointer-events: none;
}
.contact-hero .wrap { position: relative; }
.contact-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin: 10px 0 14px; letter-spacing: -.03em; }
.grad2 {
  background: linear-gradient(115deg, #6366F1, #4338CA 55%, #7C3AED);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-hero .sub { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 26px; }
.c-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.c-stats li {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border: 1px solid #E7EAF3; border-radius: 999px;
  padding: 9px 18px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 20px -14px rgba(15,23,42,.14);
}
.c-stats li i { color: var(--primary); font-size: 12.5px; }
.c-stats li b { color: var(--ink); }

.contact-main { position: relative; padding: 18px 0 92px; }
.contact-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; }

/* The form card */
.cform-card {
  background: var(--surface); border: 1px solid #E7EAF3; border-radius: 24px;
  padding: 34px 36px 30px; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 34px 70px -30px rgba(15,23,42,.25);
}
.cform-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #6366F1, #4338CA 45%, #7C3AED 80%, #EA580C 120%);
}
.cform-card h2 { font-size: 21px; margin: 4px 0 20px; display: flex; align-items: center; gap: 11px; letter-spacing: -.02em; }
.cform-card h2 i {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 14px; color: #fff; background: var(--indigo-grad);
  box-shadow: 0 6px 14px -6px rgba(67,56,202,.5);
}
.cform { display: grid; gap: 17px; }
.cform .hp { position: absolute; left: -9999px; top: -9999px; }
.cform label { display: grid; gap: 7px; font-size: 12.5px; font-weight: 700; color: #475569; }
.cform input[type=text], .cform input[type=email], .cform select, .cform textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--ink);
  background: #FBFCFE; border: 1.5px solid #E4E8F1; border-radius: 13px;
  padding: 13px 16px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cform input:hover, .cform select:hover, .cform textarea:hover { border-color: #C9D2E4; }
.cform textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.cform select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none; border-color: var(--primary-2); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(99,102,241,.13), 0 1px 2px rgba(15,23,42,.05);
}
.cform ::placeholder { color: #A9B2C6; }
.cform-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; padding-top: 18px; border-top: 1px solid #EEF1F7; }
.cform-foot .btn-primary { padding: 13px 26px; border: none; cursor: pointer; font-size: 15px; }
.cf-note { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; line-height: 1.4; }
.cf-note i { color: var(--good); }
.cform-error {
  display: flex; gap: 9px; align-items: flex-start; background: #FFF1F2; border: 1px solid #FECDD3;
  color: #9F1239; border-radius: 11px; padding: 11px 14px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 16px; line-height: 1.5;
}
.cform-error i { margin-top: 2px; }

/* Success state */
.csuccess { text-align: center; padding: 26px 10px 14px; }
.csuccess svg { width: 64px; height: 64px; margin-bottom: 14px; }
.csuccess svg circle {
  fill: #F0FDF4; stroke: var(--good); stroke-width: 2.5;
  stroke-dasharray: 158; stroke-dashoffset: 158; animation: cdraw .5s .1s ease-out forwards;
}
.csuccess svg path {
  fill: none; stroke: var(--good); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: cdraw .35s .5s cubic-bezier(.55,0,.35,1.4) forwards;
}
@keyframes cdraw { to { stroke-dashoffset: 0; } }
.csuccess h2 { font-size: 24px; margin: 0 0 8px; justify-content: center; }
.csuccess p { color: var(--muted); font-size: 14.5px; max-width: 400px; margin: 0 auto 10px; line-height: 1.6; }
.csuccess p b { color: var(--ink); }
.cs-tip {
  background: var(--bg); border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 14px !important; font-size: 13px !important; margin-bottom: 20px !important;
}
.cs-tip i { color: #D97706; margin-right: 4px; }

/* Right rail */
.cside { display: grid; gap: 14px; align-content: start; }
.cside-cap {
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 2px 2px 0;
}
.cc-mini {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--surface); border: 1px solid #E7EAF3; border-radius: 18px;
  padding: 18px 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -22px rgba(15,23,42,.18);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cc-mini:hover {
  transform: translateY(-3px); border-color: #C7D2FE;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 22px 44px -20px rgba(67,56,202,.28);
}
.cc-ico {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center;
  justify-content: center; font-size: 21px; flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fc, var(--primary)) 82%, #fff), var(--fc, var(--primary)));
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--fc, var(--primary)) 60%, transparent),
              inset 0 1px 0 rgba(255,255,255,.25);
}
.cc-mini > div { min-width: 0; flex: 1; }
.cc-mini b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.cc-mini > div span { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cc-mini .go {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  color: #94A3B8; background: #F1F5F9; font-size: 12px;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.cc-mini:hover .go { transform: translateX(3px); color: #fff; background: var(--primary); }
.ticket-tips {
  background: linear-gradient(180deg, #FAF8FF, #FFFFFF 60%);
  border: 1px solid #EBE6F9; border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -22px rgba(124,58,237,.25);
}
.ticket-tips h3 { font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.ticket-tips h3 i {
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  box-shadow: 0 6px 12px -6px rgba(124,58,237,.5);
}
.ticket-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticket-tips li { font-size: 13px; color: var(--ink-2); line-height: 1.55; display: flex; gap: 10px; }
.ticket-tips li i {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; color: #15803D; background: #DCFCE7;
}
.cside-quote {
  background: linear-gradient(135deg, #111C33, #0F172A 60%);
  border: 1px solid #1E293B; border-radius: 18px; padding: 22px; position: relative; overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(15,23,42,.55);
}
.cside-quote::after {
  content: ''; position: absolute; top: -44%; right: -16%; width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(99,102,241,.28), transparent 65%); border-radius: 50%;
}
.cside-quote::before {
  content: ''; position: absolute; bottom: -50%; left: -10%; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(234,88,12,.15), transparent 65%); border-radius: 50%;
}
.cside-quote i { color: #818CF8; font-size: 16px; position: relative; }
.cside-quote p { color: #CBD5E1; font-size: 13px; line-height: 1.65; margin: 9px 0 0; position: relative; }

/* ── Motion & small screens ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1050px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .ai-band .wrap { grid-template-columns: 1fr; gap: 30px; }
  .site-head nav > a:not(.btn-primary):not(.btn-outline) { display: none; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .cform-row2 { grid-template-columns: 1fr; }
  .cform-card { padding: 20px; }
}
@media (max-width: 900px) {
  .contact-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding: 56px 0 46px; }
  section.block { padding: 52px 0; }
  .site-head .btn-outline { display: none; }
}
