:root {
  color-scheme: light;
  --ink: #10241f;
  --ink-soft: #3d5a53;
  --paper: #f6f8f4;
  --paper-strong: #e4eee8;
  --teal: #0b6257;
  --teal-deep: #073f39;
  --clay: #c45c26;
  --line: rgba(11, 98, 87, 0.16);
  font-family: ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--teal-deep);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #e7f3ee;
  background: var(--teal-deep);
}

.wordmark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.header-links > a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 48px;
  padding: 64px clamp(24px, 8vw, 112px) 72px;
  color: #eef7f3;
  background:
    radial-gradient(circle at 80% 10%, rgba(196, 92, 38, 0.22), transparent 36%),
    var(--teal);
}

.hero-copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.steps h2,
.split h2,
.limits h2,
.privacy-band h2,
.document-hero h1 {
  margin: 0;
  font-family: ui-serif, "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.95;
}

.hero-lede {
  max-width: 540px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: #d7ebe4;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-width: 176px;
  padding: 10px 16px 12px;
  border: 1px solid rgba(231, 243, 238, 0.28);
  border-radius: 10px;
  color: #eef7f3;
  background: rgba(7, 63, 57, 0.35);
  text-decoration: none;
}

.store-link-soon {
  cursor: default;
}

.store-icon {
  width: 28px;
  height: 28px;
  filter: invert(94%) sepia(12%) saturate(280%) hue-rotate(102deg) brightness(104%);
}

.store-icon-apple {
  width: 24px;
  height: 32px;
  justify-self: center;
}

.store-copy {
  display: grid;
}

.store-copy > span {
  font-size: 11px;
  font-weight: 650;
}

.store-copy strong {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.device-preview {
  display: grid;
  justify-items: center;
}

.device-frame {
  width: min(100%, 340px);
  padding: 28px 24px 32px;
  border-radius: 28px;
  background: #fbfdf9;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(16, 36, 31, 0.08);
}

.device-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-line {
  margin: 0 0 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
}

.device-line.marked {
  background: rgba(196, 92, 38, 0.08);
  border-radius: 6px;
  padding: 0 8px;
}

.tick {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin: 0 1px;
  vertical-align: text-bottom;
  background: repeating-linear-gradient(
    90deg,
    var(--clay),
    var(--clay) 1px,
    transparent 1px,
    transparent 2px
  );
}

.device-status {
  margin: 14px 0 0;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
}

.device-frame hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.steps,
.split,
.limits {
  padding: clamp(64px, 8vw, 96px) clamp(24px, 8vw, 112px);
}

.steps {
  background: var(--paper);
}

.steps h2,
.split h2,
.limits h2,
.privacy-band h2 {
  max-width: 18em;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
}

.section-lede {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.section-lede + .section-lede {
  margin-top: 14px;
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 62ch;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-grid li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  counter-increment: step;
}

.step-grid h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step-grid h3::before {
  display: inline;
  margin-right: 10px;
  margin-bottom: 0;
  color: var(--clay);
  content: counter(step) ".";
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}

.step-grid p,
.split p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.split {
  background: var(--paper-strong);
}

.split > div {
  max-width: 62ch;
}

.split p + p {
  margin-top: 14px;
}

.limits {
  background: white;
}

.privacy-band {
  padding: clamp(56px, 7vw, 88px) clamp(24px, 8vw, 112px);
  color: #eef7f3;
  background: var(--teal-deep);
}

.privacy-band .eyebrow,
.privacy-band h2 {
  color: #eef7f3;
}

.privacy-band p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: #c5dbd4;
  font-size: 17px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 8vw, 112px);
  color: #d2e4de;
  background: #052824;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.site-footer a {
  text-decoration-color: rgba(210, 228, 222, 0.35);
  text-underline-offset: 4px;
}

.document-page {
  min-height: 100vh;
}

.document-page .site-header {
  background: var(--teal-deep);
}

.document-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.document-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.document-hero p:last-child {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.document-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.document-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.document-section p,
.document-section li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.document-section ul {
  margin: 0;
  padding-left: 20px;
}

.contact-link {
  display: inline-block;
  color: var(--teal);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  text-underline-offset: 6px;
}

.text-link {
  color: var(--teal);
  font-weight: 700;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 56px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 56px);
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .steps,
  .split,
  .limits,
  .privacy-band,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    flex-direction: column;
    gap: 12px;
  }

  .store-link {
    flex: 1 1 150px;
    min-width: 0;
  }

  .document-main {
    width: min(100% - 32px, 860px);
    padding: 48px 0 72px;
  }
}

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