@font-face { font-family: "General Sans"; src: url("/fonts/general-sans.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("/fonts/pixelify-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fff; --wash: #f5f5f3; --line: #e9e9e6; --ink: #131316; --ink-2: #5d5d66; --ink-3: #91919b;
  --blue: #2f7bf2; --orange: #ff7d1f; --purple: #8d5cf0; --pink: #ff5c9d; --green: #1fb866; --yellow: #f8c623; --red: #ef4a41; --teal: #17b3a6;
  --sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { min-height: 100dvh; display: flex; flex-direction: column; font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: #cfcfd4; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; text-decoration: none; }
.skip:focus { top: 12px; }
.bar { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1240px; width: 100%; margin: 0 auto; padding: 18px 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
/* the brand and the sign in pill are a little short for a thumb, so their tap area reaches past them */
.brand, .bar nav a.cta { position: relative; }
.brand::before, .bar nav a.cta::before { content: ""; position: absolute; inset: -8px 0; }
.brand img { width: 28px; height: 28px; transition: rotate 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.brand:hover img { rotate: -8deg; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.bar nav a:hover, .bar nav a[aria-current="page"], .bar nav a.is-here { color: var(--ink); background: var(--wash); }
.bar nav a.cta { color: #fff; background: var(--ink); margin-left: 8px; padding: 8px 16px; }
.bar nav a.cta:hover { background: #2a2a30; color: #fff; }
/* phones get one menu with every page in it; it is a details element, so it opens without script */
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wash); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity 0.16s ease, rotate 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.menu summary svg + svg, .menu[open] summary svg:first-of-type { opacity: 0; rotate: -45deg; }
.menu[open] summary svg + svg { opacity: 1; rotate: 0deg; }
.menu > nav { position: absolute; left: 12px; right: 12px; top: calc(100% - 4px); display: grid; gap: 2px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0, 0, 0, 0.25); transform-origin: 100% 0; animation: menu-in 0.18s cubic-bezier(0.23, 1, 0.32, 1); }
.menu > nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; font-size: 17px; color: var(--ink); }
.menu > nav a.cta { justify-content: center; margin: 6px 0 0; padding: 0 16px; }
@keyframes menu-in { from { opacity: 0; scale: 0.97; translate: 0 -6px; } }

main { flex: 1; width: 100%; }
main.page { max-width: 760px; margin: 0 auto; padding: 24px; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 16px; }
.page h1 { font-size: 2.25rem; margin-top: 32px; }
h2 { font-size: 1.2rem; line-height: 1.3; font-weight: 550; letter-spacing: -0.015em; margin: 36px 0 8px; }
h3 { font-size: 1rem; font-weight: 550; margin: 24px 0 8px; }
.page p, .page li { color: var(--ink-2); max-width: 70ch; }
.lede { font-size: 1.15rem; color: var(--ink-2); }
.button, .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: #efefed; color: var(--ink); border-radius: 999px; padding: 0 20px; font-size: 15px; font-weight: 500; min-height: 44px; }
.button:hover, .btn:hover { background: #e4e4e1; }
.button.primary, .btn.dark { background: var(--ink); color: #fff; }
.button.primary:hover, .btn.dark:hover { background: #2a2a30; }
.btn.next::after, .btn.down::after { content: ""; width: 16px; height: 16px; margin-left: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.25 8A.75.75 0 0 1 2 7.25h10.19L9.47 4.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H2A.75.75 0 0 1 1.25 8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.25 8A.75.75 0 0 1 2 7.25h10.19L9.47 4.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H2A.75.75 0 0 1 1.25 8'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn.down::after { rotate: 90deg; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.downloads > div { background: var(--wash); border-radius: 20px; padding: 20px; }
.downloads h2 { margin-top: 0; }
.price { color: var(--ink); font-size: 1.5rem; font-weight: 550; letter-spacing: -0.02em; margin: 0; }
.notice { border-radius: 16px; padding: 14px 18px; background: #fff6d8; color: var(--ink); }
.fine { color: var(--ink-3); font-size: 15px; margin-top: 48px; }
pre { background: var(--wash); border-radius: 14px; padding: 14px 16px; overflow-x: auto; }
code { font: 13.5px/1.5 var(--mono); color: var(--ink); }
blockquote { margin: 16px 0; padding: 14px 18px; background: var(--wash); color: var(--ink-2); border-radius: 16px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 10px; color: var(--ink-2); }
th { color: var(--ink); font-weight: 550; }

.foot { margin-top: 72px; }
.is-home .foot { margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 40px 24px 28px; }
.foot-brand p { color: var(--ink-3); font-size: 14px; max-width: 26ch; margin: 12px 0 0; }
.foot h2 { font: 400 12.5px/1 var(--mono); color: var(--ink-3); margin: 6px 0 14px; letter-spacing: 0.02em; }
.foot-in > div:not(.foot-brand) a { display: block; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 4px 0; }
.foot-in > div:not(.foot-brand) a:hover { color: var(--ink); }
.foot-in > div:not(.foot-brand) a[aria-current="page"] { color: var(--ink); }
.foot-mail { display: inline-block; margin-top: 14px; padding: 4px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot-mail:hover { color: var(--ink); }
.foot-fine { max-width: 1240px; margin: 0 auto; padding: 0 24px 28px; font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
@media (max-width: 960px) { .foot-in { grid-template-columns: 1fr 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr 1fr; } .bar { padding: 14px 16px; } .bar nav a { padding: 8px 9px; } .bar nav a.cta { margin-left: 2px; padding: 8px 13px; } }
@media (max-width: 640px) { .bar > nav a:not(.cta) { display: none; } .bar > nav { margin-left: auto; } .menu { display: block; } }
@media (prefers-reduced-motion: reduce) { .menu > nav { animation: none; } .menu summary svg, .brand img { transition: none; } }
