:root {
  --surface: #0e1116;
  --surface-raised: #161a21;
  --line: #262c35;
  --line-strong: #5d6674;
  --ink: #f2f1ee;
  --ink-muted: #8c95a1;
  --ember: #ff9a4d;
  --ember-text: var(--ember);
  --action: var(--ink);
  --on-action: var(--surface);
  --tile: #f7f6f3;
  --on-tile: #11151b;
  --tile-spark: #e56819;
  --focus: var(--ember);
  --link: var(--ink);
  --link-underline: var(--ember);
  --live: #5fcf8f;
  --review: #94b4ee;
  --danger: #ff8a7f;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-tile: 22%;
  --radius-pill: 999px;
  --shadow-overlay: 0 12px 32px #000000a6;
  --container: 1120px;
  --measure: 65ch;
  --font-display: Sora, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --display-xl-size: 64px;
  --display-xl-line-height: 68px;
  --display-xl-weight: 500;
  --display-xl-tracking: -0.02em;
  --display-size: 48px;
  --display-line-height: 52px;
  --display-weight: 500;
  --display-tracking: -0.02em;
  --h1-size: 40px;
  --h1-line-height: 44px;
  --h1-weight: 500;
  --h1-tracking: -0.015em;
  --h2-size: 28px;
  --h2-line-height: 34px;
  --h2-weight: 600;
  --h2-tracking: -0.01em;
  --h3-size: 20px;
  --h3-line-height: 28px;
  --h3-weight: 600;
  --h3-tracking: -0.005em;
  --body-lg-size: 19px;
  --body-lg-line-height: 30px;
  --body-lg-weight: 400;
  --body-lg-tracking: normal;
  --body-size: 17px;
  --body-line-height: 27px;
  --body-weight: 400;
  --body-tracking: normal;
  --body-sm-size: 15px;
  --body-sm-line-height: 23px;
  --body-sm-weight: 400;
  --body-sm-tracking: normal;
  --label-size: 14px;
  --label-line-height: 20px;
  --label-weight: 600;
  --label-tracking: normal;
  --tag-size: 13px;
  --tag-line-height: 18px;
  --tag-weight: 500;
  --tag-tracking: normal;
  --meta-size: 12px;
  --meta-line-height: 16px;
  --meta-weight: 600;
  --meta-tracking: 0.08em;
}
@media (prefers-color-scheme: light) {
:root {
  --surface: #f7f6f3;
  --surface-raised: #ffffff;
  --line: #e3e1dc;
  --line-strong: #848a94;
  --ink: #11151b;
  --ink-muted: #626b77;
  --ember: #e56819;
  --ember-text: #b4500f;
  --action: var(--ink);
  --on-action: var(--surface);
  --tile: #0e1116;
  --on-tile: #f2f1ee;
  --tile-spark: #ff9a4d;
  --focus: var(--ember);
  --link: var(--ink);
  --link-underline: var(--ember);
  --live: #1d7442;
  --review: #3a5f9f;
  --danger: #b3261e;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-tile: 22%;
  --radius-pill: 999px;
  --shadow-overlay: 0 12px 32px #11151b1f;
  --container: 1120px;
  --measure: 65ch;
}
}
@font-face { font-family: "Sora"; src: url("/assets/fonts/Sora-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/InstrumentSans-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* layout */
.sw-wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--space-4); padding-right: var(--space-4); box-sizing: border-box; }
@media (min-width: 600px) { .sw-wrap { padding-left: var(--space-6); padding-right: var(--space-6); } }
.sw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw-arrow { margin-left: 0.3em; }

/* focus: 2px gap in the ground, then a solid 2px ember ring */
.sw-btn:focus-visible, .sw-card__cta:focus-visible, .sw-nav__a:focus-visible, .sw-header__home:focus-visible,
.sw-footer a:focus-visible, .sw-endorse:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }

/* logo: one drawing, both themes */
.sw-logo { display: block; flex: none; }
.sw-logo .sw-ink { fill: var(--ink); }
.sw-logo .sw-muted { fill: var(--ink-muted); }
.sw-logo .sw-tile { fill: var(--tile); }
.sw-logo .sw-on-tile { fill: var(--on-tile); }
.sw-logo .sw-spark { fill: var(--tile-spark); }
.sw-logo--mono .sw-muted, .sw-logo--mono .sw-tile { fill: var(--ink); }
.sw-logo--mono .sw-on-tile, .sw-logo--mono .sw-spark { fill: var(--surface); }
.sw-endorse { display: inline-block; line-height: 0; }

/* button */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-md); font-family: var(--font-sans); text-decoration: none;
  cursor: pointer; box-sizing: border-box; transition: background-color .15s ease-out, border-color .15s ease-out, text-decoration-thickness .15s ease-out; }
.sw-btn--lg { min-height: 52px; padding: 0 var(--space-6); }
.sw-btn--primary { background: var(--action); color: var(--on-action); }
.sw-btn--primary:hover { background: var(--ink-muted); }
.sw-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sw-btn--secondary:hover { border-color: var(--ink); }
.sw-btn--quiet { background: transparent; color: var(--link); padding: 0 var(--space-1); text-decoration: underline;
  text-decoration-color: var(--link-underline); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.sw-btn--quiet:hover { text-decoration-thickness: 2px; }

/* tag */
.sw-tag { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 var(--space-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-family: var(--font-sans); white-space: nowrap; box-sizing: border-box; }
.sw-tag--neutral { color: var(--ink-muted); }
.sw-dot { width: 6px; height: 6px; border-radius: var(--radius-pill); flex: none; }
.sw-tag--live .sw-dot { background: var(--live); }
.sw-tag--review .sw-dot { background: var(--review); }
.sw-tag--danger .sw-dot { background: var(--danger); }

/* product card */
.sw-card { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-5);
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-sizing: border-box; }
.sw-card__head { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.sw-card__icon { display: block; flex: none; width: 56px; height: 56px; border-radius: var(--radius-tile); }
.sw-card__mono { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong);
  box-sizing: border-box; color: var(--ink-muted); font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.sw-card__title { min-width: 0; }
.sw-card__kicker { margin: 0 0 var(--space-1); color: var(--ink-muted); font-family: var(--font-sans); text-transform: uppercase; }
.sw-card__name { margin: 0; color: var(--ink); font-family: var(--font-display); }
.sw-card__line { margin: 0; color: var(--ink-muted); font-family: var(--font-sans); }
.sw-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sw-card__cta { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto;
  color: var(--link); font-family: var(--font-sans); text-decoration: underline; text-decoration-color: var(--link-underline);
  text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.sw-card__cta:hover { text-decoration-thickness: 2px; }

/* site header */
.sw-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.sw-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5);
  padding-top: var(--space-3); padding-bottom: var(--space-3); }
.sw-header__home { display: inline-flex; align-items: center; min-height: 44px; }
.sw-nav { display: flex; flex-wrap: wrap; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.sw-nav__a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); font-family: var(--font-sans); text-decoration: none; }
.sw-nav__a:hover { color: var(--ink); }
.sw-nav__a.is-current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember);
  text-decoration-thickness: 2px; text-underline-offset: 0.45em; }

/* footer */
.sw-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-muted); font-family: var(--font-sans); }
.sw-footer__in { display: grid; grid-template-columns: 1fr; gap: var(--space-5); padding-top: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 720px) { .sw-footer__in { grid-template-columns: 1fr auto; align-items: start; } .sw-footer__note, .sw-footer__legal { grid-column: 1 / -1; } }
.sw-footer__id { display: flex; align-items: center; gap: var(--space-3); }
.sw-footer__name { margin: 0; color: var(--ink); }
.sw-footer__mail, .sw-footer__note, .sw-footer__legal { margin: 0; }
.sw-footer__note { max-width: var(--measure); }
.sw-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; }
.sw-footer a { color: var(--ink-muted); text-decoration: none; }
.sw-footer a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--link-underline); text-underline-offset: 0.25em; }

@media (prefers-reduced-motion: reduce) { .sw-btn { transition: none; } }

/* Static directory layout. Brief-specific overrides follow the unmodified bundle. */
html { color-scheme: dark light; scrollbar-color: var(--line-strong) var(--surface); }
* { box-sizing: border-box; }
body { font-size: var(--body-size); line-height: var(--body-line-height); }
::selection { background: var(--tile); color: var(--on-tile); }
a { color: var(--link); text-decoration-color: var(--link-underline); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--surface-raised); z-index: 10; }
.skip:focus { top: 8px; }
h1, h2, h3 { text-wrap: balance; }
.sw-header__home .sw-logo { width: 204px; height: auto; }
.intro { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.intro h1 { font-family: var(--font-display); font-size: clamp(32px, 4.3vw, 48px); font-weight: var(--display-weight); line-height: 1.1; letter-spacing: var(--display-tracking); max-width: 25ch; margin: 0 0 var(--space-4); }
.intro p { color: var(--ink-muted); max-width: var(--measure); margin: 0; }
.product-group { margin-bottom: var(--space-7); scroll-margin-top: 24px; }
.product-group h2 { font: var(--h2-weight) var(--h2-size)/var(--h2-line-height) var(--font-display); letter-spacing: var(--h2-tracking); margin: 0 0 var(--space-5); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.sw-card__icon { width: 48px; height: 48px; }
.sw-card__name { font-size: var(--h3-size); line-height: var(--h3-line-height); font-weight: var(--h3-weight); letter-spacing: var(--h3-tracking); overflow-wrap: anywhere; }
.sw-card__line { font-size: var(--body-sm-size); line-height: var(--body-sm-line-height); }
.sw-card__cta, .sw-nav__a { font-size: var(--label-size); font-weight: var(--label-weight); }
.sw-tag { font-size: var(--tag-size); font-weight: var(--tag-weight); }
.disclosure { font-size: var(--body-size); line-height: var(--body-line-height); margin: 0 0 var(--space-7); }
.sw-footer__id .sw-logo { width: 32px; height: 32px; }
.sw-footer__mail { overflow-wrap: anywhere; font-size: var(--body-sm-size); }
.sw-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.document { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.document h1 { font: var(--h1-weight) var(--h1-size)/var(--h1-line-height) var(--font-display); letter-spacing: var(--h1-tracking); margin-top: 0; }
.document > p { max-width: var(--measure); }
.document > p + .product-group { margin-top: var(--space-6); }
.support-list { list-style: none; padding: 0; margin: var(--space-6) 0; }
.support-list > li { padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.support-list h3 { font: var(--h3-weight) var(--h3-size)/var(--h3-line-height) var(--font-display); margin: 0 0 var(--space-2); }
.support-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.support-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 680px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .sw-header__in { align-items: flex-start; } .sw-nav { gap: var(--space-4); } }
