/* ============================================================
   Ansy — project site
   Plain CSS, no build step. Tokens follow the Slikk.Dev design
   system (canvas / ink / accent / accent-strong). Dark is the
   default; [data-theme="light"] overrides. Layout uses logical
   properties so the Hebrew page mirrors without extra rules.
   ============================================================ */

/* ---- Fonts (self-hosted, SIL OFL — see fonts/OFL-*.txt) ----- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/heebo-hebrew-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ---- Tokens ------------------------------------------------- */
:root,
[data-theme="dark"] {
  --canvas: #080808;
  --canvas-2: #0c0c0c;
  --surface: #111111;
  --surface-2: #171717;
  --ink: #F0EDE8;
  --ink-soft: rgba(240, 237, 232, 0.72);
  --ink-mute: rgba(240, 237, 232, 0.62);
  --line: rgba(240, 237, 232, 0.12);
  --line-2: rgba(240, 237, 232, 0.24);
  --accent: #FF2D6B;
  --accent-rgb: 255 45 107;
  --accent-strong: #E6004E;
  --accent-ink: #ffffff;
  /* Peak alpha of the accent blooms. Accent text sits on top of them, so
     light gets a lower cap to keep the eyebrow above 4.5:1. */
  --glow: 0.16;
  --glow-cta: 0.22;
  color-scheme: dark;
}

[data-theme="light"] {
  --canvas: #F8F5F0;
  --canvas-2: #F1ECE4;
  --surface: #ECE5DB;
  --surface-2: #E4DBCF;
  --ink: #17130F;
  --ink-soft: rgba(23, 19, 15, 0.76);
  --ink-mute: rgba(23, 19, 15, 0.68);
  --line: rgba(23, 19, 15, 0.14);
  --line-2: rgba(23, 19, 15, 0.30);
  --accent: #CC0046;
  --accent-rgb: 204 0 70;
  --accent-strong: #CC0046;
  --accent-ink: #ffffff;
  --glow: 0.07;
  --glow-cta: 0.12;
  color-scheme: light;
}

:root {
  --font-display: "Outfit", "Heebo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 1rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] {
  --font-display: "Heebo", "Outfit", system-ui, sans-serif;
  --font-body: "Heebo", "Inter", system-ui, sans-serif;
}

/* ---- Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p a, li a, dd a { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 5.5rem; }

::selection { background: var(--accent-strong); color: var(--accent-ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent-strong);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---- Type --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.15; }

h1 { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 800; }
h3, h4 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
[dir="rtl"] .eyebrow { letter-spacing: 0.02em; font-size: 0.9375rem; }

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 40em;
}

.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { margin-block: 0.75rem 1rem; }

/* ---- Header ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  padding-block: 0.25rem;
}
[dir="rtl"] .brand { letter-spacing: 0; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand-by {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0;
  color: var(--ink-mute);
}

.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.header-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.header-nav a,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding-inline: 0.75rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.header-nav a:hover,
.icon-btn:hover { color: var(--ink); background: var(--surface); }

.icon-btn {
  background: none;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding-inline: 0;
}
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn .i-sun { display: none; }
[data-theme="light"] .icon-btn .i-sun { display: block; }
[data-theme="light"] .icon-btn .i-moon { display: none; }
html:not(.js) .icon-btn { display: none; }

.lang-link { border: 1px solid var(--line-2); color: var(--ink) !important; }

@media (max-width: 52rem) {
  .header-nav .nav-sections { display: none; }
}
@media (max-width: 26rem) {
  .brand-by { display: none; }
}

/* ---- Buttons ------------------------------------------------ */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn-primary { background: var(--accent-strong); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-strong) 86%, black); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px dashed var(--line-2);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
}
.status-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.6);
  animation: pulse 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.55); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgb(var(--accent-rgb) / 0); }
}

/* ---- Hero --------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 6vw, 9rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -20%;
  width: min(60rem, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / var(--glow)), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero h1 { margin-block: 1.25rem 1.5rem; max-width: 14ch; }
[dir="rtl"] .hero h1 { max-width: 16ch; }
.hero .lede { margin-bottom: 2.25rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-mute); }

/* ---- Demo --------------------------------------------------- */
.demo {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 60rem) {
  .demo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

.demo-modes { border: 0; min-width: 0; }
.demo-modes legend { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.mode-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }

.mode {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.mode:hover { border-color: var(--ink); color: var(--ink); }
.mode input { accent-color: var(--accent-strong); width: 1.1rem; height: 1.1rem; margin: 0; flex: none; }
.mode:has(input:checked) {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.10);
  color: var(--ink);
}
.mode:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.mode input:focus-visible { outline: none; }

.demo-captions { margin-top: 1.5rem; min-height: 9rem; }
.demo-caption { display: none; color: var(--ink-soft); max-width: 36em; }
.demo-caption strong { color: var(--ink); }
.demo-fineprint { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ink-mute); max-width: 36em; }

/* One caption per mode; the checked radio picks the visible one. */
.demo:has(#m-typical:checked) .c-typical,
.demo:has(#m-protan:checked) .c-protan,
.demo:has(#m-deutan:checked) .c-deutan,
.demo:has(#m-tritan:checked) .c-tritan,
.demo:has(#m-achroma:checked) .c-achroma,
.demo:has(#m-blur:checked) .c-blur,
.demo:has(#m-contrast:checked) .c-contrast { display: block; }

.demo:has(#m-protan:checked) .shop { filter: url("#f-protan"); }
.demo:has(#m-deutan:checked) .shop { filter: url("#f-deutan"); }
.demo:has(#m-tritan:checked) .shop { filter: url("#f-tritan"); }
.demo:has(#m-achroma:checked) .shop { filter: grayscale(1); }
.demo:has(#m-blur:checked) .shop { filter: blur(2.5px); }
.demo:has(#m-contrast:checked) .shop { filter: contrast(0.42) brightness(1.18) blur(0.6px); }

.frame {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 80px -32px rgba(0, 0, 0, 0.6);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.frame-dots { display: flex; gap: 0.4rem; }
.frame-dots i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--line-2); }
.frame-url {
  flex: 1;
  min-width: 0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--canvas-2);
  color: var(--ink-mute);
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: start;
}
.frame-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* The sample shop: a fixed light palette (it is someone else's site),
   built with colour-only signals so the simulations reveal them. */
.shop {
  --s-bg: #FFFDF8;
  --s-ink: #1F1B16;
  --s-soft: #57504A;
  --s-line: #D9D2C7;
  background: var(--s-bg);
  color: var(--s-ink);
  padding: clamp(1rem, 0.6rem + 2vw, 1.75rem);
  font-family: Georgia, "Times New Roman", serif;
  transition: filter 0.35s var(--ease);
  color-scheme: light;
}
[dir="rtl"] .shop { font-family: var(--font-body); }
.shop-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.shop-name { font-size: 1.25rem; font-weight: 700; font-style: italic; }
.shop-cart { font-family: var(--font-body); font-size: 0.8125rem; color: var(--s-soft); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product { border: 1px solid var(--s-line); border-radius: 0.6rem; overflow: hidden; background: #fff; }
.product-art { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-art svg { width: 55%; height: auto; }
.art-a { background: #E9E1D3; }
.art-b { background: #DCE6E0; }
.product-body { padding: 0.75rem; font-family: var(--font-body); }
.product-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.product-price { display: flex; gap: 0.5rem; align-items: baseline; margin-top: 0.25rem; font-size: 0.9375rem; }
.price-was { color: var(--s-soft); text-decoration: line-through; font-size: 0.8125rem; }
.price-sale { color: #D7263D; font-weight: 700; }
.stock { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-size: 0.75rem; color: var(--s-soft); }
.stock i { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.stock-in i { background: #2BA84A; }
.stock-low i { background: #E4572E; }
.shop-form { margin-top: 1.25rem; font-family: var(--font-body); }
.shop-form-label { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.4rem; }
.shop-form-row { display: flex; gap: 0.5rem; }
.shop-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 2px solid #E03A3E;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.875rem;
  color: var(--s-soft);
  direction: ltr;
  text-align: start;
}
.shop-btn {
  padding: 0.55rem 1rem;
  border-radius: 0.4rem;
  background: #2F6B4F;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---- Cards / grids ------------------------------------------ */
.grid { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }

.group + .group { margin-top: 3rem; }
.group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
[dir="rtl"] .group-title { letter-spacing: 0; font-size: 1rem; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas-2);
  transition: border-color 0.2s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card h4 { margin-bottom: 0.5rem; }
.kicker { display: block; margin-bottom: 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--accent); }
.card p { color: var(--ink-soft); font-size: 0.9875rem; }
#download .card > * + * { margin-block-start: 1rem; }
#download .wrap > p { margin-block-start: 1.5rem; }
#download .eyebrow, #download a:not(.btn) { color: var(--ink); }
.card .tool {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.card-icon {
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* ---- Steps -------------------------------------------------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps li {
  counter-increment: step;
  padding: 1.5rem;
  border-top: 2px solid var(--accent);
  background: var(--canvas-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--ink-soft); font-size: 0.9875rem; }

/* ---- Is / isn't --------------------------------------------- */
.split { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.panel { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); border: 1px solid var(--line); }
.panel h3 { margin-bottom: 1.25rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.panel ul { list-style: none; display: grid; gap: 1rem; }
.panel li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.75rem; color: var(--ink-soft); }
.panel li svg { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.panel li strong { color: var(--ink); }
.panel-is { background: rgb(var(--accent-rgb) / 0.07); border-color: rgb(var(--accent-rgb) / 0.35); }
.panel-is li svg { color: var(--accent); }
.panel-isnt li svg { color: var(--ink-mute); }

/* ---- Open source -------------------------------------------- */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-bottom: 2.5rem; }
.fact { padding: 1.5rem; border-radius: var(--radius); background: var(--canvas-2); border: 1px solid var(--line); }
.fact dt { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.fact dd { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.9875rem; }

/* ---- Roadmap ------------------------------------------------ */
.roadmap { list-style: none; display: grid; gap: 0; border-inline-start: 2px solid var(--line-2); margin-inline-start: 0.5rem; }
.roadmap li { position: relative; padding-inline-start: 2rem; padding-block: 0 2rem; }
.roadmap li:last-child { padding-bottom: 0; }
.roadmap li::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.55rem;
  top: 0.35rem;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--canvas);
}
.roadmap li.done::before { background: var(--accent); border-color: var(--accent); }
.roadmap li.now::before { border-color: var(--accent); background: var(--canvas); box-shadow: inset 0 0 0 3px var(--canvas), inset 0 0 0 8px var(--accent); }
.roadmap .when { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
[dir="rtl"] .roadmap .when { letter-spacing: 0; font-size: 0.9rem; }
.roadmap h4 { margin-block: 0.25rem 0.4rem; }
.roadmap p { color: var(--ink-soft); max-width: 40em; }

/* ---- FAQ ---------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas-2); }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  min-height: 3rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); max-width: 44em; }
.faq .answer p + p { margin-top: 0.75rem; }

/* ---- CTA band ----------------------------------------------- */
.cta-band {
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(var(--accent-rgb) / var(--glow-cta)), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-2);
}
[dir="rtl"] .cta-band {
  background:
    radial-gradient(120% 140% at 0% 0%, rgb(var(--accent-rgb) / var(--glow-cta)), transparent 55%),
    var(--surface);
}
.cta-band h2 { margin-bottom: 1rem; max-width: 18ch; }
.cta-band p { color: var(--ink-soft); max-width: 38em; margin-bottom: 2rem; }

/* ---- Footer ------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem; margin-top: clamp(4rem, 3rem + 5vw, 8rem); font-size: 0.9375rem; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-footer h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 0.75rem; color: var(--ink); }
.site-footer ul { list-style: none; display: grid; gap: 0.25rem; }
.site-footer li a { display: inline-block; padding-block: 0.3rem; color: var(--ink-soft); }
.site-footer li a:hover { color: var(--ink); }
.site-footer p a { color: var(--ink); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-mute);
}

/* Slikk.Dev credit badge — from SlikkDev/attribution (slikk-credit.html).
   Wordmark paths, link attributes and a11y set are verbatim; only the
   lettering ink is pinned to this site's palette, which the kit allows. */
.dsk-credit {
  all: revert;
  box-sizing: border-box;
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 2px;
  border: 0; background: none;
  transition: color .18s ease;
}
.dsk-credit:hover, .dsk-credit:focus-visible { color: var(--ink); }
.dsk-credit:focus-visible { outline: 2px solid #FF2D6B; outline-offset: 3px; border-radius: 4px; }
.dsk-credit__text { opacity: .9; }
.dsk-credit__mark { height: 15px; width: auto; display: block; }
[dir="rtl"] .dsk-credit { font-family: "Heebo", system-ui, sans-serif; font-size: 14px; }

/* ---- Not found ---------------------------------------------- */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 1.25rem; padding-block: 6rem; }

/* ---- Preferences -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .dsk-credit { transition: none; }
}

@media (forced-colors: active) {
  .btn, .mode, .status-pill, .icon-btn, .card, .panel, .fact, .faq details, .frame, .cta-band { border: 1px solid CanvasText; }
  .btn-primary { forced-color-adjust: none; background: ButtonText; color: ButtonFace; }
  .mode:has(input:checked) { outline: 3px solid Highlight; }
  .status-dot { background: CanvasText; animation: none; }
  .steps li, .roadmap li::before { border-color: CanvasText; }
  .site-header { backdrop-filter: none; }
}

@media print {
  .site-header, .demo-modes, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
