/* Mailvora — Homepage v1
   Brand evolution: lifted from old Mailvora system but recentered on the new
   Mailvora icon palette (cyan → blue → indigo → violet). */

:root {
  /* Backgrounds — cooler & cleaner than old purple-leaning page */
  --bg:        #f6f8fd;
  --bg-2:      #eef1fa;
  --bg-3:      #e7ecf8;
  --paper:     #ffffff;
  --ink-deep:  #060816;
  --ink:       #0a1024;
  --ink-2:     #16203f;
  --ink-3:     #2a3358;
  --muted:     #5a6386;
  --muted-2:   #8189a8;

  /* Lines */
  --line:        rgba(10, 16, 36, 0.07);
  --line-2:      rgba(10, 16, 36, 0.12);
  --line-strong: rgba(10, 16, 36, 0.20);

  /* Brand — derived from the Mailvora icon */
  --em-cyan:    #4dd9ff;
  --em-blue:    #1f6bff;
  --em-indigo:  #1747e0;   /* Now a deep royal blue (matches new logo) */
  --em-violet:  #2c7cff;   /* repurposed as bright blue */
  --em-magenta: #5aa8ff;   /* repurposed as light sky-blue */

  /* Feature accents */
  --c-inbox:    #2c7cff;
  --c-ai:       #7a5cff;
  --c-privacy:  #14b88a;
  --c-security: #ef4444;
  --c-tracking: #38c4ff;
  --c-screener: #f59e0b;
  --c-cleanup:  #06b6d4;
  --c-tools:    #6366f1;
  --c-templates:#a855f7;
  --c-search:   #0ea5e9;
  --c-reliab:   #14b8a6;

  --shadow-sm: 0 1px 2px rgba(10,16,36,.06), 0 2px 6px rgba(10,16,36,.04);
  --shadow-md: 0 8px 24px rgba(10,16,36,.10);
  --shadow-lg: 0 24px 60px rgba(10,16,36,.14);
  --shadow-xl: 0 40px 100px rgba(10,16,36,.18);
  --shadow-glow: 0 30px 80px rgba(76,82,255,.22);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl:32px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html {
  margin: 0; padding: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(31,107,255,.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 5% 20%, rgba(77,217,255,.20), transparent 65%),
    radial-gradient(ellipse 70% 50% at 95% 12%, rgba(90,168,255,.18), transparent 65%),
    radial-gradient(ellipse 80% 40% at 50% 68%, rgba(31,107,255,.10), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #dceafd 25%, #d0e2fc 50%, #e1edfd 75%, #eef4ff 100%);
}
body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  background: transparent;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* Layout */
.container       { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-wide  { max-width: 1480px; margin: 0 auto; padding: 0 32px; }
.container-narrow{ max-width: 880px;  margin: 0 auto; padding: 0 32px; }

.section-pad    { padding: 130px 0; }
.section-pad-sm { padding: 80px 0; }
.section-pad-lg { padding: 160px 0; }

/* Type */
.h-display {
  font-size: clamp(56px, 8.6vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-block {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 640px;
  text-wrap: pretty;
}
.h-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-indigo);
}
.ital {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mono { font-family: var(--font-mono); }

/* Eyebrow pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--em-indigo);
  box-shadow: 0 1px 2px rgba(10,16,36,.04);
}
.eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--em-blue);
  animation: pulse-soft 2s infinite;
}
.eyebrow-pill.dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #c7d4ff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 22px; font-size: 15px; border-radius: 14px; }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, #4dd9ff 0%, #1f6bff 38%, #1747e0 100%);
  box-shadow: 0 10px 28px rgba(23,71,224,.40), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(60,90,255,.46), inset 0 1px 0 rgba(255,255,255,.3); }

/* === Unified Download CTA — pill, gradient, soft halo (modern Raycast/Linear feel) === */
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px 11px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a7fff 0%, #1747e0 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(0,0,0,.10),
    0 0 0 1px rgba(23,71,224,.40),
    0 10px 26px -8px rgba(31,107,255,.55),
    0 3px 8px -1px rgba(31,107,255,.35);
  transition: transform .18s cubic-bezier(.4,.2,.2,1), box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-dl:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #4690ff 0%, #1f56e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -1px 0 rgba(0,0,0,.10),
    0 0 0 1px rgba(23,71,224,.50),
    0 16px 36px -8px rgba(31,107,255,.65),
    0 4px 10px -1px rgba(31,107,255,.45);
}
.btn-dl .dl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18));
}
.btn-dl .dl-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.96);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.btn-dl.btn-dl-sm {
  padding: 7px 6px 7px 14px;
  font-size: 12.5px;
  gap: 8px;
}
.btn-dl.btn-dl-sm .dl-tag {
  padding: 3px 8px; font-size: 9.5px;
}
.btn-dl.btn-dl-sm .dl-icon { width: 14px; height: 14px; }
.btn-dl.btn-dl-lg {
  padding: 14px 10px 14px 24px;
  font-size: 15.5px;
  gap: 12px;
}
.btn-dl.btn-dl-lg .dl-icon { width: 20px; height: 20px; }
.btn-dl.btn-dl-lg .dl-tag { padding: 6px 12px; font-size: 11.5px; }
.btn-dl.btn-dl-icon {
  width: 38px; height: 38px;
  padding: 0;
  justify-content: center;
  gap: 0;
  border-radius: 999px;
}
.btn-dl.btn-dl-icon .dl-icon { width: 16px; height: 16px; }
.btn-ghost {
  color: var(--ink-2);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px) saturate(160%);
}
.btn-ghost:hover { background: white; transform: translateY(-1px); }
.btn-dark {
  color: white;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.06);
}
.btn-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--em-indigo);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}
.btn-link:hover { gap: 8px; }
.btn-link::after { content: "→"; }

/* Glass */
.glass {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 38px rgba(10,16,36,.10);
}

/* Mac window */
.mac-window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow:
    0 0 0 1px rgba(10,16,36,.06),
    0 30px 80px rgba(10,16,36,.20),
    0 60px 140px rgba(60,90,255,.10);
}
.mac-titlebar {
  height: 36px;
  background: linear-gradient(180deg, #f6f7fb, #eef1f8);
  border-bottom: 1px solid rgba(10,16,36,.07);
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
}
.mac-traffic { display:flex; gap:7px; }
.mac-traffic span { width:11px; height:11px; border-radius:50%; display:block; }
.mac-traffic .red { background:#ff5f57; box-shadow: 0 0 0 .5px rgba(0,0,0,.1) inset; }
.mac-traffic .yel { background:#febc2e; box-shadow: 0 0 0 .5px rgba(0,0,0,.1) inset; }
.mac-traffic .grn { background:#28c840; box-shadow: 0 0 0 .5px rgba(0,0,0,.1) inset; }
.mac-title {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(10,16,36,.04);
  color: var(--ink-3);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip-blue   { background: rgba(44,124,255,.10);  color:#2c7cff;  border-color: rgba(44,124,255,.22); }
.chip-violet { background: rgba(122,92,255,.10);  color:#7a5cff;  border-color: rgba(122,92,255,.22); }
.chip-cyan   { background: rgba(56,196,255,.12);  color:#0891b2;  border-color: rgba(56,196,255,.28); }
.chip-green  { background: rgba(20,184,138,.10);  color:#10a374;  border-color: rgba(20,184,138,.22); }
.chip-red    { background: rgba(239,68,68,.10);   color:#ef4444;  border-color: rgba(239,68,68,.22); }
.chip-amber  { background: rgba(245,158,11,.10);  color:#d97706;  border-color: rgba(245,158,11,.24); }
.chip-mute   { background: rgba(10,16,36,.05);    color: var(--muted); border-color: var(--line); }

/* Reveal */
.reveal { will-change: transform, opacity; }
.reveal.in { animation: revealIn .85s cubic-bezier(.22,.8,.2,1) both; }
@keyframes revealIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: none; }
}

/* Animations */
@keyframes pulse-soft {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.18); opacity: .65; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 50%; }
  100% { background-position:  200% 50%; }
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scan-line {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes count-up {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -16px); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes blinkCaret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes streak {
  0%   { transform: translateX(-30%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(40%); opacity: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes tag-pop {
  0%   { transform: scale(.6); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Decoration helpers */
.dot-grid {
  position: absolute; inset: 0; pointer-events:none;
  background-image: radial-gradient(rgba(10,16,36,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.dot-grid.dark {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
}

.glow {
  position: absolute; pointer-events: none; filter: blur(60px); border-radius: 50%;
}

/* Scrollbar (light) */
.thin-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: rgba(10,16,36,.15); border-radius: 4px; }

/* Utility */
.flex { display: flex; }
.col  { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* Section transition pill */
.transition-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 44px rgba(10,16,36,.10);
  font-size: 14.5px; color: var(--ink-2);
}
.transition-pill .icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--em-cyan), var(--em-blue) 50%, var(--em-violet));
  color: white; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 14px rgba(60,90,255,.36);
}

/* Hero brand glyph backdrop */
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(31,107,255,.20), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(77,217,255,.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(90,168,255,.16), transparent 70%);
}

/* Star sparkles */
.star {
  position: absolute;
  background: radial-gradient(circle, white 0%, rgba(255,255,255,.6) 30%, transparent 60%);
  border-radius: 50%;
  filter: blur(.4px);
  animation: pulse-soft 3.6s ease-in-out infinite;
}

/* Section heading group */
.section-head { text-align: center; max-width: 820px; margin: 0 auto; }
.section-head .h-section { margin-top: 18px; }
.section-head .lead { margin: 18px auto 0; }

/* Text gradient — italic serif emotional anchor (old-design DNA) */
.grad-text {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.015em;
  background: linear-gradient(100deg, #0a40c8 0%, #1f6bff 30%, #36a6ff 52%, #1f6bff 74%, #0a40c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Cinematic section backdrop system ───
   Applied to every body-level <section>. Hero opts out via .no-stage.
   Stacks: dot grid + dual blob glows + radial spotlight. */
#root section {
  position: relative;
  isolation: isolate;
}
#root section.no-stage::before,
#root section.no-stage::after { display: none; }
#root section:not(.no-stage)::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,8,45,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black, transparent 80%);
  z-index: -2;
  pointer-events: none;
  opacity: .9;
}
#root section:not(.no-stage)::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(124,92,255,.22), transparent 45%),
    radial-gradient(circle at 92% 80%, rgba(236,72,153,.16), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(77,217,255,.10), transparent 60%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
  animation: blob-breathe 14s ease-in-out infinite alternate;
}
#root section:nth-of-type(even):not(.no-stage)::after {
  background:
    radial-gradient(circle at 85% 22%, rgba(56,196,255,.20), transparent 50%),
    radial-gradient(circle at 15% 78%, rgba(168,85,247,.18), transparent 50%);
}
#root section:nth-of-type(3n):not(.no-stage)::after {
  background:
    radial-gradient(circle at 50% 10%, rgba(31,107,255,.20), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(236,72,153,.15), transparent 55%);
}

@keyframes blob-breathe {
  0%   { transform: scale(1)    translate(0,0);     opacity: 1; }
  100% { transform: scale(1.06) translate(-12px,8px); opacity: .85; }
}

/* Section orbit rings — opt-in via <OrbitRings/> */
.orbit-rings {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
  display: flex; align-items: center; justify-content: center;
}
.orbit-rings svg { max-width: 1100px; width: 100%; height: auto; opacity: .5; }
.orbit-rings .ring { fill: none; stroke-dasharray: 2 8; }
.orbit-rings .ring-1 { animation: orbit-spin 80s linear infinite; transform-origin: center; }
.orbit-rings .ring-2 { animation: orbit-spin 110s linear infinite reverse; transform-origin: center; }
.orbit-rings .ring-3 { animation: orbit-spin 140s linear infinite; transform-origin: center; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes ws-orb-spin { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.08); } to { transform: rotate(360deg) scale(1); } }

/* Glass shell v2 — for embedded product screens inside cinema sections */
.glass-shell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 1px 0 rgba(10,16,36,.04),
    0 28px 60px rgba(15,8,45,.14),
    0 60px 140px rgba(60,90,255,.10);
}
.glass-shell::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--shell-accent, linear-gradient(90deg, #4dd9ff, #2c7cff, #7a5cff, #ec4899));
  z-index: 2;
}

/* Floor reflection under glass shells */
.shell-floor {
  position: absolute; left: 6%; right: 6%; bottom: -28px; height: 56px;
  background: radial-gradient(ellipse at center, rgba(60,90,255,.30), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Section eyebrow — pulsing dot variant */
.eyebrow-pulse {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--em-indigo);
}
.eyebrow-pulse .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(31,107,255,.18);
  animation: pulse-soft 2s infinite;
}

/* Transition pill v2 — full-sentence designer notes between sections */
.transition-pill-v2 {
  display: flex; align-items: center; gap: 14px;
  max-width: 720px; margin: 64px auto 0;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 44px rgba(10,16,36,.10);
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5;
  text-wrap: pretty;
}
.transition-pill-v2 .pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #4dd9ff, #7a5cff);
  flex: 0 0 8px;
  box-shadow: 0 0 0 4px rgba(122,92,255,.15);
}
.transition-pill-v2 strong { color: var(--ink); font-weight: 600; }


/* Feature grid base */
.feat-tile {
  position: relative;
  border-radius: var(--r-xl);
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
  box-shadow: var(--shadow-sm);
}
.feat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}
.feat-tile.dark {
  background: linear-gradient(180deg, #0a1024 0%, #0f1635 100%);
  color: white;
  border-color: rgba(255,255,255,.08);
}
.feat-tile.tinted {
  background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,1) 100%);
}
.feat-tile .tile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 0;
}
.feat-tile .tile-title {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}
.feat-tile.dark .tile-title { color: rgba(255,255,255,.5); }
.feat-tile .tile-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--em-indigo);
}
.feat-tile .tile-body { padding: 18px 24px 24px; }
.feat-tile .tile-foot {
  position: absolute; left: 24px; right: 24px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
}
.feat-tile h3 {
  font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 600;
  margin: 8px 0 6px; color: var(--ink);
}
.feat-tile.dark h3 { color: white; }
.feat-tile p {
  font-size: 14px; line-height: 1.45; color: var(--ink-3); margin: 0;
}
.feat-tile.dark p { color: rgba(255,255,255,.7); }

/* Scan beam effect on hover */
.scan-beam {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56,196,255,.9), transparent);
  animation: scan-line 3.5s linear infinite;
  pointer-events: none;
}

/* Marquee */
.marquee {
  display: flex; gap: 18px; animation: marquee-x 30s linear infinite;
  width: max-content;
}
@keyframes marquee-x {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Comparison */
.cmp-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row.head {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 20px;
}
.cmp-row .yes  { color: var(--c-privacy); font-weight: 600; }
.cmp-row .no   { color: var(--muted-2); }

/* Footer */
.footer {
  background: linear-gradient(180deg, #06081a 0%, #0a1024 100%);
  color: rgba(255,255,255,.7);
  padding: 90px 0 40px;
  position: relative; overflow: hidden;
}
.footer h4 {
  color: rgba(255,255,255,.5); font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,.7); }
.footer a:hover { color: white; }

/* Responsive */
@media (max-width: 1100px) {
  .float-card[style*="-3%"], .float-card[style*="-2%"] { display: none; }
}
@media (max-width: 960px) {
  .container, .container-wide, .container-narrow { padding: 0 22px; }
  .section-pad    { padding: 90px 0; }
  .section-pad-lg { padding: 110px 0; }
  .nav-links { display: none !important; }
  .float-card { display: none !important; }
  .h-display { font-size: clamp(40px, 9vw, 72px) !important; }
  .lead { font-size: 16.5px !important; }
}
@media (max-width: 720px) {
  .container, .container-wide, .container-narrow { padding: 0 18px; }
  .section-pad    { padding: 70px 0; }
  .section-pad-lg { padding: 90px 0; }
  .h-display { font-size: clamp(34px, 10vw, 56px) !important; }
  .btn-dl-sm .dl-tag { display: none; }
  .btn-dl.btn-dl-lg { padding: 12px 8px 12px 18px; font-size: 14.5px; gap: 10px; }
  .btn-dl.btn-dl-lg .dl-icon { width: 16px; height: 16px; }
  .trust-row { gap: 16px !important; row-gap: 14px !important; }
  .trust-row > span { display: none; }
}
@media (max-width: 520px) {
  .btn-dl-sm > span:not(.dl-icon):not(.dl-tag) { display: none; }
  .btn-dl-sm { width: 36px; height: 36px; padding: 0; justify-content: center; gap: 0; }
  .btn-dl-sm .dl-tag { display: none; }
  .btn-dl-sm .dl-icon { width: 15px; height: 15px; }
}

/* ─── COMPREHENSIVE RESPONSIVE SYSTEM ─────────────────────────── */

/* Mobile hamburger button */
.nav-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(10,16,36,.09);
  cursor: pointer; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10,16,36,.08);
  transition: background .15s ease;
}
.nav-hamburger:hover { background: white; }
@media (max-width: 960px) { .nav-hamburger { display: flex; } }

/* Mobile nav drawer */
.mobile-nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,.2,.2,1);
  overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }

/* Section heading responsive */
@media (max-width: 960px) {
  .h-section { font-size: clamp(32px, 6vw, 52px) !important; }
  .h-block   { font-size: clamp(24px, 4vw, 36px) !important; }
  .section-head { padding: 0 4px; }
}
@media (max-width: 640px) {
  .h-section { font-size: clamp(28px, 8vw, 40px) !important; }
  .section-head .lead { font-size: 15px !important; }
}

/* Hero responsive */
@media (max-width: 960px) {
  .hero-cta-row { flex-direction: column; align-items: stretch !important; }
  .hero-cta-row a { justify-content: center; }
  .hero-kbd-hint { display: none !important; }
}

/* Pill sections responsive */
@media (max-width: 960px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
  .pillars-grid { grid-template-columns: 1fr !important; }
}

/* More capabilities grid */
@media (max-width: 1000px) {
  .more-caps-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
  .more-caps-grid { grid-template-columns: 1fr !important; }
}

/* Comparison table scroll wrapper */
.cmp-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 19px;
}
.cmp-scroll-wrap::-webkit-scrollbar { height: 5px; }
.cmp-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(10,16,36,.15); border-radius: 4px; }

/* Final CTA stat strip responsive */
@media (max-width: 720px) {
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-strip-grid > div:nth-child(2) { border-right: none !important; }
  .stat-strip-grid > div:nth-child(-n+2) {
    padding-bottom: 18px !important; margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}
@media (max-width: 420px) {
  .stat-strip-grid { grid-template-columns: 1fr !important; }
  .stat-strip-grid > div { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 14px !important; }
  .stat-strip-grid > div:last-child { border-bottom: none !important; }
}

/* Footer grid responsive */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Generic two-col → one-col */
@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr !important; }
}

/* Workspace preview — hide sidebar & inspector on narrow */
@media (max-width: 900px) {
  .app-mock-sidebar { display: none !important; }
  .app-mock-inspector { display: none !important; }
  .app-mock-grid { grid-template-columns: 1fr 2fr !important; }
}
@media (max-width: 580px) {
  .app-mock-thread-list { display: none !important; }
  .app-mock-grid { grid-template-columns: 1fr !important; }
}

/* AI section responsive */
@media (max-width: 900px) {
  .ai-two-col { grid-template-columns: 1fr !important; }
  .ai-sidebar { display: none !important; }
}

/* Security / privacy feature tile grids */
@media (max-width: 900px) {
  .feat-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .feat-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .feat-grid-3, .feat-grid-4 { grid-template-columns: 1fr !important; }
}

/* Utility: hide on mobile */
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
@media (max-width: 960px) { .hide-tablet { display: none !important; } }
@media (min-width: 769px) { .show-mobile-only { display: none !important; } }
