@charset "UTF-8";
/* ============================================================
   GAME DONE — landing page
   Plain CSS, no frameworks. Design system driven by variables.
   ============================================================ */

:root {
  /* Brand */
  --indigo: #7A7CFF;
  --indigo-600: #6567F5;
  --indigo-700: #5557e6;
  --coral: #FF6767;
  --coral-600: #f25252;

  /* Ink / text  (exact values from Figma) */
  --ink: #070E30;      /* darkest headings / titles */
  --navy: #060D2F;     /* footer background + body copy */
  --text: #060D2F;     /* body paragraphs */
  --muted: #6b6b6b;    /* subtle labels (stats, footer secondary) — WCAG-AA on white */

  /* Surfaces */
  --white: #ffffff;
  --lav-50: #f7f6ff;   /* section tint / card bg */
  --lav-100: #eeeffe;
  --badge: #e4e5ff;    /* badge / pill bg */
  --border: #e7e8f5;
  --indigo-border: #c7c9f7;
  --coral-border: #ffc9c9;

  /* 1248 - 48 (side padding) = 1200px content, matching the Figma frame's
     120px side margins at 1440px. */
  --maxw: 1248px;
  --radius: 20px;
  --radius-lg: 28px;

  /* Design font: Inter (loaded from Google Fonts in index.html). */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-card: 0 24px 50px -28px rgba(35, 40, 90, 0.28);
}

/* Gidole (open-source, SIL OFL) — used for the hero badge / eyebrow labels */
@font-face {
  font-family: "Gidole";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Gidole-Regular.woff2") format("woff2");
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Visually hidden, but still announced by screen readers (form labels etc.) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — first focusable element; slides into view only when focused */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2147483001;
  transform: translateY(-160%); transition: transform .18s ease;
  background: var(--indigo); color: #fff; font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }

/* ------------------------ Shared helpers ------------------------ */
.accent { color: var(--indigo); }

.eyebrow {
  font-family: "Gidole", var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section { padding: 84px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-title {
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.title-left { text-transform: uppercase; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-pill { border-radius: 999px; padding: 14px 28px; font-size: 16px; }
.btn-lg { padding: 16px 40px; font-size: 22px; }
.btn-coral { background: var(--coral); color: #fff; text-transform: uppercase; letter-spacing: .02em; box-shadow: 4px 4px 24px rgba(255,127,127,.4); }
.btn-coral:hover { background: var(--coral-600); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-600); }
.btn-square {
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 2px; padding: 15px 28px; font-size: 14px; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 600; align-self: flex-start;
}
.btn-square:hover { background: var(--ink); color: #fff; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(231,232,245,.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-logo { display: block; width: 172px; height: 30px; fill: var(--ink); }
.brand-light .brand-logo { fill: #fff; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav > a { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); transition: color .15s ease; }
.main-nav > a:not(.btn):hover { color: var(--indigo); }
.main-nav .nav-cta { padding: 8px 24px; color: #fff; }
/* hover: switch to the coral of the "Let's discuss a task" button */
.nav-cta:hover { background: var(--coral); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 138px;
  background:
    linear-gradient(to right, rgba(110,116,214,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(110,116,214,.16) 1px, transparent 1px),
    radial-gradient(58% 60% at 0% 92%, #c7e7fb 0%, rgba(199,231,251,0) 62%),
    radial-gradient(56% 60% at 100% 88%, #bfc9f5 0%, rgba(191,201,245,0) 62%),
    #ffffff;
  background-size: 110px 110px, 110px 110px, 100% 100%, 100% 100%, 100% 100%;
}
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dedeff; color: #1C1EC4;
  font-family: "Gidole", var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 6px 30px; border-radius: 999px; margin-bottom: 26px;
}

.hero-title {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02; letter-spacing: .005em;
  margin: 0 0 26px;
}
/* "of": slanted upright Inter (no cursive descending-f tail), matching the design */
.hero-title em { font-family: var(--font-display); font-style: normal; font-weight: 400; text-transform: none; display: inline-block; transform: skewX(-10deg); }

.hero-sub {
  max-width: 720px; margin: 0 auto 40px;
  font-size: 22px; line-height: 1.45; color: var(--text);
}

/* --------------------------- STATS --------------------------- */
/* the statistics band sits between the hero and the next section and is
   pulled up so the card bridges the two (top on the hero gradient, bottom on white) */
.stats-band { position: relative; z-index: 2; margin-top: -90px; }
.stats-card {
  background: #fff;
  border: 1px solid rgba(7, 14, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
#solution { padding-top: 80px; }
.stat { text-align: center; padding: 0 6px; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  color: #3A415B; font-size: 50px; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
}
.stat-num i { font-style: normal; }
.stat-label { display: block; margin-top: 12px; color: #5b5e70; font-size: 18px; line-height: 1.3; }
.stats-source { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.stats-ref { vertical-align: super; font-size: .7em; font-weight: 700; color: var(--indigo); text-decoration: none; margin-left: 1px; }
.stats-ref:hover { text-decoration: underline; }
.stats-ref:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 3px; }

/* ==================== HOW IT WORKS / SOLUTION ==================== */
.howitworks-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; margin-bottom: 70px;
}
.eyebrow-left { text-align: left; }
.title-left { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; }
.howitworks-copy { font-size: 22px; line-height: 1.42; color: var(--text); margin: 0; padding-top: 6px; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 58px;
  align-items: start;
}
.compare-col { display: flex; flex-direction: column; }
.compare-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: .04em; margin: 0 0 16px; }
.face-icon { flex: none; }
.compare-before { color: var(--coral); }
.compare-after { color: var(--indigo); }
.compare-list { display: flex; flex-direction: column; gap: 13px; }

.chip {
  position: relative;
  border-radius: 10px; padding: 14px 30px; text-align: center;
  background: #fff; font-size: 20px; line-height: 1.25; color: var(--ink);
}
.chip-before { border: 1px solid var(--coral-border); }
.chip-after { border: 1px solid var(--indigo-border); }
/* Arrow lives in the 58px column gap and is centered on its own row,
   so it stays aligned no matter how tall each chip is. */
.chip-after::before {
  content: "\2192";
  position: absolute; top: 50%; left: -58px; width: 58px;
  transform: translateY(-50%);
  text-align: center; color: var(--ink); font-size: 24px; line-height: 1;
}

/* ========================= PROCESS ========================= */
.process {
  padding-bottom: 110px; /* lavender extends down so the CTA band bridges into it */
  background:
    linear-gradient(to right, rgba(120,124,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,124,255,.05) 1px, transparent 1px),
    var(--lav-50);
  background-size: 110px 110px, 110px 110px, 100% 100%;
}
/* staggered card layout: 3 cards on top, 2 offset below */
.process-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(6, 1fr);
    column-gap: 56px; row-gap: 40px;
  }
  .process-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .process-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
  .process-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }
  .process-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
  .process-card:nth-child(5) { grid-column: 4 / 6; grid-row: 2; }
}
.process-card {
  background: #ebe8ff;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 26px 30px 30px;
  transition: border-color .18s ease;
}
/* no outline by default; indigo outline appears only on hover */
.process-card:hover { border-color: var(--indigo); }
.process-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.process-title { color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.process-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #dedeff; color: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center;
}
/* numbered step badge (replaces the arrow icons to show the 1→5 sequence) */
.process-num {
  flex: none; color: var(--indigo);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1;
}
.process-copy { color: var(--text); font-size: 18px; line-height: 1.45; margin: 0; }

/* ======================== CTA BANNER ======================== */
/* CTA band bridges the Process (lavender) and Demo (white) sections */
.cta-band { position: relative; z-index: 2; margin-top: -70px; }
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: linear-gradient(90deg, #9BA5F0 0%, #D4D1FE 50%, #C1DDF7 100%);
  border-radius: var(--radius-lg);
  padding: 34px 44px;
}
.cta-banner-text { flex: 1 1 auto; min-width: 0; }
.cta-banner .cta-btn { flex: none; font-size: 18px; padding: 15px 34px; }
.cta-banner-title { font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
.cta-banner-title .accent { color: var(--indigo-700); }
.cta-banner-sub { margin: 10px 0 0; color: #464b63; font-size: 19px; }

/* ========================= SERVICES ========================= */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  background: var(--lav-50); border: 1px solid transparent;
  border-radius: var(--radius); padding: 40px;
  transition: border-color .18s ease;
}
/* no outline by default; the indigo outline appears only on hover */
.service-card:hover { border-color: var(--indigo); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-icon { color: var(--indigo); display: inline-flex; }
.pill-badge {
  background: var(--badge); color: var(--indigo-700);
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  letter-spacing: .04em; padding: 7px 18px; border-radius: 999px; text-transform: uppercase;
}
.service-title { color: var(--ink); font-weight: 800; font-size: 24px; letter-spacing: .02em; margin-bottom: 14px; }
.service-copy { margin: 0; font-size: 20px; line-height: 1.4; color: var(--text); }

/* ========================== DEMO ========================== */
.demo-carousel { position: relative; }
.demo-slide {
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  column-gap: 56px; align-items: start;
}
.demo-slide.is-active { display: grid; }
.demo-left { display: flex; flex-direction: column; min-width: 0; }
.demo-media {
  position: relative; border-radius: var(--radius); min-height: 393px;
  background: linear-gradient(135deg, #3a3f52 0%, #2a2c3e 45%, #4a3d55 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.demo-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 55% 45%, rgba(90,110,200,.35), transparent 70%);
  filter: blur(6px);
}
.demo-media.media-b,
.demo-media.media-c { background: #23262f; }
/* blurred cover photo lives on ::before so the lock icon / status pill stay sharp */
.demo-media.media-b::after,
.demo-media.media-c::after { display: none; }
.demo-media.media-b::before,
.demo-media.media-c::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: blur(8px); transform: scale(1.08);
}
.demo-media.media-b::before { background-image: url("../assets/demos/returns/cover_refunds.jpg"); }
.demo-media.media-c::before { background-image: url("../assets/demos/drive_thru/cover_drive_thru.jpg"); }
.demo-media.media-d { background: linear-gradient(135deg, #3a4a52 0%, #232f36 50%, #2f3a4f 100%); }
.demo-media.media-warehouse {
  background: #23262f url("../assets/demos/warehouse/cover.jpg") center / cover no-repeat;
}
.demo-media.media-warehouse::after { display: none; }
.demo-media.media-warehouse .demo-status.is-live {
  background: #123a24; color: #8ff0ab;
}
.demo-lock { position: relative; z-index: 1; color: #fff; opacity: .96; }

/* status pill on the demo thumbnail: live demo vs. roadmap */
.demo-status {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px;
}
.demo-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.demo-status.is-live { background: rgba(52, 199, 89, .18); color: #7ee29a; }
.demo-status.is-live::before { background: #34d17a; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.demo-status.is-soon { background: #2a2c3a; color: #e7e8f5; }
.demo-status.is-soon::before { background: #cfd2ec; }
.demo-tag { color: var(--muted); font-size: 20px; margin: 0 0 12px; }
.demo-title { font-weight: 800; font-size: 26px; letter-spacing: .02em; margin-bottom: 4px; }
.demo-company { color: var(--indigo); font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .02em; margin: 0 0 22px; }
.demo-copy { margin: 0 0 30px; font-size: 19px; line-height: 1.45; color: var(--text); }
.demo-btn { text-transform: uppercase; }

/* "Details" toggle sits on its own line under the copy */
.demo-details-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer; padding: 8px 4px; margin: 2px 0 0;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--indigo);
}
.demo-details-toggle:hover { color: var(--indigo-700); }
.demo-details-toggle:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }
.dt-chevron { transition: transform .25s ease; }
.demo-details-toggle[aria-expanded="true"] .dt-chevron { transform: rotate(180deg); }
.demo-body .demo-btn { margin-top: 26px; }

/* collapsible panels: gallery tucks under the media (left) + specs under the toggle (right);
   both open together when the slide gets .details-open. grid-rows animates the auto height */
.demo-gallery-panel, .demo-specs-panel {
  display: grid; grid-template-rows: 0fr; width: 100%;
  transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1);
}
.demo-slide.details-open .demo-gallery-panel,
.demo-slide.details-open .demo-specs-panel { grid-template-rows: 1fr; }
.demo-panel-inner {
  overflow: hidden; min-height: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.4, 0, .2, 1);
}
.demo-slide.details-open .demo-panel-inner { opacity: 1; transform: none; }
.demo-slide.details-open .demo-gallery-panel .demo-panel-inner { padding-top: 14px; }
.demo-slide.details-open .demo-specs-panel .demo-panel-inner { padding-top: 22px; }

.demo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-content: start; }
.shot { padding: 0; border: 1px solid var(--border); background: none; border-radius: 12px; cursor: zoom-in; overflow: hidden; line-height: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.shot:hover { border-color: var(--indigo-border); }
.shot:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.demo-specs { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.demo-specs .spec { display: grid; grid-template-columns: 132px 1fr; gap: 6px 18px; align-items: baseline; }
.demo-specs dt { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.demo-specs dd { margin: 0; font-size: 17px; line-height: 1.4; color: var(--text); }

/* full-size image viewer for the gallery */
.demo-lightbox {
  position: fixed; inset: 0; z-index: 2147483002; display: flex;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 13, 47, .82); backdrop-filter: blur(3px);
}
.demo-lightbox[hidden] { display: none; }
.demo-lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.demo-lightbox .lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: #fff; border: none; cursor: pointer;
}
.demo-lightbox .lb-close:hover { background: rgba(255, 255, 255, .26); }
.demo-lightbox .lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 600px) {
  .demo-specs .spec { grid-template-columns: 1fr; gap: 2px; }
  .demo-specs dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-gallery-panel, .demo-specs-panel { transition: none; }
  .demo-panel-inner { transition: none; transform: none; }
  .dt-chevron { transition: none; }
}

.demo-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.demo-dots { display: flex; justify-content: center; gap: 10px; }
.dot { width: 26px; height: 8px; border-radius: 999px; border: none; background: #d9daf3; cursor: pointer; padding: 0; transition: background .2s ease, width .2s ease; }
.dot.is-active { background: var(--indigo); width: 34px; }
.dot:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.demo-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.demo-arrow:hover { border-color: var(--indigo); color: var(--indigo); }
.demo-arrow:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ========================= CONTACT ========================= */
.contact {
  background:
    linear-gradient(to right, rgba(120,124,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,124,255,.05) 1px, transparent 1px),
    var(--lav-50);
  background-size: 110px 110px, 110px 110px, 100% 100%;
}
.contact-inner { display: grid; grid-template-columns: 1fr 524px; gap: 56px; align-items: center; }
.contact-heading { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: 0; margin-bottom: 26px; }
.contact-copy { font-size: 20px; line-height: 1.45; color: var(--text); margin: 0; max-width: 480px; }

.contact-card {
  background: linear-gradient(105deg, #9BA5F0 0%, #D4D1FE 50%, #C1DDF7 100%);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.c-input {
  width: 100%; border: 1px solid rgba(255,255,255,.7); background: #fff;
  border-radius: 10px; padding: 13px 30px;
  font-family: var(--font-body); font-size: 18px; color: var(--ink);
  outline: none; transition: box-shadow .15s ease, border-color .15s ease;
}
.c-input::placeholder { color: #9a9eab; }
.c-input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(122,124,255,.28); }
.c-textarea { resize: vertical; min-height: 170px; line-height: 1.5; }
.form-submit { align-self: center; margin-top: 12px; min-width: 300px; }
.form-error { color: #B3261E; background: rgba(255,255,255,.85); border-radius: 8px; font-size: 14px; line-height: 1.4; margin: 2px 0 0; padding: 8px 12px; }
.form-error[hidden] { display: none; }

/* thank-you state (swapped in by htmx after submit) */
.contact-card-thanks {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 430px; padding: 40px 34px;
}
.thanks-check { width: 66px; height: 66px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(20,20,60,.4); }
.thanks-title { color: var(--ink); font-weight: 800; font-size: 28px; letter-spacing: .02em; margin: 20px 0 12px; }
.thanks-copy { margin: 0; font-size: 17px; color: var(--text); max-width: 380px; }

/* ========================== FOOTER ========================== */
.site-footer { background: var(--navy); color: #fff; padding: 70px 0 40px; }
.brand-light .brand-name { color: #fff; }
.brand-light { color: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 26px; }
.footer-nav { display: flex; gap: 56px; }
.footer-nav a { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #eef0ff; }
.footer-nav a:hover { color: var(--indigo); }
.footer-nav a.is-active { text-decoration: underline; text-underline-offset: 5px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0 40px; }
.footer-email { color: #c7cae0; font-size: 15px; }
.socials { display: flex; gap: 18px; margin-top: 22px; }
.socials a { color: #8f93b3; transition: color .15s ease; display: inline-flex; }
.socials a:hover { color: #fff; }
.footer-legal { display: flex; gap: 40px; }
.footer-legal a { color: #c7cae0; font-size: 15px; }
.footer-legal a:hover { color: #fff; }
.footer-copy { text-align: center; color: #b9bcd4; font-size: 14px; margin: 12px 0 0; }

/* Sources / references list (jumped to from the stats-band footnote) */
#sources { scroll-margin-top: 90px; }
.footer-sources { max-width: 720px; margin: 26px auto 0; }
.footer-sources-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8f93b3; margin: 0 0 12px; }
.footer-sources-list { list-style: decimal; margin: 0; padding-left: 20px; color: #aeb2ce; font-size: 12.5px; line-height: 1.55; }
.footer-sources-list li { margin: 0 0 6px; }
.footer-sources-list li::marker { color: #8f93b3; }
.footer-sources-list a { color: #c3c6ea; text-decoration: underline; text-underline-offset: 2px; }
.footer-sources-list a:hover { color: #fff; }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ========================================================== */
/*                        RESPONSIVE                          */
/* ========================================================== */
@media (max-width: 960px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); gap: 30px 12px; }
  .howitworks-head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  .demo-slide.is-active { grid-template-columns: 1fr; gap: 32px; }
  .demo-media { min-height: 260px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: center; text-align: center; gap: 18px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 22px 24px 28px;
    box-shadow: 0 20px 30px -20px rgba(20,20,60,.3);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .site-header.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 6px 2px; font-size: 17px; }
  .main-nav .nav-cta { align-self: center; padding: 10px 30px; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 60px 0; }
  .compare { grid-template-columns: 1fr; row-gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .chip-after::before { display: none; }
  /* stats: 2 across on mobile with the lone 5th stat centered, smaller numbers */
  .stats-card { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .stats-card .stat:last-child { grid-column: 1 / -1; }
  .stat-num { font-size: 44px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 34px 30px; }
  /* section padding drops to 60px here, so trim the CTA band's pull-up to keep
     it from overlapping the last (full-width) process card on mobile */
  .cta-band { margin-top: -20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 24px 40px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); padding: 28px 16px; }
  .stat { padding: 0 2px; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px 24px; }
  .btn-lg { padding: 14px 22px; font-size: 18px; }
  .footer-legal { flex-direction: column; gap: 12px; }

  /* keep the contact card + submit button inside the viewport */
  .contact-card { padding: 24px; }
  .form-submit { min-width: 0; width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
