/* blackjack-ca-online.com — main stylesheet */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/sourcesans3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/sourcesans3-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}

:root {
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --c-surface: #faf7f1;
  --c-surface-2: #f4eee3;
  --c-card: #fff;
  --c-band: #eae0cd;
  --c-line: #e2d9c9;
  --c-ink: #1c1a16;
  --c-ink-90: rgba(28, 26, 22, .9);
  --c-ink-70: rgba(28, 26, 22, .7);
  --c-muted: #5e5849;
  --c-brand: #1e5b47;
  --c-brand-strong: #2a7459;
  --c-brand-soft: #e3efe8;
  --c-accent: #8a5a2b;
  --c-positive: #2f7d4f;
  --c-rating: #8a6400;
  --c-red: #b3261e;
  --c-footer: #efe6d5;

  --radius-card: 10px;
  --radius-btn: 8px;
  --w-content: 1060px;
  --w-wide: 1200px;
  --header-h: 64px;
  --hero-h: 380px;
  --gap-section: 36px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 128px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--c-surface);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
strong, b { font-weight: 700; }
small { font-size: 80%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
h3 { font-size: clamp(1.18rem, 2.05vw, 1.42rem); }

:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--radius-btn);
}
.skip-link:focus { top: 10px; }

main { flex: 1; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }

.block {
  width: 100%;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin: 0 auto var(--gap-section);
  padding-inline: var(--gutter);
}

.panel {
  width: 100%;
  max-width: var(--w-wide);
  margin: 8px auto 16px;
  padding: 24px 0 28px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px -50px rgba(0, 0, 0, .65);
}
.panel > :last-child { margin-bottom: 0; }

.block-title {
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.block-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 11px;
  border-radius: 1px;
  background: var(--c-brand);
}
.block-lead {
  max-width: 42rem;
  margin-top: 8px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--c-muted);
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.hdr__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hdr__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hdr__flag { width: 30px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hdr__cta {
  justify-self: end;
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, #4a7c6b, var(--c-brand) 62%);
  color: #fdfbf6;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px -8px rgba(30,91,71,.6);
  transition: filter .15s, box-shadow .15s;
}
.hdr__cta:hover { filter: brightness(1.06); }
.hdr__right { display: flex; align-items: center; justify-self: end; gap: 10px; }
.hdr__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-btn);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-ink);
  white-space: nowrap;
}
.hdr__lang:hover { background: var(--c-surface-2); }
.hdr__lang .lang__full { display: none; }
.mnav__lang { display: block; margin-top: 14px; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--radius-btn); font-weight: 700; text-align: center; }
.mnav__lang .lang__short { display: none; }
.ftr__lang .lang__short { display: none; }
.hdr__burger {
  display: none;
  justify-self: end;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-btn);
  background: var(--c-surface);
}
.hdr__burger span { display: block; height: 2px; border-radius: 2px; background: var(--c-ink); transition: transform .2s, opacity .2s; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { justify-self: center; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--radius-btn);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--c-surface-2); }
.nav__link.is-active { color: var(--c-brand-strong); background: var(--c-brand-soft); }
.nav__chev { font-size: .6rem; opacity: .6; }
.nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  min-width: 230px;
  padding: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__drop a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .9rem;
}
.nav__drop a:hover { background: var(--c-surface-2); color: var(--c-brand-strong); }
.nav__drop .nav__all { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--c-line); border-radius: 0 0 8px 8px; font-weight: 600; color: var(--c-brand-strong); }
.nav li.has-drop:hover > .nav__drop,
.nav li.has-drop:focus-within > .nav__drop { display: flex; }
.nav li.has-drop:last-child > .nav__drop,
.nav li.has-drop:nth-last-child(2) > .nav__drop { left: auto; right: 0; }

.mnav {
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 18px;
  border-top: 1px solid var(--c-line);
}
.mnav > ul > li { border-bottom: 1px solid var(--c-line); }
.mnav > ul > li:last-child { border-bottom: 0; }
.mnav > ul > li > a,
.mnav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "▾"; font-size: .75rem; color: var(--c-muted); transition: transform .15s; }
.mnav details[open] summary::after { transform: rotate(180deg); }
.mnav details ul { padding-bottom: 8px; }
.mnav details a { display: block; padding: 8px 2px 8px 14px; color: var(--c-muted); }
.mnav details a:hover { color: var(--c-brand-strong); }
.mnav__cta { display: block; margin-top: 14px; padding: 12px; border-radius: var(--radius-btn); background: var(--c-brand); color: #fff; font-weight: 700; text-align: center; }

@media (max-width: 1023px) {
  .nav { display: none; }
  .hdr__inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .hdr__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 10px 16px; font-size: .85rem; }
  .hdr__lang { display: none; }
  .hdr__burger { display: flex; }
}
@media (min-width: 1024px) { .mnav { display: none !important; } }
@media (max-width: 380px) {
  .hdr__brand { font-size: 1.12rem; }
  .hdr__flag { width: 24px; height: 12px; }
  .hdr__cta { padding: 10px 12px; font-size: .8rem; }
}

/* ---------- sticky TOC ---------- */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1px);
  z-index: 30;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-line);
}
.toc__inner {
  display: flex;
  align-items: center;
  height: 48px;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.toc__list {
  display: flex;
  flex: 1;
  min-width: 0;
  justify-content: safe center;
  gap: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  white-space: nowrap;
}
.toc__list::-webkit-scrollbar { display: none; }
.toc.has-overflow.at-start .toc__list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.toc.has-overflow.at-end .toc__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.toc.has-overflow:not(.at-start):not(.at-end) .toc__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px calc(100% - 40px), transparent); }
.toc__list a {
  display: block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
  transition: background .15s;
}
.toc__list a:hover { background: rgba(28,26,22,.08); }
.toc__list a.is-active { background: rgba(28,26,22,.12); font-weight: 600; box-shadow: inset 0 0 0 1px var(--c-line); }
@media (max-width: 719px) {
  .toc__inner { height: 40px; padding-inline: 10px; }
  .toc__list { justify-content: flex-start; gap: 0; }
  .toc__list a { padding: 5px 9px; font-size: .78rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: var(--hero-h);
  background: var(--c-surface-2) url("/assets/img/hero-pattern.svg") 100% 50% / cover no-repeat;
  border-bottom: 1px solid var(--c-line);
}
.hero__pad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: var(--hero-h);
  padding-block: 32px 40px;
}
.hero__inner { max-width: 720px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-size: .75rem;
  font-weight: 600;
}
.chip--line { background: transparent; border: 1px solid var(--c-line); color: var(--c-muted); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero h1 { margin: 12px 0 14px; text-wrap: balance; }
.hero__sub { max-width: 42rem; color: var(--c-muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-btn);
  background: var(--c-brand);
  color: #fdfbf6;
  font-weight: 600;
  transition: background .15s;
}
.btn-main:hover { background: var(--c-brand-strong); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #c3d3c9;
  border-radius: var(--radius-btn);
  color: var(--c-brand);
  font-weight: 600;
  transition: background .15s;
}
.btn-ghost:hover { background: rgba(30,91,71,.08); }

.byline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--c-muted);
}
.byline__avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--c-brand), var(--c-brand-strong));
  color: #fff;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .02em;
}
.byline__name { color: var(--c-ink); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .15s; }
.byline__name:hover { border-bottom-color: var(--c-brand); }

.byline > span:last-child { flex: 1; min-width: 0; }
@media (max-width: 719px) {
  :root { --hero-h: 0px; }
  .hero { background: linear-gradient(160deg, #f1e9d9 0%, #f7f2e8 60%, #eef1ea 100%); }
  .hero__pad { padding-block: 26px 28px; }
  .hero h1 { font-size: clamp(1.6rem, 7.2vw, 2rem); margin-block: 12px; }
  .hero__sub { font-size: .97rem; line-height: 1.55; }
  .hero__actions { width: 100%; margin-top: 20px; }
  .hero__actions > a { flex: 1 1 100%; }
  .byline { align-items: flex-start; }
}

/* ---------- ranking band ---------- */
.rank-band {
  margin-bottom: var(--gap-section);
  padding-block: 28px;
  background: var(--c-band);
  border-bottom: 1px solid var(--c-line);
}
.rank-band__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.rank-band__note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.rank-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.cc {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 9.34px);
  min-width: 0;
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.35);
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.cc:hover { border-color: #b9ae9b; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); transform: translateY(-1px); }
.cc__main {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  grid-template-areas: "rank name rating" "logo logo logo" "offer offer offer" "cta cta cta";
  gap: 10px 8px;
  padding: 14px 14px 12px;
  flex: 1;
}
.cc__rank {
  grid-area: rank;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-surface-2);
  font-size: .78rem;
  font-weight: 700;
}
.cc:first-child .cc__rank { background: var(--c-brand); color: #fff; }
.cc__name { grid-area: name; min-width: 0; }
.cc__name h3 { font-size: 1.32rem; line-height: 1.12; letter-spacing: -.01em; }
.cc__name h3 a:hover { color: var(--c-brand-strong); }
.cc__sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin-top: 3px;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--c-muted);
}
.cc__rating {
  grid-area: rating;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--c-rating);
  white-space: nowrap;
}
.cc__rating small { font-size: .72em; font-weight: 500; color: var(--c-muted); }
.cc__logo { grid-area: logo; display: flex; align-items: center; justify-content: center; height: 64px; }
.cc__logo img { max-height: 52px; width: auto; object-fit: contain; }
.logo-mono {
  display: grid;
  place-items: center;
  min-width: 132px;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, hsl(var(--h, 160) 40% 32%), hsl(calc(var(--h, 160) + 24) 38% 20%));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px -4px rgba(0,0,0,.5);
}
.cc__offer { grid-area: offer; text-align: center; }
.cc__label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
  white-space: nowrap;
}
.cc__offer strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  margin-top: 2px;
  font-size: 1.04rem;
  line-height: 1.25;
}
.cc__cta { grid-area: cta; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  background: var(--c-brand);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.btn-play:hover { background: var(--c-brand-strong); }
.btn-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid #c3d3c9;
  border-radius: var(--radius-btn);
  color: var(--c-brand);
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.btn-review:hover { background: rgba(30,91,71,.08); }
.cc__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 14px 12px;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
}
.cc__fact { min-width: 0; }
@media (min-width: 640px) { .cc__facts { min-height: 96px; align-content: start; } }
.cc__fact strong { display: block; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.cc__terms { grid-column: 1 / -1; font-size: .66rem; line-height: 1.35; color: var(--c-muted); }
.cc__badge {
  position: absolute;
  top: 0;
  right: 14px;
  padding: 3px 9px;
  border-radius: 0 0 8px 8px;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cc__badge + .cc__main .cc__rating { margin-top: 14px; }
@media (max-width: 923px) { .cc { flex-basis: calc(50% - 7px); } }
@media (max-width: 639px) { .cc { flex-basis: 100%; } .rank-band { padding-block: 20px; } }

/* ---------- prose ---------- */
.prose { font-size: 17px; line-height: 1.8; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 0; margin-bottom: 4px; }
.prose h3 { margin-top: 28px; margin-bottom: -6px; }
.prose a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--c-brand-strong); }
.prose ul { padding-left: 1.4rem; list-style: disc; }
.prose ol { padding-left: 1.4rem; list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--c-brand); }
.prose .answer { font-size: 1.02rem; }
.full-guide {
  display: block;
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.6;
}
.full-guide a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- tables ---------- */
.tbl {
  position: relative;
  margin-top: 22px;
}
.tbl + .prose, .steps + .prose, .features + .prose, .checks + .prose { margin-top: 20px; }
.tbl__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  background: var(--c-card);
  scrollbar-width: thin;
}
.tbl table { width: 100%; min-width: var(--tmin, 0); font-size: .93rem; line-height: 1.5; }
.tbl caption { padding: 0 0 8px; caption-side: top; text-align: left; font-size: .8rem; color: var(--c-muted); }
.tbl th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface-2);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: left;
  color: var(--c-ink-70);
  white-space: nowrap;
}
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  color: var(--c-ink-90);
}
.tbl tbody tr:nth-child(even) td { background: #fcfaf6; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(227,239,232,.45); }
.tbl td:first-child { font-weight: 600; color: var(--c-ink); }
@media (min-width: 601px) { .tbl td:first-child { white-space: nowrap; } }
.tbl td a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 2px; }
.tbl .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .good { color: var(--c-positive); font-weight: 600; }
.tbl .bad { color: var(--c-red); font-weight: 600; }
.tbl__fade { display: none; }
@media (max-width: 600px) {
  .tbl__scroll { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .tbl table { min-width: 0 !important; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td, .tbl caption { display: block; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); }
  .tbl td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) 1fr;
    gap: 10px;
    padding: 9px 14px;
    background: none !important;
    font-size: .9rem;
  }
  .tbl td::before {
    content: attr(data-label);
    padding-top: 2px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
  .tbl td[data-label=""]::before { display: none; }
  .tbl td[data-label=""] { display: block; }
  .tbl td:first-child { display: block; padding: 10px 14px; background: var(--c-surface-2) !important; font-family: var(--font-display); font-size: 1.04rem; }
  .tbl td:first-child::before { display: none; }
  .tbl tbody tr:last-child td { border-bottom: 1px solid var(--c-line); }
  .tbl td:last-child, .tbl tbody tr:last-child td:last-child { border-bottom: 0; }
  .tbl__fade { display: none !important; }
}
@media (min-width: 601px) and (max-width: 767px) {
  .tbl__fade { display: block; position: absolute; top: 1px; bottom: 1px; right: 1px; width: 36px; border-radius: 0 var(--radius-card) var(--radius-card) 0; background: linear-gradient(to left, var(--c-card), transparent); pointer-events: none; transition: opacity .2s; }
  .tbl.is-end .tbl__fade { opacity: 0; }
  .tbl table { font-size: .88rem; }
  .tbl th, .tbl td { padding: 10px 12px; }
}

/* ---------- numbered / check lists ---------- */
.steps { display: grid; gap: 16px; margin-top: 22px; }
.steps li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.steps__n {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-brand);
}
.steps__t { display: block; font-weight: 600; color: var(--c-ink); }
.steps__d { display: block; color: var(--c-muted); }

.checks { display: grid; gap: 16px 32px; margin-top: 22px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.checks__i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
}
.checks__i svg { width: 14px; height: 14px; }
.checks--warn .checks__i { background: #f6e3df; color: var(--c-red); }

/* ---------- feature grid ---------- */
.features { display: grid; gap: 18px 28px; margin-top: 22px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  transition: background .2s, color .2s, transform .2s;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature:hover .feature__icon { background: var(--c-brand); color: #fff; transform: translateY(-2px); }
.feature__t { display: block; font-size: 1.02rem; font-weight: 650; line-height: 1.3; }
.feature__d { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--c-muted); }
.feature__w { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--c-surface-2); font-size: .7rem; font-weight: 600; color: var(--c-muted); vertical-align: 2px; }

/* ---------- stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  background: var(--c-surface);
}
.stat__v { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; color: var(--c-brand); }
.stat__l { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.4; color: var(--c-muted); }

/* ---------- strategy chart ---------- */
.chart-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.chart-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  font-size: .86rem;
  font-weight: 600;
}
.chart-tabs button[aria-selected="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.chart { margin-top: 12px; overflow-x: auto; }
.chart table { width: 100%; min-width: 420px; table-layout: fixed; font-size: .82rem; text-align: center; }
.chart th, .chart td { padding: 6px 2px; border: 2px solid var(--c-card); font-weight: 700; }
.chart thead th { background: var(--c-ink); color: #fff; font-size: .78rem; }
.chart thead th:first-child { width: 64px; }
.chart tbody th { background: var(--c-surface-2); font-size: .8rem; }
.chart .H, .chart-legend .H { background: #f3d9d2; color: #8f2b1f; }
.chart .S, .chart-legend .S { background: #f7e9b8; color: #6b5100; }
.chart .D, .chart-legend .D { background: #cfe5d8; color: #1e5b47; }
.chart .P, .chart-legend .P { background: #d9e2f3; color: #2c4a86; }
.chart .Ds, .chart-legend .Ds { background: #cfe5d8; color: #1e5b47; }
.chart .Rh, .chart .Rs, .chart .Rp, .chart-legend .Rh, .chart-legend .Rs, .chart-legend .Rp { background: #e6dcf1; color: #5b3a86; }
.chart caption { caption-side: top; padding: 4px 2px 8px; text-align: left; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--c-ink); }
.chart-grid .chart + .chart { margin-top: 18px; }
.chart td[data-cell] { cursor: pointer; }
.chart td.is-on { outline: 3px solid var(--c-ink); outline-offset: -3px; }
.chart-rules { margin-top: 0; }
.chart-rule-line { margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--c-muted); }
.chart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media print {
  body.print-chart * { visibility: hidden; }
  body.print-chart .chart-print, body.print-chart .chart-print * { visibility: visible; }
  body.print-chart .chart-print { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
  body.print-chart .chart-rules, body.print-chart .chart-actions, body.print-chart [data-out=cell] { display: none; }
  body.print-chart .chart td, body.print-chart .chart th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: .84rem; color: var(--c-muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 4px; border-radius: 4px; font-style: normal; font-size: .72rem; font-weight: 700; }
.chart-card { margin-top: 18px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); }
.chart-card .chart-tabs { margin-top: 0; }
@media (max-width: 600px) {
  .chart-card { padding: 12px 8px; }
  .chart-card .chart-tabs { padding-inline: 4px; }
  .chart table { min-width: 0; font-size: .72rem; }
  .chart thead th:first-child { width: 42px; }
  .chart th, .chart td { padding: 6px 0; border-width: 1px; }
  .chart thead th { font-size: .7rem; }
  .chart tbody th { font-size: .7rem; }
  .chart-legend { padding-inline: 4px; font-size: .8rem; }
}

/* ---------- callout ---------- */
.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-brand);
  border-radius: 12px;
  background: var(--c-card);
  color: var(--c-brand);
}
.callout--info { border-left-color: var(--c-accent); color: var(--c-accent); }
.callout__icon {
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.callout__icon svg { width: 18px; height: 18px; }
.callout__label { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.callout__text { color: var(--c-ink); font-size: .95rem; line-height: 1.65; }
.callout__text p + p { margin-top: 8px; }
.callout__text a { color: var(--c-brand-strong); text-decoration: underline; }
@media (max-width: 719px) { .callout { padding: 14px; gap: 12px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq__item {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  transition: border-color .15s;
}
.faq__item:hover { border-color: #c4b9a5; }
.faq__item[open] { border-color: #9fbcb0; }
.faq__sum {
  position: relative;
  display: block;
  padding: 14px 52px 14px 18px;
  cursor: pointer;
  list-style: none;
}
.faq__sum::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; transition: color .15s; }
.faq__item[open] .faq__q { color: var(--c-brand-strong); }
.faq__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-brand);
  transform: translateY(-50%);
  line-height: 1;
}
.faq__icon::before { content: "+"; }
.faq__item[open] .faq__icon { border-color: #8fb3a4; background: rgba(30,91,71,.1); }
.faq__item[open] .faq__icon::before { content: "−"; }
.faq__a { padding: 0 18px 16px; color: var(--c-muted); font-size: .96rem; line-height: 1.7; }
.faq__a a { color: var(--c-brand); text-decoration: underline; }
@media (max-width: 719px) {
  .faq__sum { padding: 13px 46px 13px 14px; }
  .faq__q { font-size: .96rem; }
  .faq__a { padding: 0 14px 14px; }
}

/* ---------- author card ---------- */
.author-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  background: var(--c-surface);
}
.author-card__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author-card__photo.avatar-fallback { font-size: 1.6rem; }
.author-card__role { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.author-card__name { margin-top: 2px; font-size: 1.35rem; }
.author-card__name a:hover { color: var(--c-brand-strong); }
.author-card__bio { margin-top: 8px; font-size: .95rem; line-height: 1.65; color: var(--c-ink-90); }
.author-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.author-card__tags li { padding: 4px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface-2); font-size: .8rem; }
@media (max-width: 559px) {
  .author-card { grid-template-columns: 1fr; }
  .author-card__photo { width: 72px; height: 72px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--c-brand) url("/assets/img/cta-pattern.svg") right center / auto 100% no-repeat;
  color: #fff;
}
.cta-banner__text { flex: 1 1 380px; min-width: 0; }
.cta-banner h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.2; }
.cta-banner p { max-width: 62ch; margin-top: 8px; opacity: .9; }
.cta-banner small { display: block; margin-top: 8px; opacity: .78; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-banner__primary, .cta-banner__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  white-space: nowrap;
}
.cta-banner__primary { background: var(--c-surface); color: var(--c-brand); }
.cta-banner__primary:hover { background: #fff; }
.cta-banner__secondary { border: 1px solid rgba(255,255,255,.7); }
.cta-banner__secondary:hover { background: rgba(255,255,255,.1); }
@media (max-width: 719px) {
  .cta-banner { padding: 22px 18px; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions a { flex: 1 1 auto; justify-content: center; }
}

/* ---------- footer ---------- */
.ftr {
  margin-top: var(--gap-section);
  background: var(--c-footer);
  border-top: 1px solid var(--c-line);
}
.ftr__main {
  display: grid;
  grid-template-columns: 1.3fr 2.4fr;
  gap: 32px;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 36px var(--gutter) 28px;
}
.ftr__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.ftr__desc { max-width: 36ch; margin-top: 10px; font-size: .95rem; line-height: 1.6; color: var(--c-muted); }
.ftr__age { display: flex; align-items: baseline; gap: 6px 10px; margin-top: 14px; font-size: .85rem; line-height: 1.5; color: var(--c-muted); }
.age-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid #cfc4b1;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-ink);
}
.ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.ftr__title { margin-bottom: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.ftr__col li + li { margin-top: 6px; }
.ftr__col a { font-size: .93rem; color: var(--c-muted); }
.ftr__col a:hover { color: var(--c-brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { border-top: 1px solid var(--c-line); }
.ftr__bottominner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 12px var(--gutter);
  font-size: .82rem;
  color: var(--c-muted);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ftr__legal a:hover { color: var(--c-ink); text-decoration: underline; }
.ftr__help { max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) 22px; font-size: .8rem; line-height: 1.6; color: var(--c-muted); }
@media (max-width: 899px) {
  .ftr__main { grid-template-columns: 1fr; gap: 26px; padding-block: 28px 22px; }
  .ftr__main > :first-child { order: 2; }
  .ftr__bottominner { flex-direction: column; text-align: center; gap: 14px; padding-block: 16px; }
  .ftr__legal { justify-content: center; }
}

/* ---------- back to top / sticky CTA ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, background .15s, color .15s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.to-top.is-over-footer { opacity: 0; pointer-events: none; }

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .2s, visibility 0s .2s;
}
.sticky-cta.is-visible { visibility: visible; transition: transform .2s, visibility 0s; }
.sticky-cta__text { display: flex; flex-direction: column; min-width: 0; }
.sticky-cta__text strong { overflow: hidden; font-size: .92rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta__text small { font-size: .68rem; color: var(--c-muted); }
.sticky-cta__btn { flex: none; padding: 10px 20px; border-radius: var(--radius-btn); background: var(--c-brand); color: #fff; font-size: .9rem; font-weight: 600; }
@media (max-width: 719px) {
  .sticky-cta { display: flex; }
  .sticky-cta.is-visible { transform: none; }
  .to-top { right: 14px; bottom: 84px; width: 42px; height: 42px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- compact hero + breadcrumbs (inner pages) ---------- */
.hero--compact, .hero--compact .hero__pad { min-height: 0; }
.hero--compact .hero__pad { padding-block: 22px 32px; }
.hero--compact h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 12px 0 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; line-height: 1.4; color: var(--c-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: #b9ae9b; }
.crumbs a:hover { color: var(--c-brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 500; }

/* ---------- document pages (privacy, terms, about) ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-top: 34px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin-top: 22px; }
.doc .updated { font-size: .88rem; color: var(--c-muted); }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.doc dt { font-weight: 600; }
@media (max-width: 559px) { .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 8px; } }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.form { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-surface); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6ccb9;
  border-radius: var(--radius-btn);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-ink);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--c-brand); outline-offset: 0; border-color: var(--c-brand); }
.form .btn-main { justify-self: start; border: 0; font-size: 1rem; cursor: pointer; }
.form__note { font-size: .82rem; color: var(--c-muted); }
.form__status { font-size: .9rem; color: var(--c-brand-strong); }
.info-card { padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); }
.info-card h2 { font-size: 1.2rem; }
.info-card p { margin-top: 8px; font-size: .95rem; line-height: 1.6; }
.info-card a { color: var(--c-brand); text-decoration: underline; }
@media (max-width: 559px) { .form .btn-main { justify-self: stretch; } }

/* ---------- author page ---------- */
.author-hero { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; }
.author-hero__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: center 30%; box-shadow: 0 12px 30px -14px rgba(0,0,0,.45); }
.author-hero__photo.avatar-fallback { font-size: 2.8rem; }
.author-hero__role { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.author-hero h1 { margin: 6px 0 12px; }
.author-hero__bio { max-width: 62ch; color: var(--c-ink-90); }
.author-hero .author-card__tags { margin-top: 16px; }
@media (max-width: 719px) {
  .author-hero { grid-template-columns: 1fr; gap: 18px; }
  .author-hero__photo { width: 104px; height: 104px; }
  .author-hero__photo.avatar-fallback { font-size: 2rem; }
}
.article-list { display: grid; gap: 10px; margin-top: 18px; }
.article-row { display: block; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.article-row:hover { border-color: var(--c-brand); box-shadow: 0 10px 26px rgba(9,9,14,.07); transform: translateY(-1px); }
.article-row__kind { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--c-brand-soft); color: var(--c-brand-strong); font-size: .7rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.article-row__title { display: block; margin-top: 6px; font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.article-row__desc { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.5; color: var(--c-muted); }

/* ---------- hero breadcrumbs ---------- */
.hero__crumbs { margin-bottom: 14px; }

/* ---------- filter bar ---------- */
.fbar { margin-top: 18px; }
.fbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #cfc4b1;
  border-radius: 999px;
  background: var(--c-surface);
  font-size: .86rem;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.fchip::before { content: "+"; font-weight: 700; color: var(--c-muted); }
.fchip:hover { border-color: var(--c-brand); }
.fchip[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.fchip[aria-pressed="true"]::before { content: "✓"; color: #fff; }
.fbar__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: .86rem; color: var(--c-muted); }
.fbar__sort { display: inline-flex; align-items: center; gap: 6px; }
.fbar__sort select { padding: 5px 8px; border: 1px solid #cfc4b1; border-radius: 6px; background: var(--c-surface); font: inherit; color: var(--c-ink); }
.fbar__reset { padding: 4px 10px; border-radius: 6px; color: var(--c-brand); font-weight: 600; text-decoration: underline; }
.fbar__empty { margin-top: 12px; padding: 12px 14px; border: 1px dashed #cfc4b1; border-radius: var(--radius-card); font-size: .92rem; color: var(--c-muted); }
.rank-grid > [hidden], .tbl tbody > [hidden] { display: none !important; }

/* ---------- calculator ---------- */
.calc { margin-top: 22px; padding: 18px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: 0 16px 40px -34px rgba(0,0,0,.5); }
.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc__presets span { font-size: .8rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.calc__presets button { padding: 6px 12px; border: 1px solid #cfc4b1; border-radius: 999px; background: var(--c-surface); font-size: .84rem; font-weight: 600; }
.calc__presets button[aria-pressed="true"] { background: var(--c-brand-soft); border-color: var(--c-brand); color: var(--c-brand-strong); }
.calc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin-top: 16px; }
.calc__grid label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--c-ink-90); }
.calc__grid input, .calc__grid select { width: 100%; padding: 9px 10px; border: 1px solid #d6ccb9; border-radius: var(--radius-btn); background: #fff; font: inherit; font-size: .98rem; font-weight: 500; color: var(--c-ink); }
.calc__grid input:focus, .calc__grid select:focus { outline: 2px solid var(--c-brand); outline-offset: 0; }
.calc__out { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.calc__out div { padding: 12px; border-radius: 10px; background: var(--c-surface-2); }
.calc__out dt { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.calc__out dd { margin-top: 4px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.15; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.calc__out .is-key { background: var(--c-brand-soft); }
.calc__out .is-key dd { color: var(--c-brand); }
.calc__out .is-key.is-neg { background: #f6e3df; }
.calc__out .is-key.is-neg dd { color: var(--c-red); }
.mx { display: inline-block; min-width: 22px; font-weight: 700; }
.mx--y { color: var(--c-positive); }
.mx--d { color: var(--c-accent); font-weight: 600; font-size: .86rem; }
.mx--n { color: #b9ae9b; }
.calc__verdict { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--c-line); border-radius: 0 8px 8px 0; background: var(--c-surface); font-size: .92rem; }
.calc__verdict.is-good { border-left-color: var(--c-positive); }
.calc__verdict.is-mid { border-left-color: var(--c-rating); }
.calc__verdict.is-bad { border-left-color: var(--c-red); }
.calc__note { margin-top: 10px; font-size: .8rem; color: var(--c-muted); }
.calc__out dd.calc__small { font-family: var(--font-sans); font-size: .92rem; font-weight: 500; line-height: 1.4; }
.calc__out--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.calc__grid--4, .calc__out--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calc__grid [hidden] { display: none; }
@media (max-width: 860px) {
  .calc__out--3, .calc__out--4 { grid-template-columns: 1fr 1fr; }
  .calc__out.calc__out--4 div:last-child { grid-column: auto; }
  .calc--stack .calc__grid { grid-template-columns: 1fr; }
}
.dice { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; margin-top: 22px; }
.dice__col { display: grid; gap: 4px; text-align: center; }
.dice__bar { display: flex; flex-direction: column-reverse; gap: 2px; height: 96px; justify-content: flex-start; }
.dice__bar span { display: block; height: 14px; border-radius: 3px; background: var(--c-brand); }
.dice__n { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.dice__p { font-size: .72rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .dice__p { font-size: .62rem; } .dice__bar { height: 76px; } .dice__bar span { height: 11px; } }
.calc--live .calc__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .calc--live .calc__grid { grid-template-columns: 1fr 1fr; }
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .calc__grid .wide { grid-column: span 2; }
  .calc__out { grid-template-columns: 1fr 1fr; }
  .calc__out div:last-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .calc { padding: 14px; }
  .calc__grid .wide { grid-column: span 2; }
}

/* ---------- mini reviews ---------- */
.mini { display: grid; gap: 14px; margin-top: 22px; }
.mini__item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); }
.mini__side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mini__side .logo-mono { min-width: 0; width: 100%; height: 46px; font-size: .98rem; }
.mini__score { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--c-rating); }
.mini__side .btn-review { width: 100%; }
.mini__body h3 { font-size: 1.25rem; }
.mini__body h3 a:hover { color: var(--c-brand-strong); }
.mini__body p { margin-top: 8px; font-size: .97rem; line-height: 1.7; }
.mini__body p a { color: var(--c-brand); text-decoration: underline; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 10px; font-size: .9rem; line-height: 1.5; }
.pc li { position: relative; padding-left: 20px; }
.pc li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pc .pro::before { content: "+"; color: var(--c-positive); }
.pc .con::before { content: "−"; color: var(--c-red); }
.mini__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mini__facts span { padding: 3px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); font-size: .78rem; }
@media (max-width: 639px) {
  .mini__item { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .mini__side { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .mini__side .logo-mono { width: auto; min-width: 120px; }
  .mini__side .btn-review { width: auto; margin-left: auto; }
  .pc { grid-template-columns: 1fr; }
}

/* ---------- interactive roulette table ---------- */
.rt { margin-top: 22px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: 0 16px 40px -34px rgba(0,0,0,.5); }
.rt__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.rt__svg { display: block; width: 100%; min-width: 600px; height: auto; user-select: none; }
.rt__cell { stroke: rgba(255,255,255,.85); stroke-width: 1.5; }
.rt__hl { fill: #e7c35a; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rt__zone { cursor: pointer; outline: none; }
.rt__zone text { fill: #fff; font-family: var(--font-sans); font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.rt__zone:hover .rt__hl { opacity: .25; }
.rt__zone:focus-visible .rt__hl { opacity: .35; }
.rt__zone.is-on .rt__hl { opacity: .62; }
.rt__zone.is-on text { fill: #1c1a16; }
.rt__inside { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.rt__inside > span { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); margin-right: 4px; }
.rt__info { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--c-surface-2); }
.rt__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.rt__head strong { font-family: var(--font-display); font-size: 1.15rem; }
.rt__head span { font-size: .88rem; color: var(--c-muted); }
.rt__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.rt__stats div { padding: 8px 10px; border-radius: 8px; background: var(--c-card); }
.rt__stats dt { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.rt__stats dd { margin-top: 2px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rt__note { margin-top: 10px; font-size: .9rem; color: var(--c-ink-90); }
.rt__note:empty { display: none; }
.rt__hint { display: none; margin-top: 8px; font-size: .8rem; color: var(--c-muted); }
@media (max-width: 640px) { .rt__hint { display: block; } }
@media (max-width: 760px) {
  .rt { padding: 12px; }
  .rt__stats { grid-template-columns: 1fr 1fr; }
  .rt__stats div:first-child { grid-column: span 2; }
}

.wheels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin: 22px auto 0; }
.wheels figure { margin: 0; text-align: center; }
.wheels img { width: 100%; height: auto; }
.wheels figcaption { margin-top: 8px; font-size: .85rem; color: var(--c-muted); }

/* ---------- casino review ---------- */
.rhero .hero__pad { padding-block: 28px 40px; }
.rhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.rhero__main { max-width: 720px; }
.score-card { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: 0 18px 44px -30px rgba(0,0,0,.5); text-align: center; }
.score-card__logo .logo-mono { width: 100%; min-width: 0; height: 56px; font-size: 1.15rem; }
.score-card__num { font-family: var(--font-display); line-height: 1; color: var(--c-rating); }
.score-card__num strong { font-size: 3rem; font-weight: 700; }
.score-card__num span { font-size: 1.1rem; font-weight: 500; color: var(--c-muted); }
.score-card__label { margin-top: -6px; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); }
.score-card__offer { padding: 12px; border-radius: 8px; background: var(--c-surface-2); }
.score-card__offer strong { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.3; }
.score-card .btn-play { width: 100%; }
.score-card .cc__terms { display: block; }
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.facts { display: grid; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 16px; font-size: .92rem; line-height: 1.5; }
.facts__row + .facts__row { border-top: 1px solid var(--c-line); }
.facts dt { font-weight: 600; color: var(--c-muted); }
.facts dd a { color: var(--c-brand); text-decoration: underline; }
.pc-box { padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-surface-2); }
.pc-box h3 { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); }
.pc-box h3 + .pc { margin-top: 8px; }
.pc-box .pc + h3 { margin-top: 16px; }
.pc--col { grid-template-columns: 1fr; }
.scores { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .scores { grid-template-columns: 1fr 1fr; gap: 16px 28px; } }
.score__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.score__t { font-weight: 650; }
.score__v { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--c-rating); font-variant-numeric: tabular-nums; }
.score__bar { height: 8px; margin-top: 8px; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.score__bar span { display: block; width: var(--w); height: 100%; border-radius: 999px; background: var(--c-brand); }
.score__d { margin-top: 8px; font-size: .9rem; line-height: 1.55; color: var(--c-muted); }
.test-line { display: grid; gap: 0; margin-top: 22px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); overflow: hidden; }
.test-line > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 16px; font-size: .95rem; line-height: 1.55; }
.test-line > div + div { border-top: 1px solid var(--c-line); }
.test-line dt { font-weight: 600; color: var(--c-muted); }
.test-line dd strong { color: var(--c-brand); }
@media (max-width: 959px) {
  .rhero__grid { grid-template-columns: 1fr; gap: 24px; }
  .score-card { grid-template-columns: 1fr 1fr; text-align: left; align-items: center; }
  .score-card__logo, .score-card__offer, .score-card .btn-play, .score-card .cc__terms { grid-column: span 2; }
  .score-card__label { margin-top: 0; }
  .facts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .facts__row, .test-line > div { grid-template-columns: 1fr; gap: 2px; }
  .score-card { grid-template-columns: 1fr; text-align: center; }
  .score-card__logo, .score-card__offer, .score-card .btn-play, .score-card .cc__terms { grid-column: auto; }
}

/* ---------- 404 / redirect ---------- */
.center-page { max-width: 640px; margin: 0 auto; padding: 64px var(--gutter); text-align: center; }
.center-page h1 { margin: 10px 0 14px; }
.center-page p { color: var(--c-muted); }
.center-page .hero__actions { justify-content: center; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-20 { margin-top: 20px; }
.mt-10 { margin-top: 10px; }
.stack { display: grid; gap: 14px; }
.muted { color: var(--c-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 719px) {
  body { font-size: 16px; }
  .prose { font-size: 16.5px; line-height: 1.75; }
  .panel { margin-block: 8px 12px; padding: 20px 0 22px; border-radius: 14px; border-inline: 0; border-radius: 0; }
  :root { --gap-section: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .hdr, .ftr, .toc, .sticky-cta, .to-top, .rank-band, .cta-banner, .hero__actions { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; box-shadow: none; }
}

/* ---------- blackjack simulator (/simulator/, assets/js/blackjack-sim.js) ---------- */
.bjsim { margin-top: 22px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-card); box-shadow: 0 16px 40px -34px rgba(0,0,0,.5); }
.bjsim .calc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.bjsim__table { margin-top: 16px; padding: 18px 14px 14px; border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, #2c7a60, var(--c-brand) 70%); color: #fdfbf6; }
.bjsim__seat, .bjsim__hand { padding: 6px 0; }
.bjsim__label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: rgba(253,251,246,.85); }
.bjsim__label b { font-size: .95rem; letter-spacing: 0; text-transform: none; color: #fff; }
.bjsim__label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(253,251,246,.75); }
.bjsim__cards { display: flex; flex-wrap: wrap; gap: 6px; min-height: 64px; }
.bjsim__hands { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(253,251,246,.3); }
@media (min-width: 640px) { .bjsim__hands { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.bjsim__hand { padding: 6px 8px; border-radius: 10px; border: 2px solid transparent; }
.bjsim__hand.is-active { border-color: #f2d16b; background: rgba(0,0,0,.12); }
.bjsim__hand.is-win { background: rgba(255,255,255,.14); }
.bjsim__hand.is-lose { opacity: .72; }
.card { position: relative; display: inline-flex; flex-direction: column; justify-content: space-between; width: 44px; height: 62px; padding: 4px 5px; border-radius: 6px; background: #fff; color: var(--c-ink); font-weight: 700; line-height: 1; box-shadow: 0 2px 4px rgba(0,0,0,.35); }
.card--red { color: #b3261e; }
.card__r { font-size: 1rem; }
.card__s { align-self: flex-end; font-size: 1.1rem; }
.card--back { background: repeating-linear-gradient(45deg, #8a2b22 0 4px, #6e1f18 4px 8px); border: 3px solid #fff; }
.bjsim__msg { margin-top: 12px; min-height: 1.4em; font-size: .95rem; font-weight: 600; }
.bjsim__hint { margin-top: 8px; padding: 8px 12px; border-left: 3px solid rgba(255,255,255,.5); border-radius: 0 8px 8px 0; background: rgba(0,0,0,.18); font-size: .88rem; }
.bjsim__hint.is-good { border-left-color: #9fe0b8; }
.bjsim__hint.is-bad { border-left-color: #f2a79f; }
.bjsim__hint.is-mid { border-left-color: #f2d16b; }
.bjsim__hint[hidden] { display: none; }
.bjsim__bet { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin-top: 14px; }
.bjsim__bet label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--c-ink-90); }
.bjsim__bet input { width: 110px; padding: 9px 10px; border: 1px solid #d6ccb9; border-radius: var(--radius-btn); background: #fff; font: inherit; font-size: .98rem; font-weight: 500; }
.bjsim__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bjsim__chips button { min-width: 44px; min-height: 40px; padding: 6px 10px; border: 1px solid #cfc4b1; border-radius: 999px; background: var(--c-surface); font-size: .84rem; font-weight: 700; }
.bjsim__chips button:disabled, .bjsim__actions button:disabled { opacity: .45; cursor: not-allowed; }
.bjsim__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bjsim__actions button { min-height: 44px; padding: 10px 16px; border: 1px solid #c3d3c9; border-radius: var(--radius-btn); background: var(--c-surface); color: var(--c-brand); font-weight: 700; }
.bjsim__actions button:not(:disabled):hover { background: rgba(30,91,71,.08); }
.bjsim__actions button[data-act=ins-yes], .bjsim__actions button[data-act=ins-no] { background: var(--c-brand-soft); }
.bjsim__actions button[hidden] { display: none; }
.bjsim .calc__out { margin-top: 16px; }
.bjsim__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: .8rem; color: var(--c-muted); }
.bjsim__foot button { padding: 4px 10px; border-radius: 6px; color: var(--c-brand); font-weight: 600; text-decoration: underline; }
@media (max-width: 860px) { .bjsim .calc__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bjsim { padding: 12px 10px; } .bjsim .calc__grid { grid-template-columns: 1fr; } .card { width: 40px; height: 56px; } }
