:root {
  color-scheme: dark;
  --bg: #0f0c0a;
  --bg-soft: #16110f;
  --bg-raise: #1c1512;
  --card: #201915;
  --text: #f5efe9;
  --muted: #cbbfb3;
  --accent: #d16a4a;
  --accent-soft: rgba(209, 106, 74, 0.18);
  --accent-glow: rgba(209, 106, 74, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 28px;
  --radius-sm: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, rgba(209, 106, 74, 0.15), transparent 55%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 45%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

.page {
  position: relative;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 1.5rem, var(--max-width));
  margin: 0 auto;
}

/* Section down-arrows */
.section-arrow {
  display: block;
  width: 40px;
  height: 40px;
  margin: 2rem auto 0;
  color: var(--muted);
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  animation: arrow-bounce 2s ease-in-out infinite;
}

.section-arrow:hover {
  opacity: 0.8;
  color: var(--accent);
}

.section-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(15, 12, 10, 0.95), rgba(15, 12, 10, 0.6));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.button {
  border: 1px solid transparent;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  box-shadow: 0 10px 30px rgba(209, 106, 74, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(209, 106, 74, 0.45);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero {
  position: relative;
  padding: 1.85rem 0 3.1rem;
}

.hero-grid {
  width: min(100% - 1.5rem, 1280px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 1.5rem;
  row-gap: 0.95rem;
  align-items: stretch;
  margin: 0 auto;
}

.hero-copy {
  grid-column: 1;
  grid-row: 2;
}

.hero-store {
  grid-column: 1;
  grid-row: 3;
}

.hero-carousel-controls {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  justify-self: stretch;
  text-align: center;
  width: 100%;
  max-width: 520px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
}

.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.lead {
  font-size: 1.48rem;
  color: var(--muted);
  margin-bottom: 1.55rem;
}

br.m { display: none; }

.eyebrow {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.waitlist input {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  padding: 0.75rem 1.2rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.store-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: block;
  height: 40px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.store-badge:hover {
  opacity: 1;
}

.store-badge img {
  height: 100%;
  width: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-feature {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(209, 106, 74, 0.25);
}

.hero-feature-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-feature strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.hero-feature span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-visual {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 0;
}

.device-shot.hero-single {
  --device-height: 580px;
}

.device-shot {
  background: linear-gradient(160deg, rgba(32, 25, 21, 0.95), rgba(20, 14, 12, 0.95));
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  border: 1px solid rgba(209, 106, 74, 0.2);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
}

.device-shot.primary {
  --device-height: 560px;
}

.device-shot.secondary {
  --device-height: 470px;
  transform: translateY(-20px);
}

.device-shot.jumbo {
  --device-height: 620px;
}

.device-shot.wide {
  max-width: 720px;
  margin: 0 auto;
  justify-self: center;
}

.device-frame {
  height: var(--device-height, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-frame img {
  height: 100%;
  width: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-shot figcaption {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-glow {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  height: 100%;
  min-height: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: block;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Slide 2 (video) fades out slowly when transitioning to slide 3 */
.carousel-slide[data-slide="1"]:not(.active) {
  transition: opacity 1.5s ease, visibility 1.5s ease;
}

.slide-eyebrow {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.slide-description {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0 auto;
}

.slide-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;
  border-radius: 44px;
  overflow: visible;
  background: #000;
  padding: 12px;
  position: relative;
  border: 3px solid #2a2a2a;
}

/* Action button */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 100px;
  left: -8px;
  width: 5px;
  height: 28px;
  background: #2a2a2a;
  border-radius: 3px 0 0 3px;
}

/* Volume buttons */
.phone-frame::after {
  content: '';
  position: absolute;
  top: 145px;
  left: -8px;
  width: 5px;
  height: 50px;
  background: #2a2a2a;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 62px 0 #2a2a2a;
}

.phone-frame img,
.phone-frame video {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 32px;
  box-shadow: none;
}

.phone-frame video {
  width: auto;
  object-fit: contain;
}

/* Carousel progress bar */
.carousel-progress {
  position: relative;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  width: 70px;
}

.carousel-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
}

.carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease, opacity 0.2s ease;
}

.carousel-dot-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}

.carousel-dot.active {
  background: var(--accent-soft);
  border-color: rgba(209, 106, 74, 0.22);
}

.carousel-dot.active .carousel-dot-indicator {
  width: 0;
  opacity: 0;
}

.carousel-dot.active .carousel-dot-label {
  max-width: 260px;
  opacity: 1;
}

.carousel-dot:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.carousel-dot:active {
  transform: scale(0.98);
}

/* RSVP Explainer Cards */
.rsvp-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 2.5rem;
}

.rsvp-explainer-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}

.rsvp-explainer-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.rsvp-explainer-card span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* RSVP Demo */
.rsvp-demo {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.demo-container {
  max-width: 600px;
  margin: 0 auto;
}

.demo-display {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  font-size: 3rem;
  font-weight: 600;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 106, 74, 0.2);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  contain: strict;
  box-shadow: inset 0 0 60px rgba(209, 106, 74, 0.06), 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ORP fixed positioning - ORP anchored at exact center */
.demo-display .word-container {
  position: relative;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.demo-display .word-before {
  color: var(--text);
  display: inline-block;
  text-align: right;
  /* Fixed width so ORP stays anchored */
  width: 140px;
}

.demo-display .word-orp {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

/* Vertical guide line marking the fixed ORP position */
.demo-display .word-orp::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1rem;
  bottom: -0.5rem;
  width: 1px;
  background: var(--accent);
  opacity: 0.5;
  transform: translateX(-50%);
}

.demo-display .word-after {
  color: var(--text);
  display: inline-block;
  text-align: left;
  /* Fixed width to balance layout */
  width: 140px;
}

.demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.demo-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raise);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.demo-btn:hover {
  background: var(--card);
  border-color: var(--accent);
}

.demo-btn:active {
  transform: scale(0.95);
}

.demo-wpm {
  text-align: center;
  min-width: 120px;
}

.wpm-value {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.wpm-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ROI Math */
.roi-math {
  margin-top: 2.5rem;
  text-align: center;
}

.roi-sentence {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
}

.roi-payoff {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.roi-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  vertical-align: middle;
}

.roi-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raise);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.roi-btn:hover {
  background: var(--card);
  border-color: var(--accent);
}

.roi-btn:active {
  transform: scale(0.95);
}

/* Import icons */
.import-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Reading features subsection */
.reading-features {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.reading-features h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.feature-item strong {
  display: block;
  margin-bottom: 0.3rem;
}

.feature-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.section-title p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.ai-section {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ai-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.ai-card h3 {
  margin-top: 0;
}

.ai-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.ai-card li {
  margin-bottom: 0.6rem;
}

.hero-secondary {
  padding: 4rem 0 5rem;
  background: radial-gradient(circle at left, rgba(209, 106, 74, 0.16), transparent 55%);
}

.hero-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-secondary .device-shot {
  justify-self: center;
}

.hero-secondary h2 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  margin-top: 0.5rem;
}

.mini-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mini-stats strong {
  display: block;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.doom-hero {
  padding: 5.5rem 0 4rem;
}

.doom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.doom-copy .muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.doom-reasons,
.doom-help,
.doom-plan {
  padding: 4.5rem 0;
}

.doom-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.doom-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.doom-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.doom-step {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.doom-cta {
  padding: 2rem 0 4.5rem;
}

.flow {
  padding: 5rem 0;
  background: linear-gradient(140deg, rgba(209, 106, 74, 0.08), transparent 50%);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.flow-step {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.flow-step h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.flow-step p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  flex-shrink: 0;
}

.flow-step .device-mini-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
}

.flow-step img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-mini {
  height: 260px;
  width: auto;
  display: block;
}

.rsvp {
  padding: 5rem 0;
}

.rsvp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.rsvp-card {
  background: var(--bg-raise);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.rsvp-stream {
  display: grid;
  place-items: center;
  min-height: 160px;
}

.rsvp-stream .focus {
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
}

.rsvp-stream .fade {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.25);
}

.rsvp-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.rsvp-controls small {
  display: block;
  color: var(--muted);
}

.rsvp-bar {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.15));
  margin-top: 1.2rem;
}

.rsvp-points {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.rsvp-points strong {
  display: block;
}

.rsvp-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

.speed-math {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.speed-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.speed-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(209, 106, 74, 0.18);
}

.speed-wpm {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.speed-wpm span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.speed-time {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.speed-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.speed-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.speed-note p {
  color: var(--muted);
  margin: 0;
}

.import {
  padding: 4rem 0;
  background: linear-gradient(120deg, rgba(209, 106, 74, 0.08), transparent 45%);
}

.import-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.import-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.import-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(209, 106, 74, 0.25);
}

.import-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.import-card p {
  color: var(--muted);
  margin: 0;
}

.features {
  padding: 5rem 0;
  background: linear-gradient(120deg, rgba(209, 106, 74, 0.08), transparent 45%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  background: var(--bg-raise);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.feature-grid article.highlight {
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(209, 106, 74, 0.18);
}

.screenshot-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* When to Read */
.when-to-read {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.when-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.when-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(209, 106, 74, 0.25);
}

.when-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.when-card p {
  color: var(--muted);
  margin: 0;
}

.pricing {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}

.price-card .free-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.price-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(209, 106, 74, 0.2);
  position: relative;
}

.price-card .badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 0.6rem;
}

.price {
  font-size: 2rem;
  margin: 0.6rem 0 0;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.price-alt {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.faq {
  padding: 4rem 0 5rem;
  background: var(--bg-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--bg-raise);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "\2212";
}

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

.faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.cta-eyebrow {
  background: var(--accent);
  color: #1a110e;
  font-weight: 600;
}

.cta {
  padding: 4rem 0 6rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg-raise);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #0a0807;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.legal {
  padding: 4rem 0 6rem;
  background: var(--bg);
}

.legal-inner {
  max-width: 860px;
}

.legal h1 {
  margin-top: 0.3rem;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.legal h2 {
  margin-top: 2.5rem;
}

.legal h3 {
  margin-top: 1.5rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-table {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.legal-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-raise);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-note {
  margin-top: 1.8rem;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}

.lang-trigger:hover {
  border-color: var(--accent);
  color: var(--text);
}

.lang-flag {
  font-size: 0.9em;
  line-height: 1;
  flex-shrink: 0;
}

.lang-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-trigger[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-current {
  white-space: nowrap;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  list-style: none;
  min-width: 140px;
  z-index: 100;
}

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

.lang-menu li {
  margin: 0;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.15s, color 0.15s;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.lang-menu [aria-selected="true"] a {
  color: var(--accent);
}

/* Carousel mobile adjustments */
@media (max-width: 980px) {
  .carousel-slides {
    height: auto;
    min-height: 800px;
  }

  .hero-carousel {
    height: auto;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RSVP Demo mobile */
@media (max-width: 720px) {
  .demo-display {
    font-size: 2rem;
    padding: 3rem 1rem;
  }

  .demo-display .word-before,
  .demo-display .word-after {
    width: 100px;
  }

  .wpm-value {
    font-size: 2rem;
  }

  .demo-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

}

@media (max-width: 980px) {
  .hero-grid,
  .rsvp-grid,
  .ai-grid,
  .feature-grid,
  .pricing-grid,
  .faq-grid,
  .flow-grid,
  .speed-grid,
  .import-grid,
  .when-grid,
  .rsvp-explainer-grid,
  .hero-secondary-grid,
  .doom-grid,
  .doom-cards,
  .doom-steps,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-rows: auto;
  }

  .hero-copy,
  .hero-store,
  .hero-visual,
  .hero-carousel-controls {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy { order: 1; }
  .hero-carousel-controls { order: 2; justify-self: center; margin-top: 1.2rem; }
  .hero-visual { order: 3; }
  .hero-store { order: 4; }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .device-shot.secondary {
    transform: none;
  }

  br.m { display: initial; }

  .hero-copy h1 {
    font-size: 2.75rem;
  }

  .lead {
    font-size: 1.125rem;
  }
}

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

  .waitlist .button {
    font-size: 1.1rem;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-slides {
    min-height: 660px;
  }

  .roi-sentence,
  .roi-payoff {
    font-size: 1rem;
  }

  .roi-num {
    font-size: 1.75rem;
  }

  .legal-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .device-shot.primary,
  .device-shot.secondary,
  .device-shot.jumbo,
  .device-shot.hero-single {
    --device-height: 420px;
  }

  .device-mini {
    height: 220px;
  }

  .flow-step .device-mini-wrapper {
    min-height: 240px;
  }
}
