/* ============================================================
   Bookmark Bro · landing page
   Design tokens lifted from blog.maximeheckel.com (Maxime Heckel
   blog) — same OKLCH palette, same fonts, same spacing scale.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"),
       url("assets/fonts/instrument-serif-italic-ext.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/instrument-serif.woff2") format("woff2"),
       url("assets/fonts/instrument-serif-ext.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "FiraCode";
  src: url("assets/fonts/fira-code.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DepartureMono";
  src: url("assets/fonts/departure-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  /* Spacing scale — same as the source blog */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 56px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;

  --radius-1: 8px;
  --radius-2: 12px;
  --radius-3: 16px;
  --radius-pill: 9999px;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "DepartureMono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --font-mono-code: "FiraCode", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --base-hue: 262.04;

  /* Dark theme — sampled from the live render of the source blog */
  --background: oklch(14.68% 0.01 var(--base-hue));
  --background-hi: oklch(17.8% 0.012 var(--base-hue));
  --foreground: oklch(20% 0.012 var(--base-hue) / 70%);
  --border: oklch(24.84% 0.018 var(--base-hue));
  --text-primary: oklch(93.66% 0.027 var(--base-hue));
  --text-secondary: oklch(77.16% 0.028 var(--base-hue));
  --text-tertiary: oklch(66.65% 0.04 var(--base-hue));
  --accent: oklch(61.53% 0.1675 var(--base-hue));
  --accent-soft: oklch(61.53% 0.1675 var(--base-hue) / 12%);
  --emphasis: oklch(61.53% 0.1675 var(--base-hue) / 7%);
  --code-bg: oklch(17.8% 0.012 var(--base-hue));
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent-soft);
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 160ms ease;
}
a:hover {
  opacity: 0.8;
}

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

/* ============================================================
   Aurora background — subtle nod to the shader hero of the
   source blog, kept lightweight so this stays a static page.
   ============================================================ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--background);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  animation: aurora-drift 28s ease-in-out infinite alternate;
}
.aurora-blob--1 {
  width: 720px;
  height: 720px;
  top: -160px;
  left: -200px;
  background: oklch(55.52% 0.223 266 / 60%);
}
.aurora-blob--2 {
  width: 640px;
  height: 640px;
  top: 30%;
  right: -180px;
  background: oklch(65.43% 0.257 352 / 35%);
  animation-delay: -10s;
}
.aurora-blob--3 {
  width: 540px;
  height: 540px;
  bottom: -200px;
  left: 30%;
  background: oklch(46.51% 0.225 266 / 50%);
  animation-delay: -18s;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(40px,-30px,0) scale(1.08); }
  100% { transform: translate3d(-30px,40px,0) scale(0.96); }
}
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  oklch(100% 0 0 / 3%) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 3%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* Vignette to evoke the dark fade on the source blog */
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    transparent 0%,
    var(--background) 80%
  );
}

/* ============================================================
   Floating glass nav pill — matches the source blog header
   ============================================================ */
.nav {
  position: fixed;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  background: oklch(20% 0.012 var(--base-hue) / 65%);
  border: 1px solid oklch(100% 0 0 / 6%);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 0 oklch(100% 0 0 / 6%) inset,
    0 8px 32px oklch(0% 0 0 / 35%);
  font-family: var(--font-display);
  font-size: 14px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: oklch(100% 0 0 / 4%);
  flex-shrink: 0;
}
.nav-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: oklch(100% 0 0 / 10%);
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-links a {
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 160ms ease, color 160ms ease;
}
.nav-links a:hover {
  background: oklch(100% 0 0 / 6%);
  opacity: 1;
}

/* ============================================================
   Layout
   ============================================================ */
main {
  width: 100%;
  padding: 0 var(--space-5);
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 200px 0 var(--space-12) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.hero-icon {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  box-shadow:
    0 20px 60px oklch(55.52% 0.223 266 / 25%),
    0 1px 0 oklch(100% 0 0 / 8%) inset;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  color: var(--text-primary);
}

.hero-sub {
  margin: 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-meta {
  margin: var(--space-3) 0 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ============================================================
   Article body — same column width, spacing, and type as the
   source blog post page.
   ============================================================ */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-10) 0 var(--space-12) 0;
}

.article-head {
  margin-bottom: var(--space-8);
}

.article-title {
  margin: 0 0 var(--space-3) 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}

.article-date {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.article p {
  margin: 0 0 var(--space-5) 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article p em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05em;
  color: var(--text-primary);
}

.article h2 {
  margin: var(--space-10) 0 var(--space-4) 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  scroll-margin-top: 6.6rem;
}

/* Inline code — exact recipe from the source blog */
.article code,
code {
  font-family: var(--font-mono-code);
  font-size: 14px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--text-primary);
}

/* Keyboard / kbd */
kbd {
  display: inline-block;
  font-family: var(--font-mono-code);
  font-size: 12.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Mode list — pill-style label inline with description */
.prose-list {
  list-style: none;
  margin: 0 0 var(--space-5) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.prose-list li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-left: var(--space-5);
  position: relative;
}
.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-right: var(--space-2);
  vertical-align: 1px;
}

/* ============================================================
   CTA block
   ============================================================ */
.cta {
  max-width: 720px;
  margin: var(--space-10) auto 0 auto;
  padding: var(--space-12) var(--space-8);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    var(--accent-soft) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-title {
  position: relative;
  margin: 0 0 var(--space-3) 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cta-sub {
  position: relative;
  margin: 0 0 var(--space-7) 0;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--text-tertiary);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 22px;
  background: var(--accent);
  color: oklch(98% 0.005 var(--base-hue));
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 25%) inset,
    0 12px 32px oklch(55.52% 0.223 266 / 35%);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 0ms;
}
.cta-button:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 30%) inset,
    0 16px 40px oklch(55.52% 0.223 266 / 50%);
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

.cta-note {
  position: relative;
  margin: var(--space-6) auto 0 auto;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-tertiary);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-10) var(--space-5) var(--space-8);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.footer a {
  color: var(--text-secondary);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
  .nav {
    top: var(--space-4);
    padding: 6px 10px 6px 6px;
    font-size: 13px;
  }
  .nav-logo { width: 28px; height: 28px; }
  .nav-logo img { width: 18px; height: 18px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 4px 8px; }

  .hero { padding-top: 140px; }
  .hero-icon { width: 120px; height: 120px; border-radius: 28px; }

  .article-title { font-size: 32px; }
  .cta-title { font-size: 32px; }
  .cta { padding: var(--space-9) var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
  html { scroll-behavior: auto; }
  .cta-button { transition: none; }
}

/* ============================================================
   Feature rows — alternating left/right text + visual.
   Same Heckel palette, just a wider container than the article.
   ============================================================ */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-11) var(--space-5) var(--space-9);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-13);
}
.row:last-child { margin-bottom: 0; }
.row.reverse > .row-text { order: 2; }

.row-eyebrow {
  margin: 0 0 var(--space-3) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.row h2 {
  margin: 0 0 var(--space-4) 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.row-lead {
  margin: 0 0 var(--space-5) 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.row-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.row-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}
.row-list .check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  position: relative;
  top: 2px;
}

/* Visual container shared treatment */
.row-visual {
  background: var(--background-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px oklch(0% 0 0 / 35%);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

/* Row 1 — masonry mock */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 60px;
  gap: 10px;
  padding: var(--space-4);
}
.vg-tile {
  background: oklch(20% 0.012 var(--base-hue));
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  padding: 8px;
  position: relative;
}
.vg-tile--1 { grid-row: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 25%, var(--background-hi)), var(--background-hi)); }
.vg-tile--2 { grid-column: span 2; }
.vg-tile--3 { grid-row: span 2; }
.vg-tile--5 { grid-column: span 2; grid-row: span 2; }
.vg-bar {
  display: block;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 4px;
  width: 80%;
}
.vg-bar.short { width: 50%; }

/* Row 2 — search results mock */
.visual-search {
  gap: var(--space-3);
  padding: var(--space-5);
}
.vs-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: oklch(20% 0.012 var(--base-hue));
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.vs-pill svg { color: var(--accent); }
.vs-result {
  background: oklch(20% 0.012 var(--base-hue));
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: var(--space-3);
}
.vs-result--dim { opacity: 0.6; }
.vs-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.vs-avatar {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), oklch(65.43% 0.257 352));
  flex-shrink: 0;
}
.vs-avatar--alt { background: linear-gradient(135deg, oklch(78.76% 0.177 170), oklch(52.84% 0.117 170)); }
.vs-handle { color: var(--text-tertiary); }
.vs-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.vs-body mark {
  background: var(--accent-soft);
  color: var(--text-primary);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 500;
}

/* Row 3 — palette mock */
.visual-palette {
  gap: 6px;
  padding: var(--space-4);
}
.vp-input {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.vp-input strong { color: var(--text-primary); font-weight: 500; }
.vp-row {
  padding: 10px 14px;
  border-radius: var(--radius-1);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}
.vp-row--on {
  background: var(--accent-soft);
  color: var(--text-primary);
}
.vp-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.vp-row--on .vp-meta { color: var(--accent); }

/* ============================================================
   Feature cards row (privacy / native / sync)
   ============================================================ */
.cards {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-9) var(--space-5);
  text-align: center;
}
.cards-eyebrow {
  margin: 0 0 var(--space-3) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.cards-title {
  margin: 0 auto var(--space-4) auto;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.cards-sub {
  margin: 0 auto var(--space-9) auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  text-align: left;
}
.card {
  background: var(--background-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: var(--space-6);
  transition: transform 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: oklch(34% 0.025 var(--base-hue));
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-2);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 {
  margin: 0 0 var(--space-2) 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ============================================================
   Email-gated download form (CTA)
   ============================================================ */
.email-gate {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  background: var(--background-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  max-width: 480px;
  width: 100%;
  margin-top: var(--space-3);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.email-gate:focus-within {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.email-gate input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-primary);
}
.email-gate input[type="email"]::placeholder { color: var(--text-tertiary); }
.email-gate button {
  flex-shrink: 0;
  background: var(--accent);
  color: oklch(98% 0.005 var(--base-hue));
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 150ms ease, opacity 150ms ease, filter 150ms ease;
  box-shadow: 0 1px 0 oklch(100% 0 0 / 25%) inset;
}
.email-gate button[disabled] {
  cursor: not-allowed;
  opacity: 0.4;
  filter: saturate(0.4);
}
.email-gate button:not([disabled]):hover { transform: translateY(-1px); }
.email-gate.sent button { background: oklch(52.84% 0.117 170); cursor: default; }

@media (max-width: 540px) {
  .email-gate {
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-3);
    gap: 8px;
    align-items: stretch;
  }
  .email-gate input[type="email"] { padding: 12px 14px; }
  .email-gate button { justify-content: center; padding: 12px 18px; }
}

/* ============================================================
   Responsive: collapse rows + cards on narrow screens
   ============================================================ */
@media (max-width: 800px) {
  .row {
    grid-template-columns: 1fr;
    gap: var(--space-7);
    margin-bottom: var(--space-11);
  }
  .row.reverse > .row-text { order: 0; }
  .cards-grid { grid-template-columns: 1fr; }
}
