:root {
  --bg: #0a0e1a;
  --bg-2: #0e1424;
  --surface: #131a2e;
  --surface-2: #182034;
  --border: #26304a;
  --text: #e7ecf6;
  --muted: #93a0bd;
  --muted-2: #6b779a;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --verified: #34d399;
  --danger: #f87171;
  --grad: linear-gradient(120deg, #6366f1, #8b5cf6 55%, #a855f7);
  --maxw: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 75% -10%, rgba(99,102,241,0.16), transparent 60%),
              radial-gradient(900px 600px at 5% 0%, rgba(168,85,247,0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700; margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ── nav ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,14,26,0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--grad);
  display: grid; place-items: center; font-size: 15px; box-shadow: 0 4px 18px rgba(99,102,241,0.5);
}
/* On the dark site we use the transparent MARK (colourful, reads on any bg) plus
   a white "Deliberry" wordmark in text — no white box around a light lockup. */
.brand-mark { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 14px; border-radius: 10px; padding: 10px 18px;
  border: 1px solid transparent; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(99,102,241,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(99,102,241,0.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: #33405f; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }

/* ── hero ── */
.hero { padding: 92px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 54px; font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--verified); background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.28);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verified); box-shadow: 0 0 10px var(--verified); }

/* passport card visual */
.passport {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 70px rgba(2,6,20,0.6); position: relative; overflow: hidden;
}
.passport::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: 18px;
  background: linear-gradient(140deg, rgba(139,92,246,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.passport-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.passport-top .verdict {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--verified);
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); padding: 4px 10px; border-radius: 8px;
}
.passport-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.passport-row:last-child { border-bottom: 0; }
.passport-row .k { color: var(--muted-2); }
.passport-row .v { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.passport-sig { margin-top: 14px; font-size: 11.5px; color: var(--verified); display: flex; align-items: center; gap: 7px; font-family: ui-monospace, monospace; word-break: break-all; }

/* ── logos / trust strip ── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); padding: 22px 0; }
.trust-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--muted-2); font-size: 13px; }
.trust-inner strong { color: var(--muted); font-weight: 600; }
.chip { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: var(--surface); }

/* ── sections ── */
section.block { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: 36px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* value props */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .15s, border-color .15s;
}
.value:hover { transform: translateY(-3px); border-color: #33405f; }
.value .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(99,102,241,0.14); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .fic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 18px rgba(99,102,241,0.35); }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { text-align: center; position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-weight: 800; background: var(--surface); border: 1px solid var(--border); color: var(--accent-2); }
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }
.step:not(:last-child)::after { content: "→"; position: absolute; top: 12px; right: -8px; color: var(--muted-2); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px; }
.stat .big { font-size: 34px; font-weight: 800; }
.stat .lbl { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; transition: transform .15s, border-color .15s; }
.plan:hover { transform: translateY(-3px); border-color: #33405f; }
.plan.featured { border-color: var(--accent); box-shadow: 0 20px 60px rgba(99,102,241,0.28); background: linear-gradient(180deg, rgba(99,102,241,0.10), var(--surface) 40%); }
.plan .badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(99,102,241,0.5); }
.plan .pname { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-2); text-transform: uppercase; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.plan .price .amt { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price .unit { font-size: 14px; color: var(--muted); }
.plan .ptag { font-size: 13px; color: var(--muted-2); min-height: 18px; }
.plan .pdesc { font-size: 14px; color: var(--muted); margin: 14px 0 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan li { color: var(--muted); font-size: 14px; padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--verified); font-weight: 700; }
.plan .plan-cta { display: block; text-align: center; }
.pricing-note { text-align: center; color: var(--muted-2); font-size: 13px; margin-top: 26px; }

/* audience */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.aud { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.aud h3 { font-size: 19px; margin-bottom: 10px; }
.aud ul { margin: 14px 0 0; padding: 0; list-style: none; }
.aud li { color: var(--muted); font-size: 14.5px; padding: 6px 0 6px 26px; position: relative; }
.aud li::before { content: "✓"; position: absolute; left: 0; color: var(--verified); font-weight: 700; }

/* CTA / demo */
.demo { background: linear-gradient(160deg, rgba(99,102,241,0.10), rgba(139,92,246,0.06)); border: 1px solid var(--border); border-radius: 24px; padding: 44px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.demo h2 { font-size: 32px; font-weight: 800; }
.demo p.sub { color: var(--muted); font-size: 16px; margin-top: 14px; }
.demo .benefits { margin-top: 22px; }
.demo .benefits li { color: var(--muted); font-size: 14.5px; padding: 5px 0 5px 26px; position: relative; list-style: none; }
.demo .benefits li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); }
.demo .benefits { padding: 0; }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
  color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
.field textarea { resize: vertical; min-height: 84px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: 13.5px; min-height: 18px; }
.form-msg.ok { color: var(--verified); }
.form-msg.err { color: var(--danger); }
.form-note { font-size: 12px; color: var(--muted-2); }

/* problem cards reuse .value, with a danger-tinted icon */
.value .ic.pain { background: rgba(248,113,113,0.12); }

/* how-it-works deep dive */
.deepdive { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.dd { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.dd h3 { font-size: 20px; margin: 4px 0 18px; }
.dd-list { list-style: none; margin: 0; padding: 0; }
.dd-list li { color: var(--muted); font-size: 14.5px; padding: 10px 0 10px 22px; position: relative; border-bottom: 1px dashed var(--border); }
.dd-list li:last-child { border-bottom: 0; }
.dd-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.dd-list strong, .dd-steps strong { color: var(--text); }
.dd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.dd-steps li { display: flex; gap: 14px; align-items: flex-start; }
.dd-steps .ddn { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--accent-2); }
.dd-steps strong { font-size: 14.5px; }
.dd-steps p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.dd-foot { margin: 22px 0 0; color: var(--muted-2); font-size: 13px; font-style: italic; }
.adopt { margin-top: 68px; }
.adopt .aud h3 { display: flex; align-items: center; gap: 8px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2px 22px; transition: border-color .15s; }
.faq details[open] { border-color: #33405f; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 24px; font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

/* ── see it in action (video) ── */
.video-frame {
  position: relative; max-width: 940px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  background: #0b1020; box-shadow: 0 30px 70px rgba(2,6,20,0.6);
}
.video-frame .video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.video-ph { position: absolute; inset: 0; }
.video-ph-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video-ph-cap {
  position: absolute; left: 0; right: 0; bottom: 16px; text-align: center;
  color: var(--muted-2); font-size: 13px; display: flex; gap: 9px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.video-ph-badge {
  color: #fff; background: var(--grad); font-weight: 700; font-size: 12px;
  padding: 4px 11px; border-radius: 999px; box-shadow: 0 6px 18px rgba(99,102,241,0.4);
}

/* teaser animation — a mock live assessment resolving to PASS, on a 7s loop */
.tz-bar, .tz-stamp, .tz-scan { transform-box: fill-box; }
.tz-bar { transform-origin: left center; transform: scaleX(0); }
.tz-b1 { animation: tzBar1 7s ease-in-out infinite; }
.tz-b2 { animation: tzBar2 7s ease-in-out infinite; }
.tz-b3 { animation: tzBar3 7s ease-in-out infinite; }
.tz-dot { animation: tzPulse 1.8s ease-in-out infinite; }
.tz-scan { transform-origin: left center; opacity: 0; animation: tzScan 7s ease-in-out infinite; }
.tz-stamp { transform-origin: center; opacity: 0; animation: tzStamp 7s ease-in-out infinite; }
@keyframes tzBar1 { 0%,4% { transform: scaleX(0); } 20%,88% { transform: scaleX(1); } 95%,100% { transform: scaleX(0); } }
@keyframes tzBar2 { 0%,12% { transform: scaleX(0); } 30%,88% { transform: scaleX(1); } 95%,100% { transform: scaleX(0); } }
@keyframes tzBar3 { 0%,22% { transform: scaleX(0); } 42%,88% { transform: scaleX(1); } 95%,100% { transform: scaleX(0); } }
@keyframes tzPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes tzScan {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 0.55; } 48% { transform: translateX(690px); opacity: 0.55; }
  56%,100% { transform: translateX(690px); opacity: 0; }
}
@keyframes tzStamp {
  0%,50% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  58% { opacity: 1; transform: scale(1.08) rotate(-8deg); }
  64%,90% { opacity: 1; transform: scale(1) rotate(-8deg); }
  96%,100% { opacity: 0; transform: scale(1) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tz-bar { transform: scaleX(1); } .tz-stamp { opacity: 1; }
  .tz-b1,.tz-b2,.tz-b3,.tz-dot,.tz-scan,.tz-stamp { animation: none; }
  .tz-scan { display: none; }
}

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted-2); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
  .hero-grid, .demo-grid { grid-template-columns: 1fr; gap: 34px; }
  .values, .features, .audience, .deepdive { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step:not(:last-child)::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hero h1 { font-size: 40px; }
  .section-head h2, .demo h2 { font-size: 28px; }
}
