/* ============================================================================
   Bob marketing site
   Design tokens ported 1:1 from the bob app (frontend/src). Dark slate UI,
   indigo accent, DM Sans. No build step, no dependencies, just plain static CSS.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0f172a; /* page background            (slate-900) */
  --bg-alt: #0c1424; /* alternating band, a touch darker       */
  --rail: #080f1a; /* near-black nav rail                     */
  --panel: #1e293b; /* cards / surfaces           (slate-800) */
  --panel-2: #162032; /* table headers / hovers                 */

  /* Borders */
  --border: #334155; /* primary border             (slate-700) */
  --border-2: #243044; /* secondary border                       */
  --border-3: #1a2535; /* subtle divider                         */

  /* Text */
  --text: #f1f5f9; /* primary text               (slate-100) */
  --text-bright: #f8fafc; /* brightest headings                     */
  --text-2: #cbd5e1; /* secondary text             (slate-300) */
  --text-muted: #94a3b8; /* muted                      (slate-400) */
  --text-dim: #8494a6; /* dim labels                             */

  /* Brand + accents */
  --indigo: #4f46e5; /* primary button / brand     (indigo-600)*/
  --indigo-2: #6366f1; /* accent / focus             (indigo-500)*/
  --indigo-3: #a5b4fc; /* soft indigo text                       */
  --blue: #2563eb; /* secondary accent           (blue-600)  */
  --violet: #7c3aed; /* gradient partner           (violet-600)*/

  /* Semantic */
  --green: #10b981;
  --green-2: #34d399;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --red: #ef4444;
  --red-2: #f87171;
  --cyan: #06b6d4;

  /* Type */
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-card: 16px;
  --r-panel: 12px;
  --r-btn: 10px;
  --r-input: 8px;
  --r-pill: 999px;

  /* Depth */
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --glow: 0 8px 24px rgba(99, 102, 241, 0.35);

  /* Layout */
  --wrap: 1140px;
  --gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Dark scrollbars: mirrors the app */
* {
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
*::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

:focus-visible {
  outline: 2px solid var(--indigo-2);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
strong {
  color: var(--text);
  font-weight: 600;
}

.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;
}

/* ------------------------------------------------------------------ icons */
.ico {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ico-sm {
  width: 16px;
  height: 16px;
}
.ico-lg {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------------ layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 92px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
}
.section > .wrap {
  position: relative;
  z-index: 1;
}
section[id] {
  scroll-margin-top: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-3);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 18px 0 14px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  padding: 12px 20px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
  user-select: none;
}
.btn .ico {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  background: #5b53ec;
  transform: translateY(-1px);
  box-shadow: var(--glow);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: var(--panel);
  color: var(--text-2);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: #24314a;
  color: var(--text);
  border-color: #45557080;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
  padding: 10px 14px;
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}
.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------------ top nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}
.brand-mark .ico {
  color: #fff;
  width: 19px;
  height: 19px;
}
.brand-word {
  font-size: 20px;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-word span {
  color: var(--text-dim);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.07);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-phone:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.07);
}
.nav-phone .ico {
  color: var(--indigo-2);
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero::before {
  /* indigo glow */
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-30%);
  width: 900px;
  height: 700px;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgba(79, 70, 229, 0.3),
    rgba(79, 70, 229, 0.05) 60%,
    transparent 75%
  );
  filter: blur(8px);
  z-index: 0;
}
.hero::after {
  /* faint grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(
    closest-side at 50% 30%,
    #000 0%,
    transparent 80%
  );
  mask-image: radial-gradient(
    closest-side at 50% 30%,
    #000 0%,
    transparent 80%
  );
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  margin: 22px 0 20px;
  letter-spacing: -0.03em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #a5b4fc, #818cf8 45%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
}
.hero-hl {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  background: linear-gradient(120deg, #a5b4fc, #818cf8 45%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-dim);
}
.hero-trust .ico {
  color: var(--green);
  width: 17px;
  height: 17px;
}

/* ---- Microsoft strip ---- */
.ms-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.ms-strip .divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}
.ms-strip .ms-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ms-logo {
  width: 15px;
  height: 15px;
  display: inline-grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  gap: 2px;
}
.ms-logo i {
  display: block;
  border-radius: 1px;
}
.ms-logo i:nth-child(1) {
  background: #f25022;
}
.ms-logo i:nth-child(2) {
  background: #7fba00;
}
.ms-logo i:nth-child(3) {
  background: #00a4ef;
}
.ms-logo i:nth-child(4) {
  background: #ffb900;
}

/* ============================================================= product mock */
.mock {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  min-height: 380px;
  outline: 1px solid rgba(148, 163, 184, 0.05);
}
.mock::after {
  /* top sheen */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  pointer-events: none;
}
.mock-rail {
  width: 58px;
  background: var(--rail);
  border-right: 1px solid var(--border-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 6px;
  flex-shrink: 0;
}
.mock-rail .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: none;
}
.mock-rail .brand-mark .ico {
  width: 16px;
  height: 16px;
}
.rail-ico {
  width: 38px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  position: relative;
}
.rail-ico .ico {
  width: 17px;
  height: 17px;
}
.rail-ico.active {
  color: var(--text);
  background: var(--panel);
}
.rail-ico.active::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
}
.rail-ico.ai {
  color: var(--indigo-2);
  margin-top: auto;
}

.mock-main {
  flex: 1;
  padding: 16px 18px;
  min-width: 0;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
}
.mock-title span {
  color: var(--text-dim);
  font-weight: 500;
}
.mock-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo-3);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 4px 9px;
  border-radius: var(--r-pill);
}
.mock-ai .ico {
  width: 13px;
  height: 13px;
}

.mock-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.chip .ico {
  width: 12px;
  height: 12px;
}
.chip.amber {
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.12);
}
.chip.red {
  color: var(--red-2);
  background: rgba(239, 68, 68, 0.12);
}
.chip.blue {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}
.chip.green {
  color: var(--green-2);
  background: rgba(16, 185, 129, 0.12);
}

.mock-roster {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: 11px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.job::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--dot, var(--indigo-2));
}
.job-main {
  min-width: 0;
  flex: 1;
}
.job-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.avatars {
  display: flex;
}
.avatars .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  margin-left: -7px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.avatars .av:first-child {
  margin-left: 0;
}
.av.warn {
  box-shadow: 0 0 0 2px var(--red);
}
.av.more {
  background: #33415580 !important;
  color: var(--text-2);
}

.mock-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}
.mock-foot .ico {
  width: 13px;
  height: 13px;
  color: var(--green);
}

/* ---- hero: dashboard with the crew tucked under its corner ---- */
.hero-mock {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-mock .mock {
  width: 100%;
}
.hero-crew {
  align-self: flex-start;
  position: relative;
  z-index: 3;
  width: 520px;
  max-width: calc(100% + 56px);
  height: auto;
  border-radius: 14px;
  margin: -78px 0 0 40px;
}

/* ============================================================= feature cards */
.grid {
  display: grid;
  gap: 20px;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #3f4d66;
  box-shadow: var(--shadow-md);
}
.card-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--indigo-2);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.card-ico .ico {
  width: 22px;
  height: 22px;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* tinted icon variants */
.t-green {
  color: var(--green) !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}
.t-amber {
  color: var(--amber) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}
.t-blue {
  color: #60a5fa !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}
.t-red {
  color: var(--red-2) !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

/* ============================================================= compliance band */
.compliance .wrap {
  position: relative;
  z-index: 1;
}
.compliance-panel {
  background: linear-gradient(160deg, #101b30, #0f172a);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.c-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.c-item .card-ico {
  margin-bottom: 0;
  width: 42px;
  height: 42px;
}
.c-item h4 {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 3px;
}
.c-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* eligibility matrix mock */
.matrix {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.matrix-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.matrix-head .t {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.matrix-head .t .ico {
  color: var(--indigo-2);
  width: 16px;
  height: 16px;
}
.matrix table {
  width: 100%;
  border-collapse: collapse;
}
.matrix th,
.matrix td {
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid var(--border-3);
}
.matrix thead th {
  background: var(--panel-2);
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 11px;
  text-transform: uppercase;
  border-top: none;
}
.matrix tbody th {
  text-align: left;
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
}
.cell {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.cell.ok {
  color: var(--green);
  background: rgba(16, 185, 129, 0.14);
}
.cell.no {
  color: var(--red-2);
  background: rgba(239, 68, 68, 0.14);
}
.cell.soon {
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.14);
}
.cell .ico {
  width: 14px;
  height: 14px;
}

/* ============================================================= how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
  text-align: center;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
  margin: 0 auto 18px;
}
.step h3 {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(50% + 21px);
  right: calc(-50% - 3px);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.4),
    rgba(99, 102, 241, 0.05)
  );
}

/* ============================================================= outcomes */
.outcome {
  text-align: left;
}
.outcome .card-ico {
  background: transparent;
  border: none;
  padding: 0;
  width: auto;
  height: auto;
  margin-bottom: 14px;
}
.outcome .card-ico .ico {
  width: 26px;
  height: 26px;
}
.outcome h3 {
  font-size: 17px;
}

/* ============================================================= mobile band */
.mobile-band .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mobile-mock {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.phone {
  width: 244px;
  border-radius: 46px;
  background: #05090f;
  border: 1px solid #1f2a3d;
  padding: 9px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 2px rgba(255, 255, 255, 0.03);
  position: relative;
}
/* Dynamic Island */
.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 23px;
  border-radius: 13px;
  background: #000;
  z-index: 4;
}
/* Home indicator */
.phone::after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 4;
}
.phone-screen {
  position: relative;
  background: var(--bg);
  border-radius: 38px;
  padding: 46px 16px 32px;
  min-height: 472px;
  overflow: hidden;
}
/* iOS status bar */
.phone-status {
  position: absolute;
  top: 16px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  z-index: 3;
}
.phone-batt {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1px solid rgba(248, 250, 252, 0.55);
  border-radius: 3px;
  padding: 1.5px;
}
.phone-batt::before {
  content: "";
  display: block;
  width: 68%;
  height: 100%;
  background: var(--text-bright);
  border-radius: 1.5px;
}
.phone-batt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: rgba(248, 250, 252, 0.55);
}

/* ============================================================= final CTA */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    closest-side at 50% 0%,
    rgba(79, 70, 229, 0.22),
    transparent 70%
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  background: linear-gradient(160deg, #141f38, #0f172a);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  box-shadow: var(--shadow-md);
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================= footer */
.footer {
  border-top: 1px solid var(--border-2);
  padding: 56px 0 40px;
  background: var(--rail);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer p.tag {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}
.footer h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul a,
.footer ul li {
  color: var(--text-muted);
  font-size: 14px;
}
.footer ul a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}

/* ============================================================= reveal anim */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.d1 {
  transition-delay: 0.06s;
}
.js .reveal.d2 {
  transition-delay: 0.12s;
}
.js .reveal.d3 {
  transition-delay: 0.18s;
}
.js .reveal.d4 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================= responsive */
@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .compliance-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .mobile-band .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-crew {
    align-self: flex-start;
    position: relative;
    z-index: 3;
    width: 520px;
    max-width: calc(100% + 56px);
    height: auto;
    border-radius: 14px;
    margin: -78px 0 0 calc(50% - 100px);
  }
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-phone span {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .step {
    text-align: left;
  }
  .step-num {
    margin-inline: 0;
  }
  .section {
    padding: 68px 0;
  }
}
@media (max-width: 620px) {
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding-inline: 18px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-cta .btn {
    flex: 1;
  }
  .hero-crew {
    width: 100%;
    max-width: 100%;
    margin: -20px 0 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-inner {
    padding: 40px 24px;
  }
}
