:root {
  --navy: #121624;
  --navy-2: #1c2236;
  --navy-3: #2a3149;
  --green: #00a878;
  --green-ink: #007a56;   /* AA-contrast green for text on light backgrounds */
  --green-soft: #e3f4ee;
  --paper: #f4efe6;
  --cream: #fbf8f2;
  --sand: #e7d8bd;
  --gold: #f2b84b;
  --coral: #ef7b5a;
  --white: #ffffff;
  --ink: #121624;
  --muted: #5a5e6b;
  --line: #e6dccb;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(18, 22, 36, .35);
  --wrap: 1160px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-ink); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font: 600 .8rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head .eyebrow { color: var(--green-ink); font-size: .8rem; }
.dark .section-head .eyebrow { color: var(--green); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem/1 var(--head); padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #00bf88; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 11px 18px; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 230, .88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.site-header .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font: 500 .95rem var(--head); }
.nav a:not(.btn):hover { color: var(--green-ink); }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.proof-row li { display: flex; align-items: center; gap: 8px; }
.proof-row li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

/* ── Animated demo frames ────────────────────────────── */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.player svg { width: 100%; height: 100%; }
.player-tag { position: absolute; top: 14px; right: 14px; font: 600 .7rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); padding: 7px 10px; border-radius: 999px; }
.hero-visual figcaption, .example figcaption { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ── Video frames ────────────────────────────────────── */
.video-player { background: var(--paper); }
.video-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-player::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(18,22,36,.06); pointer-events: none; }
.watch { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px;
  font: 600 .95rem var(--head); color: var(--navy); background: rgba(255,255,255,.92); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(18,22,36,.45); transition: transform .2s, background .2s; }
.watch:hover { transform: translateY(-2px) scale(1.02); background: #fff; }
.watch-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.watch-icon svg { width: 16px; height: 16px; fill: var(--navy); margin-left: 3px; }

/* A single coin perched on the hero video's corner: anchored to the frame, so it never covers text. */
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; z-index: 2; top: -34px; right: -26px; width: 84px; aspect-ratio: 186 / 150;
  background: url("/assets/ill/coin.png") center / contain no-repeat; filter: drop-shadow(0 10px 12px rgba(58,42,20,.22));
  animation: coin-bob 5s ease-in-out infinite; pointer-events: none; }
@keyframes coin-bob { 50% { translate: 0 -10px; rotate: 8deg; } }
@media (max-width: 720px) { .hero-visual::before { width: 58px; top: -24px; right: -8px; } }
@media (prefers-reduced-motion: reduce) { .hero-visual::before { animation: none; } }

/* Film grain over the whole page, like the videos. */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Section heads with a visual alongside. */
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 48px; }
.split-head .section-head { margin-bottom: 0; }

/* Character with floating questions. */
.questions { position: relative; height: 380px; }
.questions .rig { position: absolute; left: 8%; bottom: 0; height: 100%; width: auto; overflow: visible; }
.q { position: absolute; white-space: nowrap; font: 600 .98rem var(--head); color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(18,22,36,.5);
  opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.q1 { background: var(--navy); left: 58%; top: 6%; } .q2 { background: var(--green); color: var(--navy); left: 76%; top: 26%; }
.q3 { background: var(--coral); left: 56%; top: 48%; } .q4 { background: #3a4260; left: 70%; top: 70%; }
.questions.in .q { opacity: 1; transform: none; animation: bob 4s ease-in-out infinite; }
.questions.in .q2 { transition-delay: .35s; animation-delay: -1s; } .questions.in .q3 { transition-delay: .7s; animation-delay: -2s; }
.questions.in .q4 { transition-delay: 1.05s; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* Intro video dialog. */
.promo-modal { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 18px; background: var(--navy); overflow: visible; }
.promo-modal::backdrop { background: rgba(10, 12, 20, .78); backdrop-filter: blur(4px); }
.promo-modal video { display: block; width: 100%; border-radius: 18px; aspect-ratio: 16 / 9; background: var(--navy); }
.promo-modal .close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font: 500 1.6rem/1 var(--head); cursor: pointer; }

/* Wavy ribbon edge at the top of dark sections, echoing the video transitions. */
.dark { position: relative; }
.dark::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 28px; pointer-events: none;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--coral) 33% 66%, var(--gold) 66%); opacity: .95;
  -webkit-mask: radial-gradient(14px 14px at 14px 0, #000 98%, transparent) 0 0 / 28px 28px repeat-x; mask: radial-gradient(14px 14px at 14px 0, #000 98%, transparent) 0 0 / 28px 28px repeat-x; }

/* Pop-in with a little overshoot for revealed cards. */
.reveal { transition: opacity .7s ease, transform .8s cubic-bezier(.34,1.56,.64,1); }

/* ── Problem strip ───────────────────────────────────── */
.problem { background: var(--cream); border-block: 1px solid var(--line); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.problem h3 { font-size: 1.2rem; }
.problem p { color: var(--muted); margin: 0; }
.stat { font: 600 2.4rem/1 var(--head); color: var(--green-ink); margin-bottom: 14px; }

/* ── Examples ────────────────────────────────────────── */
.examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.example h3 { margin-top: 18px; margin-bottom: 4px; }
.examples-note { margin-top: 36px; padding: 18px 22px; border-left: 3px solid var(--green); background: var(--white); color: var(--muted); font-size: .95rem; border-radius: 0 8px 8px 0; }

/* ── Your brand demo ─────────────────────────────────── */
.brand-demo { background: var(--cream); border-top: 1px solid var(--line); }
.brand-demo .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.brand-demo figcaption { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.brand-controls { margin-top: 28px; display: grid; gap: 22px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { display: inline-flex; align-items: center; gap: 10px; font: 500 .92rem var(--head); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; cursor: pointer; }
.swatches button:hover { border-color: var(--muted); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.swatches span { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.brand-inputs { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.brand-inputs label { display: grid; gap: 6px; font: 500 .88rem var(--head); }
.brand-inputs input { font: 1rem var(--body); border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); padding: 10px 12px; }
.brand-inputs input[type="color"] { width: 64px; height: 46px; padding: 4px; cursor: pointer; }

/* ── Compliance (dark) ───────────────────────────────── */
.dark { background: var(--navy); color: #dfe2ea; }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: var(--green); }
.dark .section-head p { color: #a9aebd; }
.cols-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-dark { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius); padding: 30px; }
.card-dark p { color: #a9aebd; margin: 0; }
.icon-chip { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,168,120,.14); display: grid; place-items: center; margin-bottom: 18px; }
.icon-chip svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Process ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem var(--head); background: var(--navy); color: var(--white); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 2px; background: var(--line); }
.steps .when { font: 600 .8rem var(--head); color: var(--green-ink); letter-spacing: .04em; text-transform: uppercase; }
.steps p { color: var(--muted); font-size: .97rem; }
.deliverables { margin-top: 56px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a56' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing { background: var(--cream); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; background: var(--paper); }
.plan.featured { background: var(--navy); color: #dfe2ea; border-color: var(--navy); position: relative; box-shadow: var(--shadow); }
.plan.featured h3, .plan.featured .price { color: var(--white); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--green); color: var(--navy); font: 600 .75rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan .price { font: 600 2.6rem/1 var(--head); margin: 14px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan.featured .price small, .plan.featured .per { color: #a9aebd; }
.plan .per { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: .97rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--green); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .save { display: inline-block; font: 600 .85rem var(--head); color: var(--green); margin-bottom: 18px; }
.pricing-foot { margin-top: 28px; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* ── About ───────────────────────────────────────────── */
.about .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-card { background: var(--navy); color: #dfe2ea; border-radius: var(--radius); padding: 36px; }
.about-card .who { font: 600 1.3rem var(--head); color: var(--white); margin: 22px 0 2px; }
.about-card .role { color: #a9aebd; font-size: .95rem; }
.about-card dl { margin: 24px 0 0; display: grid; gap: 14px; font-size: .95rem; }
.about-card dt { color: #a9aebd; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.about-card dd { margin: 2px 0 0; color: var(--white); }
.pull { font: 500 1.35rem/1.45 var(--head); border-left: 3px solid var(--green); padding-left: 22px; margin: 28px 0; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { background: var(--cream); border-top: 1px solid var(--line); }
.faq-list { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font: 600 1.08rem var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 70ch; }

/* ── Contact ─────────────────────────────────────────── */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .next { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact .next li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: #c4c8d4; }
.contact .next b { color: var(--white); font-family: var(--head); font-weight: 600; }
.contact .next span.n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; font: 600 .85rem var(--head); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font: 500 .9rem var(--head); }
.form label span.opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: 1rem var(--body); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-content: center; width: 100%; font-size: 1.05rem; }
.form .small { font-size: .82rem; color: var(--muted); margin: 0; }
.hidden { display: none; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #a9aebd; font-size: .88rem; padding: 48px 0 40px; border-top: 1px solid var(--navy-3); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--navy-3); margin-bottom: 24px; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { color: #dfe2ea; }
.site-footer .legal { max-width: 88ch; }

/* ── Simple pages (thanks / privacy) ─────────────────── */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.3rem; margin-top: 2em; }

/* ── Motion: reveal on scroll ────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .questions.in .q { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .hero .wrap, .about .wrap, .contact .wrap, .deliverables, .brand-demo .wrap, .split-head { grid-template-columns: 1fr; }
  .examples-grid, .plans { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li::after { display: none; }
  .plan.featured { order: -1; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .cols-3, .cols-2x2, .checklist, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .site-header .logo img { height: 28px; }
  .player-tag { display: none; }
  .questions { height: 300px; }
  .q4 { left: 52%; } .q2 { left: 62%; }
  .watch { left: 10px; bottom: 10px; font-size: .85rem; }
}
