/* One stylesheet for every page. The palette is the editor's, light and graphite dark. */
:root {
  color-scheme: light dark;
  --bg: #f2f2f5;
  --panel: #fcfcfd;
  --border: #dcdce1;
  --text: #1d1d1f;
  --muted: #67676d;
  --accent: #0a63c4;
  --accent-fill: #0a63c4;
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 18px 48px -18px rgba(0, 0, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1d;
    --panel: #232326;
    --border: #38383d;
    --text: #f2f2f4;
    --muted: #a0a0a8;
    --accent: #66a5f2;
    --accent-fill: #2f6fc4;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 48px -18px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 17px; }
.brand img { width: 24px; height: 24px; }
header.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
header.top nav a:not(.button) { color: var(--muted); text-decoration: none; }
header.top nav a:not(.button):hover { color: var(--text); }

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { filter: brightness(1.08); }
.button.small { padding: 6px 12px; font-size: 14px; }

.hero { text-align: center; padding-top: 48px; padding-bottom: 40px; }
.hero h1 { margin: 0 auto; max-width: 20ch; font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.hero p { margin: 20px auto 28px; max-width: 40em; color: var(--muted); font-size: clamp(17px, 2.2vw, 19px); }
.hero small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

picture.shot { display: block; }
.shot { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--panel); }

.motion { margin: 72px 0 0; }
.motion video { display: block; width: 100%; height: auto; }
.motion figcaption, .features figcaption { margin-top: 14px; color: var(--muted); }
.motion figcaption strong, .features figcaption strong { color: var(--text); font-weight: 600; }
.features { display: grid; gap: 40px 32px; padding: 56px 0 24px; }
@media (min-width: 800px) { .features { grid-template-columns: 1fr 1fr; } }
.features figure { margin: 0; }

.also { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; }
.also li { padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--muted); }

section h2 { font-size: 28px; letter-spacing: -0.01em; text-align: center; margin: 0 0 32px; }
.pricing { padding-top: 80px; padding-bottom: 32px; }
.plans { display: grid; gap: 20px; max-width: 760px; margin: 0 auto; }
@media (min-width: 680px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 32px; font-weight: 650; margin: 8px 0 12px; }
.plan .price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan p { margin: 0 0 24px; color: var(--muted); flex: 1; }
.plan .button { align-self: flex-start; }
.plans + p { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

footer { margin-top: 80px; border-top: 1px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* Legal pages. */
.doc { max-width: 680px; padding-top: 24px; }
.doc h1 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; }
.doc ul { padding-left: 20px; }
