/* ===========================================================
   Paper — Prelaunch Landing Page
   Minimal / Editorial · Mobile-first · Muted palette
   =========================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F5F7;
  --ink: #0A0A0B;
  --ink-soft: #3D3D42;
  --ink-mute: #8A8A93;
  --line: #E4E5E9;
  --line-soft: #EFF0F3;
  --accent: #295B93;
  --accent-soft: #B8CCE4;
  --paper: #FFFFFF;
  --hero-bg: #4A6B8C;
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* Reset -----------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
em { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Utility ---------------------------------------------------*/
.eyebrow, .section-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.2rem;
}
.section-eyebrow.center { text-align: center; }
.section-title {
  font-family: var(--serif);
  /* font-size: clamp(1.7rem, 6vw, 2.7rem); */
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.section-title em { font-weight: 400; }
.section-title.center { text-align: center; }
.section-title.emphasis { font-size: clamp(2rem, 7vw, 3.2rem); }
.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 1.3rem 0 0;
}
.section-lede.center { margin-left: auto; margin-right: auto; }
.section-lede.muted { color: var(--ink-mute); }
.center { text-align: center; }

@media (max-width: 879px) {
  .section-eyebrow.center,
  .section-title.center,
  .section-lede.center { text-align: left; margin-left: 0; margin-right: 0; }
}

/* Layout ----------------------------------------------------*/
.section { padding: clamp(3.5rem, 10vw, 6.5rem) 1.25rem; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-inner.narrow { max-width: var(--maxw-narrow); }
.section.alt { background: var(--bg-alt); }

/* Top announcement banner ---------------------------------*/
.top-banner-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.top-banner-wrap .site-nav {
  position: relative;
  top: auto;
}
.top-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.top-banner p { margin: 0; }
.top-banner strong { font-weight: 600; color: var(--accent-soft); }
.top-banner a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.15rem;
}
.top-banner a:hover { color: var(--accent-soft); }

/* Under-hero thin banner -----------------------------------*/
.under-hero-banner {
  border-top: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 768px) {
  .under-hero-banner { display: block; }
}
.under-hero-banner p { margin: 0; display: inline-flex; align-items: center; gap: 0.6rem; }
.under-hero-banner strong { font-weight: 600; color: var(--ink); }
.under-hero-banner a {
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.15rem;
  transition: color 0.18s;
}
.under-hero-banner a:hover { color: var(--ink); }
.banner-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Nav -------------------------------------------------------*/
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 28px; width: auto; }
.nav-links { display: none; align-items: center; gap: 1.6rem; font-size: 0.88rem; color: var(--ink-soft); }
.nav-links a { transition: color 0.18s; }
.nav-links a:hover { color: var(--ink); }
.nav-link.active { font-weight: 700; color: var(--ink); }
.nav-cta {
  border: 1px solid var(--accent);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--paper) !important;
  background: var(--accent);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: #1F4775; border-color: #1F4775; color: var(--paper) !important; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

/* Hero ------------------------------------------------------*/
.hero {
  padding: clamp(2.5rem, 8vw, 5rem) 1.25rem clamp(3rem, 8vw, 5rem);
  background: var(--hero-bg);
  color: var(--paper);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
}
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; max-width: 36rem; }
.hero-copy-top { gap: 1.4rem; }
.hero-copy-bottom { gap: 1.4rem; }
.hero-logo { display: inline-flex; align-items: center; }
.hero-logo-img { height: 65px; width: auto; }
.eyebrow { color: var(--accent-soft); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
}
.hero-title em { font-weight: 400; display: block; color: rgba(255, 255, 255, 0.6); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 45ch;
  margin: 0;
}

/* Lifetime emphasis ----------------------------------------*/
.hero-lifetime {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.lifetime-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A3A5C;
  background: var(--paper);
  padding: 1rem 0.85rem;
  border-radius: 999px;
}
.lifetime-detail {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* Countdown ------------------------------------------------*/
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3rem;
  flex: 1;
  padding: 0.6rem 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cd-num {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
}
.cd-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}
.cd-sep {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 6vw, 2rem);
  color: rgba(255, 255, 255, 0.35);
  align-self: center;
  padding-top: 0.15rem;
}

/* Forms -----------------------------------------------------*/
.signup-form { display: flex; flex-direction: column; gap: 0.65rem; }
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.hero-form .form-label { color: rgba(255, 255, 255, 0.78); }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-row input {
  flex: 1;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-row input::placeholder { color: var(--ink-mute); }
.form-row input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.07);
}
.hero-form .form-row input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--paper);
}
.hero-form .form-row input::placeholder { color: rgba(255, 255, 255, 0.4); }
.hero-form .form-row input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(184, 204, 228, 0.15);
}
.form-row button {
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s, transform 0.1s;
}
.form-row button:hover { background: var(--accent); border-color: var(--accent); }
.hero-form .form-row button {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.hero-form .form-row button:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.form-row button:active { transform: translateY(1px); }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin: 0;
}
.hero-form .form-note { color: rgba(255, 255, 255, 0.5); }
.form-note.success { color: var(--accent); font-weight: 500; }
.hero-form .form-note.success { color: var(--accent-soft); }
.form-note.center { text-align: center; }
.form-note.error { color: #d9534f; font-weight: 500; }
.hero-form .form-note.error { color: #ff9b96; }

/* Bot honeypot — hidden from people, left visible to scrapers. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Emphasized hero form --------------------------------------*/
.hero-form-emphasis {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6);
  color: var(--ink);
  gap: 0.8rem;
}
.hero-form-emphasis .hero-form-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}
.hero-form-emphasis .hero-form-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.hero-form-emphasis .hero-form-reserve {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-form-emphasis .hero-form-pitch {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero-form-emphasis .hero-form-pitch strong { color: var(--ink); font-weight: 700; }
.hero-form-emphasis .form-label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-form-emphasis .form-row {
  gap: 0.6rem;
}
.hero-form-emphasis .form-row input {
  background: var(--bg-alt);
  border-color: var(--line);
  color: var(--ink);
  padding: 1rem 1.1rem;
  font-size: 1.02rem;
}
.hero-form-emphasis .form-row input::placeholder { color: var(--ink-mute); }
.hero-form-emphasis .form-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 91, 147, 0.15);
}
.hero-form-emphasis .form-row button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1rem 1.5rem;
  white-space: nowrap;
}
.hero-form-emphasis .form-row button:hover {
  background: #1F4775;
  border-color: #1F4775;
}
.hero-form-emphasis .form-note {
  color: var(--ink-mute);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}
.hero-form-emphasis .form-note.success { color: var(--accent); }

@media (min-width: 560px) {
  .form-row { flex-direction: row; align-items: stretch; }
  .form-row input { min-width: 0; }
  .form-row button { white-space: nowrap; }
}

.form-row.large input,
.form-row.large button { padding-top: 1rem; padding-bottom: 1rem; }

/* Hero visual ----------------------------------------------*/
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4 / 3;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08) translateX(-1%);
  user-select: none;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.25s, background 0.2s;
  z-index: 2;
}
.hero-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--paper); }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }
.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--paper);
  transform: scale(1.25);
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto;
    align-items: stretch;
  }
  .hero-copy-top { grid-column: 1; grid-row: 1; }
  .hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
  }
  .hero-copy-bottom { grid-column: 1; grid-row: 2; }
  .hero-copy { justify-content: center; }
}

.section-text-head {
  width: 100%;
}

/* What is Paper --------------------------------------------*/
.section-what .section-inner {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}
.section-what .section-text-head { display: flex; flex-direction: column; gap: 1.2rem; }
.section-what .section-text-body { display: flex; flex-direction: column; gap: 1.2rem; }

@media (max-width: 879px) {
  .section-what .section-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (min-width: 880px) {
  .section-what .section-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
  }
  .section-what .section-media {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .section-what .section-text-head {
    grid-column: 2;
    grid-row: 1;
  }
  .section-what .section-text-body {
    grid-column: 2;
    grid-row: 2;
  }
}
.section-what-reversed .section-inner {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}
.section-what-reversed { padding-top: clamp(1.5rem, 4vw, 3rem); }
.section-what-reversed .section-text-head { display: flex; flex-direction: column; gap: 1.2rem; }
.section-what-reversed .section-text-body { display: flex; flex-direction: column; gap: 1.2rem; }
.section-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
/* video as well as img: the looping clips in these panels used to be GIFs. */
.section-media img,
.section-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 879px) {
  .section-what-reversed .section-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (min-width: 880px) {
  .section-what .section-inner { grid-template-columns: 1fr 1fr; }
  .section-what-reversed .section-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
  }
  .section-what-reversed .section-text-head,
  .section-what-reversed .section-text-body {
    text-align: left;
    max-width: 100%;
  }
  .section-what-reversed .section-text-head {
    grid-column: 1;
    grid-row: 1;
  }
  .section-what-reversed .section-media {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .section-what-reversed .section-text-body {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Category comparison --------------------------------------*/
/* App library ----------------------------------------------*/
.section-app-library {
  background: linear-gradient(rgba(10, 10, 11, 0.3), rgba(10, 10, 11, 0.8)), url('./assets/app-background.jpg') center/cover no-repeat;
  color: var(--paper);
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}
.section-app-library .section-eyebrow { color: rgba(255, 255, 255, 0.55); }
.section-app-library .section-title { color: var(--paper); }
.section-app-library .section-lede { color: rgba(255, 255, 255, 0.72); }
.app-grid {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.app-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.app-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.4);
}
.app-chip-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  overflow: hidden;
}
.app-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-chip-name {
  font-size: 0.97rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.app-chip-more .app-chip-name {
  color: var(--accent-soft);
  font-weight: 600;
}

@media (min-width: 480px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .app-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .app-grid { grid-template-columns: repeat(6, 1fr); }
}

.section-category { background: var(--bg-alt); }
.compare-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}
.compare-media-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 4 / 3;
}
.compare-media-item img,
.compare-media-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-media-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.compare-media-label.highlight {
  color: var(--paper);
  background: var(--accent);
}

@media (max-width: 600px) {
  .compare-media { grid-template-columns: 1fr; }
}
.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.compare-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.compare-item:last-child { border-bottom: none; }
.compare-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: left;
  align-self: center;
  padding-left: 1.25rem;
}
.compare-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}
.compare-item.highlight {
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.25rem;
  margin: 0 -0.75rem;
}
.compare-item.highlight .compare-name {
  color: var(--paper);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: left;
}
.compare-item.highlight .compare-desc { color: rgba(255, 255, 255, 0.88); }

@media (max-width: 600px) {
  .compare-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.2rem 0;
  }
  .compare-name { padding-left: 0; }
}

/* Key features ---------------------------------------------*/
.section-features .feature-grid {
  margin-top: 2.8rem;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.feature {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.feature-icon svg {
  width: 32px;
  height: 32px;
}
.feature-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.feature-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.feature-desc { margin: 0; color: var(--ink-soft); }

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* A Day on Paper -------------------------------------------*/
.section-day { background: var(--bg-alt); }
.day-grid {
  margin-top: 2.8rem;
  display: grid;
  gap: clamp(1.5rem, 5vw, 2.5rem);
}
.day-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.day-media {
  aspect-ratio: 4 / 3;
  background: var(--bg);
  overflow: hidden;
}
.day-media img { width: 100%; height: 100%; object-fit: cover; }
.day-text { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.45rem; }
.day-time {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.day-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.day-desc { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

@media (min-width: 760px) {
  .day-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Paper Plus -----------------------------------------------*/
.section-plus .section-inner {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}
.plus-block { margin-top: 1.8rem; }
.plus-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.plus-desc { margin: 0.4rem 0 0; color: var(--ink-soft); }

@media (min-width: 880px) {
  .section-plus .section-inner { grid-template-columns: 1fr 1fr; }
  .section-plus .section-media { order: 2; }
  .section-plus .section-text { order: 1; }
}

/* Early bird / FOMO ----------------------------------------*/
.section-earlybird {
  background: var(--ink);
  color: var(--paper);
}
.section-earlybird .section-eyebrow { color: rgba(255, 255, 255, 0.55); }
.section-earlybird .section-title { color: var(--paper); }
.section-earlybird .section-title em { color: var(--accent-soft); }
.section-earlybird .section-lede { color: rgba(255, 255, 255, 0.78); }
.perks-grid {
  margin: 2rem 0;
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.perk-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.perk-card:last-child { border-bottom: none; }
.perk-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--paper);
}
.perk-text {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

@media (min-width: 640px) {
  .perks-grid { grid-template-columns: 1fr; }
}
.section-earlybird .form-row input {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.section-earlybird .form-row input::placeholder { color: var(--ink-mute); }
.section-earlybird .form-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 91, 147, 0.15);
}
.section-earlybird .form-row button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.section-earlybird .form-row button:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }
.section-earlybird .form-note { color: rgba(255, 255, 255, 0.5); }
.section-earlybird .form-note.success { color: var(--accent-soft); }

/* Footer ----------------------------------------------------*/
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 3rem 1.25rem 2.5rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand .brand-logo { height: 32px; }
.footer-tag { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
.footer-launch { font-size: 0.88rem; color: var(--ink-mute); margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.5rem 0;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.8rem; color: var(--ink-mute); margin: 0.5rem 0 0; }

/* Signup confirmation modal --------------------------------*/
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 10, 11, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: modal-fade 0.18s ease-out;
}
/* [hidden] loses to display:flex without this, and the dialog would sit
   permanently open over the page. */
.modal-backdrop[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(10, 10, 11, 0.22);
  animation: modal-rise 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink-mute);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { color: var(--ink); background: var(--bg-alt); }

.modal-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  color: var(--paper);
  background: var(--accent);
  border-radius: 999px;
}
.modal-title {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.modal-body {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.modal-action {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.modal-action:hover { background: #1F4775; border-color: #1F4775; }

@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

@media (max-width: 479px) {
  .modal { padding: 2rem 1.35rem 1.5rem; }
  .modal-title { font-size: 1.4rem; }
}

/* Reduced motion -------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}