/* The site. Colors, type and spacing come from tokens.css (brand/tokens.json). */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.5;
}

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--tag); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

.top, main, .foot { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.top { padding-top: 28px; padding-bottom: 8px; }
.home { display: inline-block; line-height: 0; }
.wordmark { height: 22px; width: auto; }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; }

.chip { background: var(--tag); color: var(--on-tag); padding: 0 0.16em; border-radius: 0.14em; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(48px, 11vw, 112px); line-height: 0.96; letter-spacing: -0.035em; }
.lede { font-size: 20px; line-height: 1.45; max-width: 36em; margin: 28px 0 0; }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 0; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tag); color: var(--on-tag);
  border: 2px solid var(--tag-edge); border-radius: var(--radius-md);
  padding: 8px 16px 8px 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em;
}
.eye { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--on-tag); flex: none; }
.per { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-muted); }

/* The shelf */
.shelf { padding: 24px 0 56px; border-top: 1px solid var(--line); }
.shelf .label { margin-top: 24px; }
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.app {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: 1fr auto; column-gap: 16px; row-gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
}
.app img { width: 64px; height: 64px; border-radius: 22.37%; display: block; }
.app h3 { font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin: 4px 0 0; }
.job { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.status {
  grid-column: 2; justify-self: start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: var(--radius-full); padding: 4px 10px; color: var(--ink-muted);
}
.status.live { background: var(--tag); color: var(--on-tag); border-color: var(--tag-edge); text-decoration: none; }
.note { color: var(--ink-muted); font-size: 15px; margin: 20px 0 0; }

/* The pledge */
.pledge { padding: 24px 0 72px; border-top: 1px solid var(--line); }
.pledge .label { margin-top: 24px; }
.lines { list-style: none; margin: 0; padding: 0; counter-reset: line; }
.lines li {
  counter-increment: line;
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(22px, 4.2vw, 36px); line-height: 1.15;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.lines li::before { content: counter(line, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-muted); }

/* Support and privacy */
.page { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.page h1 { font-size: clamp(40px, 8vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.page h2 { font-size: 24px; letter-spacing: -0.015em; margin: 40px 0 8px; }
.page p { margin: 0 0 12px; max-width: 38em; }
.page .lede { margin-top: 20px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; color: var(--ink-muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; color: var(--ink); }
.foot p { margin: 0; }

@media (max-width: 480px) {
  .hero { padding: 36px 0 48px; }
  .lede { font-size: 18px; }
  .tag { font-size: 24px; }
}
