/* Keel site. Flat, neutral, no gradients. Green only for "on" states. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f64;
  --border: rgba(0, 0, 0, .12);
  --on: #1d7a40;
  --btn-bg: #1d1d1f;
  --btn-text: #ffffff;
  --code-bg: rgba(0, 0, 0, .05);
  --shot-border: rgba(0, 0, 0, .14);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --gutter: 16px;
  --max: 1088px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1d;
    --bg-alt: #232326;
    --card: #2a2a2d;
    --text: #f2f2f2;
    --muted: #a8a8ad;
    --border: rgba(255, 255, 255, .12);
    --on: #4dc778;
    --btn-bg: #f2f2f2;
    --btn-text: #1b1b1d;
    --code-bg: rgba(255, 255, 255, .07);
    --shot-border: rgba(255, 255, 255, .12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
code, pre { font-family: var(--mono); font-size: .86em; }
code { background: var(--code-bg); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); padding: 12px 14px; border-radius: 8px; overflow-x: auto; margin: 12px 0 0; line-height: 1.55; }
pre code { background: none; padding: 0; overflow-wrap: normal; white-space: pre; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; }

.skip { position: absolute; left: 8px; top: -48px; background: var(--btn-bg); color: var(--btn-text); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 8px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 5px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav .btn-small { margin-left: 0; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 980px; font-size: 17px; font-weight: 500; line-height: 1.2;
       text-decoration: none; background: var(--btn-bg); color: var(--btn-text); border: 1px solid var(--btn-bg); }
.btn:hover { opacity: .88; }
.btn-small { padding: 6px 14px; font-size: 13px; }
.link-arrow { font-size: 17px; text-decoration: none; }
.link-arrow::after { content: " \203A"; }
.link-arrow:hover { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 28px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-icon { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 22px; }
.hero h1 { font-size: clamp(56px, 10vw, 96px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.hero-lede { max-width: 640px; margin: 20px auto 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--muted); }
.meta { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.meta span { padding: 0 4px; }
.hero .wide { margin-top: 56px; }
.shot { width: 100%; border-radius: 10px; border: 1px solid var(--shot-border); }
.hero-shot { border-radius: 12px; }

/* Bands */
.band { padding: 96px 0; background: var(--bg); }
.band.alt { background: var(--bg-alt); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.band h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; max-width: 820px; }
.lede { max-width: 760px; margin: 18px 0 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--muted); }
.note { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.sub { margin: 72px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }

/* Tiles */
.tiles { display: grid; gap: 16px; margin-top: 40px; }
.tiles.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tiles.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tiles.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tiles.cats { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 20px; }
.tile, .cat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.band:not(.alt) .tile, .band:not(.alt) .cat { background: var(--bg-alt); border-color: transparent; }
.tile h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.cat header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cat h4 { font-size: 17px; font-weight: 600; }
.count { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.cat ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.cat li { padding: 7px 0; border-top: 1px solid var(--border); }
.cat li:first-child { border-top: 0; padding-top: 0; }
.cat.span { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .cat.span ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .cat.span li { border-top: 0; padding: 0; }
}

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  .split.reverse { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
}
.split-media { margin: 0; }
.split-media.narrow { max-width: 340px; margin: 0 auto; width: 100%; }
.wide-media { margin: 48px 0 0; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 16px 0; border-top: 1px solid var(--border); color: var(--muted); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts strong { color: var(--text); font-weight: 600; }
.chip { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .04em; padding: 4px 6px; border-radius: 4px;
        border: 1px solid var(--border); color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.chip.on { color: var(--on); border-color: currentColor; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 48px; border-top: 1px solid var(--border); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 50%;
                    border: 1px solid var(--border); font: 600 13px/26px var(--mono); text-align: center; color: var(--text); }
.steps li:first-child::before { top: 0; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* What it does not do */
.nots { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.nots li { padding: 22px 0; border-top: 1px solid var(--border); }
.nots h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.nots p { margin: 0; color: var(--muted); font-size: 16px; }

/* Specs */
.specs { margin: 40px 0 0; border-top: 1px solid var(--border); }
.specs > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
}

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); font-size: 16px; }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq ol { margin: 0 0 10px; padding-left: 22px; }
.faq li { margin: 4px 0; }

/* End */
.band.end { padding: 96px 0 104px; }
.band.end img { margin: 0 auto 16px; border-radius: 14px; }
.band.end h2 { margin: 0 auto; }

/* Footer */
.foot { background: var(--bg-alt); border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); padding: 24px 0 32px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.foot-row p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; color: var(--text); }
.foot .fine { flex-basis: 100%; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .hero .wide { margin-top: 40px; }
  .band { padding: 64px 0; }
  .sub { margin-top: 48px; }
  .tile, .cat { padding: 20px; }
  .tiles.three, .tiles.two, .tiles.cats, .tiles.four, .nots { grid-template-columns: 1fr; }
}
