:root {
  color-scheme: light dark;
  --bg: #fbfbfc;
  --surface: #ffffff;
  --hairline: #e4e4e8;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --accent: #0a84ff;
  --link: #0066cc;
  --shadow: 0 24px 64px rgb(0 0 0 / 0.1), 0 2px 8px rgb(0 0 0 / 0.05);
  --gutter: 16px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --surface: #222226;
    --hairline: #34343a;
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --link: #4da3ff;
    --shadow: 0 24px 64px rgb(0 0 0 / 0.45), 0 2px 8px rgb(0 0 0 / 0.3);
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}

.wrap {
  width: min(1120px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* The app icon's five stripes. */
.palette-bar {
  display: flex;
  height: 4px;
}

.palette-bar span {
  flex: 1;
}

.palette-bar span:nth-child(1) {
  background: #31428f;
}

.palette-bar span:nth-child(2) {
  background: #2fa39b;
}

.palette-bar span:nth-child(3) {
  background: #f3c460;
}

.palette-bar span:nth-child(4) {
  background: #ef7f5a;
}

.palette-bar span:nth-child(5) {
  background: #c2477d;
}

.site-header {
  padding-block: 20px;
}

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

.brand img {
  width: 32px;
  height: 32px;
}

/* Landing */

.hero {
  padding-top: 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
}

.lede {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--secondary);
  font-size: clamp(17px, 2vw, 20px);
}

.get {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.badge img {
  width: auto;
  height: 44px;
}

.soon {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--secondary);
  font-size: 15px;
}

.requirements {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 13px;
}

.shot {
  display: block;
}

.shot img {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero .shot {
  margin-top: 56px;
}

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 56px;
}

.feature h2,
.section-head h2,
.closing h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature p,
.section-head p,
.closing p {
  margin: 0;
  color: var(--secondary);
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    padding-block: 80px;
  }

  .feature.flip {
    grid-template-columns: 7fr 5fr;
  }

  .feature.flip .text {
    order: 2;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface);
  font-size: 13px;
}

.section-head {
  max-width: 40em;
  margin-inline: auto;
  padding-top: 72px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.more-title {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.more li {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 15px;
}

.more strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.closing {
  max-width: 40em;
  margin: 88px auto 0;
  padding-block: 72px 88px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.closing p + p {
  margin-top: 16px;
}

/* Privacy and Terms */

.doc {
  padding-block: 40px 88px;
}

.doc > * {
  max-width: 680px;
}

.doc h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.doc .updated {
  margin: 8px 0 32px;
  color: var(--secondary);
  font-size: 15px;
}

.doc .summary {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.doc h2 {
  margin: 40px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.doc p,
.doc ul {
  margin: 0 0 16px;
}

.doc ul {
  padding-left: 1.25em;
}

.doc li + li {
  margin-top: 6px;
}

.doc code {
  font-family: ui-monospace, Menlo, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  color: var(--secondary);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}
