:root {
  --paper: #f4f1ea;
  --ink: #111113;
  --muted: #63636b;
  --line: #d9d4ca;
  --panel: #fffdf8;
  --accent: #6658e8;
  --accent-dark: #2a245f;
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: radial-gradient(#7c776d 0.55px, transparent 0.55px);
  background-size: 10px 10px;
  mask-image: linear-gradient(to bottom, black, transparent 55%);
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  transform: rotate(45deg);
}

.brand-mark span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  align-self: center;
  justify-self: center;
}

.brand-mark span:nth-child(5) {
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: #3f3e44;
}

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

.nav-cta {
  border: 1px solid #bdb7ad;
  border-radius: 999px;
  padding: 9px 16px;
}

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

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: 92px 0 110px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

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

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 760;
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 720;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 30px 0 0;
  max-width: 680px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: #45444a;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 680;
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-secondary {
  border: 1px solid #bdb7ad;
  background: rgba(255, 255, 255, 0.38);
}

.microcopy {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-diagram {
  min-height: 520px;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid #d5d0c5;
  background:
    radial-gradient(circle at 50% 42%, rgba(102, 88, 232, 0.17), transparent 34%),
    rgba(255, 253, 248, 0.78);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(85px, 1fr) 28px 126px 28px minmax(85px, 1fr);
  align-items: center;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(45, 40, 31, 0.08);
}

.hero-diagram::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px dashed rgba(90, 83, 72, 0.2);
  pointer-events: none;
}

.diagram-card,
.diagram-core {
  position: relative;
  z-index: 2;
}

.diagram-card {
  min-height: 170px;
  border: 1px solid #d8d2c7;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.diagram-card strong {
  font-size: 1.08rem;
}

.diagram-card > span:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.diagram-kicker {
  margin-bottom: 8px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.connector {
  height: 1px;
  background: #aea89c;
  position: relative;
  z-index: 1;
}

.connector::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.diagram-core {
  width: 126px;
  height: 126px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(102, 88, 232, 0.1);
}

.core-orbit {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(102, 88, 232, 0.55);
  border-radius: 50%;
}

.core-label {
  font-weight: 760;
  letter-spacing: -0.04em;
}

.diagram-core small {
  max-width: 90px;
  margin-top: 3px;
  opacity: 0.6;
  font-size: 0.58rem;
}

.principles,
.flow,
.privacy,
.beta {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 56px;
}

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

.feature-card {
  min-height: 310px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid #dad4c9;
  background: rgba(255, 253, 248, 0.75);
  display: flex;
  flex-direction: column;
}

.feature-card p {
  margin: auto 0 0;
  color: var(--muted);
}

.card-number {
  margin-bottom: 80px;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 56px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #c9c3b8;
}

.steps li {
  min-height: 220px;
  padding: 24px 24px 0 0;
  border-right: 1px solid #c9c3b8;
}

.steps li + li {
  padding-left: 24px;
}

.steps li:last-child {
  border-right: 0;
}

.steps li > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  border: 1px solid #aaa398;
  border-radius: 50%;
  font-size: 0.75rem;
}

.steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-panel {
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(42px, 8vw, 100px);
}

.privacy-panel .eyebrow {
  color: #a99fff;
}

.privacy-points {
  border-top: 1px solid #39393e;
}

.privacy-points p {
  margin: 0;
  padding: 22px 0;
  color: #b9b9bf;
  border-bottom: 1px solid #39393e;
}

.privacy-points strong {
  color: white;
}

.beta-panel {
  padding: clamp(34px, 7vw, 84px);
  background: var(--accent);
  color: white;
  border-radius: var(--radius-lg);
}

.beta-panel .eyebrow {
  color: #dedaff;
}

.beta-panel h2 {
  max-width: 850px;
}

.beta-copy {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 1.08rem;
  color: #eeecff;
}

.beta-status {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(19, 17, 43, 0.24);
  font-size: 0.88rem;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f6d36d;
  box-shadow: 0 0 0 5px rgba(246, 211, 109, 0.13);
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 130px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

:focus-visible {
  outline: 3px solid rgba(102, 88, 232, 0.55);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-diagram {
    min-height: 430px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .card-number {
    margin-bottom: 42px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid #c9c3b8;
  }

  .steps li:nth-child(3) {
    padding-left: 0;
  }

  .privacy-panel,
  .split-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 80px;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 4.15rem);
  }

  .hero-diagram {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }

  .connector {
    width: 1px;
    height: 26px;
    margin: 0 auto;
  }

  .connector::after {
    right: -3px;
    top: auto;
    bottom: -1px;
  }

  .diagram-core {
    width: 120px;
    height: 120px;
  }

  .principles,
  .flow,
  .privacy,
  .beta {
    padding: 80px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li,
  .steps li:nth-child(3) {
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid #c9c3b8;
  }

  .steps li:first-child {
    border-top: 0;
  }

  .steps li > span {
    margin-bottom: 30px;
  }

  .privacy-panel {
    border-radius: 24px;
  }

  .site-footer {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
