:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --text: #111111;
  --muted: #666a73;
  --line: #e9e6df;
  --surface: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(36px, 8vw, 96px);
  min-height: calc(100vh - 92px);
  padding: 24px 0 88px;
}

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

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

h1 {
  margin-bottom: 24px;
  max-width: 9ch;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.3;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--text);
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 330px);
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(25, 28, 33, 0.16);
}

.phone img {
  border-radius: 28px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading p,
.beta-section p {
  margin-bottom: 0;
  max-width: 520px;
}

.feature-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row p {
  margin-bottom: 0;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.beta-section a {
  align-self: start;
  color: var(--text);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.doc {
  max-width: 820px;
  padding: 48px 0 80px;
}

.doc h1 {
  max-width: none;
  font-size: clamp(42px, 7vw, 76px);
}

.doc h2 {
  margin-top: 34px;
  font-size: 26px;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 0 72px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(48px, 13vw, 62px);
  }

  .lead {
    max-width: 340px;
    font-size: 18px;
  }

  .phone-stage {
    justify-content: flex-start;
  }

  .phone {
    width: min(100%, 300px);
  }

  .section-heading,
  .beta-section,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 10px;
  }

  .feature-row {
    gap: 8px;
  }
}
