/* rolestash.com. Brand tokens are from brand/README.md. No external requests. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --spruce: #0b5d52;
  --spruce-hover: #084a41;
  --amber: #f4b63f;
  --amber-hover: #f7c563;
  --cream: #fff7e6;
  --mint: #cfe6df;
  --ink-brand: #10231f;

  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --line: #e7e3da;
  --line-strong: #d6d0c3;
  --ink: #10231f;
  --muted: #4c5b57;
  --accent: var(--spruce);
  --accent-hover: var(--spruce-hover);
  --accent-ink: #ffffff;
  --accent-soft: #e7f3ef;
  --glow-1: rgb(11 93 82 / 14%);
  --glow-2: rgb(244 182 63 / 18%);
  --shadow-sm: 0 1px 2px rgb(16 35 31 / 6%), 0 2px 8px -2px rgb(16 35 31 / 8%);
  --shadow: 0 1px 2px rgb(16 35 31 / 6%), 0 12px 32px -12px rgb(16 35 31 / 18%);
  --shadow-lg: 0 2px 4px rgb(16 35 31 / 5%), 0 30px 60px -20px rgb(16 35 31 / 28%);

  /* Always-dark "ink" band (privacy, closer), identical in both themes. */
  --band-bg: #10231f;
  --band-surface: #173029;
  --band-line: #25413a;
  --band-ink: #f2f7f5;
  --band-muted: #b5c9c3;
  --band-accent: #7fd1be;

  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f0e;
    --surface: #131a18;
    --surface-2: #101614;
    --line: #25302d;
    --line-strong: #34423e;
    --ink: #eef3f1;
    --muted: #a3b3ae;
    --accent: #5cc4ad;
    --accent-hover: #7fd1be;
    --accent-ink: #06201b;
    --accent-soft: #0d2b26;
    --glow-1: rgb(92 196 173 / 14%);
    --glow-2: rgb(244 182 63 / 8%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 40px -16px rgb(0 0 0 / 60%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 30px 70px -20px rgb(0 0 0 / 75%);
    --band-bg: #0f1d1a;
    --band-surface: #152a25;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 17px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--surface);
  padding: 8px 12px;
}

/* ───────── Header ───────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.4) blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  padding: 6px 0;
}

.brand img,
.footer-brand img {
  height: 32px;
  width: auto;
}

.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .logo-light {
    display: none;
  }
  .logo-dark {
    display: block;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav .btn {
  margin-left: 8px;
}

/* Mobile menu: a <details> disclosure, so it works without JavaScript. */
.menu {
  display: none;
  position: relative;
}

.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

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

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 5px;
}

.menu[open] .menu-icon {
  background: transparent;
}

.menu[open] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu[open] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(260px, calc(100vw - 32px));
  display: grid;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.menu-panel a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

@media (max-width: 760px) {
  /* The menu stays open after an in-page jump, so let it scroll away. */
  .site-header {
    position: relative;
  }
  html {
    scroll-padding-top: 16px;
  }
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ───────── Buttons, pills, tags ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 17px;
}

.btn-xs {
  min-height: 0;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 12%) inset,
    var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

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

.btn-amber {
  background: var(--amber);
  color: #2b1c02;
}

.btn-amber:hover {
  background: var(--amber-hover);
  color: #2b1c02;
}

.btn-onink {
  border-color: var(--band-line);
  color: var(--band-ink);
  background: transparent;
}

.btn-onink:hover {
  border-color: var(--band-muted);
  color: var(--band-ink);
}

@media (prefers-reduced-motion: no-preference) {
  a.btn:hover {
    transform: translateY(-1px);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 14px;
  font-weight: 600;
}

.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgb(244 182 63 / 25%);
}

.tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 2px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, var(--glow-1), transparent 70%),
    radial-gradient(35% 45% at 72% 25%, var(--glow-2), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 22px auto 18px;
  max-width: 13ch;
  font-weight: 780;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-decoration: underline 0.09em var(--amber);
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 30px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.fine {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.showcase {
  position: relative;
  margin: 56px 0 0;
}

.browser {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.address {
  flex: 0 1 320px;
  margin-inline: auto;
  padding: 3px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-24px);
}

.shot {
  width: 100%;
}

.toast {
  position: absolute;
  left: clamp(12px, 4%, 48px);
  bottom: clamp(-28px, -2vw, -12px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--muted);
}

.toast strong {
  display: block;
  color: var(--ink);
}

.toast-check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
}

.trust {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

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

.trust li::before,
.promise-list li::before,
.plan li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b5d52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/14px no-repeat;
}

@media (prefers-color-scheme: dark) {
  .trust li::before,
  .plan li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235cc4ad' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 44px 0 40px;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .showcase {
    margin-top: 40px;
  }
  .browser-bar {
    height: 32px;
  }
  .address {
    display: none;
  }
  .toast {
    font-size: 13px;
    padding: 10px 12px;
  }
  .trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 14px;
    margin-top: 52px;
  }
}

/* ───────── Sections ───────── */
section {
  padding: 96px 0;
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }
}

.band {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 48px;
}

.section-head h2,
.split h2,
.faq-head h2,
.promise-head h2,
.closer h2,
.prose h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  font-weight: 740;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}

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

.center {
  text-align: center;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 16px 0 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

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

/* Features: bento grid */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.card-wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

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

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .card-wide {
    grid-column: auto;
  }
  .card {
    padding: 24px;
  }
}

.capture-demo {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.field {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  list-style: none;
  margin: auto 0 0;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
}

.chips li:last-child {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

/* How it works: a connected timeline */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  border-top: 2px dashed var(--line-strong);
}

.steps li {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--amber);
  color: #3a2605;
  font-size: 20px;
  font-weight: 750;
  box-shadow: 0 0 0 8px var(--bg);
  position: relative;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.steps p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  max-width: 30ch;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--line-strong);
  }
  .steps li {
    text-align: left;
    padding: 0 0 0 72px;
    min-height: 48px;
  }
  .steps li::before {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  .steps h3 {
    padding-top: 10px;
  }
  .steps p {
    margin: 0;
    max-width: none;
  }
}

kbd {
  font:
    600 13px/1 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

/* Email updates: split layout with a flow visual */
.split {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
}

.split-copy .muted {
  font-size: 18px;
}

.mini-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: mini;
}

.mini-steps li {
  position: relative;
  padding-left: 44px;
  color: var(--muted);
  font-size: 16px;
}

.mini-steps li::before {
  counter-increment: mini;
  content: counter(mini);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.flow {
  margin: 0;
  display: grid;
  gap: 0;
  justify-items: center;
}

.flow-email,
.flow-card {
  width: min(100%, 440px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.flow-email {
  transform: rotate(-1.5deg);
}

.flow-card {
  transform: rotate(1deg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.flow-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.flow-meta strong,
.flow-title strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.flow-email p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink);
}

.flow-rule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.flow-arrow {
  width: 2px;
  height: 22px;
  background: linear-gradient(var(--line-strong), var(--accent));
  position: relative;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  left: -4px;
  bottom: -2px;
  border: 5px solid transparent;
  border-top-color: var(--accent);
  border-bottom: 0;
}

.flow-match {
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #2b1c02;
}

.flow-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.stage-from {
  color: var(--muted);
  text-decoration: line-through;
}

.stage-arrow {
  color: var(--muted);
}

.stage-to {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgb(244 182 63 / 22%);
  color: var(--ink);
}

.flow-title {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.flow-interview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
}

.cal {
  flex: none;
  display: grid;
  width: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
}

.cal b {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.flow-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.duo {
  margin-top: 56px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .duo {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .flow-email,
  .flow-card {
    transform: none;
  }
}

/* Privacy: an always-dark band */
.ink {
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(92 196 173 / 14%), transparent 60%), var(--band-bg);
  color: var(--band-ink);
}

.promise {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.promise-head img {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.promise-head p {
  color: var(--band-muted);
  margin: 0;
  font-size: 18px;
}

.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.promise-list li {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--band-surface);
  border: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 16px;
}

.promise-list li::before {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  background-color: rgb(127 209 190 / 16%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237fd1be' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px;
}

.promise-list strong {
  display: block;
  color: var(--band-ink);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .promise {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .promise-list {
    grid-template-columns: 1fr;
  }
}

/* ───────── Pricing ───────── */
.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.plan:hover,
.plan:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: no-preference) {
  .plan:hover {
    transform: translateY(-4px);
  }
}

.plan-pro {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--accent-soft), transparent 160px), var(--surface);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #2b1c02;
  font-size: 13px;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.price {
  font-size: 48px;
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 12px 0 0;
}

.price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan .note {
  color: var(--muted);
  font-size: 15px;
  margin: 6px 0 0;
  min-height: 3em;
}

.limit {
  margin: 20px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 15px;
  color: var(--muted);
}

.limit strong {
  color: var(--ink);
  font-size: 20px;
  margin-right: 4px;
}

.plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan li::before {
  margin-top: 2px;
}

.plan-cta {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 860px) {
  .plan .note {
    min-height: 0;
  }
}

/* Comparison table (desktop); phones read the card lists instead. */
.compare {
  margin: 56px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare caption {
  padding: 20px 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.compare th,
.compare td {
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare tbody tr:last-child > * {
  border-bottom: 0;
}

.compare tbody tr:hover {
  background: var(--surface-2);
}

.compare th[scope='row'] {
  text-align: left;
  font-weight: 500;
}

.compare thead th {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-2);
}

.compare thead th:first-child {
  text-align: left;
}

.compare th:nth-child(3),
.compare td:nth-child(3) {
  background: color-mix(in srgb, var(--accent-soft) 60%, transparent);
}

.compare td {
  width: 17%;
  font-weight: 600;
}

/* Icons replace the words visually; the words stay for screen readers. */
.compare .yes,
.compare .no {
  font-size: 0;
}

.compare .yes::before,
.compare .no::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border-radius: 50%;
}

.compare .yes::before {
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/14px no-repeat;
}

.compare .no::before {
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

@media (prefers-color-scheme: dark) {
  .compare .yes::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2306201b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

@media (max-width: 860px) {
  .compare {
    display: none;
  }
}

@media (min-width: 861px) {
  /* The table carries the detail on wide screens. */
  .plan ul {
    display: none;
  }
}

#pricing .fine {
  margin-top: 28px;
}

/* ───────── FAQ ───────── */
.faq {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details:not(.menu) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s;
}

details:not(.menu):hover,
details:not(.menu)[open] {
  border-color: var(--line-strong);
}

details:not(.menu) summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
}

details:not(.menu) summary::-webkit-details-marker {
  display: none;
}

details:not(.menu) summary::after {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%230b5d52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
  transition: transform 0.2s;
}

@media (prefers-color-scheme: dark) {
  details:not(.menu) summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%235cc4ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

details[open]:not(.menu) summary::after {
  transform: rotate(180deg);
}

details:not(.menu) p {
  color: var(--muted);
  margin: 0;
  padding: 0 20px 18px;
}

@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-head {
    position: static;
  }
}

/* ───────── Closing call to action ───────── */
.closer {
  padding-top: 0;
}

#faq + .closer {
  padding-top: 96px;
}

.closer-card {
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  text-align: center;
  color: var(--band-ink);
  background:
    radial-gradient(50% 90% at 0% 100%, rgb(244 182 63 / 20%), transparent 60%),
    radial-gradient(50% 90% at 100% 0%, rgb(127 209 190 / 22%), transparent 60%), var(--band-bg);
}

.closer-card p {
  color: var(--band-muted);
  margin: 0 auto 28px;
  max-width: 36rem;
  font-size: 18px;
}

@media (max-width: 640px) {
  #faq + .closer {
    padding-top: 64px;
  }
}

/* Launch-list form: a plain HTML form, posted to the launch-list function. */
.notify-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.notify-row {
  display: flex;
  gap: 10px;
}

.notify-row input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--band-line);
  background: var(--band-surface);
  color: var(--band-ink);
  font: inherit;
}

.notify-row input::placeholder {
  color: var(--band-muted);
  opacity: 0.8;
}

.notify-row input:focus-visible {
  border-color: var(--band-accent);
}

.notify-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  justify-content: center;
}

.notify-plans legend {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  color: var(--band-muted);
  font-size: 14px;
}

.notify-plans label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--band-line);
  color: var(--band-ink);
  font-size: 15px;
  cursor: pointer;
}

.notify-plans label:has(:checked) {
  border-color: var(--band-accent);
  background: rgb(127 209 190 / 14%);
}

.notify-plans input {
  accent-color: var(--band-accent);
  margin: 0;
}

.closer-card .notify-fine {
  margin: 18px 0 0;
  font-size: 14px;
  text-align: center;
}

.notify-fine a,
.closer-card a:not(.btn) {
  color: var(--band-accent);
}

/* The bots-only field: out of sight and out of the tab order. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .notify-row {
    flex-direction: column;
  }
}

/* ───────── Legal / prose pages ───────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0 96px;
}

.prose h1 {
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--muted);
  font-size: 15px;
  margin-top: 0;
}

.prose h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 44px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.prose h3 {
  font-size: 18px;
  margin: 28px 0 6px;
}

.prose li + li {
  margin-top: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}

/* ───────── Footer ───────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-brand p {
  margin: 12px 0 0;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 2px;
}

.footer-nav h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  justify-self: start;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-base {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ───────── Motion (never when reduced motion is requested) ───────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .showcase,
  .trust {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.06s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.12s;
  }
  .hero-copy > :nth-child(4),
  .hero-copy > :nth-child(5) {
    animation-delay: 0.18s;
  }
  .showcase {
    animation-delay: 0.26s;
  }
  .trust {
    animation-delay: 0.4s;
  }
  .toast {
    animation: pop 0.5s 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
  }
  .card:hover {
    transform: translateY(-2px);
  }

  /* Scroll-revealed sections where the browser supports scroll timelines. */
  @supports (animation-timeline: view()) {
    .bento > *,
    .steps > li,
    .flow > *,
    .duo > *,
    .promise-list > li,
    .plan {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}
