/* =========================================================
   Krikya Satellite - theme.css
   Brand colours (krikya11.me), editable in Theme Settings -> Colors:
   #0b5c43 - theme-color / manifest.json
   #ff4f00, #ff7c15, #f69e0a - logo gradient
   #ffffff - logo wordmark
   Other tones are the same colours with transparency.
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/wp-content/themes/krikya-satellite/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --k-green: #0b5c43;
  --k-green-deep: #063325; /* darker #0b5c43: body text, text on orange */
  --k-ember: #ff4f00;
  --k-flame: #ff7c15;
  --k-amber: #f69e0a;
  --k-white: #ffffff;

  /* same colours as r, g, b for tints (updated from Theme Settings) */
  --k-green-rgb: 11, 92, 67;
  --k-deep-rgb: 6, 51, 37;
  --k-ember-rgb: 255, 79, 0;
  --k-amber-rgb: 246, 158, 10;

  --k-text: var(--k-green-deep);
  --k-muted: rgba(var(--k-deep-rgb), .74);
  --k-tint: rgba(var(--k-green-rgb), .055);
  --k-tint-2: rgba(var(--k-green-rgb), .1);
  --k-line: rgba(var(--k-green-rgb), .16);
  --k-on-dark: var(--k-white);
  --k-on-dark-muted: rgba(255, 255, 255, .8);
  --k-line-dark: rgba(255, 255, 255, .16);

  --k-grad: linear-gradient(135deg, var(--k-flame) 0%, var(--k-amber) 100%);
  --k-grad-logo: linear-gradient(135deg, var(--k-ember) 0%, var(--k-flame) 45%, var(--k-amber) 100%);
  --k-shadow: 0 22px 48px -26px rgba(var(--k-deep-rgb), .45);

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;

  --container: 1160px;
  --text-w: 700px;
  --gutter: 20px;
  --header-h: 68px;
  --radius: 16px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--k-text);
  background: var(--k-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--k-green); }

:focus-visible {
  outline: 3px solid var(--k-amber);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(var(--k-amber-rgb), .35); }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--k-amber);
  color: var(--k-green-deep);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 600 16px/1 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--k-grad);
  color: var(--k-green-deep);
  box-shadow: 0 10px 22px -12px rgba(var(--k-ember-rgb), .9);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(var(--k-ember-rgb), 1);
}

.btn-ghost {
  background: transparent;
  color: var(--k-on-dark);
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--k-white);
}

.btn-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 18px;
  border-radius: 12px;
}

/* ---------- 1. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--k-green);
  box-shadow: 0 1px 0 var(--k-line-dark);
}

.site-header.is-static { position: relative; }
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { display: block; width: auto; height: 34px; max-width: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- 2. Header menu ---------- */
.main-nav { background: var(--k-green); }

.nav-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px 15px;
  color: var(--k-on-dark-muted);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-list a .i { font-size: 18px; color: var(--k-amber); }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  background: var(--k-grad-logo);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-list a:hover { color: var(--k-on-dark); }
.nav-list a:hover::after { transform: scaleX(1); }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 104px;
  background: var(--k-green);
  color: var(--k-on-dark);
  border-top: 1px solid var(--k-line-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
}

/* dot grid + glow behind the cover */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 44%;
  height: 70%;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.6px, transparent 1.8px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -12%;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--k-amber-rgb), .28), rgba(var(--k-amber-rgb), 0));
  pointer-events: none;
}

.hero--toc { padding-bottom: 140px; }

.hero--plain .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--plain .hero-copy { max-width: 860px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0 0 20px;
  font: 700 clamp(40px, 5.2vw, 66px)/1.02 var(--font-head);
  letter-spacing: -.005em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 36em;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--k-on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .74);
}

.age {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 2px solid var(--k-amber);
  border-radius: 50%;
  color: var(--k-on-dark);
  font: 700 14px/1 var(--font-head);
}

.hero-cover { margin: 0; }
.hero-cover a {
  display: block;
  border-radius: 24px;
  transition: transform .25s ease;
}
.hero-cover a:hover { transform: translateY(-3px); }
.hero-cover img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 34px 60px -30px rgba(var(--k-deep-rgb), .95), 0 0 0 1px var(--k-line-dark);
}

/* ---------- Article layout: text column + wide blocks ---------- */
.page { padding-bottom: 72px; }

.article {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [text-start] min(100% - var(--gutter) * 2, var(--text-w))
    [text-end] minmax(var(--gutter), 1fr)
    [full-end];
}
.article > * { grid-column: text; }
.article .wide,
.article > .alignwide {
  grid-column: full;
  width: min(100% - var(--gutter) * 2, var(--container));
  justify-self: center;
}

/* ---------- 4. Table of contents ---------- */
.toc {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: var(--k-white);
  box-shadow: var(--k-shadow);
}

.toc--overlap { margin-top: -84px; }

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font: 700 24px/1.2 var(--font-head);
  color: var(--k-green);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 2.5px solid var(--k-ember);
  border-bottom: 2.5px solid var(--k-ember);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.toc details[open] summary::after { transform: translateY(3px) rotate(-135deg); }

.toc-list {
  margin: 0;
  padding: 0 24px 18px;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 32px;
}
.toc-list li {
  counter-increment: toc;
  break-inside: avoid;
}
.toc a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--k-line);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--k-text);
  text-decoration: none;
}
.toc a::before {
  content: counter(toc) ".";
  min-width: 18px;
  font: 700 17px/1.25 var(--font-head);
  color: var(--k-ember);
}
.toc a:hover { color: var(--k-green); text-decoration: underline; text-decoration-color: var(--k-flame); }

/* ---------- 5. Text markup ---------- */
.article h2 {
  margin: 72px 0 16px;
  font: 700 clamp(30px, 3.4vw, 42px)/1.08 var(--font-head);
  color: var(--k-green);
  text-wrap: balance;
}
.article h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 7px;
  margin-bottom: 16px;
  background: var(--k-grad-logo);
  clip-path: polygon(0 0, 82% 0, 100% 100%, 18% 100%);
}

.article h3 {
  margin: 40px 0 12px;
  font: 600 27px/1.15 var(--font-head);
  color: var(--k-green);
}

.article h4 {
  margin: 28px 0 10px;
  font: 600 20px/1.3 var(--font-body);
  color: var(--k-green-deep);
}

.article p { margin: 0 0 18px; }

.article > :is(p, ul, ol) a,
.article .table-wrap td a,
.article :is(.faq-block, .feature, .step, .promo, .nsteps-body, .topic-body, .stat, .bonus-card-body) p a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--k-flame);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.article > :is(p, ul, ol) a:hover,
.article .table-wrap td a:hover,
.article :is(.faq-block, .feature, .step, .promo, .nsteps-body, .topic-body, .stat, .bonus-card-body) p a:hover { color: var(--k-ember); }

/* bulleted list: small shard from the logo */
.article ul:not([class]),
.article ul.wp-block-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.article ul:not([class]) > li,
.article ul.wp-block-list > li {
  position: relative;
  margin: 10px 0;
  padding-left: 30px;
}
.article ul:not([class]) > li::before,
.article ul.wp-block-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 15px;
  height: 8px;
  background: var(--k-grad-logo);
  clip-path: polygon(0 0, 68% 0, 100% 100%, 32% 100%);
}

/* numbered list */
.article ol:not([class]),
.article ol.wp-block-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: num;
}
.article ol:not([class]) > li,
.article ol.wp-block-list > li {
  position: relative;
  min-height: 30px;
  margin: 12px 0;
  padding-left: 46px;
  counter-increment: num;
}
.article ol:not([class]) > li::before,
.article ol.wp-block-list > li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: -1px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--k-green);
  color: var(--k-white);
  font: 700 17px/31px var(--font-head);
  text-align: center;
}

/* tables: scroll inside their own frame on small screens */
.article figure.wp-block-table { margin: 0; }
.table-wrap {
  margin: 10px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--k-line);
  border-radius: 14px;
  background: var(--k-white);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--k-flame) var(--k-tint-2);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}
.table-wrap.is-wide table { min-width: 620px; }
.table-wrap th {
  padding: 13px 16px;
  background: var(--k-green);
  color: var(--k-white);
  font: 600 18px/1.25 var(--font-head);
  text-align: left;
  white-space: nowrap;
}
.table-wrap td {
  padding: 13px 16px;
  border-top: 1px solid var(--k-line);
  vertical-align: top;
}
.table-wrap tbody tr:nth-child(even) td { background: var(--k-tint); }
.table-wrap td:first-child {
  font-weight: 600;
  color: var(--k-green);
  white-space: nowrap;
}

/* feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 1px solid var(--k-line);
  border-radius: var(--radius);
  background: var(--k-white);
}
.feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: var(--k-grad-logo);
  clip-path: polygon(45% 0, 100% 0, 100% 55%);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--k-tint-2);
  color: var(--k-green);
  font-size: 28px;
}
.article .feature h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--k-muted);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: var(--k-tint);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 18px;
  right: 20px;
  font: 700 46px/1 var(--font-head);
  color: var(--k-ember);
  opacity: .9;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--k-green);
  color: var(--k-white);
  font-size: 28px;
}
.step-title {
  display: block;
  margin-bottom: 6px;
  font: 700 22px/1.2 var(--font-head);
  color: var(--k-green);
}
.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--k-muted);
}

/* ---------- 6. Banners ---------- */
.promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 24px;
  margin: 64px 0 8px;
  padding: 40px 48px;
  border-radius: 26px;
  background: var(--k-green);
  color: var(--k-on-dark);
}
.promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  bottom: -20%;
  right: 6%;
  width: 46%;
  background: var(--k-grad-logo);
  clip-path: polygon(28% 0, 62% 0, 100% 100%, 66% 100%);
  opacity: .95;
}
.promo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.promo-logo {
  display: block;
  width: auto;
  height: 30px;
  margin-bottom: 22px;
}
.article .promo-title {
  margin: 0 0 10px;
  font: 700 clamp(32px, 3.8vw, 48px)/1.02 var(--font-head);
  color: var(--k-on-dark);
  text-wrap: balance;
}
.article .promo-sub {
  max-width: 30em;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--k-on-dark-muted);
}
.promo-art { display: block; }
.promo--no-art { grid-template-columns: minmax(0, 1fr); }
.promo--no-art::before { opacity: .55; }
.promo-art img {
  display: block;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
}

/* shine on the banner button */
.promo-cta {
  position: relative;
  overflow: hidden;
}
.promo-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: promo-shine 4.2s ease-in-out 1.5s infinite;
}
@keyframes promo-shine {
  0% { left: -70%; }
  28%, 100% { left: 135%; }
}

/* second banner: mirrored, deeper green */
.promo--deep {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--k-green-deep);
}
.promo--deep .promo-body { order: 2; }
.promo--deep .promo-art { order: 1; }
.promo--deep::before {
  right: auto;
  left: 4%;
  clip-path: polygon(34% 0, 68% 0, 100% 100%, 66% 100%);
}
.promo--deep::after {
  -webkit-mask-image: linear-gradient(270deg, #000, transparent 55%);
  mask-image: linear-gradient(270deg, #000, transparent 55%);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 8px;
  border-bottom: 1px solid var(--k-line);
}
.faq-item { border-top: 1px solid var(--k-line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.article .faq-item h3 {
  margin: 0;
  font: 600 19px/1.35 var(--font-body);
  color: var(--k-green-deep);
}
.faq-item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--k-green), var(--k-green)) center / 12px 2px no-repeat,
    linear-gradient(var(--k-green), var(--k-green)) center / 2px 12px no-repeat,
    var(--k-tint-2);
  transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--k-green-deep), var(--k-green-deep)) center / 12px 2px no-repeat,
    linear-gradient(var(--k-green-deep), var(--k-green-deep)) center / 2px 12px no-repeat,
    var(--k-grad);
}
.faq-item summary:hover h3 { color: var(--k-green); }
.article .faq-item p {
  margin: -4px 0 0;
  padding: 0 48px 20px 0;
  color: var(--k-muted);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  background: var(--k-green);
  color: var(--k-on-dark-muted);
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 60px 0 36px;
}

.footer-brand .brand img { height: 34px; }
.footer-brand p {
  max-width: 30em;
  margin: 18px 0 0;
  line-height: 1.6;
}

.footer-title {
  margin: 4px 0 14px;
  font: 700 21px/1.2 var(--font-head);
  color: var(--k-on-dark);
}

.footer-nav ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  color: var(--k-on-dark-muted);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--k-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--k-amber);
  text-underline-offset: 3px;
}

/* 8. Responsible gaming disclaimer */
.rg-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
  padding: 22px 24px;
  border: 1px solid var(--k-line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.rg-disclaimer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.rg-text p + p { margin-top: 8px; }
.rg-disclaimer strong { color: var(--k-on-dark); }
.rg-disclaimer a {
  color: var(--k-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--k-amber);
  text-underline-offset: 3px;
}
.age-lg {
  width: 54px;
  height: 54px;
  border-width: 2.5px;
  font-size: 19px;
}

.footer-bottom {
  padding: 18px 0;
  background: var(--k-green-deep);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
}
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 62em; }

/* ---------- Images in text ---------- */
.article img { border-radius: 14px; }
.article .promo img,
.article .feature img,
.article .step img { border-radius: 0; }
.article figure { margin: 8px 0 26px; }
.article .wp-caption { max-width: 100%; }
.article .wp-caption img { display: block; }
.article .wp-caption-text,
.article figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--k-muted);
}
.article .aligncenter { display: block; margin-inline: auto; }
.article .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.article .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.article > .alignleft,
.article > .alignright { float: none; justify-self: start; margin: 8px 0 26px; }
.article > .alignright { justify-self: end; }
.article > .alignwide img { width: 100%; }

/* ---------- CTA button ---------- */
.cta-row { margin: 8px 0 26px; }
.cta-row--center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .features,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { padding: 36px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  body { font-size: 17px; }

  .brand img { height: 30px; }

  .main-nav .container { width: 100%; }
  .nav-list {
    gap: 8px;
    padding: 10px var(--gutter) 12px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .nav-list a {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    font-size: 15px;
  }
  .nav-list a::after { display: none; }

  .hero {
    padding: 36px 0 84px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  }
  .hero--toc { padding-bottom: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-lead { font-size: 18px; }
  .hero-cover img { aspect-ratio: 16 / 10; object-fit: cover; }

  .toc--overlap { margin-top: -72px; }
  .toc-list { columns: 1; }

  .article .alignleft,
  .article .alignright { float: none; margin: 8px 0 20px; max-width: 100%; }

  .article h2 { margin-top: 56px; }
  .article h3 { font-size: 25px; }

  .promo,
  .promo--deep {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 24px 32px;
    text-align: center;
  }
  .promo--deep .promo-body { order: 0; }
  .promo-art,
  .promo--deep .promo-art { order: -1; }
  .promo-art img { max-width: 300px; }
  .promo-logo { margin-inline: auto; }
  .article .promo-sub { margin-inline: auto; }
  .promo--no-art::before { display: none; }
  .promo::before,
  .promo--deep::before {
    top: -40px;
    bottom: auto;
    left: 18%;
    right: auto;
    width: 64%;
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-top: 48px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .features,
  .steps { grid-template-columns: 1fr; gap: 12px; }

  .feature,
  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 18px 16px;
  }
  .feature-icon,
  .step-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 24px;
  }
  .article .feature h3 { margin: 2px 0 4px; font-size: 21px; }
  .feature::after { width: 34px; height: 34px; }
  .step-title { margin: 2px 0 4px; padding-right: 34px; font-size: 20px; }
  .step::before { top: 14px; right: 16px; font-size: 34px; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; --header-h: 56px; }
  body { font-size: 16.5px; }

  .header-bar { gap: 10px; }
  .brand img { height: 25px; }
  .header-actions { gap: 6px; }
  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 9px;
  }

  .hero h1 { font-size: 38px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-note { font-size: 14px; }

  .toc summary { padding: 16px 18px; font-size: 22px; }
  .toc-list { padding: 0 18px 14px; }

  .article h2 { font-size: 29px; }
  .article h3 { font-size: 23px; }


  .table-wrap { margin-inline: calc(var(--gutter) * -1 + 4px); }
  .table-wrap th,
  .table-wrap td { padding: 11px 12px; }

  .article .promo-title { font-size: 30px; }
  .promo .btn-lg { width: 100%; }

  .faq-item p { padding-right: 0; }

  .footer-grid { gap: 28px 16px; }
  .rg-disclaimer { flex-direction: column; gap: 12px; padding: 18px; }
  .footer-bottom-inner { flex-direction: column; }
}

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