:root {
  --bg: #ffffff;
  --text: #111412;
  --muted: #5b625f;
  --line: #e4e8e6;
  --panel: #f4f6f5;
  --brand: #0e8f6e;
  --brand-dark: #0b7359;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1211;
    --text: #eef1f0;
    --muted: #9aa3a0;
    --line: #262b29;
    --panel: #171b1a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

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

.nav nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

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

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

.hero {
  text-align: center;
  padding: 56px 0 40px;
}

.hero.small {
  padding: 72px 0;
}

.hero-icon {
  border-radius: 22%;
}

.eyebrow {
  margin: 20px 0 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 18px;
}

.hero.small h1,
.doc h1 {
  font-size: clamp(30px, 5vw, 44px);
}

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

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

.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
  text-align: left;
}

.store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.store svg {
  width: 26px;
  height: 26px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 64px;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
}

@media (max-width: 760px) {
  .shots {
    grid-template-columns: repeat(4, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .shots img {
    scroll-snap-align: center;
  }

  .nav nav a:first-child {
    display: none;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

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

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.band {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.band h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.band p {
  color: var(--muted);
}

pre {
  text-align: left;
  overflow-x: auto;
  padding: 16px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 14px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

.doc {
  max-width: 760px;
  margin: 32px auto 64px;
}

.doc h2 {
  margin-top: 36px;
  font-size: 24px;
}

.doc h3 {
  margin: 22px 0 4px;
  font-size: 18px;
}

.doc li {
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

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

.task {
  max-width: 520px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: left;
  word-break: break-word;
}

.task p {
  margin: 4px 0;
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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