:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-muted: #eef1ed;
  --ink: #111820;
  --muted: #5c6670;
  --quiet: #7a838c;
  --line: #d9dfd8;
  --line-strong: #bfc8c1;
  --accent: #255c48;
  --accent-soft: #dfeae3;
  --signal: #8a5a22;
  --shadow: 0 24px 70px rgba(17, 24, 32, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header,
.brand,
.nav-links,
.hero-actions,
.site-footer,
.preview-topbar {
  display: flex;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(217, 223, 216, 0.9);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ink), var(--accent));
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

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

.header-action,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 750;
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.button {
  padding: 12px 17px;
  border: 1px solid var(--line-strong);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.12);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
}

.button.full {
  width: 100%;
}

.hero,
.principles,
.privacy-section,
.beta-section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 68px);
  padding: 74px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p,
dl,
dd,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-lede {
  max-width: 52ch;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.proof-list {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.proof-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
}

.proof-list dt,
.beta-card dt {
  font-weight: 850;
}

.proof-list dd,
.beta-card dd {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-preview {
  margin-bottom: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  min-height: 58px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.88rem;
  font-weight: 750;
}

.preview-topbar span:first-child {
  color: var(--ink);
}

.preview-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.panel-heading {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-heading span,
.next-step span,
.principles span {
  display: block;
  margin-bottom: 8px;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-heading strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.2;
}

.timeline-panel article {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.timeline-panel article:last-child {
  border-bottom: 0;
}

.timeline-panel article.selected {
  background: var(--accent-soft);
}

.timeline-panel article span {
  display: block;
  margin-bottom: 7px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 750;
}

.timeline-panel article strong {
  display: block;
  margin-bottom: 6px;
}

.timeline-panel article p,
.recall-panel p,
.next-step strong {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.recall-panel {
  display: flex;
  flex-direction: column;
}

.recall-panel > p {
  padding: 18px;
  flex: 1;
}

.next-step {
  margin: 0 18px 18px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.principles {
  padding: 42px 0 78px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}

.principles article {
  padding-right: 20px;
}

.principles h2 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.privacy-section,
.beta-section {
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.privacy-grid {
  display: grid;
  gap: 14px;
}

.privacy-grid article {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.privacy-grid article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.privacy-grid strong {
  display: block;
  margin-bottom: 6px;
}

.privacy-grid p {
  margin-bottom: 0;
}

.beta-section {
  margin-top: 22px;
  margin-bottom: 70px;
  border-color: var(--line-strong);
  background: #fdfdfb;
}

.beta-copy p:not(.eyebrow) {
  max-width: 52ch;
  margin-bottom: 0;
}

.beta-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.beta-card dl {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.success-note {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 750;
}

.beta-card div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
}

.site-footer {
  min-height: 72px;
  padding: 18px 0 28px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 850;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .hero,
  .privacy-section,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding-inline: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .principles,
  .privacy-section,
  .beta-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 44px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .proof-list div,
  .beta-card div,
  .preview-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .privacy-section,
  .beta-section {
    padding: 24px;
  }

  .principles {
    padding-bottom: 52px;
  }

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

@media (max-width: 520px) {
  .header-action {
    display: none;
  }

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

  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }
}
