/* The zapbooks.io landing page. Brand colors: public/brand/README.md. */

@font-face {
  font-family: "Outfit";
  src: url("brand/Outfit-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1b1f27;
  --ink-soft: #3f4450;
  --muted: #5b606b;
  --action: #b45309;
  --action-hover: #92400e;
  --accent-text: #92400e;
  --zap: #ff9f0a;
  --line: #eee9df;
  --line-warm: #eee4d0;
  --cream: #fdf9f1;
  --sand: #fbf4e6;
  --stone: #f6f4f0;
  --dark-card: #262b35;
  --on-dark: #d6d8de;
  --on-dark-muted: #b8bcc6;
  --error: #b42318;
  --success: #166534;
  --headings: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--headings);
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  font-size: 1.4375rem;
  font-weight: 600;
}

p {
  margin: 0;
}

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

a {
  color: var(--action);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.dark a:focus-visible,
.dark summary:focus-visible,
.access a:focus-visible,
.offer a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--zap);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 20px;
}

.tint {
  background: var(--cream);
}

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

/* Buttons and links that look like buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--action);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--action-hover);
  color: #ffffff;
}

.button:disabled {
  cursor: progress;
  opacity: 0.75;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
}

.button-large {
  padding: 14px 24px;
  font-size: 17px;
}

.button-plain {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #cfc7b8;
}

.button-plain:hover {
  background: var(--stone);
  color: var(--ink);
}

.button-light {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--sand);
  color: var(--ink);
}

.link-button {
  align-self: flex-start;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--action);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: var(--action-hover);
}

.link-button[hidden] {
  display: none;
}

.pill {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1eee7;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.pill-zap {
  background: var(--zap);
  color: var(--ink);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-block: 14px;
}

.nav-home {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.nav-home img {
  display: block;
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  font-size: 15px;
}

.nav-links a:not(.button) {
  padding: 10px 0;
  color: var(--ink-soft);
  text-decoration: none;
}

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

.pill-plain {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px var(--on-dark-muted);
}

/* "Coming next" and "Illustration": an outline in zap on dark, so they
   never read as available. */
.pill-next {
  background: transparent;
  color: var(--zap);
  box-shadow: inset 0 0 0 1.5px var(--zap);
}

.pill-next-light {
  background: var(--ink);
  color: var(--zap);
}

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

/* Hero */

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding-block: 48px 56px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow-dark {
  color: var(--zap);
}

.lede {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.brand-line {
  font-family: var(--headings);
  font-size: 19px;
  font-weight: 600;
}

.note {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-figure {
  flex: 1 1 520px;
  min-width: 0;
}

/* The product preview: an app window */

.app {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-warm);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 28px 60px -36px rgba(27, 31, 39, 0.45);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--stone);
  font-size: 13px;
  color: var(--muted);
}

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

.app-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d3c7;
}

.app-crumb {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.app-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cream);
}

.tile-label {
  font-size: 12px;
  color: var(--muted);
}

.tile-value {
  font-family: var(--headings);
  font-size: 17px;
  font-weight: 600;
}

.tile-zap {
  color: var(--accent-text);
}

.app-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.app-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.row-review {
  margin-inline: -4px;
  padding-inline: 8px;
  border-radius: 10px;
  background: #fff8ec;
}

.row-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.row-main span {
  font-size: 13px;
  color: var(--muted);
}

.row-amount {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.status {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-review {
  background: #fde7c2;
  color: var(--accent-text);
}

.status-done {
  background: #f1eee7;
  color: var(--ink-soft);
}

.app-history {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.history-mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--zap);
}

.app figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* Sections */

.section {
  padding-block: 56px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intro {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.strong-link {
  font-weight: 600;
}

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

/* Three benefits */

.benefits {
  border-bottom: 1px solid var(--line);
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px 40px;
}

.benefit-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.benefit-list h3 {
  font-size: 1.375rem;
  line-height: 1.25;
}

.benefit-list p,
.benefit-also {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.benefit-also {
  max-width: 860px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--sand);
}

.benefit-also strong {
  color: var(--ink);
}

/* Dark sections */

.dark {
  background: var(--ink);
  color: #ffffff;
}

.dark .intro > p:not(.eyebrow) {
  color: var(--on-dark);
}

.dark a {
  color: var(--zap);
}

.dark a:hover {
  color: #ffc56b;
}

/* AI choices */

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid #3a404c;
  border-radius: 18px;
  background: var(--dark-card);
}

.choice-next {
  border: 1.5px dashed var(--zap);
}

.choice-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.choice-head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark);
}

.choice-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.choice-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid #3a404c;
}

.choice-facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.choice-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-dark);
}

.choice-warning {
  margin-top: auto;
  padding: 14px 16px;
  border-left: 3px solid var(--zap);
  border-radius: 4px 10px 10px 4px;
  background: #ff9f0a1a;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-dark);
}

.choice-warning strong {
  color: #ffffff;
}

/* AI jobs: the reader, and the assistant concept */

.jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 24px;
}

.job {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line-warm);
  border-radius: 20px;
  background: #ffffff;
}

.job-concept {
  border: 1.5px dashed #8a8478;
  background: var(--stone);
}

.job-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.mode::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zap);
}

.mode-plain {
  background: #ffffff;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px #cfc7b8;
}

.mode-plain::before {
  background: #8a8478;
}

.job-list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

.reader {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reader-source {
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: var(--stone);
}

.receipt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
}

.receipt strong {
  font-size: 16px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.receipt-total {
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

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

.reader-fields {
  flex: 1.3 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--line-warm);
  border-radius: 10px;
  background: var(--cream);
}

.field-needs {
  border-color: #e8c48a;
  background: #fff8ec;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
}

.field-name {
  font-size: 13px;
  color: var(--muted);
}

.field-value {
  font-weight: 600;
}

.field-flag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-text);
}

.field-evidence {
  font-size: 12px;
  color: var(--ink-soft);
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 4px;
}

.fake-button {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--action);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.fake-plain {
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #cfc7b8;
}

.concept-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
}

.chat-question {
  align-self: flex-end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

.chat-sources {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cream);
}

.chat-sources ul,
.concept-examples ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.chat-answer {
  line-height: 1.55;
}

.concept-only {
  font-size: 13px;
  color: var(--muted);
}

.concept-examples {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job figcaption {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Receipt to approved entry */

.flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.flow li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line-warm);
  border-radius: 16px;
  background: #ffffff;
}

.flow-step {
  font-family: var(--headings);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-text);
}

.flow h3 {
  font-size: 1.25rem;
}

.flow p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.flow .flow-proof {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.flow-proof strong {
  color: var(--ink);
}

/* Security */

.security-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}

.security-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.security-links a {
  padding: 10px 0;
}

.safeguards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 24px;
}

.safeguards li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 2px solid var(--zap);
}

.safeguards h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
}

.safeguards p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.access {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #ffffff;
}

.access-text {
  flex: 1.4 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-text dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.access-text dt {
  font-weight: 600;
}

.access-text dd {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark);
}

.chain {
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chain-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dark-card);
}

/* The link between one change and the next. */
.chain-list li + li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 24px;
  width: 2px;
  height: 10px;
  background: var(--zap);
}

.chain-list span {
  font-size: 13px;
  color: var(--on-dark-muted);
}

.chain-check {
  font-size: 14px;
  font-weight: 600;
  color: var(--zap);
}

.chain figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: start;
  gap: 16px;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

.panel {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.panel summary {
  font-size: 17px;
}

.panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* What's ready */

.status-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.status-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line-warm);
  border-radius: 16px;
  background: #ffffff;
}

.status-col h3 {
  font-size: 1.0625rem;
}

.status-col .pill {
  font-size: 13px;
}

.status-col ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.status-limits {
  border-color: #e8c48a;
}

.status-note {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */

.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
}

.offer-text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-headline {
  font-family: var(--headings);
  font-size: 1.5rem;
  line-height: 1.25;
}

.offer-text > span:last-child {
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: 18px;
  background: #ffffff;
}

.plan p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.plan .plan-price {
  font-family: var(--headings);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.plan-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.body-small {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.self-host {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px dashed #8a8478;
  border-radius: 14px;
}

.self-host strong {
  font-size: 17px;
}

.self-host span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Request beta access */

.beta {
  background: var(--sand);
}

.beta-wrap {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.beta-wrap h2,
.beta-intro {
  text-align: center;
}

.beta-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.beta-form[hidden],
.beta-done[hidden] {
  display: none;
}

.beta-form label {
  font-size: 15px;
  font-weight: 600;
}

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

.beta-row input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #8a8478;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.beta-row input[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.beta-row .button {
  flex: 0 0 auto;
}

.beta-error:empty {
  display: none;
}

.beta-error p {
  font-size: 14px;
  font-weight: 600;
  color: var(--error);
}

.beta-help {
  font-size: 14px;
  color: var(--muted);
}

.beta-done {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid #a7d7b8;
  border-radius: 14px;
  background: #ffffff;
}

.beta-done strong {
  font-size: 18px;
  color: var(--success);
}

.beta-done span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* FAQ */

.faq-wrap {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq details {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-size: 18px;
}

.faq p {
  margin-top: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 44px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-brand img {
  display: block;
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 15px;
}

.footer-links a {
  padding: 10px 0;
  color: #ffffff;
}

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

@media (min-width: 640px) {
  .wrap {
    padding-inline: 24px;
  }

  .app-body {
    padding: 20px 22px;
  }

  .app-tiles {
    gap: 10px;
  }

  .tile-value {
    font-size: 20px;
  }

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

  .status {
    grid-column: auto;
    grid-row: 1;
    grid-column-start: 3;
    justify-self: end;
  }

  .row-amount {
    grid-row: 1;
    grid-column-start: 2;
  }

  .choice,
  .job,
  .plan,
  .access {
    padding: 28px;
  }

  .offer {
    padding: 26px 28px;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    padding-block: 72px 88px;
  }

  .section {
    padding-block: 88px;
  }

  .stack {
    gap: 40px;
  }

  .lede {
    font-size: 19px;
  }

  .nav {
    padding-block: 18px;
  }

  .access {
    padding: 36px;
  }
}

/* The beta form's honeypot: off screen, out of the tab order and hidden
   from screen readers, so only a bot fills it in. */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
