@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-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; }

:root {
  --bone: #f3eee3;
  --bone-deep: #e8e1d2;
  --line: #d3c9b6;
  --ink: #15110f;
  --ink-soft: #564d44;
  --blood: #b0122a;
  --blood-deep: #8d0c20;
  --night: #17131a;
  --night-raised: #221d26;
  --night-line: #3a3340;
  --pale: #efe8dc;
  --pale-soft: #b0a79b;
  --row-blue: #6aa9e4;
  --row-green: #55c08e;
  --row-amber: #dba243;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --text: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; scrollbar-color: var(--ink-soft) var(--bone-deep); }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--blood); color: var(--bone); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blood); }
:focus-visible { outline: 2px solid var(--blood); outline-offset: 3px; border-radius: 4px; }
code, pre, kbd { font-family: var(--mono); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--pale); }
.top .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font: 800 1.25rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--pale); }
.brand:hover { color: var(--pale); }
.brand svg { width: 2rem; height: 2rem; }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--pale-soft); }
.top nav a:hover { color: var(--pale); }
.top .button { padding: 0.5rem 1rem; font-size: 0.95rem; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--blood); background: var(--blood); color: #fff; font: 600 1rem/1.2 var(--text); text-decoration: none; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.button:hover { background: var(--blood-deep); border-color: var(--blood-deep); color: #fff; transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 1.1rem; height: 1.1rem; flex: none; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.quiet:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* Hero */
.hero { padding: 4.5rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--blood); }
.hero .lead { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.fine { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }

/* The query panel */
.panel { background: var(--night); color: var(--pale); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(21, 17, 15, 0.55), 0 2px 6px rgba(21, 17, 15, 0.2); }
.tabs { display: flex; gap: 0.25rem; padding: 0.6rem 0.6rem 0; border-bottom: 1px solid var(--night-line); overflow-x: auto; }
.tabs button { flex: none; padding: 0.55rem 0.9rem; border: 0; border-radius: 8px 8px 0 0; background: transparent; color: var(--pale-soft); font: 600 0.9rem/1.2 var(--text); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button:hover { color: var(--pale); }
.tabs button[aria-selected="true"] { color: var(--pale); border-bottom-color: #ff6f83; }
.tabs button:focus-visible { outline-color: #ff6f83; outline-offset: -2px; }
.panel pre { margin: 0; padding: 1.25rem 1.4rem; font-size: 0.875rem; line-height: 1.65; overflow-x: auto; scrollbar-color: var(--night-line) var(--night); }
.panel .k { color: #ff8a9a; }
.panel .s { color: var(--row-amber); }
.panel .c { color: var(--pale-soft); }
.panel .f { color: var(--row-blue); }
.rows { border-top: 1px solid var(--night-line); background: var(--night-raised); overflow-x: auto; }
.rows table { width: 100%; border-collapse: collapse; font: 0.8125rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.rows th, .rows td { padding: 0.5rem 1.4rem 0.5rem 0; text-align: left; white-space: nowrap; }
.rows th:first-child, .rows td:first-child { padding-left: 1.4rem; }
.rows th { color: var(--pale-soft); font-weight: 400; border-bottom: 1px solid var(--night-line); }
.rows td { border-bottom: 1px solid rgba(58, 51, 64, 0.6); }
.rows tr:last-child td { border-bottom: 0; }
.rows .none { color: #ff8a9a; }
.verdict { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.4rem; border-top: 1px solid var(--night-line); font-size: 0.85rem; color: var(--pale-soft); }
.verdict i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--row-green); flex: none; }
.verdict b { color: var(--pale); font-weight: 600; }
[hidden] { display: none !important; }

/* Sections */
section { padding: 5rem 0; }
section h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 800; }
.intro { margin-top: 1rem; max-width: 40rem; color: var(--ink-soft); font-size: 1.125rem; }
.band { background: var(--bone-deep); border-block: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--pale); }
.dark .intro { color: var(--pale-soft); }
.dark a:hover { color: #ff8a9a; }

/* Install chooser */
.chooser { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 2rem; align-items: start; }
.choices { display: grid; gap: 0.5rem; }
.choices button { text-align: left; padding: 0.9rem 1.1rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bone); color: var(--ink); font: 600 1rem/1.3 var(--text); cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.choices button span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.15rem; }
.choices button:hover { border-color: var(--ink); }
.choices button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--pale); }
.choices button[aria-selected="true"] span { color: var(--pale-soft); }
.choice-body { background: var(--bone); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.75rem; min-height: 15.5rem; }
.choice-body h3 { font-size: 1.4rem; font-weight: 800; }
.choice-body p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 38rem; }
.choice-body .actions { margin-top: 1.25rem; }
.command { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding: 0.35rem 0.35rem 0.35rem 1.1rem; background: var(--night); color: var(--pale); border-radius: 10px; }
.command code { flex: 1; font-size: 0.9rem; overflow-x: auto; white-space: nowrap; padding: 0.5rem 0; scrollbar-width: none; }
.command button { flex: none; padding: 0.5rem 0.85rem; border-radius: 7px; border: 1px solid var(--night-line); background: var(--night-raised); color: var(--pale); font: 600 0.8125rem/1.2 var(--text); cursor: pointer; min-width: 4.4rem; }
.command button:hover { border-color: var(--pale-soft); }
.command + .command { margin-top: 0.5rem; }

/* Why: a ruled list of reasons */
.reasons { margin: 3rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
.reasons div { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.reasons dt { font: 800 1.3rem/1.2 var(--display); letter-spacing: -0.02em; }
.reasons dd { margin: 0.5rem 0 0; color: var(--ink-soft); max-width: 32rem; }

/* The three steps */
.steps { margin-top: 3rem; display: grid; gap: 4rem; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.step:nth-child(even) .say { order: 2; }
.step .count { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blood); color: #fff; font: 800 1rem/1 var(--display); }
.step h3 { margin-top: 1rem; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.step p { margin-top: 0.75rem; color: var(--ink-soft); }
.step img { border-radius: 12px; border: 1px solid var(--ink); box-shadow: 0 24px 50px -28px rgba(21, 17, 15, 0.6); }

/* Measured */
.measured { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.measured table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.measured caption { text-align: left; font: 800 1.2rem/1.3 var(--display); padding-bottom: 0.9rem; }
.measured th, .measured td { padding: 0.7rem 0; border-top: 1px solid var(--night-line); text-align: left; }
.measured th { font-weight: 400; color: var(--pale-soft); font-size: 0.9rem; }
.measured td:last-child, .measured th:last-child { text-align: right; }
.measured td:first-child { font-weight: 600; }
.measured .note { margin-top: 1rem; font-size: 0.9rem; color: var(--pale-soft); }

/* Library */
.library { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; align-items: start; }
.library ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.library li { padding: 0.8rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.library li b { color: var(--ink); font-weight: 600; }
.library .actions { margin-top: 1.75rem; }

/* Footer */
footer { background: var(--ink); color: var(--pale-soft); padding: 2.5rem 0; font-size: 0.925rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
footer .brand { font-size: 1.05rem; }
footer .brand svg { width: 1.6rem; height: 1.6rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-left: auto; }
footer a { color: var(--pale-soft); }
footer a:hover { color: var(--pale); }

/* The one authored moment: the blade sweeps over the rows in the hero mark */
.reap { width: 5.5rem; height: 5.5rem; margin-bottom: 1.75rem; }
.reap .blade { transform-origin: 50px 12px; animation: sweep 1.4s var(--ease) 0.3s both; }
.reap .row { animation: settle 0.7s var(--ease) both; }
.reap .row:nth-of-type(1) { animation-delay: 0.75s; }
.reap .row:nth-of-type(2) { animation-delay: 0.85s; }
.reap .row:nth-of-type(3) { animation-delay: 0.95s; }
@keyframes sweep { from { transform: rotate(38deg); } to { transform: rotate(0); } }
@keyframes settle { from { transform: translateX(-5px); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reap .blade, .reap .row { animation: none; }
  .button { transition: none; }
}

@media (max-width: 60rem) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero .wrap, .library, .measured, .chooser { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .step, .step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .step:nth-child(even) .say { order: 0; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices button span { display: none; }
  section { padding: 3.5rem 0; }
  .top nav { display: none; }
  .top .button { margin-left: auto; }
}
@media (max-width: 34rem) {
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice-body { padding: 1.25rem; }
  .panel pre { font-size: 0.8rem; padding: 1rem; }
}

.reasons code, .fine code { font-size: 0.9em; background: var(--bone); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; }
.band .reasons div { border-top-color: var(--line); }
