/* Northbyte marketing — Paper & Mark visual system */
@import url("./design-tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--paper);
  /* soft geometric grain */
  background-image: radial-gradient(circle at 2px 2px, rgba(18, 20, 26, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--on-slab); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* —— Header chrome —— */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  padding: .65rem 0;
}
/* V12: brand | centered nav | actions without overlap */
.header-centered .header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem 1.25rem;
  justify-content: initial;
}
.header-centered .brand { justify-self: start; }
.header-centered .nav {
  justify-content: center;
  flex: 1;
  min-width: 0;
  margin-left: 0;
}
.header-centered .header-actions { justify-self: end; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent); color: var(--on-slab);
  font-weight: 800; font-size: .95rem; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-name { letter-spacing: -0.01em; }
.nav {
  display: flex; flex-wrap: wrap; gap: .35rem 1.15rem;
  flex: 1 1 auto;
  align-items: center;
  margin-left: .5rem;
}
.nav a {
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  position: relative; padding: .25rem 0;
}
.nav a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
}
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; flex-wrap: wrap; gap: .5rem .85rem; align-items: center; }
.lang-switch a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-switch span { color: var(--muted); }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); padding: .55rem 1.1rem; font-weight: 600;
  font-size: .875rem; border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; line-height: 1.2;
}
.btn-primary {
  background: var(--accent); color: var(--on-slab); border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(1.06); color: var(--on-slab); }
.btn-bright {
  background: var(--accent-bright); color: var(--ink); border-color: var(--accent-bright);
  font-weight: 700;
}
.btn-bright:hover { filter: brightness(1.05); color: var(--ink); }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-slab {
  background: var(--slab-elev); color: var(--on-slab-body); border-color: transparent;
  font-weight: 500;
}
.btn-slab:hover { color: var(--on-slab); }

/* —— Type —— */
.eyebrow, .label {
  text-transform: uppercase; letter-spacing: .08em; font-size: .72rem;
  font-weight: 700; font-family: var(--mono); color: var(--accent); margin: 0 0 .55rem;
}
.label-ink { color: var(--ink); }
.label-warn { color: var(--warn); }
.label-imba { color: var(--rail-imba); }
.label-games { color: var(--rail-games); }
.hero { padding: 2.75rem 0 1.25rem; position: relative; }
.hero-center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  padding: 2.75rem 0 1.25rem;
}
.hero-center .lead { margin-inline: auto; }
.hero-center .cta-row,
.hero-center .hero-cta { justify-content: center; }
.editorial h1,
.hero-center.editorial h1 {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  max-width: 16ch;
  margin-inline: auto;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.2rem;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  gap: 2rem;
  align-items: start;
}
.hero h1, .section > h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1; letter-spacing: -0.03em;
  margin: 0 0 .85rem; font-weight: 750; color: var(--ink);
}
/* Base H1 metrics for centered heroes that are not .editorial */
.hero-center h1 {
  margin: 0 0 .85rem; font-weight: 750; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.03em;
}
.lead { color: var(--ink-body); font-size: 1.08rem; max-width: 40rem; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.rail-dot {
  /* 0.5rem ≈ 8px at default root — avoid literal "width: 8px" + var(--rail*) false-positive in rail-strip guards */
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  display: inline-block; margin-right: .4rem; vertical-align: middle;
}
.rail-support { background: var(--rail-support); }
.rail-content { background: var(--rail-content); }
.rail-imba { background: var(--rail-imba); }
.rail-games { background: var(--rail-games); }

/* Decorative hero composition (CSS-only) */
.hero-art {
  position: relative; min-height: 200px; margin-top: .5rem;
  pointer-events: none; user-select: none;
}
.hero-art-a, .hero-art-b, .hero-art-c {
  position: absolute; border-radius: 4px;
}
.hero-art-a {
  top: 0; right: 12%; width: 88%; height: 58%;
  background: var(--accent);
}
.hero-art-b {
  top: 18%; right: 0; width: 88%; height: 58%;
  background: var(--ink);
}
.hero-art-c {
  top: 36%; right: 8%; width: 68%; height: 48%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.hero-art-path {
  position: absolute; inset: 12% 18% 28% 8%;
  border: none;
  background:
    linear-gradient(var(--accent-bright), var(--accent-bright)) 0 18% / 42% 3px no-repeat,
    linear-gradient(var(--accent-bright), var(--accent-bright)) 42% 18% / 3px 48% no-repeat,
    linear-gradient(var(--accent-bright), var(--accent-bright)) 42% 66% / 40% 3px no-repeat,
    linear-gradient(var(--accent-bright), var(--accent-bright)) 82% 40% / 3px 26% no-repeat;
}
.hero-art-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
}
.hero-art-dot.start { left: 6%; top: 28%; background: var(--panel); box-shadow: 0 0 0 2px var(--accent-bright); }
.hero-art-dot.end { right: 10%; top: 42%; background: var(--accent-bright); }

.section { padding: 1.25rem 0 2.5rem; }
.section h2 { margin-top: 0; letter-spacing: -0.01em; }

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}
.card-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.25rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.card-top { display: flex; justify-content: space-between; gap: .5rem; align-items: start; }
.card h2, .card h3 { margin: .35rem 0 .55rem; font-size: 1.1rem; letter-spacing: -0.01em; }
.card .label { margin-bottom: .5rem; }
.card p { margin: 0 0 .45rem; color: var(--ink-body); font-size: .92rem; }
.card .meta { color: var(--muted); font-size: .88rem; margin: .35rem 0 0; }
.card .meta-mono {
  font-family: var(--mono); color: var(--muted); font-size: .8rem; margin-top: .75rem;
}
.card-title-link {
  text-decoration: none;
}
/* Product titles: beat global `a { color: accent }` and keep rail palette (V12 mock) */
a.label.card-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 0 .5rem;
  font-size: 0.95rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--accent); /* Support / default */
}
a.label.card-title-link.label-ink {
  color: var(--ink);
}
a.label.card-title-link.label-imba {
  color: var(--rail-imba);
}
a.label.card-title-link.label-games {
  color: var(--rail-games);
}
a.label.card-title-link:hover {
  filter: brightness(0.88);
}
a.label.card-title-link.label-ink:hover { color: var(--ink); }
a.label.card-title-link.label-imba:hover { color: var(--rail-imba); }
a.label.card-title-link.label-games:hover { color: var(--rail-games); }
a.label.card-title-link:not(.label-ink):not(.label-imba):not(.label-games):hover {
  color: var(--accent);
}
.card-link {
  display: inline-block; margin-top: .65rem;
  font-weight: 600; text-decoration: none; color: var(--accent); font-size: .92rem;
}
.card-link:hover { color: var(--ink); }
.card ul {
  margin: .75rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .85rem;
}
.card ul li { margin: .3rem 0; }
.badge {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .5rem;
  color: var(--muted); white-space: nowrap; background: var(--panel-soft);
}
.price { font-size: 1.35rem; font-weight: 700; margin: .5rem 0; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
code { font-family: var(--mono); font-size: .85em; }

/* —— Dark services slab —— */
.slab {
  background: var(--slab);
  color: var(--on-slab);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin: 1.5rem 0 0;
}
.slab .label { color: var(--accent-bright); }
.slab h2, .slab h3 {
  color: var(--on-slab); margin: 0 0 .5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem); letter-spacing: -0.01em;
}
.slab p { color: var(--on-slab-body); margin: 0 0 1rem; }
.slab-row {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch;
}
.slab-chip {
  flex: 1 1 200px;
  background: var(--slab-elev); color: var(--on-slab-body);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  font-size: .9rem; display: flex; align-items: center;
}
.slab .btn-bright { flex: 0 1 220px; min-height: 48px; }

/* —— Callouts —— */
.callout {
  border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.25rem 0;
  border: 1px solid var(--line); background: var(--panel);
}
.callout-warn { background: var(--warn-bg); border-color: var(--warn-border); }
.callout-ok { background: var(--ok-bg); border-color: var(--ok-border); }
.callout p { margin: .35rem 0 0; color: var(--ink-body); }
/* Lead success/warn sit on .slab outside .form-on-slab — force readable ink on wash */
.slab .callout,
.slab .callout-ok,
.slab .callout-warn {
  color: var(--ink);
  background: var(--ok-bg);
  border-color: var(--ok-border);
}
.slab .callout-warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}
.slab .callout p,
.slab .callout-ok p,
.slab .callout-warn p {
  color: var(--ink-body);
}

/* —— Forms (paper + dark slab variants) —— */
.form-panel {
  margin-top: 2rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem;
}
.form-panel.form-on-slab,
.slab .form-panel {
  background: transparent; border: none; padding: 0; margin-top: 0;
  max-width: none;
}
.lead-form { display: grid; gap: .85rem; }
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-top: 1rem;
}
.lead-form-grid .span-brief,
.lead-form-grid .span-full,
.lead-form-grid .span-submit {
  grid-column: 1 / -1;
}
.lead-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .85rem; color: var(--ink); }
.form-on-slab label, .slab .lead-form label { color: var(--on-slab); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-weight: 400; padding: .7rem .85rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--panel); color: var(--ink);
}
.form-on-slab input,
.form-on-slab select,
.form-on-slab textarea,
.slab .lead-form input,
.slab .lead-form select,
.slab .lead-form textarea {
  background: var(--slab-elev); border-color: transparent; color: var(--on-slab);
}
.form-on-slab input::placeholder,
.form-on-slab textarea::placeholder,
.slab .lead-form input::placeholder,
.slab .lead-form textarea::placeholder {
  color: var(--on-slab-muted);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--accent-bright); outline-offset: 1px;
}
.form-on-slab .muted, .slab .lead-form .muted { color: var(--on-slab-muted); }
.form-on-slab .callout { background: var(--slab-elev); border-color: transparent; color: var(--on-slab); }
.form-on-slab .callout-ok { border-left: 3px solid var(--ok); }
.form-on-slab .callout-warn { border-left: 3px solid var(--warn); }
.form-on-slab .callout p { color: var(--on-slab-body); }
.hp {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px;
  overflow: hidden;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line); padding: 2rem 0 3rem; margin-top: auto;
  background: var(--panel);
}
.footer-main { display: grid; gap: .5rem; min-width: min(100%, 18rem); flex: 1 1 14rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 2rem;
}
.footer-aside {
  display: grid;
  gap: .65rem;
  justify-items: end;
  text-align: right;
  margin-left: auto;
  flex: 0 1 20rem;
  min-width: min(100%, 12rem);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-seller,
.footer-rekviz {
  font-size: .78rem;
  color: var(--muted);
  max-width: 20rem;
  text-align: right;
  margin-left: auto;
}
.footer-seller-line { margin: 0; color: var(--ink-body, var(--ink)); }
.footer-seller-meta { margin: .15rem 0 0; }
.footer-aside .footer-contacts {
  justify-content: flex-end;
  text-align: right;
}
.footer-contacts,
.contact-channel-list,
.docs-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  font-size: .95rem;
}
.footer-no-refund {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.footer-no-refund a { color: inherit; }
.contact-channels { margin: 1.25rem 0; }
.contact-channels-lead { color: var(--muted); margin-bottom: .5rem; }
.docs-legal {
  margin: 1.75rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
}
.docs-legal-heading { margin: 0 0 .65rem; font-size: 1.1rem; }
.legal-operator,
.privacy-contacts { margin-top: 1.5rem; }

/* —— Consent —— */
.consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  backdrop-filter: blur(8px);
}
.consent-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.consent-actions { display: flex; gap: .5rem; }

.prose { max-width: 42rem; }
.prose p { color: var(--ink-body); }
.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--ink);
}
.prose .lead { margin-bottom: 1.25rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* —— Home / section utilities (V12) —— */
.section-head { max-width: 40rem; margin-bottom: 1rem; }
.section-head .lead { margin-top: .5rem; }
.section-head-center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.platform-head { padding-top: 1rem; max-width: 40rem; }
.band {
  background: var(--canvas);
  margin: 2rem calc(50% - 50vw) 0;
  padding: 2rem calc(50vw - 50%);
  border-block: 1px solid var(--line);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.15rem;
}
.chip-row-center {
  max-width: 48rem;
  margin: 1rem auto 0;
}
.chip-card {
  flex: 1 1 180px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.chip-card h3 {
  margin: 0 0 .35rem;
  font-size: .98rem;
  letter-spacing: -0.01em;
}
.chip-card p {
  margin: 0;
  color: var(--ink-body);
  font-size: .92rem;
}
.docs-body { max-width: 40rem; margin-inline: auto; }
.docs-faq {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0 0 1.25rem;
}
.docs-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius, .5rem);
  background: var(--panel);
  padding: 0;
  overflow: hidden;
}
.docs-faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: .85rem 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.docs-faq-item > summary::-webkit-details-marker { display: none; }
.docs-faq-item > summary::before {
  content: "+";
  display: inline-block;
  width: 1.1rem;
  margin-right: .4rem;
  color: var(--muted);
  font-weight: 500;
}
.docs-faq-item[open] > summary::before { content: "–"; }
.docs-faq-answer {
  padding: 0 1rem 1rem 2.35rem;
  color: var(--ink-body);
  font-size: .95rem;
  line-height: 1.55;
  white-space: pre-line;
}
.docs-cta { justify-content: center; margin-top: 1.5rem; }
ul.clean {
  margin: .5rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-body);
}
ul.clean li { margin: .25rem 0; }

/* Pricing compare table */
.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin: 1.25rem 0 .5rem;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 640px;
}
.price-table th,
.price-table td {
  padding: .75rem .9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  background: var(--canvas);
  font-size: .78rem;
  font-family: var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.price-table thead th:first-child { color: var(--ink); }
.price-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  width: 28%;
}
.price-table td { color: var(--ink-body); }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .col-support { border-top: 3px solid var(--rail-support); }
.price-table .col-content { border-top: 3px solid var(--rail-content); }
.price-table .col-imba { border-top: 3px solid var(--rail-imba); }
.price-table .col-games { border-top: 3px solid var(--rail-games); }
.price-table .cell-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-table .cell-muted { color: var(--muted); font-size: .88rem; }
.price-table .yes { color: var(--ok); font-weight: 600; }
.price-table .no { color: var(--muted); }
.meta { color: var(--muted); font-size: .9rem; }

main { flex: 1; padding-bottom: 3rem; }
main.wrap { flex: 1 0 auto; width: min(var(--max), calc(100% - 2rem)); }

/* —— Login —— */
.login-section { max-width: 32rem; margin-inline: auto; }
.login-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 6px);
  border-left: 4px solid var(--accent);
}
.login-block + .login-block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.login-block h2 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.login-oauth-actions {
  display: flex; flex-wrap: wrap; gap: .65rem;
  margin-top: .75rem;
}
.stack-form {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: .75rem;
}
.stack-form label {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .9rem; font-weight: 500;
}
.stack-form input[type="email"],
.stack-form input[type="password"],
.stack-form input[type="text"] {
  padding: .55rem .7rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm, 6px);
  font: inherit; background: var(--paper); color: var(--ink);
}
.stack-form input[type="email"]:focus,
.stack-form input[type="password"]:focus,
.stack-form input[type="text"]:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.consent-check {
  font-weight: 500;
}
.consent-check-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 400;
  font-size: .88rem;
  line-height: 1.4;
}
.consent-check-row input[type="checkbox"] {
  margin-top: .2rem;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}
.consent-check-text a {
  color: var(--accent-bright, var(--accent));
  text-decoration: underline;
}
.form-on-slab .consent-check-text a {
  color: var(--on-slab);
}
.login-links {
  margin-top: .85rem;
  display: flex; flex-wrap: wrap; gap: .35rem .65rem;
  align-items: center;
}
.login-links a { color: var(--accent); text-decoration: none; }
.login-links a:hover { text-decoration: underline; }
.form-error {
  color: var(--warn, #b45309);
  font-weight: 600;
  margin: 1rem 0 0;
}

/* ── UI slider (home) ─────────────────────────────────────────────── */
.ui-slider {
  max-width: 52rem;
  margin: 0 auto;
  outline: none;
}
.ui-slider-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 6px);
  background: var(--panel);
}
.ui-slider-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.ui-slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 100%;
}
.ui-slide-frame {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ui-slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ui-slide-placeholder .ui-slide-ph {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
}
.ui-slide-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  padding: .85rem 1rem 1rem;
}
.ui-slide-caption-text {
  font-weight: 600;
}
.ui-slide-product {
  margin-left: auto;
  text-transform: lowercase;
  opacity: .75;
}
.ui-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: .85rem;
}
.ui-slider-btn {
  min-width: 2.25rem;
  padding: .35rem .55rem;
  line-height: 1;
  font-size: 1.25rem;
}
.ui-slider-dots {
  display: flex;
  gap: .4rem;
}
.ui-slider-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0;
  cursor: pointer;
}
.ui-slider-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .ui-slider-track { transition: none; }
}

/* ── Product videos picker ────────────────────────────────────────── */
.video-picker {
  margin-top: 1rem;
}
.video-picker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}
.video-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.chip-btn.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.provider-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--panel);
}
.provider-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: .45rem .85rem;
  cursor: pointer;
}
.provider-btn + .provider-btn {
  border-left: 1px solid var(--line);
}
.provider-btn.is-active {
  background: var(--accent);
  color: var(--paper, #fff);
}
.video-frame-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 6px);
  background: var(--panel);
  overflow: hidden;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-unavailable {
  padding: 1.25rem;
  margin: 0;
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .card-grid-2col { grid-template-columns: 1fr; }
  .header-centered .header-inner {
    grid-template-columns: 1fr auto;
  }
  .header-centered .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }
  .video-picker-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .nav { width: 100%; order: 3; margin-left: 0; }
  .lead-form-grid { grid-template-columns: 1fr; }
  .editorial h1 { max-width: none; }
}
