/* ============================================
   Baton — Landing page styles
   Theme: black & white, system fonts (sans + mono)
   ============================================ */

:root {
  /* ——— Brand / accent ——— */
  --primary: #6c8aff;
  --primary-bright: #8da6ff;
  --primary-dim: #4a6aef;
  --primary-glow: rgba(108, 138, 255, 0.25);
  --primary-subtle: rgba(108, 138, 255, 0.08);

  --accent-cyan: #5de4c7; /* gradient title sweep only */
  --accent-violet: #a78bfa; /* gradient title sweep only */

  /* ——— Foreground (text) ——— */
  --fg1: #f5f6f8; /* primary — soft off-white */
  --fg2: #b6b8be; /* secondary / dim */
  --fg3: #80828a; /* quiet / muted */
  --foreground: var(--fg1);
  --foreground-dim: var(--fg2);
  --foreground-quiet: var(--fg3);

  /* ——— Backgrounds (tinted-blue dark surfaces) ——— */
  --bg: #0d0e12;
  --bg-darker: #0a0b0e;
  --background: var(--bg);
  --background-darker: var(--bg-darker);
  --surface: #14161b;
  --surface-light: #1a1c22;
  --surface-lighter: #23252c;

  /* ——— Borders ——— */
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.06);
  --muted: rgba(255, 255, 255, 0.04);

  /* ——— Semantic / signal ——— */
  --signal-green: #7fc78d;
  --signal-amber: #f5b942;
  --signal-red: #ff6154; /* Product Hunt orange / editorial accent */

  /* Legacy aliases */
  --gold: var(--primary);
  --cream: var(--fg1);
  --cream-dim: var(--fg2);
  --warm-brown: var(--surface);
  --warm-border: var(--border);

  /* ——— Type stacks ——— */
  --font-display:
    'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-sans:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:
    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
  --font-serif: var(--font-display);

  /* ——— Type roles ——— */
  /* H1 / hero / page title — Inter Tight, weight 600, tight tracking */
  --h1-family: var(--font-display);
  --h1-weight: 600;
  --h1-tracking: -0.05em;
  --h1-leading: 0.95;
  /* H2 / section title — sans, semibold */
  --h2-family: var(--font-display);
  --h2-weight: 600;
  --h2-tracking: -0.035em;
  --h2-leading: 1.15;
  /* H3 / feature title — sans, semibold */
  --h3-family: var(--font-display);
  --h3-weight: 600;
  --h3-tracking: -0.02em;
  --h3-leading: 1.15;
  /* Body */
  --body-family: var(--font-sans);
  --body-size: 1rem;
  --body-leading: 1.65;
  --body-color: var(--fg1);
  /* Eyebrow / tag — UPPERCASE mono */
  --eyebrow-family: var(--font-mono);
  --eyebrow-size: 0.7rem;
  --eyebrow-tracking: 0.06em;
  --eyebrow-transform: uppercase;
  --eyebrow-color: var(--primary-bright);
  /* Code */
  --code-family: var(--font-mono);
  --code-size: 0.85em;
  --code-bg: var(--surface-lighter);
  --code-fg: var(--primary-bright);

  /* ——— Spacing ——— */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* ——— Layout ——— */
  --container-max: 1200px;
  --container-narrow: 1024px;
  --container-padding: 1.5rem;

  /* ——— Radius ——— */
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-pill: 999px;

  /* ——— Motion ——— */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;

  /* ——— Shadows ——— */
  --shadow-card: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border) inset;
  --shadow-hero: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border) inset;
  --shadow-btn-primary:
    inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(108, 138, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-btn-primary-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(141, 166, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 40px -10px var(--primary-glow);

  /* ——— Gradients ——— */
  --grad-title: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent-violet) 50%,
    var(--accent-cyan) 100%
  );
  --grad-logo: linear-gradient(
    135deg,
    oklch(0.55 0.17 250),
    oklch(0.65 0.15 250) 50%,
    oklch(0.75 0.12 250)
  );
  --grad-card-fade: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  --grad-card-fade-strong: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  --grad-hero-orb: radial-gradient(
    ellipse 700px 400px at 50% 0%,
    rgba(108, 138, 255, 0.05),
    transparent 70%
  );

  /* ——— Backdrop / nav ——— */
  --nav-blur: blur(18px) saturate(1.3);
  --nav-bg: rgba(8, 9, 10, 0.72);
}

/* ============================================
   Reset + base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   Typography
   ============================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--foreground);
}

h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--foreground);
}

h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--surface-lighter);
  border-radius: var(--radius-sm);
  color: var(--primary-bright);
  letter-spacing: -0.01em;
}

::selection {
  background: var(--primary);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  z-index: 1000;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

.gold {
  color: var(--foreground);
}

/* ============================================
   Navigation — editorial masthead (contained, scrolls with page)
   ============================================ */
.nav {
  max-width: var(--container-narrow);
  margin: 1.75rem auto 0;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
}

.logo-icon-svg {
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--foreground-dim);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--foreground);
}

.nav-links a.nav-cta {
  color: var(--foreground);
  font-weight: 600;
}

.nav-links a.nav-cta .nav-cta-arrow {
  display: inline-block;
  margin-left: 0.3em;
  transition: transform 0.2s ease;
}

.nav-links a.nav-cta:hover .nav-cta-arrow {
  transform: translateX(3px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    color 0.2s ease;
  cursor: pointer;
  border: none;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: #fafafd;
  color: #0a0b0e;
  border: 1px solid #fafafd;
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--foreground);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface-lighter);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  height: auto;
}

.btn-large svg {
  pointer-events: none;
  flex-shrink: 0;
}

.btn-downloading {
  opacity: 0.8;
  pointer-events: none;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 3.5rem var(--container-padding) 0;
  isolation: isolate;
}

.hero-title {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 0 0;
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.hero-eyebrow {
  margin: 0 auto 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--foreground-dim);
  text-align: center;
  animation: fade-in-up 0.9s var(--ease-out-expo) both;
}

.hero-eyebrow[hidden] {
  display: none;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 auto 1.4rem;
  max-width: 32ch;
  text-align: center;
  text-wrap: balance;
  animation: fade-in-up 0.9s 0.05s var(--ease-out-expo) both;
}

.hero-headline__line {
  display: block;
}

.hero-subheadline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
  color: var(--foreground-dim);
  max-width: 56ch;
  margin: 0 auto 2rem;
  text-align: center;
  text-wrap: pretty;
  animation: fade-in-up 1s 0.2s var(--ease-out-expo) both;
}

.hero-subheadline__line {
  display: block;
}

.hero-subheadline__line--mobile {
  display: none;
}

.hero-trust-meta {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--foreground-quiet);
  letter-spacing: -0.005em;
  animation: fade-in-up 1s 0.45s var(--ease-out-expo) both;
}

.hero-trust-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-meta__check {
  color: var(--signal-green);
  flex-shrink: 0;
}

/* CLI logo strip — directly under hero */
.hero-logos {
  padding: 4rem 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logos__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foreground-quiet);
  margin-bottom: 1.4rem;
}

.hero-logos__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 3rem;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--foreground-dim);
  letter-spacing: -0.01em;
}

.hero-logos__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-logos__item--muted {
  color: var(--foreground-quiet);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Hero CTA
   ============================================ */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fade-in-up 1s 0.35s var(--ease-out-expo) both;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.ap-extras-toggle .toggle-arrow {
  display: inline-block;
  transition: transform 0.12s var(--ease-out-quart);
}

.ap-extras[open] > .ap-extras-toggle .toggle-arrow {
  transform: rotate(180deg);
}

.mobile-desktop-note {
  font-size: 0.9rem;
  color: var(--foreground-dim);
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.remind-arrival-banner {
  margin: 0 auto var(--space-md);
  max-width: 28rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  text-align: center;
}

.remind-arrival-banner__heading {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--foreground);
}

.download-early-warning {
  font-size: 0.82rem;
  color: var(--signal-amber);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
}

/* ============================================
   Hero demo loop
   ============================================ */
.hero-demo {
  position: relative;
  max-width: 1280px;
  margin: 3rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  animation: fade-in-up 0.9s 0.6s var(--ease-out-expo) both;
  cursor: pointer;
}

.hero-demo:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 4px;
}

.hero-demo-video {
  display: block;
  width: 100%;
  height: auto;
}

/* Play-icon overlay shown when the demo is paused */
.hero-demo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  background: rgba(8, 9, 10, 0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0;
  opacity: 0;
  transition:
    opacity 0.2s,
    background-size 0.2s,
    background-color 0.2s;
}

.hero-demo.is-paused::after {
  opacity: 1;
  background-color: rgba(8, 9, 10, 0.35);
  background-size: 88px 88px;
}

/* ============================================
   Remind form
   ============================================ */
.remind-disclosure {
  width: 100%;
  max-width: 26rem;
  margin: 0.75rem auto 0;
  text-align: center;
}

.remind-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #0a0b0e;
  background: #fafafd;
  border: 1px solid #fafafd;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  list-style: none;
  user-select: none;
  letter-spacing: -0.005em;
  touch-action: manipulation;
}

.remind-toggle::-webkit-details-marker {
  display: none;
}

@media (hover: hover) {
  .remind-toggle:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
  }
}

.remind-toggle-icon {
  flex-shrink: 0;
  color: currentColor;
}

.remind-toggle-chevron {
  flex-shrink: 0;
  margin-left: 0.15rem;
  color: currentColor;
  transition: transform 0.2s;
}

.remind-disclosure[open] .remind-toggle-chevron {
  transform: rotate(180deg);
}

.remind-form {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(17, 18, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.remind-form-note {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--foreground-quiet);
  text-align: center;
}

.remind-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.remind-email {
  flex: 1;
  padding: 0.65rem 0.85rem;
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.remind-email:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.remind-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.remind-btn {
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.remind-btn:hover {
  background: var(--primary-bright);
}

.remind-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.remind-btn-label--short {
  display: none;
}

.remind-status {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.remind-status.success {
  background: rgba(127, 199, 141, 0.1);
  color: var(--signal-green);
  border: 1px solid rgba(127, 199, 141, 0.25);
}

.remind-status.error {
  background: rgba(245, 185, 66, 0.1);
  color: var(--signal-amber);
  border: 1px solid rgba(245, 185, 66, 0.25);
}

/* ============================================
   All-platforms panel
   ============================================ */
.all-platforms-panel {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.all-platforms-panel[open] > .all-platforms-grid {
  margin-top: 1rem;
}

.all-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(17, 18, 20, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.ap-platform {
  text-align: left;
}

.ap-platform-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ap-platform-name svg {
  color: var(--foreground-dim);
}

.ap-beta-tag {
  font-size: 0.62rem;
  padding: 2px 6px;
  background: var(--primary-subtle);
  color: var(--primary-bright);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.3rem;
}

.ap-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ap-download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  text-align: center;
  white-space: nowrap;
}

.ap-download-link:hover {
  background: var(--primary-subtle);
  color: var(--primary-bright);
  border-color: var(--primary);
}

.ap-extras {
  margin-top: 0.9rem;
  padding: 0 1.2rem 1.2rem;
}

.ap-extras-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  color: var(--foreground-dim);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
  cursor: pointer;
  user-select: none;
  list-style: none;
  touch-action: manipulation;
}

.ap-extras-toggle::-webkit-details-marker {
  display: none;
}

@media (hover: hover) {
  .ap-extras-toggle:hover {
    color: var(--primary-bright);
    background: var(--primary-subtle);
    border-color: var(--primary);
  }
}

.ap-extras[open] > .ap-extras-columns {
  margin-top: 0.8rem;
}

.ap-extras-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  text-align: left;
}

.ap-extras-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.ap-extras-text {
  font-size: 0.82rem;
  color: var(--foreground-dim);
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.ap-extras-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: var(--background-darker);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  color: var(--foreground-dim);
  overflow-x: auto;
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.ap-extras-checksum-link {
  color: var(--primary-bright);
  font-weight: 500;
  border-bottom: 1px solid var(--primary-subtle);
}

.ap-extras-checksum-link:hover {
  color: #fff;
  border-bottom-color: var(--primary);
}

/* ============================================
   Section header
   ============================================ */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foreground-quiet);
  margin-bottom: 0.875rem;
}

.section-eyebrow--accent {
  color: #97afff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* When a section has an eyebrow, constrain the title so it wraps to two lines like the reference */
.section-eyebrow + .section-title {
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--foreground-dim);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
}

/* ============================================
   Feature articles
   ============================================ */
.features-section {
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 2;
}

main > .features-section:first-of-type {
  padding-top: var(--space-xl);
}

.features-section + .features-section {
  padding-top: 0;
}

.features-section--change-review .feature-screenshot + .feature-screenshot {
  margin-top: 5rem;
}

.feature-article {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.feature-article + .feature-article {
  border-top: 1px solid var(--border-soft);
  padding-top: 4rem;
}

.feature-article-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.feature-article-grid.reverse {
  grid-template-columns: 1.3fr 1fr;
}

.feature-article-grid.reverse .feature-article-text {
  order: 2;
}

.feature-article-grid.reverse .feature-article-visual {
  order: 1;
}

.feature-article-text {
  position: relative;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--primary-subtle);
  border: 1px solid rgba(108, 138, 255, 0.22);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.feature-tag svg {
  color: var(--primary);
}

.feature-article h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.1rem;
}

.feature-article p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--foreground-dim);
  max-width: 32rem;
}

.feature-article-visual {
  position: relative;
}

.feature-screenshot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--background-darker);
}

.feature-screenshot--portrait {
  max-width: 480px;
  margin-inline: auto;
}

.sc-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Demo video (YouTube facade) */
.hero-screenshot {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--surface);
  box-shadow: var(--shadow-hero);
  aspect-ratio: 16 / 9;
}

/* ============================================
   Social proof / testimonials
   ============================================ */
.social-proof {
  padding: clamp(4rem, 9vw, 6.875rem) 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.testimonial-card {
  position: relative;
  padding: 1.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition:
    border-color 220ms var(--ease-out-quart),
    background 220ms ease;
}

.testimonial-card:hover {
  border-color: var(--border-light);
}

/* Featured (longest) testimonial — centered above the row of three, narrower */
.testimonial-card--featured {
  grid-column: 1 / -1;
  max-width: 880px;
  width: 100%;
  justify-self: center;
  padding: 2.25rem 2.5rem;
  border-radius: 14px;
  margin-bottom: 0.625rem;
}

.testimonial-card--featured .testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 62ch;
  color: var(--foreground);
}

.testimonial-card--editorial {
  background: var(--surface);
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground-quiet);
}

.testimonial-quote {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--foreground);
  font-weight: 400;
  letter-spacing: -0.005em;
  flex: 1;
}

.testimonial-author {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--foreground-dim);
  background: var(--surface-light);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
  user-select: none;
}

.testimonial-card--featured .testimonial-avatar {
  width: 38px;
  height: 38px;
  font-size: 0.78rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.testimonial-name {
  font-style: normal;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--foreground-quiet);
  line-height: 1.4;
}

.testimonial-author--editorial {
  padding-left: 0.15rem;
}

.testimonial-author--editorial .testimonial-role {
  font-style: italic;
  color: var(--foreground-dim);
}

/* ============================================
   Feature thumb grid (tier 2)
   ============================================ */
.feature-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: var(--container-narrow);
  margin: 0 auto 3rem;
}

.feature-thumb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.feature-thumb-card:hover {
  border-color: var(--border-light);
}

.feature-thumb-screenshot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--background-darker);
}

.feature-thumb-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  cursor: zoom-in;
}

.feature-thumb-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 1.2rem 1.25rem 0.4rem;
  letter-spacing: -0.015em;
}

.feature-thumb-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--foreground-dim);
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}

/* ============================================
   Mini feature grid (bordered, no images)
   ============================================ */
.feature-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container-narrow);
  margin: 2rem auto 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.feature-mini-cell {
  padding: 1.5rem 1.4rem;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.feature-mini-cell:nth-child(3n) {
  border-right: none;
}

.feature-mini-cell:nth-last-child(-n + 3) {
  border-bottom: none;
}

.feature-mini-cell h3 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.feature-mini-cell p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--foreground-quiet);
  margin: 0;
}

.feature-mini-soon {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-bright);
  vertical-align: 0.1em;
  margin-left: 0.3em;
}

@media (max-width: 800px) {
  .feature-mini-grid {
    grid-template-columns: 1fr;
  }
  .feature-mini-cell {
    border-right: none;
  }
  .feature-mini-cell:last-child {
    border-bottom: none;
  }
  .feature-mini-cell:nth-last-child(-n + 3):not(:last-child) {
    border-bottom: 1px solid var(--border-soft);
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 2;
}

.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 0;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-bright);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--foreground-quiet);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-quart);
}

.faq-answer p {
  padding-bottom: 1.4rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground-dim);
  max-width: 40rem;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  z-index: 2;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta-icon {
  display: none;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.cta-subtext {
  font-size: 1rem;
  color: var(--foreground-dim);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.6rem;
}

.footer-links a {
  color: var(--foreground-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: var(--foreground-quiet);
  margin-top: 0.8rem;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lightbox-overlay.visible {
  opacity: 1;
}

.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}

/* ============================================
   Breadcrumbs (agent pages)
   ============================================ */
.page-breadcrumbs {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.page-breadcrumbs ol {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(17, 18, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground-dim);
  font-size: 0.82rem;
  letter-spacing: -0.005em;
}

.page-breadcrumbs li + li::before {
  content: '/';
  color: rgba(255, 255, 255, 0.28);
}

.page-breadcrumbs a {
  color: var(--foreground-dim);
  transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
  color: var(--primary-bright);
}

.page-breadcrumbs [aria-current='page'] {
  color: var(--foreground);
}

/* ============================================
   Agent-page intro card + feature list
   ============================================ */
.agent-intro {
  margin: 0 auto var(--space-xl);
  max-width: 920px;
}

.agent-intro-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.84), rgba(17, 18, 20, 0.68));
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.35rem;
}

.agent-intro-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.agent-intro-card p {
  color: var(--foreground-dim);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.agent-intro-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.agent-intro-list li {
  color: var(--foreground-dim);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}

.agent-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}

.agent-intro-list strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Checklist inside feature articles (agent pages) */
.feature-article-text .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-article-text .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--foreground-dim);
  font-size: 0.95rem;
}

.feature-article-text .feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Testimonial source label (Product Hunt row) */
.testimonial-source-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground-dim);
  letter-spacing: -0.005em;
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .feature-article-grid,
  .feature-article-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-article-grid.reverse .feature-article-text {
    order: 1;
  }
  .feature-article-grid.reverse .feature-article-visual {
    order: 2;
  }
  .hero-inner {
    padding: 3.5rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .nav {
    margin-top: 1rem;
    padding: 0 0.75rem;
  }
  .nav-inner {
    padding: 0.75rem 0.5rem;
    border: 0;
    background: none;
    border-radius: 0;
  }
  .nav-links {
    gap: 1.1rem;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .nav-links .nav-cta {
    display: none;
  }
  .hero-inner {
    padding: 1rem 0 0;
  }
  .hero-cta-row .btn-ghost {
    display: none;
  }
  .remind-btn {
    background: #fafafd;
    color: #0a0b0e;
  }
  .remind-btn:hover {
    background: #fff;
  }
  .remind-btn-label--full {
    display: none;
  }
  .remind-btn-label--short {
    display: inline;
  }
  .hero-headline {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    letter-spacing: -0.045em;
  }
  .hero-subheadline {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .hero-subheadline__line--desktop {
    display: none;
  }
  .hero-subheadline__line--mobile {
    display: block;
  }
  .hero-trust-meta {
    font-size: 0.72rem;
    gap: 0.5rem 1rem;
  }
  .hero-logos__row {
    gap: 1rem 1.5rem;
    font-size: 0.82rem;
  }
  .feature-article {
    padding: 2rem 0 3rem;
  }
  .feature-article + .feature-article {
    padding-top: 3rem;
  }
  .feature-article h3 {
    font-size: 1.65rem;
  }
  .cta-content {
    padding: 3rem 1.5rem;
  }
  .testimonial-card {
    padding: 1.5rem 1.4rem 1.3rem;
    gap: 1rem;
  }
  .testimonial-card--featured {
    padding: 1.6rem 1.4rem 1.3rem;
  }
  .testimonial-card--featured .testimonial-quote {
    font-size: 1.05rem;
  }
  .feature-thumb-grid {
    grid-template-columns: 1fr;
  }
  .features-section {
    padding: 3rem 0;
  }
  .features-section--change-review .feature-screenshot + .feature-screenshot {
    margin-top: 3rem;
  }
}

/* ============================================
   Sticky download bar — appears after hero
   ============================================ */
.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, calc(100% + 2rem));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.45rem 0.45rem 0.55rem;
  background: rgba(20, 22, 27, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: calc(100vw - 2rem);
  visibility: hidden;
}

.sticky-bar.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

.sticky-bar__desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sticky-bar__btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
  border: 1px solid var(--border-light);
}

.sticky-bar__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.sticky-bar__all-platforms {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  color: var(--foreground-dim);
  white-space: nowrap;
  background: transparent;
  border-color: transparent;
}

.sticky-bar__all-platforms:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.sticky-bar__mobile {
  display: none;
  flex: 1;
  min-width: 0;
}

.sticky-bar__mobile-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.sticky-bar__mobile .remind-email {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-light);
}

.sticky-bar__send {
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.sticky-bar__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius-md);
  color: var(--foreground-quiet);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}

.sticky-bar__close:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.06);
}

.sticky-bar--mobile {
  left: 1rem;
  right: 1rem;
  bottom: 0.75rem;
  transform: translate(0, calc(100% + 2rem));
  max-width: none;
  width: auto;
}

.sticky-bar--mobile.is-visible {
  transform: translate(0, 0);
}

.sticky-bar--mobile .sticky-bar__desktop {
  display: none;
}

.sticky-bar--mobile .sticky-bar__mobile {
  display: block;
}

/* On mobile widths the global remind-form rule swaps to the short label;
   keep the full "Email me a download link" copy on most phones, and only
   fall back to the short "Send link" on very narrow screens. */
@media (max-width: 640px) {
  .sticky-bar__send .remind-btn-label--full {
    display: inline;
  }
  .sticky-bar__send .remind-btn-label--short {
    display: none;
  }
}

@media (max-width: 400px) {
  .sticky-bar__send .remind-btn-label--full {
    display: none;
  }
  .sticky-bar__send .remind-btn-label--short {
    display: inline;
  }
}

/* Ensure fade-in-view stays visible (JS no longer animates these) */
.fade-in-view {
  opacity: 1;
}

.stagger-children {
  opacity: 1;
}
