:root {
  --paper: #f3eee6;
  --surface: #fffcf7;
  --forest: #1b4d3e;
  --on-forest: #ffffff;
  --brass: #b0894f;
  --brass-soft: #e8d7b0;
  --ink: #1a1c1b;
  --muted: #5c615c;
  --outline: #d5cfc4;
  --vault: #10241c;
  --vault-mid: #18352a;
  --error: #9b2c2c;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px;
  padding-top: calc(18px + env(safe-area-inset-top));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--forest);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 28px 0 80px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 560;
  line-height: 1.08;
  text-wrap: balance;
}

.lede {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--on-forest);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
}

.btn:hover {
  background: var(--vault);
}

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

.hero-device {
  display: flex;
  justify-content: center;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 560;
}

.section > .wrap > .lede,
.section-head p {
  margin: 0 0 36px;
  max-width: 46ch;
  color: var(--muted);
}

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

.step {
  padding: 8px 8px 22px;
  border: 1px solid var(--outline);
  border-radius: 28px;
  background: var(--surface);
}

.step h3 {
  margin: 18px 16px 6px;
  font-size: 22px;
  font-weight: 560;
}

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

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

.claim,
.not {
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--outline);
}

.claim strong,
.not strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.claim p,
.not p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dark {
  background: var(--vault);
  color: var(--paper);
}

.dark h2 {
  color: var(--paper);
}

.dark .lede,
.dark .claim p,
.dark p {
  color: var(--brass-soft);
}

.dark .claim {
  background: var(--vault-mid);
  border-color: #234237;
}

.nots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band .lede {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer a {
  color: var(--muted);
  white-space: nowrap;
}

/* Phone chrome — matches Penpot iOS frames */
.phone {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: #0c1813;
  box-shadow:
    0 30px 60px rgba(16, 36, 28, 0.22),
    inset 0 0 0 1px rgba(232, 215, 176, 0.12);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
}

.phone-screen.lock {
  background: var(--vault);
  color: var(--paper);
}

.status {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px 4px;
  font-size: 10px;
  font-weight: 650;
  opacity: 0.72;
}

.phone-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 28px);
  padding: 8px 16px 16px;
}

.phone-title {
  margin: 6px 0 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.lock-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.seal {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--brass-soft);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.lock-body h3 {
  margin: 16px 0 4px;
  font-size: 20px;
  font-family: var(--sans);
}

.lock-body .sub {
  margin: 0 0 22px;
  color: var(--brass-soft);
  font-size: 12px;
}

.dots {
  width: 100%;
  max-width: 210px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--vault-mid);
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

.pill {
  width: 100%;
  max-width: 210px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.lock-body .hint {
  margin-top: 10px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 650;
}

.ask h4 {
  margin: 4px 0 12px;
  text-align: center;
  font-size: 18px;
  font-family: var(--serif);
  font-weight: 560;
}

.search {
  padding: 11px 14px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: var(--surface);
  text-align: center;
  font-size: 12px;
  font-weight: 650;
}

.people {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.avatar {
  width: 32px;
  height: 32px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7e1d6;
  font-size: 11px;
  font-weight: 700;
}

.avatar.on {
  background: var(--forest);
  color: var(--brass-soft);
}

.card {
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}

.card strong {
  display: block;
  font-size: 12px;
}

.card span {
  color: var(--muted);
  font-size: 11px;
}

.sheet {
  margin-top: auto;
  padding: 16px 12px 12px;
  border-radius: 22px 22px 0 0;
  background: var(--surface);
  text-align: center;
}

.sheet h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-family: var(--serif);
}

.sheet p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.sheet-item {
  padding: 8px 0;
  font-size: 12px;
}

.sheet-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.open-card {
  margin: 18px 0 14px;
  padding: 22px 12px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--on-forest);
  text-align: center;
}

.open-card em {
  display: block;
  color: var(--brass-soft);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.open-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.open-card span {
  color: var(--brass-soft);
  font-size: 11px;
}

.btn-mini {
  display: grid;
  place-items: center;
  min-height: 36px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 12px;
  font-weight: 700;
}

.btn-mini.ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--outline);
}

.tabs {
  display: flex;
  justify-content: space-around;
  padding: 8px 8px 10px;
  border-top: 1px solid var(--outline);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.tabs .on {
  color: var(--forest);
}

.legal {
  padding: 24px 0 80px;
}

.legal h1 {
  font-size: 40px;
}

.legal h2 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.legal p,
.legal li {
  max-width: 62ch;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .steps,
  .claims,
  .nots {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    padding: 8px 0 56px;
  }

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

  .phone {
    max-width: 230px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-mid {
    display: none;
  }

  .nav {
    gap: 0;
  }

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

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