/* ============================================================
   TriageAI marketing site - design system
   Brand: indigo-navy #23205A · pulse orange #F0781E
   ============================================================ */

:root {
  --navy-950: #100e2e;
  --navy-900: #181544;
  --navy: #23205a;
  --navy-700: #322e7a;
  --navy-100: #e8e7f4;
  --navy-50: #f3f3fa;

  --orange: #f0781e;
  --orange-dark: #d9650e;
  --orange-soft: #fdeede;

  --ink: #1c1a38;
  --body: #4a4862;
  --muted: #76748e;

  --bg: #fbfbfd;
  --surface: #ffffff;
  --line: #e6e5f0;

  --red: #b42318;
  --red-soft: #fdf0ef;
  --amber: #d97706;
  --amber-soft: #fdf5e7;
  --slate: #64748b;
  --slate-soft: #f1f4f8;
  --green: #15803d;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 56, 0.05), 0 2px 8px rgba(28, 26, 56, 0.04);
  --shadow-md: 0 2px 6px rgba(28, 26, 56, 0.05), 0 12px 32px rgba(28, 26, 56, 0.09);
  --shadow-lg: 0 4px 12px rgba(28, 26, 56, 0.06), 0 24px 64px rgba(28, 26, 56, 0.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

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

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: #fff; }

/* ---------- cross-document page transitions ---------- */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out 0.28s var(--ease) both;
}
::view-transition-new(root) {
  animation: vt-in 0.42s var(--ease) both;
}
@keyframes vt-out {
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- layout helpers ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 104px 0; }
.section-tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.08rem;
  max-width: 620px;
  color: var(--body);
}

.center { text-align: center; }
.center .section-sub { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after { display: none; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(35, 32, 90, 0.28);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 32, 90, 0.34);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(240, 120, 30, 0.32);
}
.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 120, 30, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 251, 253, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.nav-brand img { height: 30px; width: auto; }
.nav-brand .logo-light { display: none; }

/* on-dark mode: pages with a dark hero set .nav-dark; reverts once scrolled */
.nav-dark:not(.scrolled) .logo-dark { display: none; }
.nav-dark:not(.scrolled) .logo-light { display: block; }
.nav-dark:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.75); }
.nav-dark:not(.scrolled) .nav-links a:hover,
.nav-dark:not(.scrolled) .nav-links a.active { color: #fff; }
.nav-dark:not(.scrolled) .nav-signin { color: rgba(255, 255, 255, 0.75); }
.nav-dark:not(.scrolled) .nav-signin:hover { color: #fff; }
.nav-dark:not(.scrolled) .nav-burger span { background: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--body);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions .btn { padding: 10px 20px; font-size: 0.88rem; }
.nav-signin {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--body);
  transition: color 0.2s;
}
.nav-signin:hover { color: var(--navy); }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 99;
  background: rgba(251, 251, 253, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 28px 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(240, 120, 30, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(50, 46, 122, 0.5), transparent 65%),
    linear-gradient(178deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy) 100%);
  color: #fff;
  padding: 178px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(820px 480px at 50% 12%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(820px 480px at 50% 12%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(240, 120, 30, 0.6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(240, 120, 30, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(240, 120, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 120, 30, 0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, #ffb267, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto 38px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 70px;
}

/* hero entrance animation */
.hero-up {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-up 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes hero-up { to { opacity: 1; transform: none; } }

/* EKG line across hero */
.hero-ekg {
  position: absolute;
  left: 0; right: 0;
  top: 118px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-ekg path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: ekg-draw 3.4s 0.35s var(--ease) forwards;
}
@keyframes ekg-draw { to { stroke-dashoffset: 0; } }

/* ---------- hero product mockup ---------- */
.mockup-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
  transform: translateY(0);
}
.mockup {
  position: relative;
  background: #fdfdff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 70px rgba(8, 6, 30, 0.55);
  overflow: hidden;
  opacity: 0;
  transform: translateY(54px);
  animation: hero-up 1.1s 0.5s var(--ease) forwards;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: #f4f4f9;
  border-bottom: 1px solid var(--line);
}
.mockup-bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #dddce8;
}
.mockup-bar i:nth-child(1) { background: #f1a8a3; }
.mockup-bar i:nth-child(2) { background: #f3d49a; }
.mockup-bar i:nth-child(3) { background: #a9d8b2; }
.mockup-url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 14px;
  border-radius: 999px;
}
.mockup-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 350px;
  text-align: left;
}
.mockup-side {
  background: var(--navy-50);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
}
.mockup-side .ms-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--body);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 3px;
}
.mockup-side .ms-item.on { background: var(--navy); color: #fff; }
.mockup-side .ms-item .dot { width: 7px; height: 7px; border-radius: 50%; }
.mockup-main { padding: 20px 22px; }
.mockup-main h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-main h4 .live {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: #ecf8f0;
  padding: 3px 10px;
  border-radius: 999px;
}

.mock-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 9px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(26px);
}
.mock-card.dealt { animation: card-in 0.6s var(--ease) forwards; }
@keyframes card-in { to { opacity: 1; transform: none; } }

.mock-card.t-priority { border-left-color: var(--red); }
.mock-card.t-secondary { border-left-color: var(--amber); }
.mock-card.t-standard { border-left-color: var(--slate); }

.mock-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.t-priority .mock-badge { background: var(--red-soft); color: var(--red); }
.t-secondary .mock-badge { background: var(--amber-soft); color: var(--amber); }
.t-standard .mock-badge { background: var(--slate-soft); color: var(--slate); }

.mock-lines { flex: 1; min-width: 0; }
.mock-lines b {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-lines span {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.mock-time { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }

/* ---------- logo strip / credibility ---------- */
.cred {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.cred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 44px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.cred-inner .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---------- stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent 70%);
}
.stat-num {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.88rem; color: var(--body); line-height: 1.5; }

/* ---------- problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.problem-copy p { margin-bottom: 18px; font-size: 1.04rem; }
.problem-copy strong { color: var(--ink); font-weight: 650; }

.quote-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: -28px;
  right: 16px;
  font-size: 11rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
}
.quote-card p {
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  position: relative;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-card cite::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* fax pile visual */
.fax-pile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}
.fax-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.fax-row svg { flex-shrink: 0; color: var(--muted); opacity: 0.7; }
.fax-row .fx-name { font-weight: 600; color: var(--body); }
.fax-row .fx-q { margin-left: auto; font-size: 0.72rem; color: var(--muted); }
.fax-row.fx-hidden-urgent { border-color: rgba(180, 35, 24, 0.35); }
.fax-row.fx-hidden-urgent .fx-q { color: var(--red); font-weight: 700; }

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(35, 32, 90, 0.22);
}
.step-num {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-dark);
  margin-bottom: 18px;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.step-card:hover .step-icon {
  background: var(--navy);
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}
.step-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.step-card p { font-size: 0.93rem; }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: var(--shadow-sm);
}

/* ---------- tiers ---------- */
.tiers-section { background: var(--navy-50); }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--slate);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier-card.priority { border-top-color: var(--red); }
.tier-card.secondary { border-top-color: var(--amber); }

.tier-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 6px 13px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.tier-card.priority .tier-tag { background: var(--red-soft); color: var(--red); }
.tier-card.secondary .tier-tag { background: var(--amber-soft); color: var(--amber); }
.tier-card.standard .tier-tag { background: var(--slate-soft); color: var(--slate); }

.tier-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.tier-card p { font-size: 0.92rem; }

.safety-note {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.safety-note svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.safety-note p { font-size: 0.94rem; }
.safety-note strong { color: var(--ink); }

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-card h3 .soon {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--navy-100);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: 2px;
}
.feature-card p { font-size: 0.89rem; }

/* ---------- security ---------- */
.security {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(240, 120, 30, 0.13), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.security .section-title { color: #fff; }
.security .section-sub { color: rgba(255, 255, 255, 0.72); }
.security .eyebrow { color: var(--orange); }

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.sec-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.sec-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}
.sec-card svg { color: var(--orange); margin-bottom: 16px; }
.sec-card h3 {
  font-size: 0.99rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
  color: #fff;
}
.sec-card p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.66); }

.sec-foot {
  margin-top: 40px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.why-card p { font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 50% -20%, rgba(240, 120, 30, 0.22), transparent 65%),
    linear-gradient(180deg, var(--navy), var(--navy-900));
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  padding: 76px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.04rem;
}
.cta-band .hero-ctas { margin-bottom: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; max-width: 300px; line-height: 1.6; }
.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s;
}
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(240, 120, 30, 0.15), transparent 60%),
    linear-gradient(178deg, var(--navy-950), var(--navy-900) 70%, var(--navy));
  color: #fff;
  padding: 168px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 360px at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 360px at 50% 0%, black 30%, transparent 75%);
}
.page-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.page-hero p {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  margin-top: -52px;
  position: relative;
  z-index: 5;
}

.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.contact-info-card::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 120, 30, 0.28), transparent 70%);
}
.contact-info-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.contact-info-card > p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 34px;
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
  position: relative;
}
.ci-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-row h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}
.ci-row a, .ci-row span.v {
  font-size: 0.97rem;
  font-weight: 600;
  color: #fff;
}
.ci-row a:hover { color: #ffc08a; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form-card > p { font-size: 0.92rem; margin-bottom: 30px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
}
.form-field label .req { color: var(--orange-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 32, 90, 0.08);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-hint { font-size: 0.78rem; color: var(--muted); }

.form-status {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 10px;
  background: #ecf8f0;
  border: 1px solid #bfe5cb;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 16px;
}
.form-status.show { display: flex; }

/* contact faq */
.mini-faq { margin-top: 88px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 21px 26px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 26px 22px;
  font-size: 0.93rem;
  color: var(--body);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .section { padding: 76px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .step-arrow { display: none; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .nav-burger { display: block; }
  .mobile-menu { display: block; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 142px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 24px 18px 22px; }
  .stat-num { font-size: 1.7rem; }
  .features-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card, .contact-info-card { padding: 30px 24px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 56px 24px; }
  .hero-ctas .btn { width: 100%; }
}
