:root {
  --bg-main: #04140F;
  --bg-card: #0B241C;
  --accent: #17E39A;
  --accent-2: #FFC531;
  --text-main: #F1FBF6;
  --text-muted: #7FA697;
  --border: #1C4536;

  --font-head: 'Clash Display', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --pad-x: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 7vw, 5.5rem);

  /* light surfaces for header/footer (logo tone = dark) */
  --surface-light: #F1FBF6;
  --surface-light-2: #E4F2EB;
  --on-light: #04140F;
  --on-light-muted: #3F6153;
  --border-light: #CBE0D6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--text-main);
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }

p { margin: 0 0 1rem; overflow-wrap: anywhere; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

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

/* ============ LAYOUT PRIMITIVES ============ */
.ivd-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* strips archetype: full-width sections with alternating bands */
.ivd-section {
  padding-block: var(--section-y);
  background: var(--bg-main);
}
.ivd-section--alt { background: var(--bg-card); }
.ivd-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

.ivd-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.ivd-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 62ch; }

/* ============ BUTTONS ============ */
.ivd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #04140F;
  background: linear-gradient(135deg, #17E39A 0%, #0FA873 100%);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-align: center;
}
.ivd-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(23,227,154,.5);
  filter: brightness(1.03);
}
.ivd-btn--gold {
  background: var(--accent-2);
  box-shadow: 0 0 22px rgba(255,197,49,.35);
}
.ivd-btn--gold:hover { box-shadow: 0 0 32px rgba(255,197,49,.6); }
.ivd-btn--ghost {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border);
}
.ivd-btn--ghost:hover { border-color: var(--accent); box-shadow: none; color: var(--accent); }
.ivd-btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.ivd-btn--block { width: 100%; }

/* ============ HEADER (light surface — logo tone dark) ============ */
.ivd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(4,20,15,.04);
}
.ivd-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: .5rem;
}
.ivd-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.ivd-logo__img {
  height: 40px;
  width: auto;
  max-width: min(45vw, 190px);
  object-fit: contain;
  display: block;
}
.ivd-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.ivd-nav a:not(.ivd-btn) {
  color: var(--on-light);
  font-weight: 600;
  font-size: .96rem;
  padding: .4rem 0;
  position: relative;
}
.ivd-nav a:not(.ivd-btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .2s ease;
}
.ivd-nav a:not(.ivd-btn):hover { text-decoration: none; }
.ivd-nav a:not(.ivd-btn):hover::after { width: 100%; }
.ivd-nav .ivd-btn { color: #04140F; }
.ivd-nav > .ivd-btn { display: none; }

.ivd-header__cta { flex-shrink: 0; }

.ivd-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.ivd-burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--on-light);
  transition: transform .25s ease, opacity .2s ease;
}
.ivd-header.is-open .ivd-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ivd-header.is-open .ivd-burger span:nth-child(2) { opacity: 0; }
.ivd-header.is-open .ivd-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .ivd-burger { display: flex; }
  .ivd-header__cta { display: none; }
  .ivd-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-light);
    border-bottom: 1px solid var(--border-light);
    padding: .5rem var(--pad-x) 1.4rem;
    box-shadow: 0 16px 30px rgba(4,20,15,.14);
  }
  .ivd-header.is-open .ivd-nav { display: flex; }
  .ivd-nav a:not(.ivd-btn) {
    padding: .95rem .2rem;
    border-bottom: 1px solid var(--border-light);
  }
  .ivd-nav > .ivd-btn { display: flex; width: 100%; margin-top: 1rem; }
}

/* ============ HERO (stacked pattern) ============ */
.ivd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(23,227,154,.22), transparent 42%),
    radial-gradient(circle at 88% 96%, rgba(255,197,49,.18), transparent 46%),
    var(--bg-main);
  padding-block: clamp(3.2rem, 8vw, 6rem);
}
.ivd-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}
.ivd-hero h1 { max-width: 16ch; }
.ivd-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}
.ivd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}
.ivd-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .3rem;
}
.ivd-store-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: .85rem;
  font-weight: 600;
}
.ivd-store-badge:hover { text-decoration: none; border-color: var(--accent); }
.ivd-hero__visual {
  width: 100%;
  margin-top: .8rem;
}
.ivd-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.ivd-hero__visual:not(:has(.ivd-hero__img)) {
  aspect-ratio: 16/7;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 25% 30%, rgba(23,227,154,.3), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(255,197,49,.28), transparent 55%),
    var(--bg-card);
}

/* ============ ICONS ============ */
.ivd-icon {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
}

/* ============ PAGE HEADER (inner pages) ============ */
.ivd-page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(23,227,154,.16), transparent 50%),
    var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.ivd-page-header h1 { margin-bottom: .5rem; }
.ivd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}
.ivd-breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.ivd-breadcrumb li + li::before { content: '/'; color: var(--border); }
.ivd-breadcrumb a { color: var(--text-muted); }
.ivd-breadcrumb a:hover { color: var(--accent); }

/* ============ OVERVIEW ============ */
.ivd-overview h2 { margin-bottom: .6rem; }
.ivd-overview p { color: var(--text-muted); }

/* ============ FEATURE CARDS (grid pattern) ============ */
.ivd-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: 2rem;
}
.ivd-feature {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease;
}
.ivd-feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.ivd-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(23,227,154,.12);
  margin-bottom: 1rem;
}
.ivd-feature__icon .ivd-icon { width: 1.6em; height: 1.6em; }
.ivd-feature h3 { margin-bottom: .4rem; }
.ivd-feature p { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* ============ CARDS GRID ============ */
.ivd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 2rem;
}
.ivd-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.ivd-card h3 { margin-bottom: .5rem; }
.ivd-card p { color: var(--text-muted); font-size: .96rem; margin: 0; }

/* ============ DATA TABLE ============ */
.ivd-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin-block: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ivd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
.ivd-table thead th {
  background: linear-gradient(90deg, #17E39A, #0FA873);
  color: #04140F;
  font-family: var(--font-head);
  font-weight: 600;
  text-align: left;
  padding: .9rem 1rem;
  white-space: nowrap;
}
.ivd-table td {
  padding: .85rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-main);
}
.ivd-table tbody tr:nth-child(odd) { background: #04140F; }
.ivd-table tbody tr:nth-child(even) { background: #0B241C; }
.ivd-table strong, .ivd-table .ivd-figure { color: var(--accent-2); font-weight: 700; }

/* ============ TWO COLS + CONTENT PANEL ============ */
.ivd-twocols {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
  margin-top: 1.5rem;
}
.ivd-twocols > * { min-width: 0; }
@media (max-width: 820px) { .ivd-twocols { grid-template-columns: 1fr; } }

.ivd-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.ivd-panel__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.ivd-facts { margin: 0; }
.ivd-facts__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.ivd-facts__row:last-child { border-bottom: none; }
.ivd-facts__row dt { color: var(--text-muted); font-size: .9rem; margin: 0; }
.ivd-facts__row dd { margin: 0; font-weight: 600; text-align: right; color: var(--accent-2); }

.ivd-checklist { list-style: none; padding: 0; margin: 0; }
.ivd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem 0;
  color: var(--text-main);
}
.ivd-checklist .ivd-icon { color: var(--accent); margin-top: .1em; }

.ivd-ministats {
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));
  gap: .8rem;
}
.ivd-ministat {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}
.ivd-ministat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent-2);
}
.ivd-ministat span { font-size: .78rem; color: var(--text-muted); }

.ivd-score { text-align: center; }
.ivd-score__num {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--accent-2);
  line-height: 1;
  text-shadow: 0 0 22px rgba(255,197,49,.35);
}
.ivd-score__stars { display: flex; justify-content: center; gap: .2rem; margin: .5rem 0; }
.ivd-score__stars .ivd-icon { color: var(--accent-2); fill: currentColor; }
.ivd-score__label { color: var(--text-muted); font-size: .9rem; }

/* ============ NUMBERED LIST ============ */
.ivd-numbered {
  list-style: none;
  counter-reset: ivd-step;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.ivd-numbered li {
  counter-increment: ivd-step;
  position: relative;
  padding: 1.2rem 1.4rem 1.2rem 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ivd-numbered li::before {
  content: counter(ivd-step);
  position: absolute;
  left: 1.2rem; top: 1.1rem;
  width: 2rem; height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 600;
  background: var(--accent);
  color: #04140F;
}
.ivd-numbered li h3 { margin-bottom: .3rem; }
.ivd-numbered li p { color: var(--text-muted); margin: 0; }

/* ============ STATS BAR (strip pattern) ============ */
.ivd-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.ivd-stat {
  flex: 1 1 180px;
  min-width: 0;
  padding: 1.4rem 1.2rem;
  text-align: center;
  border-inline-start: 1px solid var(--border);
}
.ivd-stat:first-child { border-inline-start: none; }
.ivd-stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(23,227,154,.3);
  line-height: 1;
}
.ivd-stat span {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============ CATEGORIES BAR ============ */
.ivd-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}
.ivd-cat {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: .85rem;
  font-weight: 600;
}
.ivd-cat:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.ivd-tag--new {
  background: rgba(23,227,154,.15);
  color: var(--accent);
  border-color: transparent;
}

/* ============ RTP GRID ============ */
.ivd-rtp {
  display: grid;
  gap: clamp(.6rem, 1.5vw, 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}
@media (min-width: 640px) { .ivd-rtp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ivd-rtp { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ivd-rtp-item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ivd-rtp-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(23,227,154,.3);
}
.ivd-rtp-item__thumb {
  aspect-ratio: 3/2;
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(23,227,154,.3), transparent 60%),
    var(--bg-main);
}
.ivd-rtp-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ivd-rtp-item__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding: .6rem .8rem;
  font-weight: 600;
  font-size: .9rem;
  overflow: hidden;
}
.ivd-rtp-badge {
  position: absolute;
  top: .5rem; left: .5rem;
  z-index: 2;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--accent-2);
  color: #04140F;
  font-size: .72rem;
  font-weight: 700;
}
.ivd-rtp-tooltip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity .2s;
  padding: .6rem .8rem;
  background: linear-gradient(0deg, rgba(4,20,15,.95), rgba(4,20,15,.6));
  color: var(--text-main);
  font-size: .8rem;
}
.ivd-rtp-tooltip b { color: var(--accent-2); }
.ivd-rtp-item:hover .ivd-rtp-tooltip,
.ivd-rtp-item:focus-within .ivd-rtp-tooltip { opacity: 1; }
@media (hover: none) { .ivd-rtp-tooltip { opacity: 1; } }

/* ============ PAYMENTS TABLE ============ */
.ivd-pay {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: .95rem;
}
.ivd-pay thead th {
  background: linear-gradient(90deg, #17E39A, #0FA873);
  color: #04140F;
  padding: .85rem 1rem;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
}
.ivd-pay td { padding: .8rem 1rem; border-top: 1px solid var(--border); }
.ivd-pay tbody tr:nth-child(even) { background: var(--bg-card); }
.ivd-pay .ivd-pay__method { display: flex; align-items: center; gap: .6rem; font-weight: 600; }

/* ============ FAQ (single pattern) ============ */
.ivd-faq { margin-top: 1.5rem; max-width: 900px; }
.ivd-faq details { border-bottom: 1px solid var(--border); }
.ivd-faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  font-family: var(--font-head);
  list-style: none;
  display: flex;
  align-items: center;
  color: var(--text-main);
}
.ivd-faq summary::-webkit-details-marker { display: none; }
.ivd-faq summary::before {
  content: '+';
  margin-right: .7rem;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .2s;
}
.ivd-faq details[open] summary::before { content: '−'; }
.ivd-faq details > :not(summary) { padding: .5rem 0 1rem; color: var(--text-muted); }

/* ============ TOC ============ */
.ivd-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-block: 1.5rem;
}
.ivd-toc h3 { font-size: 1rem; margin-bottom: .8rem; }
.ivd-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ivd-toc a { color: var(--text-muted); font-weight: 500; }
.ivd-toc a:hover { color: var(--accent); }

/* ============ LEGAL BODY ============ */
.ivd-legal { counter-reset: ivd-h2; max-width: 100%; }
.ivd-legal h2 {
  counter-increment: ivd-h2;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.ivd-legal h2::before {
  content: counter(ivd-h2) '. ';
  color: var(--accent);
}
.ivd-legal h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.ivd-legal p, .ivd-legal li { color: var(--text-muted); }
.ivd-legal ul, .ivd-legal ol { padding-inline-start: 1.4rem; }
.ivd-legal li { margin-bottom: .5rem; }

/* ============ CTA BLOCK ============ */
.ivd-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 10%, rgba(23,227,154,.25), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(255,197,49,.22), transparent 50%),
    var(--bg-card);
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3rem);
  margin-block: var(--section-y);
}
.ivd-cta h2 { margin-bottom: .6rem; }
.ivd-cta p { color: var(--text-muted); max-width: 55ch; margin-inline: auto; margin-bottom: 1.6rem; }
.ivd-cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ============ STICKY NAV (mobile bottom) ============ */
.ivd-sticky-nav { display: none; }
@media (max-width: 768px) {
  .ivd-sticky-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--surface-light);
    border-top: 1px solid var(--border-light);
    padding: .4rem;
    justify-content: space-around;
  }
  .ivd-sticky-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    font-size: .68rem;
    color: var(--on-light);
    padding: .3rem .5rem;
  }
  .ivd-sticky-nav a .ivd-icon { color: var(--on-light-muted); }
}

/* ============ CHAT WIDGET ============ */
.ivd-chat-btn {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  z-index: 95;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #04140F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(4,20,15,.4);
}
.ivd-chat-dialog {
  position: fixed;
  right: 1.2rem; bottom: 5.4rem;
  z-index: 95;
  width: min(320px, calc(100vw - 2.4rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 16px 40px rgba(4,20,15,.5);
}

/* ============ FOOTER (light surface — logo tone dark) ============ */
.ivd-footer {
  background: var(--surface-light);
  color: var(--on-light);
  border-top: 3px solid var(--accent);
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem;
}
.ivd-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
}
.ivd-footer__grid > * { min-width: 0; }
@media (max-width: 820px) { .ivd-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .ivd-footer__grid { grid-template-columns: 1fr; } }
.ivd-footer__brand .ivd-logo__img { height: 38px; }
.ivd-footer__about {
  margin-top: 1rem;
  color: var(--on-light-muted);
  font-size: .9rem;
  max-width: 40ch;
}
.ivd-footer__col h3 {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-light-muted);
  margin-bottom: 1rem;
}
.ivd-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ivd-footer__col a { display: inline-block; padding-block: .2rem; color: var(--on-light); font-size: .92rem; font-weight: 500; }
.ivd-footer__col a:hover { color: #0FA873; }
.ivd-footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-light);
}
.ivd-footer__disclaimer {
  font-size: .8rem;
  color: var(--on-light-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ivd-footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px; height: 34px;
  padding-inline: .4rem;
  border-radius: 50%;
  background: #04140F;
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  margin-right: .6rem;
  vertical-align: middle;
}
.ivd-footer__copy { font-size: .82rem; color: var(--on-light-muted); }

/* ============ RESPONSIVE HERO ============ */
@media (max-width: 560px) {
  .ivd-hero__actions .ivd-btn { width: 100%; }
  .ivd-stat { flex-basis: 50%; }
}
@media (max-width: 400px) {
  .ivd-facts__row { flex-direction: column; gap: .2rem; }
  .ivd-facts__row dd { text-align: left; }
}

/* inline content links distinguishable without color (WCAG) */
.ivd-hero__sub a,
.ivd-lead a,
.ivd-feature p a,
.ivd-overview p a,
.ivd-faq p a,
.ivd-legal p a,
.ivd-legal li a { text-decoration: underline; }
/* sa-responsive-net */
table th{white-space:nowrap}
figure,blockquote,dl,dd,fieldset{margin:0}
/* sa-logo-chip */
.ivd-footer .ivd-logo__img{filter:none;background:transparent;padding:0}
.ivd-footer .ivd-footer__logo-chip{background:transparent;padding:0}
/* sa-ph-media */
.ivd-page-header:has(.ivd-hero__img){position:relative;overflow:hidden;isolation:isolate;min-height:clamp(200px,30vh,300px);display:flex;flex-direction:column;justify-content:center}
.ivd-page-header:has(.ivd-hero__img) .ivd-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;margin:0;z-index:0}
.ivd-page-header:has(.ivd-hero__img)::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,12,18,.72),rgba(10,12,18,.5))}
:where(.ivd-page-header:has(.ivd-hero__img)>:not(.ivd-hero__img)){position:relative;z-index:2}
.ivd-page-header:has(.ivd-hero__img),.ivd-page-header:has(.ivd-hero__img) h1,.ivd-page-header:has(.ivd-hero__img) a,.ivd-page-header:has(.ivd-hero__img) p,.ivd-page-header:has(.ivd-hero__img) li,.ivd-page-header:has(.ivd-hero__img) span{color:#fff}
/* sa-hero-media */
.ivd-hero:has(>.ivd-hero__img){position:relative;isolation:isolate}
.ivd-hero:has(>.ivd-hero__img)>.ivd-hero__img{z-index:0}
.ivd-hero:has(>.ivd-hero__img)::after{z-index:1}
:where(.ivd-hero:has(>.ivd-hero__img)>:not(.ivd-hero__img)){position:relative;z-index:2}
/* sa-rhythm */
:where(.ivd-table-wrap){margin-block:1.5rem}
:where(main) :where(ul,ol,table,.ivd-table-wrap)+p{margin-block-start:1rem}
/* sa-slot-link */
.ivd-rtp-item,.ivd-rtp-item:hover,.ivd-rtp-item:focus{color:inherit;text-decoration:none;cursor:pointer}
