@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/static/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/static/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #16120F; --ink-2: #3a322c; --muted: #6f645b; --line: #e7dccf;
  --paper: #FFF8F1; --card: #ffffff; --accent: #FF6A2B; --accent-ink: #b8430f; --on-accent: #16120F;
  --ok: #1f7a4d; --warn: #9a5b00; --bad: #b42318;
  --radius: 14px; --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #FFF4EA; --ink-2: #e6d8cb; --muted: #b3a597; --line: #3a312a; --paper: #16120F;
          --card: #1f1915; --accent-ink: #ff8a57; --ok: #4fc58a; --warn: #f0b44c; --bad: #ff7a6b; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 "Space Grotesk", system-ui, sans-serif; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: 1.6rem; } h3 { font-size: 1.15rem; }
code, pre, .mono { font-family: var(--mono); font-size: .9em; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; white-space: pre-wrap; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
nav { margin-left: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--ink-2); text-decoration: none; } nav a:hover { color: var(--accent-ink); }
nav form { margin: 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer;
  padding: 12px 22px; font: 600 1rem/1 "Space Grotesk", sans-serif; text-decoration: none;
  background: var(--accent); color: var(--on-accent); }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid var(--bad); }
.linkish { background: none; border: 0; color: var(--ink-2); font: inherit; cursor: pointer; padding: 0; }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.25rem; color: var(--ink-2); max-width: 34em; }
.gesture { background: var(--ink); color: #FFF4EA; border-radius: var(--radius); padding: 22px; font-family: var(--mono); }
.gesture .handle { color: var(--accent); font-weight: 700; }
.gesture .dim { color: #b3a597; }
.gesture .arrow { display: block; margin: 14px 0 6px; color: #b3a597; font-family: "Space Grotesk", sans-serif; }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.price-note { color: var(--muted); font-size: .95rem; }

section.band { padding: 44px 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.dash { padding: 32px 0 60px; display: grid; gap: 18px; }
.dash .card h2 { font-size: 1.25rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line); }
.pill.ok { color: var(--ok); border-color: currentColor; } .pill.warn { color: var(--warn); border-color: currentColor; }
.pill.bad { color: var(--bad); border-color: currentColor; } .pill.dim { color: var(--muted); }
progress.meter { appearance: none; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; }
progress.meter::-webkit-progress-bar { background: var(--line); }
progress.meter::-webkit-progress-value { background: var(--accent); }
progress.meter::-moz-progress-bar { background: var(--accent); }
.mt { margin-top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
form.stack { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
#delete input { max-width: 280px; }
input[type=text], input[type=url], input[type=password], select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  color: var(--ink); font: 400 1rem "Space Grotesk", sans-serif; }
input:focus, select:focus, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
fieldset label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.alert { border-radius: 10px; padding: 12px 14px; border: 1.5px solid currentColor; }
.alert.bad { color: var(--bad); } .alert.ok { color: var(--ok); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
details summary { cursor: pointer; color: var(--accent-ink); }
.htmx-indicator { display: none; } .htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }

footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
.prose h2 { margin-top: 1.6em; } .prose li { margin: .3em 0; }

@media (max-width: 760px) {
  .hero, .grid2, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
