/* ─────────────────────────────────────────────────────────────────────
 * eVaqil.com — marketing site
 * Matches the app's design tokens (cyan + gold accent, DM Sans + Fraunces)
 * but tuned for a roomier, marketing-friendly cadence.
 * ───────────────────────────────────────────────────────────────────── */

:root {
  /* Core palette — mirrored from src/index.css */
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --ink-muted: #475569;
  --muted: #64748b;
  --muted-soft: #94a3b8;

  --line: #e6e9f1;
  --line-soft: #f0f2f7;
  --line-strong: #d6dae5;

  --surface: #ffffff;
  --surface-2: #fafbfd;
  --canvas: #f4f6fb;
  --canvas-warm: #f7f3ec;

  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --accent-strong: #0e7490;
  --accent-soft: #ecfeff;
  --accent-soft-2: #f5fdff;
  --accent-glow: rgba(6, 182, 212, 0.22);

  --gold: #c99b47;
  --gold-soft: #faf1dd;
  --sage: #4a7c6f;
  --sage-soft: #e9f1ee;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --violet: #7c3aed;
  --violet-soft: #ede9fe;

  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-pop: 0 4px 12px rgb(30 58 95 / 0.10), 0 18px 36px rgb(30 58 95 / 0.10);
  --shadow-rise: 0 8px 20px rgb(15 23 42 / 0.08), 0 24px 60px rgb(15 23 42 / 0.10);
  --shadow-glow: 0 0 0 4px rgba(6, 182, 212, 0.18);
  --shadow-accent: 0 12px 28px rgb(6 182 212 / 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --max: 1180px;
}

/* ─── Reset ────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 0% -10%, rgba(6, 182, 212, 0.06), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 155, 71, 0.04), transparent 55%),
    var(--canvas);
  background-attachment: fixed;
  overflow-x: hidden;
}

html,
body {
  max-width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

/* ─── Layout primitives ───────────────────────────────────────────── */

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

.display {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
  font-feature-settings: "ss01", "ss02", "kern";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.center {
  display: block;
  text-align: center;
  margin-bottom: 32px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--canvas);
  color: var(--ink-muted);
  border: 1px solid var(--line);
}

.chip-accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(6, 182, 212, 0.30);
}

.chip-gold {
  background: var(--gold-soft);
  color: #92670f;
  border-color: rgba(201, 155, 71, 0.30);
}

/* ─── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease),
    background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 14px;
}

.btn-lg svg {
  width: 18px;
  height: 18px;
}

.btn-sm {
  padding: 8px 13px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-sm svg {
  width: 14px;
  height: 14px;
}

/* ─── Store badges (App Store / Google Play) ─────────────────────── */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 17px;
  border-radius: 14px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.45);
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease),
    border-color 200ms var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.5);
  border-color: rgba(6, 182, 212, 0.5);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-text small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.store-badge-text strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* On the dark CTA panel, lift the badge off the background */
.store-badge-light {
  background: #fff;
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.store-badge-light:hover {
  border-color: #fff;
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.45);
}

/* ─── Header ──────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.012em;
  font-size: 17px;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 4px 14px rgb(6 182 212 / 0.32);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 10px 8px;
  border-radius: 10px;
  transition: background 180ms var(--ease);
}

.nav-toggle:hover {
  background: var(--canvas);
}

.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  padding: 12px 4px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu a.btn {
  justify-content: center;
  margin-top: 8px;
  padding: 14px 18px;
}

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 60px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1.display {
  font-size: clamp(40px, 7vw, 64px);
  margin-top: 18px;
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-fineprint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}

.hero-meta li {
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 700;
}

/* Hero visual: phone mockup */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  max-width: 100%;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(closest-side at 40% 35%, rgba(6, 182, 212, 0.22), transparent 70%),
    radial-gradient(closest-side at 70% 65%, rgba(201, 155, 71, 0.16), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 280px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.4),
    0 18px 32px -10px rgba(15, 23, 42, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--line);
}

.app-bar .hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.app-bar .hamburger span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.app-bar .hamburger span:last-child {
  width: 10px;
}

.app-title {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}

.app-bar .bell {
  position: relative;
  color: var(--ink-muted);
}

.app-bar .bell svg {
  width: 16px;
  height: 16px;
}

.bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--surface);
}

.phone-content {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, var(--accent-soft-2), var(--surface) 70%);
}

.card-mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card-mini.accent-card {
  border-color: rgba(6, 182, 212, 0.35);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.04), transparent 60%),
    var(--surface);
}

.card-mini-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.card-mini-row .chip {
  padding: 3px 8px;
  font-size: 9.5px;
}

.card-mini-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-mini-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.card-mini-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}

.tab-strip {
  display: flex;
  gap: 5px;
  margin-top: auto;
  padding: 6px;
  background: var(--canvas);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.tab-strip .pill {
  flex: 1;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 8px;
  color: var(--muted);
}

.tab-strip .pill.on {
  background: var(--surface);
  color: var(--accent-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

/* Floating cards around the phone */
.float-card {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-pop);
  animation: float 4s ease-in-out infinite;
}

.float-card .ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
}

.float-card .ico svg {
  width: 16px;
  height: 16px;
}

.float-card .micro-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.float-card .micro-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}

.float-card-1 {
  top: 8%;
  left: -6%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 22%;
  right: -10%;
  animation-delay: 1s;
}

.float-card-3 {
  bottom: 6%;
  left: -10%;
  animation-delay: 2s;
}

.bg-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.bg-gold { background: linear-gradient(135deg, #e8b964, #c99b47); }
.bg-sage { background: linear-gradient(135deg, #5e9388, #3f6b60); }
.bg-blue { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.bg-teal { background: linear-gradient(135deg, #14b8a6, #0d7a72); }
.bg-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─── Trust band ─────────────────────────────────────────────────── */

.trust {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.trust-label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Section heads ──────────────────────────────────────────────── */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 44px);
  margin: 14px 0 16px;
}

.section-lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ─── Features ───────────────────────────────────────────────────── */

.features {
  padding: 96px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
  border-color: var(--line-strong);
}

.feature-flagship {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent 60%),
    var(--surface);
  border-color: rgba(6, 182, 212, 0.30);
}

.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgb(15 23 42 / 0.18);
}

.feature-ico svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-badge {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  padding: 3px 9px;
  letter-spacing: 0.02em;
}

.feature-card:not(.feature-flagship) > .feature-ico {
  margin-bottom: 16px;
}

.feature-tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.feature-bullets {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* ─── How it works ───────────────────────────────────────────────── */

.how {
  padding: 96px 0;
  background:
    linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.04) 60%, transparent);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.step:hover {
  border-color: rgba(6, 182, 212, 0.40);
  box-shadow: var(--shadow-card);
}

.step::before {
  content: '';
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.10), transparent);
}

.step-num {
  display: inline-block;
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.step h3 {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─── Preview / inside the app ───────────────────────────────────── */

.preview {
  padding: 96px 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
  min-height: 280px;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.preview-card:hover .mock {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.preview-caption {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  padding: 0 4px;
}

.preview-caption strong {
  color: var(--ink);
}

/* Dashboard mock */
.mock-dashboard .mock-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.mock-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mock-title-row {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-pill {
  width: 56px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 4px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mock-pill.cy { background: var(--accent-soft); color: var(--accent-strong); }
.mock-pill.gold { background: var(--gold-soft); color: #92670f; }
.mock-pill.sage { background: var(--sage-soft); color: #2f5045; }

.mock-text {
  font-size: 13.5px;
  line-height: 1.45;
}

.mock-text .muted {
  color: var(--muted);
  font-size: 12px;
}

/* eCourts mock */
.mock-ecourts .mock-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--canvas);
  border-radius: 12px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
}

.mock-input-tag {
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.30);
}

.mock-status {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.status-dot.live {
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.mock-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13.5px;
}

.mock-result strong {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 15px;
}

.mock-result .muted {
  color: var(--muted);
  margin-top: 2px;
}

.mock-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 10px 0;
}

.mock-btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 4px 10px rgb(6 182 212 / 0.25);
}

/* AI Clerk mock */
.clerk-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clerk-bubble {
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--canvas);
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 90%;
}

.clerk-bubble.ai {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(6, 182, 212, 0.30);
}

.clerk-bubble.ai strong {
  color: var(--accent-strong);
}

.clerk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.clerk-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  border: 1px solid rgba(6, 182, 212, 0.30);
}

/* Directory mock */
.mock-directory {
  display: flex;
  flex-direction: column;
}

.directory-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.directory-row:last-child {
  border-bottom: 0;
}

.directory-row strong {
  font-size: 14px;
  display: block;
}

.directory-row .muted {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.directory-row > div {
  flex: 1;
  min-width: 0;
}

.verified {
  color: #16a34a;
  background: #dcfce7;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

/* ─── Founder ─────────────────────────────────────────────────────── */

.founder {
  padding: 96px 0;
  background:
    radial-gradient(800px 400px at 0% 50%, rgba(6, 182, 212, 0.06), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founder-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.founder-photo {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-rise);
  margin: 0 auto;
}

.founder-photo .founder-initials {
  /* Keep initials clipped to the rounded corners while letting the badge
     float below the tile. */
  background: transparent;
}

.founder-initials {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 88px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: white;
}

.founder-badge {
  position: absolute;
  bottom: -14px;
  right: 14px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
}

.founder-badge svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
}

.founder-copy h2 {
  margin-top: 14px;
}

.founder-copy p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 18px;
}

.founder-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Voices ─────────────────────────────────────────────────────── */

.voices {
  padding: 96px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  margin: 0;
  position: relative;
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
}

.quote::before {
  content: '"';
  position: absolute;
  top: 4px;
  left: 18px;
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
}

.quote:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.quote blockquote {
  margin: 0;
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.quote figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.quote-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */

.faq {
  padding: 96px 0;
  background:
    linear-gradient(180deg, transparent, rgba(247, 243, 236, 0.5) 60%, transparent);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.faq-item[open] {
  border-color: rgba(6, 182, 212, 0.30);
  box-shadow: 0 6px 18px -8px rgba(6, 182, 212, 0.30);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--accent-strong);
  transition: transform 220ms var(--ease);
}

.faq-item[open] summary::after {
  content: '–';
  transform: rotate(0deg);
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 64ch;
}

/* ─── Final CTA ──────────────────────────────────────────────────── */

.cta {
  padding: 96px 0;
}

.cta-row {
  position: relative;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(201, 155, 71, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(6, 182, 212, 0.18), transparent 60%),
    linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 32px;
  padding: 72px 56px;
  color: #f8fafc;
  overflow: hidden;
}

.cta-row .eyebrow {
  color: #94a3b8;
}

.cta-row .eyebrow .dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 155, 71, 0.30);
}

.cta-title {
  color: white;
  font-size: clamp(32px, 5vw, 52px);
  margin: 14px 0 18px;
}

.cta-sub {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 480px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.cta-fine {
  margin-top: 18px;
  font-size: 12.5px;
  color: #94a3b8;
}

.cta-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-bubble {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
}

.bubble-1 {
  width: 240px;
  height: 240px;
  top: -40px;
  right: -40px;
  background: rgba(6, 182, 212, 0.35);
}

.bubble-2 {
  width: 180px;
  height: 180px;
  bottom: -20px;
  left: 30%;
  background: rgba(201, 155, 71, 0.30);
}

.bubble-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 25%;
  background: rgba(6, 182, 212, 0.18);
}

.cta-copy {
  position: relative;
  z-index: 1;
}

/* ─── Contact form ───────────────────────────────────────────────── */

.contact {
  padding: 0 0 96px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease),
    background 180ms var(--ease);
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted-soft);
}

.form-row input:focus,
.form-row textarea:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* Honeypot — visually gone, still in the DOM for bots */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form .btn {
  justify-content: center;
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form-status {
  min-height: 1.2em;
  font-size: 13.5px;
  color: var(--muted);
}

.form-status.ok {
  color: var(--sage);
  font-weight: 600;
}

.form-status.err {
  color: #b91c1c;
  font-weight: 600;
}

@media (min-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  padding: 64px 0 36px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-tag {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 180ms var(--ease);
}

.footer-col a:hover {
  color: var(--accent-strong);
}

.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ─── Scroll reveal ──────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-meta { gap: 36px; }
}

@media (max-width: 599px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-glow { inset: 0; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .float-card-3 { left: 0; }
  .bubble-1 { right: -72px; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero { padding: 96px 0 120px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-flagship.span-2 { grid-column: span 2; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-row { grid-template-columns: 320px 1fr; gap: 64px; }
  .founder-photo { margin: 0; }
  .faq-wrap { grid-template-columns: 280px 1fr; gap: 64px; }
  .cta-row { padding: 80px 64px; }
  .footer-base { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-flagship.span-2 { grid-column: span 2; grid-row: span 1; }
  .phone { width: 300px; }
}

/* ─── Reduced motion ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
