:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --paper-deep: #ebe4d5;
  --card: #fffdf7;
  --ink: #21211f;
  --muted: #68645a;
  --line: #d4cbb8;
  --green: #335f50;
  --green-dark: #183b31;
  --green-soft: #d6e4d5;
  --rust: #a24026;
  --amber: #b97721;
  --blueprint: #26342f;
  --shadow: 0 24px 80px rgba(33, 33, 31, 0.18);
  --tight: 8px;
  --content: 1180px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(51, 95, 80, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(235, 228, 213, 0.32)),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(33, 33, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 33, 31, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(33, 33, 31, 0.06), rgba(33, 33, 31, 0.06) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: multiply;
}

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

img,
svg {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 1rem;
  pointer-events: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(51, 95, 80, 0.22);
  border-radius: var(--tight);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 12px 40px rgba(33, 33, 31, 0.08);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand,
.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.6rem;
  min-height: 2.75rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.16);
}

.nav-links {
  gap: 0.2rem;
}

.nav-actions {
  gap: 0.45rem;
}

.nav-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 8.5rem 1.25rem 5.5rem;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bench-grid {
  position: absolute;
  inset: 6rem 3vw 3rem;
  border: 1px solid rgba(51, 95, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 253, 247, 0.2), rgba(51, 95, 80, 0.09)),
    repeating-linear-gradient(90deg, transparent, transparent 74px, rgba(51, 95, 80, 0.12) 75px),
    repeating-linear-gradient(0deg, transparent, transparent 74px, rgba(51, 95, 80, 0.12) 75px);
  transform: rotate(-1.4deg) scale(1.03);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(var(--content), calc(100vw - 2.5rem));
  margin: 0 auto;
}

.hero-copy {
  width: 100%;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--display);
  line-height: 0.98;
  font-weight: 700;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 7vw, 6.7rem);
}

h2 {
  font-size: 3.3rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: #3d3b35;
  font-size: 1.2rem;
}

.hero-actions,
.card-actions,
.form-row {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.hero-proofline span {
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(51, 95, 80, 0.22);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.66);
  font-size: 0.84rem;
  font-weight: 900;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(24, 59, 49, 0.22);
}

.button.secondary {
  border-color: rgba(51, 95, 80, 0.28);
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.78);
}

.hero-stats {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(760px, 100%);
  margin: 0;
}

.hero-stats div {
  padding: 0.85rem;
  border: 1px solid rgba(51, 95, 80, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.64);
}

.hero-stats dt {
  color: var(--green-dark);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.product-stage {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 660px;
  isolation: isolate;
}

.product-stage::before {
  position: absolute;
  inset: 7% 2% 5% 14%;
  z-index: -2;
  border: 1px solid rgba(51, 95, 80, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(185, 119, 33, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(255, 253, 247, 0.68), rgba(214, 228, 213, 0.42));
  box-shadow: 0 30px 100px rgba(33, 33, 31, 0.12);
  content: "";
  transform: rotate(2deg);
}

.phone-frame {
  position: absolute;
  right: 8%;
  bottom: 0;
  z-index: 2;
  width: min(72%, 370px);
  min-width: 315px;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 38px;
  background:
    linear-gradient(145deg, #2d302c, #0f1411 45%, #4d564f);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  animation: deviceFloat 7s ease-in-out infinite;
}

.phone-glass {
  min-height: 610px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 31px;
  background:
    linear-gradient(180deg, rgba(246, 243, 235, 0.98), rgba(235, 228, 213, 0.94)),
    var(--paper);
  overflow: hidden;
}

.phone-status,
.app-title,
.due-row,
.assistant-strip,
.stage-card,
.stage-ledger,
.hero-note,
.input-panel,
.confirmation-card,
.case-card,
.workflow-card,
.proof-tile,
.rail-item,
.access-panel {
  border: 1px solid rgba(51, 95, 80, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
}

.phone-status,
.app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  padding: 0.25rem 0.45rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.app-title {
  padding: 0.85rem;
}

.app-title span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-title strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.due-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.due-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  box-shadow: 0 14px 30px rgba(33, 33, 31, 0.08);
}

.due-row span,
.rail-item span,
.hero-note span,
.panel-label {
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.due-row strong,
.hero-note strong {
  font-size: 1.02rem;
}

.due-row small,
.hero-note small,
.rail-item small {
  color: var(--muted);
  line-height: 1.4;
}

.due-row.urgent {
  background: #fff9ed;
  border-color: rgba(185, 119, 33, 0.38);
}

.due-row.calm {
  background: #f4f8ef;
}

.assistant-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 0.85rem;
  color: var(--muted);
  background: #efe9da;
}

.assistant-strip b {
  color: #fff;
  border-radius: 7px;
  background: var(--green);
  padding: 0.45rem 0.7rem;
}

.stage-card,
.stage-ledger,
.hero-note {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  width: 220px;
  padding: 0.95rem;
  box-shadow: 0 20px 50px rgba(33, 33, 31, 0.1);
}

.stage-card,
.stage-ledger {
  z-index: 3;
}

.stage-card span,
.stage-ledger span {
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-card strong,
.stage-ledger strong {
  color: var(--ink);
  line-height: 1.25;
}

.stage-card small,
.stage-ledger small {
  color: var(--muted);
  line-height: 1.4;
}

.stage-ai {
  left: 0;
  bottom: 8%;
  width: 255px;
  background: rgba(255, 249, 237, 0.92);
}

.stage-ledger {
  right: 0;
  top: 12%;
  width: 235px;
  background: rgba(214, 228, 213, 0.88);
  transform: rotate(4deg);
}

.note-car {
  left: 3%;
  top: 24%;
  z-index: 1;
  transform: rotate(-8deg);
}

.note-home {
  right: 18%;
  top: 2%;
  z-index: 1;
  transform: rotate(7deg);
}

.band,
.workflow,
.capture,
.timeline,
.faq,
.early-access {
  padding: 7rem 1.25rem;
}

.band {
  border-block: 1px solid rgba(51, 95, 80, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.48), rgba(214, 228, 213, 0.2)),
    rgba(255, 253, 247, 0.36);
}

.section-copy,
.memory-map,
.workflow-grid,
.capture-lab,
.case-grid,
.timeline-rail,
.privacy-grid,
.faq-list,
.access-panel,
.site-footer {
  width: min(var(--content), calc(100vw - 2.5rem));
  margin-inline: auto;
}

.section-copy {
  max-width: 820px;
  margin-left: calc((100vw - min(var(--content), calc(100vw - 2.5rem))) / 2);
}

.section-copy p:not(.eyebrow) {
  max-width: 46rem;
  font-size: 1.05rem;
}

.problem {
  display: grid;
  gap: 3rem;
}

.memory-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.memory-map span {
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(51, 95, 80, 0.35);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.74);
  font-weight: 800;
}

.workflow {
  display: grid;
  gap: 3rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  position: relative;
  min-height: 245px;
  padding: 1.2rem;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(33, 33, 31, 0.08);
}

.workflow-card::after {
  position: absolute;
  right: 1rem;
  top: 0.55rem;
  color: rgba(51, 95, 80, 0.08);
  font-family: var(--display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  content: attr(data-step);
}

.workflow-card span {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.workflow-card h3 {
  margin-top: 1.4rem;
}

.workflow-card p {
  margin-bottom: 0;
}

.capture {
  display: grid;
  gap: 3rem;
}

.capture-lab {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

.capture-tabs {
  display: grid;
  gap: 0.55rem;
}

.capture-tab {
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(51, 95, 80, 0.2);
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.62);
  text-align: left;
  cursor: pointer;
}

.capture-tab.is-active,
.capture-tab:hover,
.capture-tab:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.capture-panels {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.input-panel,
.confirmation-card {
  min-height: 100%;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(33, 33, 31, 0.08);
}

.input-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.86), rgba(214, 228, 213, 0.5));
}

.input-panel p {
  margin: 2rem 0 0;
  color: #302f2a;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.25;
}

.confirmation-card {
  background: var(--card);
}

.card-head,
.parsed-fields div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.confidence {
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.parsed-fields {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
}

.parsed-fields div {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(51, 95, 80, 0.14);
}

.parsed-fields dt {
  color: var(--muted);
  font-weight: 800;
}

.parsed-fields dd {
  max-width: 65%;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.card-actions {
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.card-actions span {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(51, 95, 80, 0.18);
  border-radius: 7px;
  color: var(--green-dark);
  background: rgba(214, 228, 213, 0.42);
  font-weight: 900;
}

.use-cases {
  display: grid;
  gap: 3rem;
}

.case-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.case-card,
.proof-tile {
  padding: 1.2rem;
  box-shadow: 0 16px 50px rgba(33, 33, 31, 0.08);
}

.case-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-card p,
.proof-tile p {
  margin-bottom: 0;
}

.case-icon {
  color: var(--amber);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 3rem;
}

.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-rail::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--rust));
  content: "";
}

.rail-item {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
  min-height: 145px;
  box-shadow: 0 16px 50px rgba(33, 33, 31, 0.08);
}

.rail-item.active {
  color: #fff;
  background: var(--green);
  transform: translateY(-1.1rem);
}

.rail-item.active span,
.rail-item.active small,
.rail-item.active strong {
  color: #fff;
}

.privacy {
  display: grid;
  gap: 3rem;
}

.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq {
  display: grid;
  gap: 3rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-list details {
  border: 1px solid rgba(51, 95, 80, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 16px 50px rgba(33, 33, 31, 0.08);
}

.faq-list summary {
  min-height: 3.4rem;
  padding: 1rem 1.1rem;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary:focus-visible {
  outline: 3px solid rgba(51, 95, 80, 0.25);
  outline-offset: 2px;
}

.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.early-access {
  padding-bottom: 5rem;
}

.access-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(214, 228, 213, 0.72));
  box-shadow: var(--shadow);
}

.access-panel::after {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  color: rgba(51, 95, 80, 0.12);
  font-family: var(--display);
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  content: "K";
}

.access-panel h2,
.access-panel p,
.signup-form {
  position: relative;
  z-index: 1;
}

.access-panel h2 {
  max-width: 12ch;
}

.signup-form {
  display: grid;
  gap: 0.65rem;
  max-width: 710px;
  margin-top: 2rem;
}

.signup-form label {
  color: var(--green-dark);
  font-weight: 900;
}

.form-row {
  gap: 0.6rem;
}

.form-row input {
  min-width: 0;
  min-height: 3.25rem;
  flex: 1;
  padding: 0 1rem;
  border: 1px solid rgba(51, 95, 80, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.92);
}

.form-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(51, 95, 80, 0.12);
  outline: none;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 0.25rem;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  justify-content: end;
}

.site-footer a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer small {
  grid-column: 1 / -1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-14px);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero {
    min-height: auto;
    padding: 7.25rem 1.25rem 4.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-copy {
    max-width: 780px;
    margin-inline: auto;
  }

  .product-stage {
    grid-column: auto;
    grid-row: auto;
    width: min(680px, 100%);
    min-height: 575px;
    margin-inline: auto;
  }

  .hero-stats {
    grid-column: auto;
    margin-top: 0;
  }

  .phone-frame {
    right: 7%;
    bottom: auto;
    bottom: 0;
    width: min(58vw, 345px);
    min-width: 300px;
  }

  .phone-glass {
    min-height: 540px;
  }

  .hero-stats,
  .workflow-grid,
  .capture-lab,
  .capture-panels,
  .timeline-rail,
  .privacy-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-rail::before {
    display: none;
  }

  .rail-item.active {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
  }

  .nav-shell {
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 6.25rem 1rem 4rem;
  }

  .hero-grid {
    width: min(100%, calc(100vw - 2rem));
    gap: 2rem;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-lede {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button {
    min-height: 3rem;
  }

  .hero-proofline {
    gap: 0.4rem;
  }

  .hero-proofline span {
    font-size: 0.78rem;
  }

  .product-stage {
    min-height: 430px;
  }

  .product-stage::before {
    inset: 4% 0 0;
    transform: rotate(1deg);
  }

  .stage-card,
  .stage-ledger,
  .hero-note {
    display: none;
  }

  .phone-frame {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(72vw, 255px);
    min-width: 0;
    height: auto;
    margin: 0 auto;
    overflow: visible;
    transform: rotate(1.5deg);
    animation: none;
  }

  .phone-glass {
    height: auto;
    min-height: 425px;
    padding: 0.85rem;
  }

  .app-title {
    padding: 0.65rem;
  }

  .app-title strong {
    font-size: 1.05rem;
  }

  .due-stack {
    gap: 0.55rem;
    margin-top: 0.65rem;
  }

  .due-row {
    padding: 0.7rem;
  }

  .due-row.calm,
  .assistant-strip {
    display: none;
  }

  .band,
  .workflow,
  .capture,
  .timeline,
  .faq,
  .early-access {
    padding: 4.5rem 1rem;
  }

  .section-copy,
  .memory-map,
  .workflow-grid,
  .capture-lab,
  .case-grid,
  .timeline-rail,
  .privacy-grid,
  .faq-list,
  .access-panel,
  .site-footer {
    width: min(100%, calc(100vw - 2rem));
  }

  .section-copy {
    margin-inline: auto;
  }

  .case-grid,
  .workflow-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .parsed-fields div,
  .card-head,
  .form-row,
  .site-footer {
    display: grid;
  }

  .parsed-fields dd {
    max-width: none;
    text-align: left;
  }

  .form-row .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
    flex-wrap: wrap;
  }
}

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