/* Shared styles for /features/ and /changelog/: the About page's look, plus screenshots and lists. */
:root {
  color-scheme: light;
  --sky: #f2f3f6; --sky-2: #e9ebf0; --paper: #ffffff; --line: #dfe1e7; --line-soft: #eaecf0;
  --ink: #191a21; --ink-2: #4d505b; --dove: #6d717e;
  --rose: #d13a6d; --rose-hi: #bd2f5f; --crest: #fbe3eb;
  --good: #14805a; --bad: #c9373d; --band: #191a21; --on-rose: #ffffff;
  --shadow-1: 0 1px 1px rgba(25,26,33,.04), 0 2px 6px rgba(25,26,33,.04);
  --display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --text: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --sky: #111216; --sky-2: #17181e; --paper: #1a1b21; --line: #2b2d35; --line-soft: #23252c;
    --ink: #f1f1f4; --ink-2: #b5b7c0; --dove: #8a8d98; --rose: #ef6a96; --rose-hi: #f5809f; --crest: #3a1f2a;
    --good: #3fbf8f; --bad: #f07a7e; --band: #0b0c0f; --on-rose: #1f0b14;
    --shadow-1: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --sky: #111216; --sky-2: #17181e; --paper: #1a1b21; --line: #2b2d35; --line-soft: #23252c;
  --ink: #f1f1f4; --ink-2: #b5b7c0; --dove: #8a8d98; --rose: #ef6a96; --rose-hi: #f5809f; --crest: #3a1f2a;
  --good: #3fbf8f; --bad: #f07a7e; --band: #0b0c0f; --on-rose: #1f0b14;
  --shadow-1: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--sky); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rose-hi); }
svg { display: block; }
code { font: 500 .86em var(--mono); background: var(--sky-2); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; cursor: pointer; text-decoration: none;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 0; font: 600 15.5px/1 var(--text); background: var(--ink); color: var(--sky); }
.btn:hover { color: var(--sky); }
.btn.rose { background: var(--rose); color: var(--on-rose); }
.btn.rose:hover { background: var(--rose-hi); color: var(--on-rose); }

.hero { padding: 64px 0 0; }
.hero .lead { margin: 18px 0 0; max-width: 36em; }

.section { padding: 88px 0 0; }
.section h2 { margin-bottom: 18px; }
.section p { margin: 0 0 16px; color: var(--ink-2); }
.section p strong { color: var(--ink); }
.section ul, .section ol { color: var(--ink-2); padding-left: 22px; margin: 0 0 16px; }
.section li { margin: 6px 0; }
.tbl { overflow-x: auto; margin: 20px 0 8px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-soft); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; vertical-align: top; }
th { font-size: 13px; color: var(--dove); font-weight: 600; }
tr + tr td { box-shadow: 0 -1px 0 var(--line-soft); }
td:first-child { white-space: nowrap; }
.shots { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; margin: 28px 0 0; align-items: start; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line-soft), var(--shadow-1); background: var(--paper); }
figcaption { font-size: 14px; color: var(--dove); margin-top: 10px; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.faq details { box-shadow: 0 1px 0 var(--line); }
.faq details:first-child { box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 500 19px var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--text); color: var(--dove); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; }
footer { margin-top: 120px; padding: 32px 0 44px; color: var(--dove); font-size: 14.5px; box-shadow: 0 -1px 0 var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
footer a { color: var(--dove); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .brand { font-size: 16px; color: var(--ink); }
footer .brand svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .section { padding-top: 64px; }
  td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---- site nav, breadcrumbs, related links, footer ----------------------- */
.crumbs { padding: 22px 0 0; font-size: 14.5px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink-2); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs + .hero { padding-top: 28px; }
.section .link-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.link-list li { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-soft); }
.link-list a.t { font: 600 19px/1.25 var(--display); letter-spacing: -0.015em; text-decoration: none; color: var(--ink); }
.link-list a.t:hover { color: var(--rose); }
.link-list p { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); }
footer .foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
footer .foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; width: 100%; }
footer .foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .foot-h { margin: 0 0 10px; font: 600 15px var(--display); color: var(--ink); }
footer .foot-h a { color: var(--ink); }
footer, footer a { color: var(--ink-2); }
footer .foot-cols a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) {
  .crumbs { padding-top: 16px; }
  footer .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---- feature pages (src/content/pages/features) ---------------------------------------------- */
.feature-hero .cta { margin-top: 26px; }
.shot { margin: 40px 0 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-soft); background: #fff; }
.shot.narrow-shot { max-width: 760px; }
.has { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.has li { position: relative; padding-left: 20px; margin: 0 !important; }
.has li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.section pre { margin: 18px 0 20px; padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-soft); overflow-x: auto; font: 13.5px/1.6 var(--mono); color: var(--ink); }
.section pre code { background: none; padding: 0; font: inherit; }
.hub-list { list-style: none; padding: 0 !important; margin: 32px 0 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.hub-list li { margin: 0 !important; }
.hub-list a.t { font: 600 21px/1.25 var(--display); letter-spacing: -0.015em; text-decoration: none; color: var(--ink); }
.hub-list a.t:hover { color: var(--rose); }
.hub-list p { margin: 6px 0 0 !important; font-size: 15.5px; }
.log { list-style: none; padding: 0 !important; margin: 8px 0 0 !important; }
.log li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 10px 0; margin: 0 !important; border-bottom: 1px solid var(--line-soft); }
.log time { color: var(--dove); font-size: 15px; }
@media (max-width: 720px) {
  .tbl table { min-width: 0; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .hub-list { grid-template-columns: 1fr; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
}

.section h3 { margin: 26px 0 8px; }
/* Rules and rings as borders, not shadows (body-prefixed: guides.css loads after this file) */
body .tbl { box-shadow: none; border: 0; border-radius: 0; background: none; }
body .tbl th, body .tbl td { padding-left: 12px; padding-right: 12px; }
body .section .tbl tr + tr td, body .section .tbl thead + tbody tr:first-child td { box-shadow: none; border-top: 1px solid var(--line); }
/* Read-more links as a facts list: the title in its own column, the line beside it, rules between */
body .section .link-list { gap: 0; }
body .section .link-list li { box-shadow: none; border: 0; border-radius: 0; background: none; padding: 16px 0;
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 6px 24px; align-items: baseline; }
body .link-list a.t { font: 500 16.5px/1.35 var(--text); letter-spacing: 0; }
body .link-list p { margin: 0 !important; }
@media (max-width: 720px) { body .section .link-list li { grid-template-columns: 1fr; } }
body .faq details, body .faq details:first-child { box-shadow: none; border-bottom: 1px solid var(--line); }
body .faq details:first-child { border-top: 1px solid var(--line); }
body .section .link-list li + li { box-shadow: none; border-top: 1px solid var(--line); }
/* guides.css colours every .hero link with the ink, which is the dark button's own background */
body .hero .btn:not(.rose), body .hero .btn:not(.rose):hover { color: var(--sky); }
