:root {
  --ink: #18181b;
  --muted: #66646d;
  --paper: #fbfaf7;
  --line: #e5e1d8;
  --red: #e72f44;
  --teal: #0f766e;
  --gold: #b7791f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-serif, "Songti SC", "Noto Serif CJK SC", Georgia, serif;
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand,
nav,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.app-icon {
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(24, 24, 27, 0.16);
}

nav {
  gap: 20px;
  font-size: 15px;
}

nav a,
footer a {
  text-decoration: none;
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(44px, 7vw, 96px) clamp(20px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 22px;
}

h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

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

.lead {
  max-width: 680px;
  font-size: 20px;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 1px solid var(--ink);
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 800;
}

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

.secondary {
  background: transparent;
}

.device {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  position: relative;
}

.app-icon {
  width: min(38vw, 220px);
  aspect-ratio: 1;
  z-index: 1;
}

.screen {
  position: absolute;
  width: min(84%, 360px);
  bottom: 16px;
  padding: 22px;
  background: #111113;
  color: white;
  box-shadow: 0 30px 80px rgba(24, 24, 27, 0.25);
}

.screen div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.screen span {
  color: #d7d3ca;
}

.section {
  padding: clamp(48px, 8vw, 100px) clamp(20px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

article,
.notice {
  background: var(--paper);
  padding: 30px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 36px;
}

.notice {
  border-top: 4px solid var(--red);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
}

.legal {
  max-width: 860px;
  padding: clamp(42px, 7vw, 88px) clamp(20px, 6vw, 72px);
}

.legal h1 {
  font-size: clamp(38px, 6vw, 72px);
}

@media (max-width: 760px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .grid {
    grid-template-columns: 1fr;
  }

  .device {
    min-height: 420px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  nav {
    flex-wrap: wrap;
  }
}
