:root {
  --canvas: #fbfbf9;
  --raised: #f3f3ef;
  --ink: #1d1d1f;
  --body: #3a3a3d;
  --muted: #66666b;
  --line: #e2e2dd;
  --link: #1c64c6;
  --link-hover: #124a96;
  --ember: #a4471b;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #121214;
    --raised: #1c1c1f;
    --ink: #f2f2ee;
    --body: #c9c9cd;
    --muted: #a1a1a6;
    --line: #2e2e32;
    --link: #78a9ff;
    --link-hover: #a9c8ff;
    --ember: #f0a070;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--canvas); padding: 8px 12px; z-index: 10; }

/* Page column. No frame and few rules: only faint lines between the app rows. */
.sheet-wrap { padding: 24px; }
.sheet { max-width: 1120px; margin: 0 auto; }

.pad { padding-left: 56px; padding-right: 56px; }

/* Header */
.site-header { padding-top: 24px; padding-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; display: block; }
/* The name beside the mark: the outlined Inter Medium wordmark from the brand files.
   Its box includes descender space, so it moves down 2px to centre the capitals on the mark. */
.brand-name { width: 154px; height: 18px; display: block; transform: translateY(2px); }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 96px; }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 600;
  text-wrap: balance;
}
/* Keep each phrase of the headline on one line where the width allows it. */
@media (min-width: 761px) { .hero h1 .phrase { white-space: nowrap; } }
.lead { margin: 28px 0 0; font-size: 21px; line-height: 1.5; color: var(--body); max-width: 30em; text-wrap: pretty; }

/* Apps */
.apps { list-style: none; margin: 0 0 96px; padding: 0; }
.apps li + li .app { border-top: 1px solid var(--line); }
.app {
  display: grid;
  grid-template-columns: 96px 64px minmax(0, 1fr) 96px 200px;
  gap: 24px; align-items: center;
  padding: 24px 0;
  color: var(--ink);
}
a.app:hover { background: var(--raised); color: var(--ink); }
.app img { width: 64px; height: 64px; border-radius: 14px; display: block; }
.app .text { display: block; }
.app .name { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.app .tagline { display: block; margin-top: 2px; font-size: 17px; color: var(--body); }
.app .verb { color: var(--ink); }
.app .action { text-align: right; }
.app .go { font-size: 15px; color: var(--link); }
.app .soon { color: var(--ember); }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  justify-content: space-between; align-items: center;
  padding-top: 24px; padding-bottom: 24px;
  font-size: 14px; color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand img { width: 20px; height: 20px; display: block; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

/* Phone and tablet: the app rows stack */
@media (max-width: 960px) {
  .sheet-wrap { padding: 12px; }
  .pad { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .lead { font-size: 18px; }
  .apps { margin-bottom: 56px; }
  .app {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "icon verb" "icon text" "icon meta";
    gap: 4px 16px; padding: 20px 0;
  }
  .app img { grid-area: icon; width: 56px; height: 56px; border-radius: 13px; align-self: start; }
  .app .verb { grid-area: verb; }
  .app .text { grid-area: text; }
  .app .platforms { grid-area: meta; }
  .app .action { grid-area: meta; text-align: right; }
  .app .name { font-size: 20px; }
  .app .tagline { font-size: 16px; }
}
