/* ============================================================
   EML to PDF — emltopdf.app
   Editorial × Native macOS · dark-to-cream · serif display
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap");

/* ---------- Tokens ---------- */
:root {
  /* Ink (dark surfaces) */
  --ink-900: #07070F;
  --ink-800: #0B0B17;
  --ink-700: #101022;
  --ink-600: #17172E;
  --ink-line: rgba(255, 255, 255, 0.08);
  --ink-line-strong: rgba(255, 255, 255, 0.14);

  /* Cream / paper (light surfaces) */
  --cream: #F6F2EA;
  --cream-warm: #EDE7DA;
  --cream-soft: #FBF8F2;
  --paper: #FFFFFF;
  --paper-line: rgba(9, 9, 20, 0.08);
  --paper-line-strong: rgba(9, 9, 20, 0.14);

  /* Text */
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-2: rgba(255, 255, 255, 0.68);
  --text-on-dark-3: rgba(255, 255, 255, 0.45);
  --text-on-light: #0B0B17;
  --text-on-light-2: #3A3A4A;
  --text-on-light-3: #6B6B7A;

  /* Accent — ember red (mail) → warm amber (PDF) */
  --indigo: #C63E24;
  --indigo-soft: #E56A46;
  --violet: #F06E37;
  --coral: #FFAA55;
  --amber: #F6A24B;
  --gold: #D4A85A;
  --grad-accent: linear-gradient(135deg, #C63E24 0%, #F06E37 45%, #FFAA55 100%);
  --grad-accent-soft: linear-gradient(135deg, rgba(198, 62, 36, 0.18) 0%, rgba(255, 170, 85, 0.14) 100%);

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  --shadow-1: 0 1px 2px rgba(9, 9, 20, 0.06), 0 2px 6px rgba(9, 9, 20, 0.04);
  --shadow-2: 0 2px 6px rgba(9, 9, 20, 0.06), 0 12px 30px rgba(9, 9, 20, 0.08);
  --shadow-3: 0 12px 40px rgba(9, 9, 20, 0.14), 0 2px 10px rgba(9, 9, 20, 0.08);
  --shadow-glow: 0 30px 100px -20px rgba(198, 62, 36, 0.55), 0 20px 60px -30px rgba(255, 170, 85, 0.35);

  /* Type */
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-on-light);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

/* Grain texture — used on dark surfaces */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='0.55'/></svg>");
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.narrow { max-width: 860px; }

/* ---------- Type utilities ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; }
.mono  { font-family: var(--font-mono); }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
}
.kicker--dark { color: var(--text-on-dark-3); }
.kicker-accent { color: var(--indigo); }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.display em {
  font-style: italic;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header > .container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 16px 10px 20px;
  background: rgba(7, 7, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: 960px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding-right: 6px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.brand .tld { color: rgba(255, 255, 255, 0.5); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  color: #07070F !important;
  background: #fff;
  padding: 8px 16px !important;
  border-radius: 999px;
  font-weight: 500;
  margin-left: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.15s ease, background 0.15s;
}

.nav-cta:hover { background: #fff !important; transform: translateY(-0.5px); }

@media (max-width: 780px) {
  .site-header > .container { padding: 8px 10px 8px 16px; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ============================================================
   HERO (dark, editorial)
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: 180px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-aura {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(620px 320px at 28% 18%, rgba(198, 62, 36, 0.55), transparent 60%),
    radial-gradient(520px 280px at 78% 30%, rgba(255, 170, 85, 0.45), transparent 60%),
    radial-gradient(700px 360px at 50% 60%, rgba(122, 90, 240, 0.32), transparent 60%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 40%, transparent 85%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: center;
  text-align: left;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 170, 85, 0.42), transparent 55%),
    radial-gradient(circle at 30% 35%, rgba(198, 62, 36, 0.42), transparent 55%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 0;
  pointer-events: none;
  animation: spin-slow 60s linear infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-stage-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
}

.hero-stage-meta .dash {
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

.hero-flow .tag {
  padding: 4px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
}

.hero-flow .arrow {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 700;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--ink-line-strong);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-on-dark-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.hero-icon {
  position: relative;
  z-index: 1;
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(198, 62, 36, 0.45)) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, #FFB08D 0%, #FFB573 60%, #FFE1AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero-sub {
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-on-dark-2);
  max-width: 520px;
  margin: 0 0 36px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-text { align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual { min-height: 300px; }
  .hero-visual::before { width: 340px; height: 340px; }
  .hero-visual::after { width: 240px; height: 240px; }
  .hero-icon { width: 170px; }
  .hero-flow { font-size: 14px; }
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink-900);
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-appstore svg { width: 22px; height: 22px; }

.btn-appstore .lines { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-appstore .lines .small {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  margin-bottom: 1px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-line);
  color: var(--text-on-dark);
  border-radius: 14px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--ink-line-strong); }
.btn-ghost .arr { transition: transform 0.2s; }
.btn-ghost:hover .arr { transform: translateX(3px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  justify-content: flex-start;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}

@media (max-width: 860px) {
  .hero-meta { justify-content: center; }
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--indigo-soft); }

/* Dark → cream transition & marquee screenshot */
.hero-device {
  position: relative;
  z-index: 3;
  margin-top: 96px;
  padding: 0 28px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.device-chrome {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0A0B1A;
  border: 1px solid var(--ink-line-strong);
  box-shadow:
    0 80px 120px -30px rgba(198, 62, 36, 0.45),
    0 40px 80px -20px rgba(255, 170, 85, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset;
}

.device-chrome img { width: 100%; display: block; }

.device-ring {
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(198, 62, 36, 0.45), rgba(255, 170, 85, 0.35)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.9;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section--dark {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.section--cream { background: var(--cream); }
.section--cream-warm { background: var(--cream-warm); }
.section--paper { background: var(--paper); }

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

.section-head .kicker { margin-bottom: 18px; display: inline-block; }

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}

.section-head h2 em {
  font-style: italic;
  color: var(--indigo);
}

.section--dark .section-head h2 em {
  background: linear-gradient(110deg, #FFB08D, #FFB573);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-on-light-2);
  margin: 0;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-head p { color: var(--text-on-dark-2); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--ink-900);
  border-top: 1px solid var(--ink-line);
  color: var(--text-on-dark-3);
  padding: 36px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.trust-strip .row {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.trust-strip .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-on-dark-3);
  opacity: 0.5;
}

@media (max-width: 640px) {
  .trust-strip .row { gap: 20px; }
}

/* ============================================================
   FEATURES GRID (uniform 3×3)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.feat {
  position: relative;
  padding: 40px 36px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.25s ease;
  min-height: 240px;
}

.feat:hover { background: var(--cream-soft); }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-accent-soft);
  color: var(--indigo);
  border: 1px solid rgba(198, 62, 36, 0.22);
  flex-shrink: 0;
}

.feat-icon svg { width: 22px; height: 22px; }

.feat h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-on-light);
}

.feat p {
  margin: 0;
  color: var(--text-on-light-2);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat { min-height: auto; padding: 32px 28px; }
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  outline: none;
}

.carousel-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 0 8px;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 88%;
  max-width: 980px;
  scroll-snap-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.carousel-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-3);
}

.carousel-frame img { width: 100%; display: block; }

.carousel-slide figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: baseline;
  padding: 0 8px;
}

.carousel-slide .slide-num {
  grid-row: 1 / 3;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  align-self: start;
}

.carousel-slide .slide-title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-on-light);
}

.carousel-slide .slide-desc {
  font-size: 15px;
  color: var(--text-on-light-2);
  line-height: 1.55;
  max-width: 640px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--paper-line-strong);
  background: var(--paper);
  color: var(--text-on-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

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

.carousel-btn svg { width: 20px; height: 20px; }

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--paper-line-strong);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, width 0.25s;
}

.carousel-dot:hover { background: var(--text-on-light-3); }

.carousel-dot.active {
  background: var(--indigo);
  width: 24px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .carousel-slide { flex: 0 0 92%; }
  .carousel-slide .slide-num { font-size: 34px; }
}

/* ============================================================
   SHOWCASE (screenshot reel)
   ============================================================ */
.reel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.reel-main, .reel-pair > div {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-700);
  box-shadow: var(--shadow-3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-main:hover, .reel-pair > div:hover { transform: translateY(-4px); }

.reel-main img, .reel-pair img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.reel-main:hover img, .reel-pair > div:hover img { transform: scale(1.02); }

.reel-pair {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
}

.reel-caption {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  padding: 8px 14px;
  background: rgba(7, 7, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .reel { grid-template-columns: 1fr; }
  .reel-pair { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}

@media (max-width: 520px) {
  .reel-pair { grid-template-columns: 1fr; }
}

/* ============================================================
   HOW IT WORKS — editorial stepper
   ============================================================ */
.flow {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--paper-line);
  align-items: flex-start;
}

.flow-step:last-child { border-bottom: 1px solid var(--paper-line); }

.flow-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.flow-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-light-2);
  margin: 0;
  max-width: 560px;
}

@media (max-width: 640px) {
  .flow-step { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .flow-num { font-size: 64px; }
}

/* ============================================================
   USE CASES (dark)
   ============================================================ */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-card {
  padding: 36px 32px 40px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-line);
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.use-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink-line-strong);
}

.use-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  margin-bottom: 24px;
}

.use-card .tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--grad-accent);
  border-radius: 50%;
}

.use-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}

.use-card h3 em { font-style: italic; color: #FFD09A; }

.use-card p {
  color: var(--text-on-dark-2);
  line-height: 1.6;
  margin: 0;
  font-size: 15.5px;
}

@media (max-width: 860px) { .use-cases { grid-template-columns: 1fr; } }

/* ============================================================
   COMPATIBLE SOURCES
   ============================================================ */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}

.source {
  padding: 28px 30px;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}

.source:hover { background: var(--cream-soft); }

.source:nth-child(3n) { border-right: none; }
.source:nth-last-child(-n+3) { border-bottom: none; }

.source-mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-light-2);
  border: 1px solid var(--paper-line);
}

.source h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.source p {
  font-size: 13.5px;
  color: var(--text-on-light-3);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .source:nth-child(3n) { border-right: 1px solid var(--paper-line); }
  .source:nth-child(2n) { border-right: none; }
  .source:nth-last-child(-n+3) { border-bottom: 1px solid var(--paper-line); }
  .source:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 500px) {
  .sources-grid { grid-template-columns: 1fr; }
  .source { border-right: none !important; }
  .source:last-child { border-bottom: none; }
  .source:not(:last-child) { border-bottom: 1px solid var(--paper-line) !important; }
}

/* ============================================================
   PRIVACY STATEMENT
   ============================================================ */
.privacy-statement {
  position: relative;
  padding: 140px 28px;
  text-align: center;
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.privacy-statement::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(700px 400px at 30% 20%, rgba(198, 62, 36, 0.45), transparent 60%),
    radial-gradient(600px 360px at 70% 90%, rgba(255, 170, 85, 0.35), transparent 60%);
  filter: blur(4px);
  z-index: -1;
}

.privacy-statement h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin: 32px auto 42px;
}

.privacy-statement h2 em {
  font-style: italic;
  background: linear-gradient(110deg, #FFB08D, #FFD09A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 56px auto 0;
  text-align: left;
}

.privacy-points .pt {
  padding: 20px 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
}

.privacy-points .pt .head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFB08D;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}

.privacy-points .pt strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.privacy-points .pt span {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-on-dark-2);
}

@media (max-width: 820px) { .privacy-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .privacy-points { grid-template-columns: 1fr; } }

/* ============================================================
   RESOURCES (guides / comparisons)
   ============================================================ */
.resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.res {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  min-height: 280px;
  justify-content: space-between;
}

.res:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 62, 36, 0.4);
  box-shadow: var(--shadow-2);
}

.res .label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}

.res h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: 90%;
}

.res p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-light-2);
  margin: 0 0 28px;
}

.res-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-light);
}

.res-arrow::after {
  content: "→";
  font-family: var(--font-sans);
  font-size: 16px;
  transition: transform 0.2s;
}

.res:hover .res-arrow::after { transform: translateX(4px); }

.res-soon {
  background: transparent;
  border: 1px dashed var(--paper-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-light-3);
  font-size: 14px;
}

@media (max-width: 860px) { .resources { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--paper-line);
}

.faq details {
  border-bottom: 1px solid var(--paper-line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-on-light);
  transition: color 0.2s;
}

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

.faq summary:hover { color: var(--indigo); }

.faq summary .toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-on-light);
  transition: transform 0.3s, background 0.3s;
}

.faq details[open] .toggle { transform: rotate(45deg); background: var(--indigo); color: #fff; }

.faq-body {
  padding: 18px 52px 4px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-on-light-2);
}

.faq-body p { margin: 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(198, 62, 36, 0.5), transparent 60%),
    radial-gradient(600px 320px at 50% 120%, rgba(255, 170, 85, 0.4), transparent 60%);
  z-index: -1;
  filter: blur(4px);
}

.final h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.final h2 em {
  font-style: italic;
  background: linear-gradient(110deg, #FFB08D, #FFD09A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final p {
  font-size: 19px;
  color: var(--text-on-dark-2);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #050510;
  color: rgba(255, 255, 255, 0.55);
  padding: 72px 0 36px;
  font-size: 14px;
  border-top: 1px solid var(--ink-line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand .tld { color: rgba(255, 255, 255, 0.45); }

.footer-tag {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  font-style: italic;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 16px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  font-size: 14px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* ============================================================
   SUB-PAGE HEADER (guides, compare, articles)
   ============================================================ */
.page-head {
  padding: 180px 0 80px;
  background: var(--ink-900);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(500px 280px at 30% 20%, rgba(198, 62, 36, 0.4), transparent 60%),
    radial-gradient(450px 260px at 75% 30%, rgba(255, 170, 85, 0.3), transparent 60%);
  filter: blur(4px);
  z-index: -1;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  margin-bottom: 28px;
  transition: color 0.2s;
}

.page-back:hover { color: #fff; }
.page-back::before { content: "←"; font-family: var(--font-sans); }

.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: #fff;
}

.page-head h1 em {
  font-style: italic;
  background: linear-gradient(110deg, #FFB08D, #FFD09A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head p {
  font-size: 19px;
  color: var(--text-on-dark-2);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

/* ============================================================
   PROSE (articles)
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 28px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-on-light);
}

.prose > .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  margin: 0 0 40px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
}

.prose h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
}

.prose p { margin: 0 0 22px; color: var(--text-on-light-2); }
.prose ul { padding-left: 24px; margin: 0 0 22px; }
.prose ul li { margin-bottom: 10px; color: var(--text-on-light-2); }
.prose a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--coral); }
.prose strong { color: var(--text-on-light); font-weight: 600; }
.prose code {
  font-family: var(--font-mono);
  font-size: 14.5px;
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--paper-line);
}

.prose blockquote {
  border-left: 2px solid var(--indigo);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-on-light);
}

/* ============================================================
   COMPARE TABLE (comparison pages)
   ============================================================ */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 32px 0;
  font-size: 14.5px;
}

.cmp-table th {
  background: var(--ink-900);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cmp-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--paper-line);
  vertical-align: top;
  line-height: 1.5;
}

.cmp-table tr.pick { background: rgba(198, 62, 36, 0.06); }
.cmp-table tr.pick td { font-weight: 500; }
.cmp-table .badge {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 8px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 0 0 20px;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.product-card .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  margin: 0 0 18px;
}

.product-card .meta a { color: var(--indigo); text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 13px; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.pros-cons h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--text-on-light-3);
}

.pros-cons ul { list-style: none; padding: 0; margin: 0; }

.pros-cons li {
  font-size: 15px;
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-on-light);
}

.pros li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #10B981;
  font-weight: 700;
}

.cons li::before {
  content: "✕";
  position: absolute; left: 0;
  color: var(--coral);
  font-weight: 700;
}

@media (max-width: 560px) { .pros-cons { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   STAGGER ANIMATIONS (page load)
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text > *,
.hero-visual {
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.18s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.42s; }
.hero-text > *:nth-child(5) { animation-delay: 0.54s; }
.hero-visual { animation-delay: 0.3s; }

.hero-device {
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s forwards;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
