/* kahalia.com. Tokens from the mockup (Direction D, similar not the same), with the app's AA-checked faint.
   Brand palette (2026-12-05, kahalia-briefs/redesign-2026-12/brand-palette): ink and silver do the work (--brass is
   now silver: buttons, marks, selected states); two hints only. Orange (--hint) for the one italic accent word in a
   headline; blue (--on, --ring, --tekhelet) for checkboxes that are on, the focus ring and links. Status green and red
   only for paid and overdue. Type: Host Grotesk (text), DM Mono (--mono: small labels, table numbers), Newsreader
   (display and the italic accent word), Frank Ruhl Libre (Hebrew); all self-hosted.
   Dark only (decided 2026-12-05): no light theme, no theme toggle. */
@font-face { font-family: "Host Grotesk"; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/host-grotesk-latin-var.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: "Host Grotesk"; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/host-grotesk-latin-ext-var.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: "DM Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-400.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: "DM Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-ext-400.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: "DM Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-500.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: "DM Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-ext-500.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: "Frank Ruhl Libre"; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/frank-ruhl-hebrew-var.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Newsreader"; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-var.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: "Newsreader"; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext-var.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: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-italic-var.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 {
  color-scheme: dark;
  --bg: #0b0c0e; --bg-2: #0e1013; --surface: #191c21; --surface-2: #21252b;
  --line: #2a2e35; --line-2: #373c44;
  --text: #ecedf0; --muted: #9ca0a8; --faint: #8a8e96;
  --brass: #d9dce1; --brass-ink: #14161a; --brass-soft: #2a2e35;
  --silver: linear-gradient(180deg, #eceef1, #c4c9d0); --silver-ink: #0b0c0e; --pill-line: #c4c9d0;
  --tekhelet: #7e9cff; --tekhelet-soft: #1b2340; --ring: #7e9cff; --on: #7e9cff;
  --hint: #fd8d27; --hint-grad: linear-gradient(90deg, #ffe0b0, #ffb45e 30%, #fd8d27 65%, #e0590a); --hint-fill: transparent;
  --owed: #ff7a82; --owed-soft: #3a1d1f; --paid: #5cc497; --paid-soft: #17302a;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .55);
  --r: 8px; --r-lg: 12px;
  --ui: "Host Grotesk", "Frank Ruhl Libre", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: "Newsreader", "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --he: "Frank Ruhl Libre", "Newsreader", serif;
  --w: 1200px;
}

/* Base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--tekhelet); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.he { font-family: var(--he); }
.num { font-variant-numeric: tabular-nums; font-family: var(--mono); }
.muted { color: var(--muted); }
/* links inside running text are underlined, not told apart by colour alone (WCAG 1.4.1) */
main :is(p, td, .fact) a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.ic { width: 16px; height: 16px; display: inline-block; flex: none; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -48px; background: var(--brass); color: var(--brass-ink); padding: 8px 12px; border-radius: var(--r); z-index: 40; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

/* Pills: one filled gold, one outline */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pill:hover { background: var(--surface-2); text-decoration: none; }
.pill.fill { background: var(--silver); border-color: var(--pill-line); color: var(--silver-ink); box-shadow: inset 0 1px 0 #ffffff88; }
.pill.fill:hover { filter: brightness(1.06); }
.pill.lg { min-height: 44px; padding: 0 20px; font-size: 15px; }
.pill .ic { width: 15px; height: 15px; }
.draft { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--ui); color: var(--brass); border: 1px solid var(--brass); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.eyebrow { font: 500 12.5px var(--mono); color: var(--brass); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.eyebrow .ic { width: 15px; height: 15px; }

/* Plan and state badges */
.badge { display: inline-flex; align-items: center; font: 600 10.5px/1.6 var(--ui); border-radius: 999px; padding: 1px 7px; white-space: nowrap; vertical-align: 1px; border: 1px solid transparent; }
.badge.plan-core { color: var(--paid); background: var(--paid-soft); }
.badge.plan-pro { color: var(--tekhelet); background: var(--tekhelet-soft); }
.badge.plan-all { color: var(--muted); border-color: var(--line-2); }
.badge.soon { color: var(--brass); background: var(--brass-soft); }
.badge.not-planned { color: var(--muted); background: var(--surface-2); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand .logo { display: block; width: auto; height: 26px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 11px; border-radius: var(--r); }
.nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav .nav-signin { display: none; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr .signin { color: var(--text); font-size: 14px; font-weight: 500; padding: 8px 10px; }
.ibtn { all: unset; box-sizing: border-box; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); cursor: pointer; }
.ibtn:hover { color: var(--text); background: var(--surface); }
.ibtn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.ibtn .ic { width: 17px; height: 17px; display: block; }
.ibtn[hidden] { display: none !important; }
.menu-btn .m-close { display: none; }
.menu-btn[aria-expanded="true"] .m-open { display: none; }
.menu-btn[aria-expanded="true"] .m-close { display: inline; }

/* Breadcrumbs */
.crumbs { padding-top: 16px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; color: var(--faint); margin-right: 8px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }

/* Sections */
.sec { border-top: 1px solid var(--line); padding: 56px 0; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: 24px; }
.sec-h h2, .h2 { font: 400 40px/1.08 var(--display); letter-spacing: -.02em; }
.sec-h h2 em, .h2 em, h1 em { font-style: italic; color: var(--hint); }
@supports (background-clip: text) {
  .sec-h h2 em, .h2 em, h1 em { background: var(--hint-grad); -webkit-background-clip: text; background-clip: text; color: var(--hint-fill); }
}
.sec-h p { color: var(--muted); font-size: 15.5px; }
.sec-h p.eyebrow { color: var(--brass); font-size: 12.5px; }
.sec-foot { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Hero (home) */
.hero { padding: 48px 0 44px; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: center; }
.hero h1 { font: 400 64px/1.0 var(--display); letter-spacing: -.025em; margin: 6px 0 18px; }
.hero .lede { font-size: 17.5px; color: var(--muted); max-width: 44ch; margin-bottom: 24px; }
.hero .lede b { color: var(--text); font-weight: 600; }
.hero .fine { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.hero .fine li { display: inline-flex; align-items: center; gap: 6px; }
.hero .fine .ic { width: 15px; height: 15px; color: var(--paid); }

/* Page hero (every other page) */
.p-hero { padding: 36px 0 28px; }
.p-hero h1 { font: 400 52px/1.04 var(--display); letter-spacing: -.025em; margin: 4px 0 12px; max-width: 22ch; }
.p-hero .lede { color: var(--muted); font-size: 17px; max-width: 60ch; }
.p-hero .acts { margin-top: 20px; }

/* App window: a framed slice of the product */
.win { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 12.5px; color: var(--muted); min-height: 40px; }
.win-bar .dots { display: flex; gap: 5px; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.win-bar .crumb b { color: var(--text); font-weight: 600; }
.win-bar .clock { margin-left: auto; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.win-bar .clock .ic { width: 14px; height: 14px; color: var(--muted); }
.loop { all: unset; box-sizing: border-box; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; vertical-align: middle; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); cursor: pointer; }
.loop:hover { color: var(--text); background: var(--surface-2); }
.loop:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.loop .ic { width: 15px; height: 15px; display: block; }
.loop .l-play { display: none; }
.loop[aria-pressed="true"] .l-pause { display: none; }
.loop[aria-pressed="true"] .l-play { display: inline; }

/* Hero loop: three frames rendered at build; data-frame picks one (2 = every request done, the no-JS and reduced-motion
   frame). An element with data-from="k" shows from frame k on (hidden before, keeping its space); the one added in the current frame is highlighted. */
.hero .sub { font: 400 26px/1.2 var(--display); color: var(--text); margin: 0 0 10px; }
/* the subline under the home headline (2026-12-05): silver-muted on ink; 20px above (collapses with the h1's margin) */
.hero .just { margin: 20px 0 14px; font: 500 30px/1.2 var(--ui); letter-spacing: -.02em; color: #c4c9d0; }
.ai-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ai-note .ic { width: 15px; height: 15px; color: var(--tekhelet); }
.ask-grid { display: grid; grid-template-columns: minmax(0, 232px) minmax(0, 1fr); }
.ask { padding: 12px; border-right: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; }
.ask-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ask-h .ic { width: 14px; height: 14px; color: var(--tekhelet); }
.msg { font-size: 12.5px; line-height: 1.4; padding: 7px 10px; border-radius: 10px; }
.msg.me { align-self: flex-end; max-width: 88%; background: var(--brass-soft); color: var(--text); font-weight: 600; border-bottom-right-radius: 3px; }
.msg.ai { background: var(--surface); border: 1px solid var(--line); color: var(--muted); display: grid; gap: 6px; justify-items: start; border-bottom-left-radius: 3px; }
.msg.ai b { color: var(--text); font-weight: 600; }
.week { padding: 12px 14px 14px; min-width: 0; display: flex; flex-direction: column; }
.week-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.week-h b { font: 500 19px/1.2 var(--display); }
.week-h span { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-frame="0"] [data-from="1"], [data-frame="0"] [data-from="2"], [data-frame="1"] [data-from="2"] { visibility: hidden; }
.ob li[data-from] { transition: background-color .6s; }
[data-frame="0"] .ob [data-from="0"], [data-frame="1"] .ob [data-from="1"], [data-frame="2"] .ob [data-from="2"] { background: color-mix(in srgb, var(--paid-soft) 70%, transparent); }
.ob-h { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); padding: 0 4px 6px; }
.ob { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); }
.ob li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-top: 1px solid var(--line); }
.ob li:first-child { border-top: 0; }
.ob .k { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.ob .k .ic { width: 15px; height: 15px; }
.ob .tx { min-width: 0; }
.ob .t { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob .m { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob .st { justify-self: end; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.chip .ic { width: 13px; height: 13px; }
.chip.held { background: var(--brass-soft); color: var(--brass); }
.chip.sent { background: var(--paid-soft); color: var(--paid); }
.chip.info { background: var(--tekhelet-soft); color: var(--tekhelet); }
.week-shab { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px 6px; }
.week-shab p { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--brass); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.week-shab .ic { width: 14px; height: 14px; }
.week-shab div { padding: 6px 0 2px; font-size: 12px; color: var(--muted); }
.week-shab div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.week-shab b { display: block; font-size: 18px; color: var(--text); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stage .cap { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

/* Home AI section: four promises in a framed row */
.ai-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ai-rules > li { padding: 20px 22px; }
.ai-rules > li + li { border-left: 1px solid var(--line); }
.ai-rules .ic { width: 20px; height: 20px; color: var(--brass); }
.ai-rules h3 { font: 500 20px/1.2 var(--display); margin: 10px 0 6px; }
.ai-rules p { font-size: 14px; color: var(--muted); }
.rules-foot .badge { margin-right: 4px; }

/* Shabbos rules: three columns */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rules > div { padding: 20px 22px; }
.rules > div + div { border-left: 1px solid var(--line); }
.rules h3 { font: 600 15px var(--ui); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.rules h3 .ic { width: 18px; height: 18px; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.rules li { padding-left: 14px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.rules .held h3 { color: var(--brass); }
.rules .goes h3 { color: var(--paid); }
.rules-foot { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* Feature routes: one row of cards, each to its own page */
.routes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.routes a { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 18px 18px 16px; color: var(--text); min-height: 170px; }
.routes a + a { border-left: 1px solid var(--line); }
.routes a:hover { background: var(--surface-2); text-decoration: none; }
.routes .ic { width: 20px; height: 20px; color: var(--brass); }
.routes b { font: 500 19px/1.2 var(--display); display: flex; align-items: center; gap: 8px; }
.routes span.d { color: var(--muted); font-size: 13.5px; }
.routes .go { font-size: 13px; color: var(--tekhelet); display: inline-flex; align-items: center; gap: 5px; }
.routes .go .ic { width: 14px; height: 14px; color: currentColor; }

/* Plain facts ledger */
.two-col { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
.ledger { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.ledger > li { display: grid; grid-template-columns: 40px minmax(0, 280px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger .ic { width: 22px; height: 22px; color: var(--brass); margin-top: 2px; }
.ledger h3 { font: 500 21px/1.2 var(--display); }
.ledger p { color: var(--muted); font-size: 14.5px; }

/* Pricing band (home): Core beside the Pro sizes */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.band .free { padding: 26px; border-right: 1px solid var(--line); }
.band .free .big { font: 400 68px/0.95 var(--display); letter-spacing: -.03em; }
.band .free .big small { font: 500 16px var(--ui); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.band .free p:not(.eyebrow):not(.big) { color: var(--muted); margin: 10px 0 18px; max-width: 42ch; }
.band .free .big { color: var(--text); }
.band .sizes { padding: 20px 24px; }
.band .sizes .tbl td { padding: 10px 8px; font-size: 14px; }
.band .sizes .tbl b { font-size: 17px; }
.band .note { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--faint); padding: 0 8px 7px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r, .tbl th.r { text-align: right; }
.tbl .he { color: var(--muted); white-space: nowrap; }
.tbl .hl td { background: color-mix(in srgb, var(--brass-soft) 60%, transparent); }
.tbl .hl td:first-child { color: var(--brass); font-weight: 600; }

/* Closing band: Join the beta */
.join-band { border-top: 1px solid var(--line); padding: 52px 0; background: var(--bg-2); }
.join-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.join-band .h2 { font-size: 44px; max-width: 20ch; }
.join-band p:not(.eyebrow) { color: var(--muted); margin-top: 12px; max-width: 56ch; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; font: 500 19px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .faq-a { color: var(--muted); padding: 0 0 16px; max-width: 72ch; display: grid; gap: 8px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 40px; font-size: 13.5px; color: var(--muted); }
.ftr .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.ftr h2 { margin: 0 0 8px; font: 600 13px var(--ui); color: var(--text); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr a { color: var(--muted); display: inline-block; padding: 4px 0; }
.ftr a.brand { color: var(--text); display: inline-flex; }
.ftr-brand p { margin-top: 6px; }
.ftr-entity { font-size: 12.5px; color: var(--muted); }

/* Tablet */
@media (max-width: 1080px) {
  .hero > .wrap, .join-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 54px; }
  .ai-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-rules > li:nth-child(3) { border-left: 0; }
  .ai-rules > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-h { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .band, .two-col { grid-template-columns: minmax(0, 1fr); }
  .band .free { border-right: 0; border-bottom: 1px solid var(--line); }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes a + a { border-left: 0; }
  .routes a { border-top: 1px solid var(--line); min-height: 0; }
  .routes a:nth-child(-n+2) { border-top: 0; }
  .routes a:nth-child(even) { border-left: 1px solid var(--line); }
  .nav .nav-signin { display: flex; }
  .js .nav { display: none; }
  .js .menu-btn { display: inline-grid; }
  .js .nav.open { display: grid; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 12px; }
  .js .nav.open a { min-height: 44px; display: flex; align-items: center; font-size: 16px; }
  .js .nav.open a[aria-current="page"] { box-shadow: none; color: var(--brass); }
  /* without JS the links wrap under the header instead of folding into a menu */
  html:not(.js) .hdr .wrap { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  html:not(.js) .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; }
}
@media (min-width: 1081px) { .menu-btn { display: none !important; } }
/* Phone (390 px) */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hdr .wrap { gap: 8px; }
  .hdr .signin { display: none; }
  .hdr .pill.fill { min-height: 44px; padding: 0 14px; }
  .hdr .pill.fill .ic { display: none; }
  .ibtn { width: 44px; height: 44px; }
  .hero { padding: 28px 0; }
  .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 16px; }
  .p-hero { padding: 24px 0 20px; }
  .p-hero h1 { font-size: 38px; }
  .acts .pill { flex: 1 1 auto; }
  .hero .sub { font-size: 22px; }
  .hero .just { font-size: 20px; }
  .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .ask { border-right: 0; border-bottom: 1px solid var(--line); }
  .ob li { gap: 8px; padding: 7px 8px; }
  .ai-rules { grid-template-columns: minmax(0, 1fr); }
  .ai-rules > li + li { border-left: 0; border-top: 1px solid var(--line); }
  .sec { padding: 40px 0; }
  .sec-h h2, .h2 { font-size: 32px; }
  .join-band { padding: 40px 0; }
  .join-band .h2 { font-size: 34px; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .rules > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .routes a, .routes a:nth-child(-n+2) { border-top: 1px solid var(--line); border-left: 0 !important; }
  .routes a:first-child { border-top: 0; }
  .ledger > li { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 12px; }
  .ledger p { grid-column: 2; }
  .band .free, .band .sizes { padding: 20px 16px; }
  .band .free .big { font-size: 58px; }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
  .ftr .wrap > div:first-child { grid-column: 1 / -1; }
  .faq summary { font-size: 17px; }
}
/* ---- Shared templates (shown on /styleguide) ---- */
.sg-h { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 8px 32px; margin-bottom: 18px; align-items: baseline; }
.sg-h h2 { font: 500 24px/1.2 var(--display); }
.sg-h p { color: var(--muted); font-size: 14px; }

/* Feature block: text and claims beside a framed product slice */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.feature.flip .feature-txt { order: 2; }
.feature-txt h3 { font: 400 32px/1.1 var(--display); letter-spacing: -.015em; margin-bottom: 10px; }
.feature-txt > p:not(.eyebrow) { color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.claims { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.claims li { padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: 14.5px; }
.claims li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brass); }
.claims .badge { margin-left: 6px; }
.feature-shot .shot-body { padding: 14px 16px; }

/* Plan cards: columns of one ruled panel */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.plan { padding: 22px 24px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-name { display: flex; align-items: center; gap: 10px; font: 500 24px var(--display); margin-bottom: 6px; }
.plan-price { font: 400 52px/1 var(--display); letter-spacing: -.03em; }
.plan-price small { font: 500 14px var(--ui); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan-sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; }
.plan-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan-list .ic { width: 16px; height: 16px; color: var(--paid); margin-top: 2px; }

/* Tables that may be wider than a phone scroll inside their own box, never the page */
.tbl-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.tbl-wrap:focus-visible { outline: 2px solid var(--ring); }
caption { caption-side: top; text-align: left; padding: 12px 14px 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
caption .draft { margin-left: 8px; }
.size-tbl, .cmp, .zmanim { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-tbl th, .size-tbl td, .zmanim th, .zmanim td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; }
.size-tbl thead th { border-top: 0; font-size: 12px; font-weight: 500; color: var(--faint); padding-top: 8px; }
.size-tbl tbody th { font-weight: 600; }
.size-tbl .r { text-align: right; }

/* Comparison table */
.cmp th, .cmp td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.cmp tbody th { font-weight: 600; width: 34%; }
.cmp tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cmp th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp .cmp-us { background: color-mix(in srgb, var(--brass-soft) 45%, var(--surface)); }
.cmp thead .cmp-us { color: var(--brass); }
.cmp-grp th { font: 500 18px var(--display) !important; color: var(--text) !important; padding-top: 20px !important; background: var(--surface); }
.cmp .yes, .cmp .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cmp .yes .ic { color: var(--paid); }
.cmp .no { color: var(--muted); font-weight: 500; }
.cmp td .fact { display: block; margin-top: 4px; }
.trademark { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* Fact citation, badges, callout */
.fact { font-size: 12px; color: var(--muted); }
.fact a { color: var(--tekhelet); }
.fact-line { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.callout { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 14px; margin-top: 14px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--tekhelet) 35%, transparent); background: var(--tekhelet-soft); font-size: 14px; }
.callout .ic { width: 18px; height: 18px; color: var(--tekhelet); margin-top: 1px; }
.callout.warn { border-color: color-mix(in srgb, var(--brass) 40%, transparent); background: var(--brass-soft); }
.callout.warn .ic { color: var(--brass); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; max-width: 720px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 5px; align-content: start; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input:not([type="checkbox"]), .field select, .field textarea { min-height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); padding: 0 12px; font-size: 16px; color: var(--text); width: 100%; }
.field textarea { padding: 10px 12px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ring); outline-offset: 0; border-color: transparent; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--owed); }
.field-err { display: flex; gap: 6px; align-items: flex-start; color: var(--owed); font-size: 13px; }
.field-err .ic { width: 15px; height: 15px; margin-top: 2px; }
.field-hint { color: var(--muted); font-size: 12.5px; }
.field.check { grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; }
.field.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--on); }
.field.check label { font-weight: 500; }
.form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-msg { font-size: 13px; color: var(--muted); }
.form-msg.err { color: var(--owed); }

/* Join steps */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; font-size: 13px; color: var(--muted); }
.steps li { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 12px; background: var(--surface-2); }
.steps li.done span { background: var(--paid-soft); color: var(--paid); }
.steps li[aria-current="step"] { color: var(--text); border-color: var(--brass); font-weight: 600; }
.steps li[aria-current="step"] span { background: var(--brass); color: var(--brass-ink); }

/* Legal prose */
.prose { max-width: 70ch; font-size: 15.5px; line-height: 1.65; }
.prose > * + * { margin-top: 12px; }
.prose h2 { font: 500 26px/1.2 var(--display); margin-top: 32px; }
.prose h3 { font: 600 16.5px/1.3 var(--ui); margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose .stamp { font-size: 13px; color: var(--muted); }

/* Zmanim */
.zmanim th { font-weight: 500; color: var(--muted); }
.zmanim td { font-weight: 600; text-align: right; }
.zmanim tbody tr:first-child th, .zmanim tbody tr:first-child td { border-top: 0; }
.zmanim .hl th, .zmanim .hl td { color: var(--brass); background: color-mix(in srgb, var(--brass-soft) 55%, transparent); }

/* Holiday list */
.holidays { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.holidays a { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 120px) minmax(0, 1fr); gap: 4px 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--text); align-items: baseline; }
.holidays a:hover { background: var(--surface); text-decoration: none; }
.holidays b { font: 500 19px var(--display); }
.holidays .he { color: var(--brass); font-size: 17px; }
.holidays span:last-child { color: var(--muted); font-size: 14px; }

@media (max-width: 1080px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature.flip .feature-txt { order: 0; }
  .sg-h { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .feature-txt h3 { font-size: 26px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan { padding: 18px 16px; }
  .plan-price { font-size: 44px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .form-foot .pill { width: 100%; }
  .holidays a { grid-template-columns: minmax(0, 1fr) auto; }
  .holidays span:last-child { grid-column: 1 / -1; }
}
/* Under 600 px the comparison table stacks: each row a card, the column name before each answer */
@media (max-width: 600px) {
  .tbl-wrap:has(.cmp) { border: 0; background: none; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody tr:not(.cmp-grp) { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); margin-top: 10px; overflow: hidden; }
  .cmp th:first-child { position: static; }
  .cmp tbody th { border-top: 0; }
  .cmp .cmp-grp th { padding: 18px 0 0 !important; background: none; }
  .cmp td { border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 10px; }
  .cmp td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--muted); grid-row: span 2; }
  .cmp td .fact { margin-top: 0; }
  .cmp td > * { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Group C: forms and tools */
.h3 { font: 500 24px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 10px; }
.h3 a { color: inherit; }
.zm-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.zm-grid .tbl-wrap { margin-top: 0; }
.zmanim small, .zm-week small { display: block; font-size: 12px; color: var(--faint); font-weight: 400; }
.zm-week th[scope="row"] { font-size: 13.5px; font-weight: 500; color: var(--text); padding: 9px 8px; white-space: nowrap; }
.zm-week td, .zm-week th { white-space: nowrap; }
.zm-cta, .hol-note, .join-note, .signin-more { margin: 14px 0; max-width: 70ch; }
.city-filter { max-width: 360px; margin-bottom: 18px; }
.city-states { columns: 3 240px; column-gap: 32px; }
.city-state { break-inside: avoid; margin-bottom: 18px; }
.city-state .h3 { font-size: 19px; margin-bottom: 4px; }
.city-list { list-style: none; margin: 0; padding: 0; }
.city-list a { display: block; padding: 5px 0; }
.beta-places { margin-top: 14px; font-size: 14px; color: var(--brass); font-weight: 600; }
.beta-foot { margin-top: 20px; }
.join .form-grid { margin-bottom: 16px; }
.join-step .h3 { margin: 0; }
.join-step .h3:focus { outline: none; }
.join-step .h3:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
.turnstile-box { min-height: 65px; }
.addr { display: flex; align-items: center; gap: 6px; }
.addr input { flex: 1 1 auto; min-width: 0; }
.addr-suffix { color: var(--muted); font-size: 14px; white-space: nowrap; }
.field.check .field-err { grid-column: 1 / -1; }
.join-done { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; max-width: 720px; display: grid; gap: 8px; }
@media (max-width: 800px) { .zm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .addr { flex-wrap: wrap; }
  .zm-week th, .zm-week td { padding-left: 6px; padding-right: 6px; font-size: 13px; }
}
/* the week table keeps four columns on a phone; Shema (Gra) is in the Today table above */
@media (max-width: 480px) { .zm-week .zm-opt { display: none; } }

/* /brand. Logo tiles use fixed brand grounds (dark and light usage); swatch hexes are the brand tokens. */
.br-tag { margin: 0 0 16px; padding: 22px 24px; border-radius: var(--r-lg); background: #0b0c0e; border: 1px solid #23252b; }
.br-tag img { display: block; width: 100%; max-width: 318px; height: auto; }
.br-tag figcaption { margin-top: 12px; font: 500 17px/1.3 "Host Grotesk", system-ui, sans-serif; color: #9aa0aa; }
.br-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.br-logos p { margin: 8px 0 0; font-size: 14px; }
.br-tile { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 18px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.br-tile img { max-width: 82%; max-height: 64px; width: auto; height: auto; }
.br-tile.br-sq img { height: 56px; width: 56px; }
.br-dark { background: #0b0c0e; border: 1px solid #23252b; }
.br-light { background: #f6f7f9; border: 1px solid #dde0e5; }
.br-files { display: flex; flex-wrap: wrap; gap: 6px; }
.dl { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font: 500 12px var(--mono); }
.dl:hover { background: var(--surface-2); text-decoration: none; }
.dl .ic { width: 13px; height: 13px; }
.br-rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; margin-top: 36px; }
.br-rules h3, .br-h3 { font: 600 15px/1.3 var(--ui); margin: 0 0 10px; }
.br-rules p { font-size: 14px; color: var(--muted); }
.br-space { display: inline-grid; padding: 10px; background: #0b0c0e; border-radius: var(--r); margin-bottom: 10px; }
.br-space img { width: 96px; height: 96px; padding: 16px; outline: 1px dashed #7e9cff; outline-offset: -1px; box-sizing: border-box; }
.br-sizes { display: flex; align-items: end; gap: 14px; margin-top: 8px; }
.br-donts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.br-donts p { font-size: 13px; margin-top: 8px; }
.br-donts .br-tile { aspect-ratio: 1; }
.br-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #ff7a82; color: #0b0c0e; }
.br-x .ic { width: 14px; height: 14px; }
.br-dont-colour img { filter: sepia(1) saturate(6) hue-rotate(-12deg); }
.br-dont-glow img { filter: drop-shadow(0 0 6px #7e9cff) drop-shadow(0 0 2px #7e9cff); }
.br-dont-tilt img { transform: perspective(120px) rotateY(38deg) skewY(-6deg); }
.br-fake { font: italic 400 58px/1 var(--display); color: #eceef1; }
.br-mix { display: flex; height: 44px; border-radius: var(--r); overflow: hidden; border: 1px solid #23252b; font: 500 12.5px var(--mono); }
.br-mix span { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.mx-ink { flex: 62; background: #0b0c0e; color: #9aa0aa; }
.mx-silver { flex: 30; background: linear-gradient(180deg, #eceef1, #c4c9d0); color: #0b0c0e; }
.br-mix .mx-orange { flex: 4; padding: 0; background: linear-gradient(90deg, #ffe0b0, #ffb45e 30%, #fd8d27 65%, #e0590a); }
.br-mix .mx-blue { flex: 4; padding: 0; background: #0b41cd; }
.br-mix-note { text-align: right; font: 500 12px var(--mono); color: var(--muted); margin: 6px 0 22px; }
.br-h3 { margin-top: 22px; }
.br-sws { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.sw { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sw-chip { width: 36px; height: 36px; border-radius: var(--r); border: 1px solid var(--line-2); }
.sw-txt { display: flex; flex-direction: column; font-size: 13.5px; min-width: 0; }
.sw-txt .muted { font-size: 12.5px; }
.sw-val { display: flex; align-items: center; gap: 8px; }
.sw-val code { font: 500 12.5px var(--mono); }
.sw-copy { min-height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 500 12px var(--ui); cursor: pointer; }
.sw-copy:hover { background: var(--surface-2); }
.sw-copy[hidden] { display: none; }
.sw-ink { background: #0b0c0e; } .sw-ink-surface { background: #131418; } .sw-ink-raised { background: #1a1c21; } .sw-ink-hairline { background: #23252b; }
.sw-silver-top { background: #eceef1; } .sw-silver-bottom { background: #c4c9d0; } .sw-text { background: #ecedf0; } .sw-muted { background: #9aa0aa; }
.sw-linen { background: #f6f7f9; } .sw-slate { background: #5b6370; }
.sw-orange { background: #fd8d27; } .sw-orange-text { background: #a34f08; }
.sw-blue { background: #0b41cd; } .sw-blue-text { background: #7e9cff; } .sw-blue-link { background: #034ec0; }
.sw-paid { background: #5cc497; } .sw-overdue { background: #ff7a82; }
.br-type { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.br-type li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 8px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.br-type-name { display: flex; flex-direction: column; font-size: 14px; }
.br-type-name .muted { font-size: 13px; }
.br-spec { margin: 0; overflow-wrap: anywhere; }
.br-spec-host { font: 800 34px/1.1 "Host Grotesk", system-ui, sans-serif; letter-spacing: -.03em; }
.br-spec-mono { font: 500 15px/1.4 var(--mono); letter-spacing: .04em; }
.br-spec-serif { font: italic 400 38px/1.1 "Newsreader", Georgia, serif; }
.br-spec-hebrew { font: 500 32px/1.3 "Frank Ruhl Libre", serif; text-align: right; }
@media (max-width: 900px) {
  .br-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-rules { grid-template-columns: minmax(0, 1fr); }
  .br-sws { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .br-donts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-type li { grid-template-columns: minmax(0, 1fr); }
  .br-spec-host { font-size: 28px; } .br-spec-serif { font-size: 30px; }
  .br-mix span { padding: 0 8px; }
  .sw-copy, .dl { min-height: 36px; }
}
