:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #667085;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #e9e2d8;
  --brand: #e8590c;
  --blue: #3156d9;
  --green: #2f9e44;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 42px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 0 rgba(31, 41, 51, 0.24);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(-2deg);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 0 rgba(31, 41, 51, 0.22);
  font-weight: 900;
  text-decoration: none;
}

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

.phone {
  justify-self: center;
  width: min(100%, 360px);
  border: 10px solid #111827;
  border-radius: 38px;
  background: #f9fafb;
  box-shadow: 0 28px 80px rgba(31, 41, 51, 0.24);
  overflow: hidden;
}

.phone-top {
  height: 52px;
  background: #111827;
}

.phone-screen {
  padding: 22px;
}

.card-art {
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
  border: 3px solid #b5c3f5;
  border-radius: 18px 18px 8px 8px;
}

.phone-title {
  margin: 14px 0 4px;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.phone-sub {
  color: var(--muted);
  font-weight: 750;
}

.band {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

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

.tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.tile h2,
.tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.page {
  padding: 34px 0 70px;
}

.page h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.prose {
  max-width: 820px;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.prose h2 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 24px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--ink);
  background: #fff5ea;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--brand);
  background: #fff5ea;
  color: var(--ink);
  font-weight: 750;
}

.join-box {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin-top: 24px;
}

.code {
  padding: 16px;
  border: 2px dashed var(--brand);
  border-radius: 14px;
  background: white;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    padding-top: 24px;
  }

  .phone {
    justify-self: start;
  }

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