:root {
  --paper: #fcfbf9;
  --paper-2: #f5f2ec;
  --paper-3: #ebe7df;
  --ink: #14161f;
  --muted: #6d6b70;
  --green: #2f6b4f;
  --green-dark: #23513b;
  --green-light: #e5f0ea;
  --mint: #75c59e;
  --line: rgba(20, 22, 31, 0.14);
  --line-soft: rgba(20, 22, 31, 0.08);
  --shadow: 0 28px 90px rgba(20, 22, 31, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: white; }

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

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(252, 251, 249, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark::before {
  content: "";
  width: 38px;
  height: 38px;
  display: block;
  background: url("/assets/subtext-mark.png") center / 50px 50px no-repeat;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.8rem;
  font-weight: 560;
}

.nav-links > a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}

.nav-links > a:not(.button):hover,
.nav-links > a:not(.button):focus-visible { color: var(--ink); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  background: var(--green);
  color: white;
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(47, 107, 79, 0.2);
}

.button.small {
  min-height: 39px;
  border-radius: 10px;
  padding-inline: 1rem;
  font-size: 0.77rem;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible { background: var(--paper-2); }

.button.dark { border-color: var(--ink); background: var(--ink); }

.button.light-button {
  border-color: white;
  background: white;
  color: var(--ink);
}

.button.disabled,
.button.disabled:hover {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
  box-shadow: none;
}

.button.disabled:hover { background: var(--green); }
.button.secondary.disabled:hover { background: transparent; }
.button.dark.disabled:hover { background: var(--ink); }
.button.light-button.disabled:hover { background: white; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
}

.text-link:hover span { transform: translateY(2px); }
.text-link span { transition: transform 160ms ease; }

.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(500px, 1.07fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  padding-block: clamp(3.8rem, 7vw, 6.5rem);
}

.hero-copy-wrap { max-width: 570px; }

.hero-mark {
  width: 58px;
  height: 58px;
  margin: -8px 0 0.75rem -8px;
}

.eyebrow,
.kicker,
.section-label,
.plan-label {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-weight: 760;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  margin: 0.9rem 0 1.4rem;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  line-height: 0.97;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.9rem;
}

.microcopy {
  margin: 0;
  color: #858287;
  font-size: 0.71rem;
}

.proof-stack { position: relative; padding-top: 34px; }

.ask-bubble {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 2;
  width: fit-content;
  max-width: 78%;
  border-radius: 18px 18px 4px 18px;
  padding: 0.78rem 1rem;
  background: #5dc96e;
  color: white;
  font-size: 0.78rem;
  box-shadow: 0 8px 20px rgba(39, 123, 60, 0.18);
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.window-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line-soft);
  padding-inline: 15px;
  background: #f6f4ef;
}

.window-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(20, 22, 31, 0.22);
  border-radius: 50%;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

.window-brand img {
  width: 28px;
  height: 28px;
  margin: -5px;
}

.window-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.window-body { padding: clamp(1.4rem, 3vw, 2.1rem); }

.window-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.1rem;
}

.window-heading h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.05;
}

.evidence-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 700;
}

.todo-item {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  gap: 0.8rem;
  border-top: 1px solid var(--line-soft);
  padding-block: 1rem;
}

.todo-check {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  border: 1.5px solid var(--line);
  border-radius: 50%;
}

.todo-name { margin-bottom: 0.2rem; font-size: 0.88rem; font-weight: 680; }
.todo-evidence { color: var(--muted); font-size: 0.67rem; line-height: 1.45; }

.todo-status {
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-caption {
  max-width: 470px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.69rem;
  text-align: center;
}

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

.source-strip {
  border-block: 1px solid var(--line-soft);
  background: white;
}

.source-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.source-inner strong { color: var(--ink); font-weight: 650; }
.source-inner i { width: 3px; height: 3px; border-radius: 50%; background: var(--green); }

.section { padding-block: clamp(6rem, 10vw, 9rem); }
.section.alt { border-block: 1px solid var(--line-soft); background: var(--paper-2); }

.section-heading { max-width: 760px; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.narrow { max-width: 680px; }

.section-heading h2,
.split-copy h2,
.closing h2,
.legal-hero h1 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.55rem, 5.3vw, 4.8rem);
  line-height: 1;
}

.section-heading > p:last-child,
.split-copy > p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.first-run-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.first-run-intro .section-heading { margin-bottom: 0; }

.motion-frame {
  margin: 0;
  overflow: hidden;
}

.motion-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scan-motion {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background: #f4f1ea;
  box-shadow: 0 24px 70px rgba(20, 22, 31, 0.07);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
  background: white;
}

.step-card.accent-card { border-color: var(--green); background: var(--green-light); }
.step-num { color: var(--green); font-size: 0.67rem; font-weight: 760; letter-spacing: 0.1em; }
.step-card h3 { margin: auto 0 0.65rem; font-size: 1.35rem; line-height: 1.08; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.82rem; }

.work-section { overflow: hidden; background: var(--ink); color: white; }

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.work-visual { min-width: 0; }

.voices-motion {
  width: 88%;
  aspect-ratio: 2 / 1;
  margin: 0 auto -3.8rem;
  border-radius: 24px;
  background: #12141f;
}

.inverse .kicker { color: var(--mint); }
.inverse h2 em { color: var(--mint); }
.inverse > p { color: rgba(255, 255, 255, 0.65); }

.plain-checks {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.plain-checks li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.83rem;
}

.plain-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 760; }
.work-fine { font-size: 0.7rem !important; }

.phone-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: #f6f5f2;
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
  transform: rotate(0.7deg);
}

.phone-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.phone-head div:last-child { display: grid; }
.phone-head strong { font-size: 0.8rem; }
.phone-head span { color: var(--muted); font-size: 0.59rem; }
.phone-avatar { width: 40px; height: 40px; overflow: hidden; border-radius: 12px; background: var(--ink); }
.phone-avatar img { width: 50px; height: 50px; margin: -5px; }

.message {
  width: fit-content;
  max-width: 86%;
  margin-bottom: 0.7rem;
  border-radius: 18px;
  padding: 0.75rem 1rem;
  background: #e8e6e1;
  font-size: 0.79rem;
}

.message.me { margin-left: auto; border-bottom-right-radius: 5px; background: #52bd65; color: white; }
.message.remsen { border-bottom-left-radius: 5px; }
.message-label { margin: 1rem 0 0.35rem 0.25rem; color: var(--muted); font-size: 0.55rem; font-weight: 700; text-transform: uppercase; }
.delivery { color: var(--muted); font-size: 0.55rem; text-align: right; }

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(450px, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.privacy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 70px rgba(20, 22, 31, 0.08);
}

.boundary { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 1rem; border-bottom: 1px solid var(--line-soft); padding: 1.25rem 1.4rem; }
.boundary span { color: var(--green); font-size: 0.67rem; font-weight: 700; }
.boundary strong { font-size: 0.78rem; font-weight: 650; }
.privacy-card > p { margin: 0; padding: 1.35rem 1.4rem; background: var(--paper-2); color: var(--muted); font-size: 0.71rem; }

.pricing-section { border-top: 1px solid var(--line-soft); background: var(--paper-2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: white;
}

.price-card.featured { border: 2px solid var(--green); box-shadow: 0 20px 50px rgba(47, 107, 79, 0.12); }
.work-card { background: var(--ink); color: white; }
.work-card .plan-label { color: var(--mint); }
.work-card .price-intro, .work-card .price-features li, .work-card .price span { color: rgba(255, 255, 255, 0.65); }

.recommended {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--green);
  color: white;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.plan-label { min-height: 2.2rem; margin-bottom: 1.1rem; }
.price-card h3 { margin-bottom: 0.6rem; font-size: 1.45rem; }
.price { margin-bottom: 1.1rem; font-size: 2.5rem; font-weight: 760; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0; }
.price-intro { min-height: 3.8rem; color: var(--muted); font-size: 0.79rem; }

.price-features {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 2rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.price-features li { position: relative; padding-left: 1.25rem; color: var(--muted); font-size: 0.75rem; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 760; }
.work-card .price-features li::before { color: var(--mint); }
.price-card .button { width: 100%; margin-top: auto; }

.comparison-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.comparison { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.74rem; }
.comparison th, .comparison td { border-bottom: 1px solid var(--line-soft); padding: 0.9rem 1rem; text-align: center; }
.comparison th:first-child, .comparison td:first-child { width: 40%; text-align: left; }
.comparison th { background: #f8f6f2; font-size: 0.74rem; font-weight: 700; }
.comparison tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 760; }
.no { color: #aaa7aa; }
.terms-note { margin: 1.3rem auto 0; color: var(--muted); font-size: 0.69rem; text-align: center; }

.faq-section { background: white; }
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary { cursor: pointer; font-size: 0.98rem; font-weight: 680; letter-spacing: -0.01em; }
.faq details p { max-width: 44rem; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.8rem; }

.closing { background: var(--ink); color: white; }
.closing-inner { padding-block: clamp(7rem, 12vw, 11rem); text-align: center; }
.closing-mark { width: 80px; height: 80px; margin: -10px auto 0.5rem; }
.closing .kicker { color: var(--mint); }
.closing h2 { max-width: 13em; margin-inline: auto; }
.closing p:not(.kicker) { max-width: 34rem; margin: 0 auto 1.7rem; color: rgba(255, 255, 255, 0.66); font-size: 1.04rem; }

.site-footer { border-top: 1px solid var(--line-soft); padding-block: 1.8rem; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: 0.67rem; }
.footer-inner .wordmark { font-size: 0.77rem; }
.footer-inner .wordmark::before { width: 30px; height: 30px; background-size: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-links a { text-decoration: none; }

/* Legal and support pages */
.legal-hero { max-width: 780px; padding-block: clamp(5rem, 10vw, 8rem) 3rem; }
.legal-hero h1 { margin-top: 0.6rem; }
.legal-hero p { color: var(--muted); font-size: 1.04rem; }
.legal { max-width: 780px; padding-bottom: 8rem; }
.legal h2 { margin: 3rem 0 0.8rem; font-size: 1.55rem; letter-spacing: -0.03em; }
.legal h3 { margin: 2rem 0 0.6rem; font-size: 1.08rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); font-size: 0.86rem; }
.legal li + li { margin-top: 0.45rem; }
.callout { margin: 2rem 0; border-left: 4px solid var(--green); padding: 1.2rem 1.4rem; background: var(--green-light); }
.callout p:last-child { margin-bottom: 0; }

@media (max-width: 940px) {
  .hero,
  .first-run-intro,
  .work-grid,
  .privacy-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .hero-copy-wrap { max-width: 720px; }
  .proof-stack, .phone-card { max-width: 700px; }
  .first-run-intro .section-heading { max-width: 720px; }
  .scan-motion { width: min(100%, 720px); }
  .work-visual { max-width: 700px; }
  .steps, .pricing-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 230px; }
  .plan-label, .price-intro { min-height: 0; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 66px; }
  .nav-links > a:not(.button) { display: none; }
  .hero { padding-block: 4.2rem 5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .source-inner { flex-wrap: wrap; gap: 0.65rem; padding-block: 1.2rem; }
  .source-inner span { width: 100%; text-align: center; }
  .window-heading { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
  .todo-item { grid-template-columns: 18px minmax(0, 1fr); }
  .todo-status { grid-column: 2; }
  .boundary { grid-template-columns: 1fr; gap: 0.35rem; }
  .scan-motion { border-radius: 19px; }
  .voices-motion { width: 94%; margin-bottom: -2.5rem; border-radius: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .text-link span { transition: none; }
  .motion-video { object-position: center; }
}
