/* ==========================================================================
   644jili.site — design system v2
   Premium dark + glassmorphism. No JS required for any layout or interaction.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Base surfaces — near-black with a green undertone */
  --bg-900: #060d0b;
  --bg-800: #08120f;
  --bg-700: #0b1a15;

  /* Glass layers */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-lit: rgba(70, 226, 154, 0.32);

  /* Brand */
  --green-500: #00c46a;
  --green-400: #2fdc90;
  --green-300: #6ff0b6;
  --gold-500: #ffc107;
  --gold-400: #ffd454;
  --gold-300: #ffe79a;

  /* Text */
  --text: #eef6f1;
  --text-dim: #b6cbc1;
  --text-faint: #8aa39a;

  /* Effects */
  --glow-green: 0 0 40px rgba(0, 196, 106, 0.28);
  --glow-gold: 0 0 42px rgba(255, 193, 7, 0.30);
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.42);
  --shadow-float: 0 26px 70px rgba(0, 0, 0, 0.55);

  --grad-brand: linear-gradient(120deg, var(--green-400) 0%, var(--gold-400) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 55%, #f0a500 100%);

  /* Geometry */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --maxw: 1180px;
  --gutter: 24px;

  /* Type */
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-bn: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "Vrinda", var(--font);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--green-500) var(--bg-800);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient mesh — two soft brand blobs fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(760px 520px at 82% -8%, rgba(0, 196, 106, 0.20), transparent 62%),
    radial-gradient(680px 460px at 4% 22%, rgba(255, 193, 7, 0.09), transparent 60%),
    radial-gradient(900px 600px at 50% 108%, rgba(0, 196, 106, 0.10), transparent 65%);
  pointer-events: none;
}

/* Fine grid texture for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}

body.lang-bn { font-family: var(--font-bn); line-height: 1.9; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--green-300); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-300); }

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

::selection { background: rgba(0, 196, 106, 0.32); color: #fff; }

/* --------------------------------------------------------------------------
   2. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 72px 0; position: relative; }
section.tight { padding: 48px 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: #0d1509;
  padding: 14px 24px;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 999;
}
.skip-link:focus { left: 0; color: #0d1509; }

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 13, 11, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.2px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand img { border-radius: 10px; }
.brand .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand:hover { color: var(--text); }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-label {
  display: none;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  border-radius: var(--r-sm);
  padding: 9px 15px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.nav-toggle:focus-visible + .nav-label { outline: 3px solid var(--gold-400); outline-offset: 3px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.16s ease, background 0.16s ease;
}
.site-nav a:hover { color: var(--text); background: var(--glass); }
.site-nav a[aria-current="page"] {
  color: var(--gold-300);
  background: rgba(255, 193, 7, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.22);
}
.lang-switch a {
  border: 1px solid var(--glass-border);
  color: var(--green-300);
  font-weight: 700;
  font-size: 0.86rem;
}
.lang-switch a:hover { border-color: var(--glass-border-lit); }

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 76px 0 68px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-lit), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green-300);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 10px var(--green-400);
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
  font-weight: 800;
}
h1 .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang-bn h1 { letter-spacing: 0; line-height: 1.3; }

.lede {
  font-size: 1.12rem;
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 58ch;
}

.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  background: var(--bg-700);
  line-height: 0;
}
/* No fixed aspect ratio: the intrinsic width/height attributes on each hero
   image reserve the space, so 4:3 and 16:9 art both render uncropped. */
.hero-media img { width: 100%; height: auto; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 13, 11, 0.62) 100%);
  pointer-events: none;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(47, 220, 144, 0.45), transparent 42%, transparent 62%, rgba(255, 193, 7, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Page hero without side image */
.hero-solo { max-width: 860px; }
.hero-solo .lede { max-width: 68ch; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.2,.8,.3,1), box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-gold);
  color: #14200c;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.22);
}
.btn-primary:hover { color: #14200c; box-shadow: 0 14px 40px rgba(255, 193, 7, 0.36), var(--glow-gold); }

.btn-secondary {
  background: var(--glass);
  border-color: var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover { color: var(--green-300); border-color: var(--glass-border-lit); background: var(--glass-strong); }

.btn-note { font-size: 0.86rem; color: var(--text-faint); margin-top: 16px; }

/* --------------------------------------------------------------------------
   6. Section headings
   -------------------------------------------------------------------------- */
.section-head { max-width: 74ch; margin-bottom: 38px; }
.kicker {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green-400);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -0.7px;
  margin: 0 0 14px;
  font-weight: 800;
}
.lang-bn h2 { letter-spacing: 0; line-height: 1.4; }
h3 { font-size: 1.16rem; margin: 0 0 9px; font-weight: 700; letter-spacing: -0.2px; }
.section-intro { color: var(--text-dim); margin: 0; font-size: 1.03rem; }

/* --------------------------------------------------------------------------
   7. Glass cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}
.cards.cols-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 26px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1), border-color 0.22s ease, background 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-lit);
  background: var(--glass-strong);
}
.card h3 { color: var(--text); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--gold-300); }
.card p { margin: 0; color: var(--text-dim); font-size: 0.97rem; }
.card p + p { margin-top: 10px; }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-dim); font-size: 0.94rem; }
.card ul li { margin-bottom: 5px; }

/* Card with a picture on top */
.card-media {
  margin: -26px -26px 20px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-700);
  border-bottom: 1px solid var(--glass-border);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.8,.3,1); }
.card:hover .card-media img { transform: scale(1.045); }

/* Icon tile */
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(0, 196, 106, 0.22), rgba(255, 193, 7, 0.10));
  border: 1px solid var(--glass-border);
  color: var(--green-300);
  font-weight: 800;
  font-size: 0.95rem;
}
.card-icon img, .card-icon svg { width: 24px; height: 24px; }

/* Numbered variant */
.card-num {
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: var(--gold-400);
  display: block;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   8. Feature split (image + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  background: var(--bg-700);
  line-height: 0;
}
/* No fixed ratio here either — the artwork keeps its own proportions and
   nothing gets cropped. Intrinsic width/height on each <img> reserves space. */
figure.split-media { margin: 0; }
.split-media img { width: 100%; height: auto; }
.split-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 20px 15px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  background: linear-gradient(180deg, rgba(4, 9, 8, 0) 0%, rgba(4, 9, 8, 0.86) 42%, rgba(4, 9, 8, 0.96) 100%);
}

figure.media {
  margin: 32px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  background: var(--bg-700);
}
figure.media img { width: 100%; height: auto; }
figure.media figcaption {
  padding: 14px 20px;
  font-size: 0.86rem;
  color: var(--text-faint);
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--glass-border);
}

/* --------------------------------------------------------------------------
   9. Trust strip (qualitative only — no invented figures)
   -------------------------------------------------------------------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.strip > div {
  background: rgba(8, 18, 15, 0.72);
  padding: 22px 24px;
}
.strip strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 5px;
  color: var(--gold-300);
}
.strip span { font-size: 0.89rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   10. Callout
   -------------------------------------------------------------------------- */
.callout {
  position: relative;
  background: linear-gradient(120deg, rgba(0, 196, 106, 0.09), rgba(255, 193, 7, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 24px 28px 24px 30px;
  margin: 30px 0;
  color: var(--text-dim);
  font-size: 0.99rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-brand);
}
.callout strong { color: var(--text); }
.callout p { margin: 0 0 12px; }
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Tables
   -------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin: 26px 0;
  background: rgba(8, 18, 15, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: 18px 22px 12px;
  color: var(--text-faint);
  font-size: 0.87rem;
}
th, td { padding: 15px 22px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-300);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-weight: 700;
  white-space: nowrap;
}
tbody th[scope="row"] { color: var(--text); font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
tbody tr { transition: background 0.16s ease; }
tbody tr:hover { background: rgba(255, 255, 255, 0.035); }

/* --------------------------------------------------------------------------
   12. Steps
   -------------------------------------------------------------------------- */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; }
ol.steps > li {
  counter-increment: s;
  position: relative;
  padding: 0 0 30px 62px;
  margin-left: 18px;
  border-left: 1px solid var(--glass-border);
}
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(s);
  position: absolute;
  left: -19px;
  top: -4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #06170f;
  background: var(--grad-brand);
  box-shadow: 0 0 0 5px var(--bg-900), var(--glow-green);
}
ol.steps h3 { margin: 4px 0 6px; }
ol.steps p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   13. FAQ accordion (CSS only)
   -------------------------------------------------------------------------- */
.faq details {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq details:hover { border-color: var(--glass-border-lit); }
.faq details[open] { background: var(--glass-strong); border-color: var(--glass-border-lit); }
.faq summary {
  cursor: pointer;
  padding: 19px 62px 19px 24px;
  font-weight: 700;
  font-size: 1.01rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(var(--gold-400), var(--gold-400)) center/11px 1.5px no-repeat,
    linear-gradient(var(--gold-400), var(--gold-400)) center/1.5px 11px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(var(--gold-400), var(--gold-400)) center/11px 1.5px no-repeat,
    linear-gradient(var(--gold-400), var(--gold-400)) center/1.5px 11px no-repeat;
}
.faq details > p, .faq details > ul {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.faq details > ul { padding-left: 46px; }

/* --------------------------------------------------------------------------
   14. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { font-size: 0.85rem; color: var(--text-faint); padding: 20px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; gap: 9px; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "›"; margin-right: 9px; color: var(--text-faint); }
.breadcrumbs a { text-decoration: none; color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: 56px 40px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(0, 196, 106, 0.20), transparent 70%),
    rgba(8, 18, 15, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-float);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); max-width: 62ch; margin: 0 auto 26px; }
.cta-band .cta-row { justify-content: center; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 9, 8, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 56px 0 34px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer h3 { color: var(--text); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: var(--text-dim); }
.site-footer a:hover { color: var(--gold-300); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid #ff5d5d;
  color: #ff9a9a;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(255, 93, 93, 0.20);
}

.legal {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-faint);
}
.legal p { margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--text-dim); }

/* --------------------------------------------------------------------------
   17. Consent bar
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(11, 26, 21, 0.88);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-float);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  z-index: 200;
}
.consent p { margin: 0; flex: 1 1 320px; color: var(--text-dim); }
.consent .btn { padding: 11px 24px; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */
.muted { color: var(--text-faint); }
.small { font-size: 0.89rem; }
.center { text-align: center; }
.mt-lg { margin-top: 34px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* Entry animation — runs once on load, respects reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.7s cubic-bezier(.2,.8,.3,1) both; }
  .reveal-2 { animation: rise 0.7s cubic-bezier(.2,.8,.3,1) 0.09s both; }
  .reveal-3 { animation: rise 0.7s cubic-bezier(.2,.8,.3,1) 0.18s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

/* --------------------------------------------------------------------------
   19. Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 620px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards.cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .nav-label { display: inline-block; }
  .site-nav {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 600px; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 6px 0 14px; }
  .site-nav a { padding: 12px 14px; }
  .lang-switch a { display: inline-block; margin-top: 6px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  section { padding: 44px 0; }
  .hero { padding: 44px 0 40px; }
  .cta-band { padding: 38px 22px; }
  .card { padding: 22px; }
  .card-media { margin: -22px -22px 18px; }
  .btn { width: 100%; }
  .consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .consent .btn { width: auto; flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  th, td { padding: 13px 16px; }
  ol.steps > li { padding-left: 54px; }
  body::after { background-size: 48px 48px; }
}

@media (max-width: 400px) {
  h1 { letter-spacing: -0.8px; }
  .card { padding: 18px; }
  .card-media { margin: -18px -18px 16px; }
  ol.steps > li { padding-left: 48px; margin-left: 14px; }
  .cta-band { padding: 30px 18px; }
}

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

/* Fallback if backdrop-filter is unsupported — keep contrast intact */
@supports not (backdrop-filter: blur(4px)) {
  .site-header { background: rgba(6, 13, 11, 0.97); }
  .card, .callout, .faq details, .table-scroll { background: rgba(13, 28, 23, 0.94); }
  .consent, .cta-band { background: rgba(11, 26, 21, 0.97); }
}
