:root {
  color-scheme: light;
  --bg: #f5f4ef;
  --panel: #ffffff;
  --ink: #171717;
  --muted: #666b73;
  --line: #dedbd2;
  --green: #24a148;
  --green-dark: #147932;
  --charcoal: #191a1c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(290px, 540px) minmax(220px, 0.9fr);
  gap: 36px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px;
}

.brand-panel,
.action-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 9px;
}

.wordmark {
  font-size: 28px;
  font-weight: 720;
  letter-spacing: 0;
}

.tagline {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  width: fit-content;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.mobile-legal {
  display: none;
}

.hero-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
  min-width: 0;
}

.phone {
  width: min(100%, 378px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  padding: 14px;
  background: #101113;
  box-shadow: 0 26px 70px rgba(18, 18, 18, 0.22), 0 4px 16px rgba(18, 18, 18, 0.12);
}

.phone-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #f1f2f3;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.summary {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 58px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(25, 26, 28, 0.18);
}

.play-button[aria-disabled="true"] {
  cursor: default;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--green);
}

.play-copy {
  display: grid;
  line-height: 1.1;
}

.play-copy small {
  font-size: 11px;
  color: #cfd4d8;
}

.play-copy strong {
  font-size: 18px;
  font-weight: 760;
}

.release-note {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.info-band,
.permissions-band,
.site-footer {
  width: 100%;
}

.info-content,
.permissions-content {
  width: min(100% - 64px, 960px);
  margin: 0 auto;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.info-content h2,
.permissions-content h2 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: 0;
}

.info-content p,
.permissions-content p {
  max-width: 760px;
  margin: 0 0 12px;
  color: #303236;
  font-size: 17px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 22px;
}

.permission-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.permission-grid p {
  margin: 0;
  font-size: 16px;
}

.permission-note {
  margin-top: 26px !important;
  font-weight: 650;
}

.site-footer {
  padding: 0 32px 34px;
}

.doc-shell {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.doc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.doc-brand span {
  font-size: 20px;
  font-weight: 740;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.doc-content {
  max-width: 760px;
  padding-top: 44px;
}

.doc-content h1 {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: 42px;
  line-height: 1.06;
}

.effective {
  margin: 0 0 32px;
  color: var(--muted);
}

.doc-content h2 {
  margin: 30px 0 8px;
  font-size: 21px;
  letter-spacing: 0;
}

.doc-content p,
.doc-content li {
  color: #303236;
  font-size: 16px;
}

.doc-content ul {
  padding-left: 22px;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.footer {
  margin-top: 46px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px 20px 42px;
  }

  .brand-panel,
  .action-panel {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .tagline,
  .summary,
  .release-note,
  h1 {
    width: 100%;
    max-width: 520px;
  }

  .legal-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 10px 14px;
  }

  .desktop-legal {
    display: none;
  }

  .mobile-legal {
    display: flex;
    width: min(100%, 520px);
    margin: 0 auto;
    padding-top: 22px;
  }

  .hero-stage {
    min-height: auto;
    order: 2;
  }

  .action-panel {
    order: 3;
  }

  .phone {
    width: min(82vw, 330px);
  }

  .info-content,
  .permissions-content {
    width: min(100% - 40px, 620px);
    padding: 42px 0;
    text-align: left;
  }

  .info-content h2,
  .permissions-content h2 {
    font-size: 25px;
  }

  .permission-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    max-width: 340px;
    margin: 0 auto;
    font-size: 40px;
  }

  .summary,
  .release-note {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .doc-content h1 {
    font-size: 34px;
  }
}
