/* EzInventory marketing site — brand v3 preview "Plasma × Dometrain".
   Dark developer-modern look shared with the app: void surfaces, plasma
   gradient accents, Poppins / JetBrains Mono, floating pill nav,
   generous rounding. The live ledger card stays the hero signature —
   restyled as a dark terminal-style panel.
   Palette:
     --void    #0A0F16  page background
     --panel   #10161F  cards / raised surfaces
     --edge    #1D2A38  borders
     --paper   #EDF2F7  primary text
     --steel   #8FA6BB  body text
     --plasma  #FF5A1F → #FF2E7E  signature gradient (accent only)
     --good    #35C77B  inbound / balanced
     --critical #FF4D4D outbound / negatives
   Structural rules: docs/cymansys-style-guide.md — change tokens, not structure.
   Fonts self-hosted in /fonts (no third-party requests). */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-var.woff2") format("woff2-variations");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --void: #0a0f16;
  --panel: #10161f;
  --panel-2: #151d28;
  --edge: #1d2a38;
  --edge-2: #2c3d4f;
  --paper: #edf2f7;
  --steel: #8fa6bb;
  --steel-dim: #5f7284;
  --plasma-a: #ff5a1f;
  --plasma-b: #ff2e7e;
  --plasma-grad: linear-gradient(135deg, #ff5a1f, #ff2e7e);
  --good: #35c77b;
  --warn: #f5b32b;
  --critical: #ff4d4d;
  --sans: "Poppins", system-ui, sans-serif;
  --serif: "Poppins", system-ui, sans-serif; /* legacy alias — display face */
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 16px;
  --measure: 72rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--steel);
  background: var(--void);
}

/* Dark backdrop: faint plasma glows top corners, Dometrain-hero style. */
.ruled {
  background-image:
    radial-gradient(56rem 30rem at 88% -10%, color-mix(in srgb, var(--plasma-b) 8%, transparent), transparent 70%),
    radial-gradient(44rem 24rem at -12% 2%, color-mix(in srgb, var(--plasma-a) 6%, transparent), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a { color: var(--paper); text-underline-offset: 3px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--plasma-a);
  outline-offset: 2px;
}

img { max-width: 100%; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.9rem 0 0.4rem;
  background: linear-gradient(to bottom, var(--void) 55%, transparent);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.6rem;
  flex-wrap: wrap;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  max-width: calc(var(--measure) - 2.5rem);
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.01em;
}

.brand .tick {
  background: var(--plasma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--steel);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 120ms ease, background 120ms ease;
}

.nav a:hover { color: var(--paper); background: var(--panel-2); }

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--plasma-a) 55%, transparent);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font: 600 0.97rem var(--sans);
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--plasma-a) 50%, transparent);
  color: color-mix(in srgb, var(--plasma-a) 70%, var(--paper));
  background: transparent;
  cursor: pointer;
  transition: filter 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.btn:hover { background: color-mix(in srgb, var(--plasma-a) 10%, transparent); }

.btn-primary {
  background: var(--plasma-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--plasma-b) 30%, transparent);
}

.btn-primary:hover {
  background: var(--plasma-grad);
  filter: brightness(1.08);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--plasma-b) 40%, transparent);
}

/* Header CTA sits after the nav (outside it, so phones can pin it beside the
   brand while the links scroll). Pill-shaped like the nav links. */
.masthead .cta { padding: 0.5rem 1.1rem; border-radius: 999px; margin-left: -1rem; white-space: nowrap; }

/* Hamburger: only rendered ≤820px (see responsive block). */
.nav-toggle { display: none; }

/* EN|FR toggle: a small mono pill in the nav and the footer. */
.nav a.lang, footer.site a.lang {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
}
footer.site a.lang { padding: 0.2rem 0.6rem; }

/* ---------------------------------------------------------------- hero */

.hero { padding: 4.5rem 0 4rem; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--good);
  border: 1px solid color-mix(in srgb, var(--good) 40%, transparent);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

h1 {
  font-family: var(--sans);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* Gradient keywords inside headings — the Dometrain signature move. */
.grad {
  background: var(--plasma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 1.15rem; color: var(--steel); max-width: 34rem; margin-bottom: 2rem; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.cta-note { font: 0.85rem var(--sans); color: var(--steel-dim); width: 100%; margin-top: 0.35rem; }

/* Real app capture inside the hero panel frame. */
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot img, .shots img { cursor: zoom-in; }

/* Click-to-enlarge overlay for the live captures. */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1600px, 94vw); max-height: 92vh;
  width: auto; height: auto;
  border: 1px solid var(--edge-2); border-radius: var(--radius-lg);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.6);
}

/* Screenshot band (features): framed live captures. */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.shots figure { margin: 0; }
.shots img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--edge-2); border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.shots figcaption { font: 0.8rem var(--mono); color: var(--steel); margin-top: 0.6rem; }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } }

/* ------------------------------------------- ledger card (signature) */

/* Dark terminal-style panel, like Dometrain's hero code window. */
.ledger-card {
  background: var(--panel);
  border: 1px solid var(--edge-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow-x: auto; /* the table scrolls inside the card, never the page */
}

.ledger-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--edge-2);
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.ledger-card header .balanced { color: var(--good); }

table.ledger {
  width: 100%;
  border-collapse: collapse;
  font: 0.76rem var(--mono);
  color: var(--paper);
}

table.ledger td, table.ledger th {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--edge);
  text-align: left;
  white-space: nowrap;
}

table.ledger tr:last-child td { border-bottom: none; }

table.ledger th {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

table.ledger td.qty, table.ledger th.qty { text-align: right; font-variant-numeric: tabular-nums; }

.in { color: var(--good); font-weight: 600; }

.out { color: var(--critical); font-weight: 600; }

tr.entry-new { animation: entry-in 420ms ease-out; }

@keyframes entry-in {
  from { opacity: 0; transform: translateY(-6px); background: var(--panel-2); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  tr.entry-new { animation: none; }
}

/* ---------------------------------------------------------------- sections */

section.band { padding: 3.75rem 0; border-top: 1px solid var(--edge); }

section.band.deep { background: var(--panel); }

h2 {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.band > .wrap > p.sub { color: var(--steel); max-width: 44rem; margin-bottom: 2.25rem; }

h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; color: var(--paper); margin-bottom: 0.4rem; }

/* Feature grid — soft dark cards, generous rounding. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: border-color 150ms ease, transform 150ms ease;
}

@media (hover: hover) {
  .card:hover { border-color: var(--edge-2); transform: translateY(-2px); }
}

.card .ref {
  font: 600 0.7rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.7rem;
  background: var(--plasma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.card p { color: var(--steel); font-size: 0.95rem; }

/* ---------------------------------------------------------------- pricing table */

.plans { overflow-x: auto; border: 1px solid var(--edge-2); border-radius: var(--radius); }

table.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  min-width: 46rem;
}

table.plan-table th, table.plan-table td {
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
  color: var(--steel);
}

table.plan-table thead th {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--edge-2);
  background: var(--panel-2);
}

table.plan-table thead th .price {
  display: block;
  font: 600 1.3rem var(--mono);
  margin-top: 0.2rem;
  background: var(--plasma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

table.plan-table thead th .price small { font-size: 0.72rem; color: var(--steel-dim); font-weight: 400; -webkit-text-fill-color: var(--steel-dim); }

table.plan-table td { font-variant-numeric: tabular-nums; }

table.plan-table td.num { font-family: var(--mono); font-size: 0.9rem; color: var(--paper); }

table.plan-table tbody th {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--steel);
  background: var(--void);
  white-space: nowrap;
}

table.plan-table .cta-cell { text-align: center; background: var(--void); }

/* FAQ */
details {
  border-bottom: 1px solid var(--edge);
  padding: 0.9rem 0;
  max-width: 46rem;
}

details summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  color: var(--paper);
  padding: 0.45rem 0; /* ≥44px tap target with the details padding */
}

details summary:hover { color: #fff; }

details p { margin-top: 0.6rem; color: var(--steel); }

/* ---------------------------------------------------------------- switch page */

.compare { overflow-x: auto; border: 1px solid var(--edge-2); border-radius: var(--radius); }

.compare table.plan-table { min-width: 0; }
.compare table.plan-table th, .compare table.plan-table td { font-size: 0.93rem; }

.competitor { margin-bottom: 1rem; }

.steps { margin: 0.6rem 0 0 1.2rem; color: var(--steel); }

.steps li { margin-bottom: 0.25rem; }

.offer-level {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--edge);
}

.offer-level .tag {
  font: 600 0.9rem var(--mono);
  background: var(--plasma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.offer-level .tag .money { display: block; font-size: 1.3rem; margin-top: 0.2rem; -webkit-text-fill-color: var(--paper); color: var(--paper); }

/* ---------------------------------------------------------------- forms */

form.contact { max-width: 34rem; display: grid; gap: 1rem; }

label { font-weight: 600; font-size: 0.92rem; color: var(--paper); display: block; margin-bottom: 0.3rem; }

input, textarea {
  width: 100%;
  font: 1rem var(--sans);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--edge-2);
  border-radius: var(--radius-sm);
  background: var(--void);
  color: var(--paper);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--plasma-a);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--plasma-a) 18%, transparent);
}

input::placeholder, textarea::placeholder { color: var(--steel-dim); }

/* ---------------------------------------------------------------- prose (legal) */

.prose { max-width: 44rem; padding: 3rem 0 4rem; }

.prose h1 { font-size: 2rem; }

.prose h2 { font-size: 1.3rem; margin-top: 2rem; }

.prose p, .prose ul { margin-bottom: 1rem; color: var(--steel); }

.prose ul { padding-left: 1.4rem; }

/* ---------------------------------------------------------------- footer */

footer.site {
  border-top: 1px solid var(--edge);
  padding: 2.5rem 0 3rem;
  background: var(--panel);
  margin-top: 4rem;
}

footer.site .wrap {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--steel-dim);
  font-size: 0.9rem;
}

footer.site nav { display: flex; gap: 0.25rem 0.75rem; flex-wrap: wrap; align-items: center; }

footer.site a { color: var(--steel); text-decoration: none; padding: 0.55rem 0.25rem; }

footer.site a:hover { color: var(--paper); }

/* ---------------------------------------------------------------- responsive */

/* Tablet portrait: three feature cards still fit side by side. */
@media (max-width: 900px) and (min-width: 640px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
}

@media (max-width: 860px) {
  .hero { padding: 3rem 0; }
  /* minmax(0,…): a bare 1fr lets the nowrap ledger table's min-content width
     win and the whole page scrolls sideways. */
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .offer-level { grid-template-columns: 1fr; gap: 0.4rem; }
  .eyebrow { letter-spacing: 0.08em; }
  section.band { padding: 3rem 0; }

  /* Pricing grid: the row label stays put while the plan columns swipe. */
  table.plan-table { min-width: 44rem; }
  table.plan-table th, table.plan-table td { padding: 0.7rem 0.8rem; }
  .plans table.plan-table tbody th,
  .plans table.plan-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 6px 0 12px -8px rgba(0, 0, 0, 0.7);
  }
  .plans table.plan-table thead th:first-child { background: var(--panel-2); }
  /* Label column wraps instead of hogging the width from the plan columns. */
  .plans table.plan-table tbody th { white-space: normal; width: 8.5rem; min-width: 8.5rem; font-size: 0.85rem; line-height: 1.35; }
  .plans table.plan-table thead th { font-size: 0.98rem; }
  .plans table.plan-table thead th .price { font-size: 1.15rem; }
}

/* Phones and portrait tablets: brand + CTA + hamburger on one row; the links
   drop down inside the pill when the menu is open. Without JS the list is
   simply shown (site.js adds .has-menu to enable the toggle). */
@media (max-width: 820px) {
  .masthead { padding: 0.5rem 0 0.3rem; }
  .masthead .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.35rem 0.6rem;
    padding: 0.5rem 0.6rem 0.5rem 0.9rem;
    max-width: calc(var(--measure) - 1.5rem);
  }
  .brand { grid-row: 1; grid-column: 1; }
  .masthead .cta { grid-row: 1; grid-column: 2; justify-self: end; margin-left: 0; padding: 0.45rem 0.95rem; font-size: 0.9rem; }

  .nav-toggle {
    grid-row: 1;
    grid-column: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
  }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--panel-2); border-color: var(--edge-2); }
  .nav-toggle .bars {
    position: relative;
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: background 120ms ease;
  }
  .nav-toggle .bars::before, .nav-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 160ms ease, top 160ms ease;
  }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

  .nav {
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0.3rem -0.3rem 0 -0.6rem;
    padding: 0.6rem 0.3rem 0.2rem;
    border-top: 1px solid var(--edge);
  }
  .masthead.has-menu:not(.is-open) .nav { display: none; }
  .nav a { padding: 0.75rem 1rem; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav a.lang { align-self: flex-start; margin: 0.4rem 0 0.2rem 0.35rem; padding: 0.45rem 0.8rem; }

  /* Screenshots open as a pannable 2× capture instead of a same-size popup. */
  .lightbox { padding: 0; overflow: auto; align-items: flex-start; justify-content: flex-start; }
  .lightbox img { max-width: none; max-height: none; width: 1400px; border-radius: 0; border: 0; }
}

/* Narrow phones: the 3-column competitor tables swipe (with the cue) rather
   than squeeze into 100px columns. */
@media (max-width: 640px) {
  .compare table.plan-table { min-width: 34rem; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 1rem; }
  .masthead .wrap { max-width: calc(100% - 1.25rem); }
  .brand { font-size: 1.15rem; }
  .masthead .cta .cta-long { display: none; } /* "Commencer gratuitement" → "Commencer" */
  .hero { padding: 2.25rem 0 2.5rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.06em; padding: 0.28rem 0.7rem; margin-bottom: 1rem; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lede { font-size: 1.05rem; }
  /* Thumb-sized CTAs: full width, stacked. */
  .hero .cta-row .btn, .band .cta-row .btn { flex: 1 1 100%; text-align: center; padding: 0.85rem 1.2rem; }
  .card { padding: 1.25rem 1.2rem 1.35rem; }
  .offer-level { padding: 1rem 0; }
  footer.site { padding: 2rem 0 2.5rem; margin-top: 3rem; }
  footer.site .wrap { gap: 1rem; }
  .consent { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 0.9rem 1rem; }
  .consent-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* "Swipe to compare" cue added by site.js above a table that overflows. */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.scroll-hint::after { content: "→"; font-size: 0.9rem; }

/* ---------------------------------------------------------------- consent banner */

.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--edge-2);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--void) 70%, transparent);
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent p { margin: 0 0 0.9rem; }

.consent a { color: var(--paper); }

.consent-actions { display: flex; gap: 0.6rem; justify-content: flex-end; flex-wrap: wrap; }

.consent-actions .btn { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ---------------------------------------------------------------- blog (Soro embed)
   The widget injects light-theme CSS (#1a1a1a text, #e5e5e5 borders). These
   overrides map it onto the product palette; selectors are scoped to the container
   so nothing else changes. Palette tokens only — see docs/cymansys-style-guide.md. */

#soro-blog .soro-blog { font-family: var(--sans); color: var(--paper); max-width: none; }

#soro-blog .soro-blog-card,
#soro-blog .soro-blog-back {
  background: var(--panel);
  border-color: var(--edge);
  border-radius: var(--radius);
}

#soro-blog .soro-blog-card:hover,
#soro-blog .soro-blog-back:hover {
  background: var(--panel-2);
  border-color: var(--edge-2);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--void) 60%, transparent);
}

#soro-blog .soro-blog-back { color: var(--steel); }

#soro-blog .soro-blog-card-title,
#soro-blog .soro-blog-article-title,
#soro-blog .soro-blog-article-content,
#soro-blog .soro-blog-article-content h1,
#soro-blog .soro-blog-article-content h2,
#soro-blog .soro-blog-article-content h3 { color: var(--paper); }

#soro-blog .soro-blog-card-excerpt,
#soro-blog .soro-blog-article-date,
#soro-blog .soro-blog-empty,
#soro-blog .soro-blog-loading { color: var(--steel); }

#soro-blog .soro-blog-card-date { color: var(--steel-dim); }

#soro-blog .soro-blog-article-content a { color: var(--plasma-a); text-decoration: underline; }

#soro-blog .soro-blog-article-content img,
#soro-blog .soro-blog-card-image,
#soro-blog .soro-blog-article-image { border-radius: var(--radius-sm); }

#soro-blog .soro-blog-spinner { border-color: var(--edge-2); border-top-color: var(--plasma-a); }

#soro-blog .soro-blog-error { color: var(--critical); }
