/* ─────────────────────────────────────────────────────────────
   IMSURED — custom styles + motion
   Layered on top of Tailwind; design tokens from the Sentinel
   system are exposed as Tailwind colors in index.html.
   ───────────────────────────────────────────────────────────── */

:root {
  --imsured-primary:    #0b1c30;
  --imsured-secondary:  #0058be;
  --imsured-accent:     #2170e4;
  --imsured-surface:    #f8f9ff;
  --imsured-ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --imsured-ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

* { -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; }

/* ─────────────────── ICON SYSTEM ───────────────────
   Inline SVG icons (replacing Material Symbols).
   Default 24×24, inherits currentColor. Per-instance sizing via inline style. */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.faq-chevron {
  transition: transform 0.4s var(--imsured-ease);
  color: var(--imsured-secondary);
}
.faq[open] .faq-chevron { transform: rotate(180deg); }

/* Subtle serif italic flourish (one of the only typographic risks)
   uses Inter's italic with optical letterforms — restrained, not
   the templated "big serif on cream" look. */
.font-serif-feature {
  font-family: 'Inter', serif;
  font-style: italic;
  font-weight: 600;
  font-feature-settings: 'salt', 'ss01';
}

/* ─────────────────── NAV ─────────────────── */
#nav {
  background: rgba(248, 249, 255, 0);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(248, 249, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: rgba(118, 119, 125, 0.18);
}
.nav-link { position: relative; transition: color 0.3s var(--imsured-ease); }
.nav-link:hover { color: var(--imsured-primary); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--imsured-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--imsured-ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.mobile-link {
  font-size: 18px; font-weight: 600; padding: 8px 0;
  border-bottom: 1px solid rgba(118, 119, 125, 0.15);
}

/* ─────────────────── BUTTONS ─────────────────── */
/* NB: deliberately NOT setting `display` on .btn-primary so Tailwind utilities
   (.hidden, .md\:inline-flex) keep working. Consumers add `inline-flex`. */
.btn-primary {
  align-items: center;
  gap: 8px;
  background: var(--imsured-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s var(--imsured-ease), box-shadow 0.3s var(--imsured-ease);
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 28, 48, 0.18);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--imsured-primary);
  border: 1px solid rgba(118, 119, 125, 0.30);
  transition: all 0.3s var(--imsured-ease);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--imsured-primary);
  color: #fff;
  border-color: var(--imsured-primary);
}
.btn-ghost .material-symbols-outlined { transition: transform 0.4s var(--imsured-ease); }
.btn-ghost:hover .material-symbols-outlined { transform: translateY(3px); }

/* Google Play badge — official-feeling but custom */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b1c30;
  color: #fff;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  transition: transform 0.4s var(--imsured-ease), box-shadow 0.4s var(--imsured-ease);
  box-shadow: 0 4px 14px rgba(11, 28, 48, 0.18);
  font-family: 'Inter', sans-serif;
}
.play-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(11, 28, 48, 0.28);
}
.play-badge--light {
  background: #fff;
  color: #0b1c30;
}

/* ─────────────────── AMBIENT GLOW (hero mouse-tracked) ─────────────────── */
.ambient-glow {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 700px;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 30%),
    rgba(33, 112, 228, 0.18),
    rgba(33, 112, 228, 0.06) 35%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  transition: background 0.6s ease-out;
}
.grid-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 28, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 48, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────── HERO TEXT REVEAL ─────────────────── */
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line > * { display: inline-block; }
.hero-line {
  opacity: 0;
  transform: translateY(0);
}
.reveal-on .hero-line {
  animation: lineUp 0.9s var(--imsured-ease) forwards;
  opacity: 1;
}
.reveal-on .hero-line:nth-child(1) { animation-delay: 0.05s; }
.reveal-on .hero-line:nth-child(2) { animation-delay: 0.18s; }
.reveal-on .hero-line:nth-child(3) { animation-delay: 0.30s; }
.reveal-on .hero-line:nth-child(4) { animation-delay: 0.42s; }
@keyframes lineUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────── GENERIC REVEAL ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--imsured-ease), transform 0.8s var(--imsured-ease);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────── HERO PHONE ─────────────────── */
.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(180deg, #1c2d44 0%, #06101b 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #0b1c30,
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 60px 120px -30px rgba(11, 28, 48, 0.45),
    0 30px 60px -20px rgba(33, 112, 228, 0.25);
  transform: rotate(-3deg);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 1024px) {
  .phone-frame { width: 320px; height: 660px; }
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #06101b;
  border-radius: 30px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px; font-weight: 600;
}
.phone-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 16px 12px;
  border-radius: 999px;
  overflow: hidden;
}
.phone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2170e4, #adc6ff);
  width: 0%;
  border-radius: 999px;
  transition: width 1.6s var(--imsured-ease);
}
.phone-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 14px 12px;
  overflow: hidden;
}
.phone-card {
  background: linear-gradient(150deg, #14253c 0%, #0d1a2c 100%);
  border-radius: 12px;
  padding: 10px;
  position: relative;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  animation: cardIn 0.5s var(--imsured-ease) forwards;
}
.phone-card .ico {
  width: 22px;
  height: 22px;
  color: #adc6ff;
  display: block;
}
.phone-card .name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 16px;
}
.phone-card .meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}
.phone-card .badge {
  position: absolute; top: 8px; right: 8px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  display: flex; align-items: center; justify-content: center;
}
@keyframes cardIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.phone-tab {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 6px;
  background: rgba(0, 0, 0, 0.4);
}
.phone-tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px; font-weight: 500;
  padding: 4px;
}
.phone-tab-item.active { color: #adc6ff; }

/* gentle floating */
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-10px); }
}

/* Floating chips around hero phone */
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--imsured-primary);
  box-shadow: 0 12px 28px rgba(11, 28, 48, 0.12), 0 0 0 1px rgba(118, 119, 125, 0.10);
  white-space: nowrap;
  opacity: 0;
  animation: chipIn 0.7s var(--imsured-ease) forwards;
}
.float-chip--1 { top: 10%;  left: -10px; animation-delay: 0.8s;  animation-name: chipIn1; }
.float-chip--2 { top: 42%;  right: -10px; animation-delay: 1.05s; animation-name: chipIn2; }
.float-chip--3 { bottom: 8%; left: 10%;  animation-delay: 1.3s;  animation-name: chipIn3; }
@keyframes chipIn1 {
  0%   { opacity: 0; transform: translate(-20px, 0) scale(0.9); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes chipIn2 {
  0%   { opacity: 0; transform: translate(20px, 0) scale(0.9); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes chipIn3 {
  0%   { opacity: 0; transform: translate(0, 20px) scale(0.9); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
.float-chip--1, .float-chip--2, .float-chip--3 {
  animation-fill-mode: both;
}

/* ping for the eyebrow dot */
@keyframes pingSlow {
  0%   { box-shadow: 0 0 0 0 rgba(0, 88, 190, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(0, 88, 190, 0); }
}
.animate-ping-slow {
  animation: pingSlow 2.2s var(--imsured-ease-out) infinite;
}

/* ─────────────────── EYEBROW TAG ─────────────────── */
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--imsured-secondary);
}
.eyebrow-tag::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
}

/* ─────────────────── OFFLINE SECTION (SIGNATURE) ─────────────────── */
.vault-pattern {
  background:
    radial-gradient(circle at 20% 30%, rgba(33, 112, 228, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(33, 112, 228, 0.12), transparent 50%);
}
.vault-pattern::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 80%);
}
.vault-diagram {
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.ring-orbit { transform-origin: 400px 210px; animation: spin 30s linear infinite; }
.ring-orbit--rev { animation-direction: reverse; animation-duration: 22s; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* packets fly outward, hit barrier, return */
.packet { opacity: 0; }
.packet--1 { animation: pkt1 5s var(--imsured-ease) infinite; }
.packet--2 { animation: pkt2 5s var(--imsured-ease) infinite 1.2s; }
.packet--3 { animation: pkt3 5s var(--imsured-ease) infinite 2.4s; }
.packet--4 { animation: pkt4 5s var(--imsured-ease) infinite 3.6s; }
@keyframes pkt1 {
  0%   { transform: translate(390px, 200px); opacity: 0; }
  20%  { opacity: 1; }
  45%  { transform: translate(220px, 100px); opacity: 1; }
  55%  { transform: translate(220px, 100px); opacity: 0.3; }
  70%  { transform: translate(390px, 200px); opacity: 1; }
  100% { transform: translate(390px, 200px); opacity: 0; }
}
@keyframes pkt2 {
  0%   { transform: translate(390px, 200px); opacity: 0; }
  20%  { opacity: 1; }
  45%  { transform: translate(580px, 120px); opacity: 1; }
  55%  { transform: translate(580px, 120px); opacity: 0.3; }
  70%  { transform: translate(390px, 200px); opacity: 1; }
  100% { transform: translate(390px, 200px); opacity: 0; }
}
@keyframes pkt3 {
  0%   { transform: translate(390px, 200px); opacity: 0; }
  20%  { opacity: 1; }
  45%  { transform: translate(170px, 290px); opacity: 1; }
  55%  { transform: translate(170px, 290px); opacity: 0.3; }
  70%  { transform: translate(390px, 200px); opacity: 1; }
  100% { transform: translate(390px, 200px); opacity: 0; }
}
@keyframes pkt4 {
  0%   { transform: translate(390px, 200px); opacity: 0; }
  20%  { opacity: 1; }
  45%  { transform: translate(610px, 290px); opacity: 1; }
  55%  { transform: translate(610px, 290px); opacity: 0.3; }
  70%  { transform: translate(390px, 200px); opacity: 1; }
  100% { transform: translate(390px, 200px); opacity: 0; }
}

/* Stat cards */
.stat-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  text-align: left;
  transition: border-color 0.4s var(--imsured-ease), transform 0.4s var(--imsured-ease);
}
.stat-card:hover {
  border-color: rgba(33, 112, 228, 0.5);
  transform: translateY(-3px);
}
.stat-number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

/* ─────────────────── FEATURE CARDS ─────────────────── */
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(118, 119, 125, 0.16);
  border-radius: 24px;
  padding: 32px 32px 28px;
  overflow: hidden;
  transition: transform 0.5s var(--imsured-ease), box-shadow 0.5s var(--imsured-ease), border-color 0.5s var(--imsured-ease);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--cx, 50%) var(--cy, 50%), rgba(33, 112, 228, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--imsured-ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 112, 228, 0.4);
  box-shadow: 0 4px 8px rgba(11, 28, 48, 0.05), 0 24px 48px rgba(11, 28, 48, 0.10);
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--imsured-secondary);
  font-variant-numeric: tabular-nums;
}
.feature-icon {
  margin-top: 10px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--imsured-surface);
  border-radius: 14px;
  color: var(--imsured-secondary);
  border: 1px solid rgba(33, 112, 228, 0.18);
}
.feature-title {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--imsured-primary);
}
.feature-body {
  margin-top: 12px;
  color: #45464d;
  font-size: 16px;
  line-height: 1.65;
}
.feature-visual {
  margin-top: 28px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--imsured-surface);
  border: 1px solid rgba(118, 119, 125, 0.10);
  min-height: 160px;
  padding: 18px;
}

/* — capture mock — */
.feature-visual--capture {
  background: linear-gradient(180deg, #0b1c30 0%, #14253c 100%);
}
.capture-frame {
  position: relative;
  height: 124px;
  border-radius: 8px;
  border: 1.5px dashed rgba(173, 198, 255, 0.55);
  overflow: hidden;
}
.capture-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.capture-target {
  position: absolute;
  top: 32px; left: 32px;
  width: 90px; height: 60px;
  border: 2px solid #2170e4;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(33, 112, 228, 0.18);
  animation: scan 4s var(--imsured-ease) infinite;
}
@keyframes scan {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(60px, 8px); }
  50%      { transform: translate(20px, 30px); }
  75%      { transform: translate(80px, 30px); }
}
.capture-hud {
  position: absolute;
  bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.10em;
  color: #adc6ff;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 9px;
  border-radius: 999px;
}
.capture-dot {
  width: 6px; height: 6px;
  background: #ef4444; border-radius: 50%;
  animation: blink 1.6s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* — receipt mock — */
.receipt-mock {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(118, 119, 125, 0.18);
  padding: 14px 16px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.receipt-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  color: #45464d;
  border-bottom: 1px dashed rgba(118, 119, 125, 0.20);
}
.receipt-row--head {
  font-weight: 800; color: #0b1c30; font-size: 13px;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
}
.receipt-row:last-child { border-bottom: none; }
.receipt-row.mono, .mono { font-family: 'JetBrains Mono', 'Courier New', monospace; color: #0b1c30; }
.receipt-row--tag { padding-top: 12px; justify-content: flex-end; border-bottom: none; }
.success-pill {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
}

/* — export mock — */
.export-doc {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(118, 119, 125, 0.18);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.export-doc__bar {
  height: 6px; width: 60%;
  background: linear-gradient(90deg, var(--imsured-secondary), var(--imsured-accent));
  border-radius: 999px;
  margin-bottom: 14px;
}
.export-doc__title {
  font-size: 14px; font-weight: 700; color: var(--imsured-primary);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.export-doc__line {
  height: 8px; background: #eff4ff; border-radius: 4px;
  margin-bottom: 7px;
}
.export-doc__line.short { width: 70%; }
.export-doc__stamp {
  position: absolute;
  right: 14px; bottom: 12px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.15em;
  color: #047857;
  border: 1.5px solid #047857;
  padding: 3px 8px;
  border-radius: 4px;
  transform: rotate(-4deg);
  opacity: 0.85;
}

/* — backup mock — */
.feature-visual--backup {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--imsured-surface);
}
.backup-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--imsured-primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  align-self: flex-start;
}
.backup-arrow {
  position: relative;
  height: 16px; margin-left: 30px;
  border-left: 1.5px dashed rgba(118, 119, 125, 0.40);
}
.backup-targets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.backup-target {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid rgba(118, 119, 125, 0.16);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--imsured-primary);
}
.backup-target--off {
  background: var(--imsured-surface);
  color: var(--imsured-secondary);
  font-weight: 700;
  border-color: rgba(33, 112, 228, 0.30);
}

/* ─────────────────── PRIVACY MANIFEST ─────────────────── */
.manifest { list-style: none; padding: 0; margin: 0; }
.manifest-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(118, 119, 125, 0.20);
  align-items: start;
}
.manifest-item:last-child { border-bottom: 1px solid rgba(118, 119, 125, 0.20); }
.manifest-x {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--imsured-primary);
  color: #fff;
  border-radius: 12px;
  font-size: 22px; font-weight: 700;
  font-family: 'Inter', serif;
}
.manifest-head {
  font-size: 22px; font-weight: 700;
  color: var(--imsured-primary);
  letter-spacing: -0.015em;
}
.manifest-body {
  margin-top: 6px;
  color: #45464d;
  font-size: 15.5px;
  line-height: 1.6;
}

/* ─────────────────── HOW IT WORKS ─────────────────── */
.how-step {
  position: relative;
  padding: 20px 0;
}
.how-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--imsured-secondary);
  font-variant-numeric: tabular-nums;
}
.how-title {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--imsured-primary);
}
.how-body {
  margin-top: 10px;
  color: #45464d;
  font-size: 16px;
  line-height: 1.65;
}
.how-line {
  display: none;
}
@media (min-width: 768px) {
  .how-step { padding-right: 30px; }
}

/* ─────────────────── FAQ ─────────────────── */
.faq {
  background: #fff;
  border: 1px solid rgba(118, 119, 125, 0.16);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s var(--imsured-ease), box-shadow 0.3s var(--imsured-ease);
}
.faq[open] {
  border-color: rgba(33, 112, 228, 0.30);
  box-shadow: 0 6px 20px rgba(11, 28, 48, 0.06);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  color: var(--imsured-primary);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-body {
  padding: 0 26px 22px;
  color: #45464d;
  font-size: 15.5px;
  line-height: 1.65;
}
.faq-body code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  background: var(--imsured-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--imsured-primary);
}

/* ─────────────────── CTA PANEL ─────────────────── */
.cta-panel {
  position: relative;
  background: linear-gradient(135deg, #0058be 0%, #2170e4 100%);
  border-radius: 32px;
  padding: 72px 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 88, 190, 0.30);
}
@media (min-width: 768px) {
  .cta-panel { padding: 96px 48px; }
}
.cta-rings {
  position: absolute;
  inset: -50px -50px auto auto;
  width: 600px; height: 600px;
  opacity: 0.6;
  pointer-events: none;
  animation: spin 60s linear infinite;
}
.cta-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  transition: background 0.3s var(--imsured-ease), border-color 0.3s var(--imsured-ease);
}
.cta-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.cta-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}
.cta-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff;
  color: var(--imsured-secondary);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.3s var(--imsured-ease), box-shadow 0.3s var(--imsured-ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.cta-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ─────────────────── FOOTER ─────────────────── */
.footer-head {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--imsured-primary);
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  color: #45464d;
  font-size: 14.5px;
  padding: 4px 0;
  transition: color 0.3s var(--imsured-ease);
}
.footer-link:hover { color: var(--imsured-secondary); }

/* ─────────────────── ACCESSIBILITY ─────────────────── */
*:focus-visible {
  outline: 2px solid var(--imsured-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .phone-frame { animation: none !important; transform: rotate(-3deg) !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ring-orbit, .cta-rings, .packet { animation: none !important; }
}

/* ─────────────────── MOBILE TUNING ─────────────────── */
@media (max-width: 768px) {
  .phone-frame {
    transform: rotate(0);
    margin-top: 24px;
  }
  @keyframes float {
    0%, 100% { transform: rotate(0) translateY(0); }
    50%      { transform: rotate(0) translateY(-8px); }
  }
  .feature-card { padding: 24px; }
  .manifest-item { grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; }
  .manifest-head { font-size: 19px; }
  .vault-diagram { margin-top: 40px; }
}
