:root {
  --bg: #0f1115;
  --bg-raised: #161a21;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f3f5;
  --muted: #9ba1ab;
  --steel: #c9ced6;
  --accent: #ff5a52;
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(80rem 40rem at 70% -10%, rgba(120, 140, 170, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

.shell {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

/* Header and footer */

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

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

.brand img {
  border-radius: 9px;
}

.nav {
  display: flex;
  gap: 22px;
}

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

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 36px 0 44px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

.site-footer p {
  margin: 0;
}

/* Landing */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0 56px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 34em;
  margin: 22px 0 30px;
  color: var(--steel);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

.store-button small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.fine {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 340px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 88px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line);
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--steel);
}

.honest {
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.honest h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.honest p {
  margin: 0;
  color: var(--steel);
}

/* Privacy and support */

.doc {
  max-width: 720px;
  padding: 24px 0 8px;
}

.doc h1 {
  font-size: clamp(36px, 6vw, 52px);
}

.doc .updated {
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.doc h2 {
  margin: 38px 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  color: var(--steel);
}

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

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 24px;
  }

  .hero-art {
    order: -1;
    justify-content: flex-start;
  }

  .hero-art img {
    width: 132px;
  }

  .gallery {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .gallery figure {
    scroll-snap-align: start;
  }

  .features .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav a[href="#features"] {
    display: none;
  }

  .lede {
    font-size: 17px;
  }
}
