/* =============================================================
   Digital Gaming Worlds Enterprise Inc. — Corporate Site
   Design system / global stylesheet
   Aesthetic: modern dark-tech, trust-forward, corporate.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces (light theme) */
  --bg:            #ffffff;
  --bg-2:          #f4f7fb;
  --surface:       #ffffff;
  --surface-2:     #f5f8fc;
  --surface-3:     #eef3f9;
  --line:          rgba(15, 23, 42, 0.10);
  --line-strong:   rgba(15, 23, 42, 0.17);

  /* Text */
  --text:          #0f1729;
  --text-muted:    #475069;
  --text-dim:      #6b7689;

  /* Brand (deepened for contrast on white) */
  --cyan:          #0891b2;
  --blue:          #2563eb;
  --indigo:        #4f46e5;
  --violet:        #7c3aed;
  --teal:          #0d9488;
  --green:         #059669;
  --amber:         #d97706;

  --brand-grad:    linear-gradient(120deg, #06b6d4 0%, #3b82f6 45%, #8b5cf6 100%);
  --brand-grad-soft: linear-gradient(120deg, rgba(8,145,178,0.10), rgba(124,58,237,0.10));

  /* Layout */
  --container:     1200px;
  --container-narrow: 860px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-sm:     10px;
  --shadow:        0 18px 45px -22px rgba(15, 23, 42, 0.22);
  --shadow-soft:   0 10px 28px -16px rgba(15, 23, 42, 0.14);

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 74px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-wide ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(8, 145, 178, 0.05), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(124, 58, 237, 0.06), transparent 55%),
    radial-gradient(700px 600px at 50% 110%, rgba(37, 99, 235, 0.04), transparent 60%),
    var(--bg);
}
/* (background grid removed — clean, no decorative visuals) */

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2rem; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p  { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(120deg, #0891b2, #2563eb 45%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(40px, 5vw, 76px) 0; }
.section-sm { padding: clamp(28px, 3.5vw, 48px) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-grad); color: #04111d; box-shadow: 0 10px 28px -10px rgba(59, 130, 246, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(59, 130, 246, 0.75); }
.btn-ghost { background: rgba(15, 23, 42, 0.035); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.07); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .b1 { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-text .b2 { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  padding: 9px 13px; border-radius: 9px; transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s ease; opacity: .7; }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 11px; border-radius: 9px; transition: background .15s ease; }
.dropdown a:hover { background: rgba(15, 23, 42, 0.05); }
.dropdown .di { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--brand-grad-soft); color: var(--cyan); }
.dropdown .di svg { width: 17px; height: 17px; }
.dropdown .dt { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.dropdown .dd { font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px; width: 42px; height: 42px; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(70px, 11vw, 130px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 20px; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 1.5rem; }
.hero-trust .t span { font-size: 0.82rem; color: var(--text-dim); }

.hero-visual { position: relative; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; }

.card-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(8,145,178,0.14), rgba(124,58,237,0.14)); color: var(--blue);
  border: 1px solid var(--line-strong); margin-bottom: 18px;
  box-shadow: 0 10px 24px -16px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.7);
}
.card-ico svg { width: 26px; height: 26px; }

.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: 0.95rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--brand-grad); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Split / alternating sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img, .feature-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.86rem; color: var(--text-muted); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted);
  padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(15,23,42,0.03); }
.pill svg { width: 15px; height: 15px; color: var(--cyan); }

/* Process steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { counter-increment: step; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: var(--brand-grad-soft); color: var(--cyan); border: 1px solid var(--line-strong); }
.step .n::before { content: counter(step, decimal-leading-zero); }

/* ---------- Callouts ---------- */
.callout {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 22px 24px; background: rgba(52, 211, 153, 0.05);
  display: flex; gap: 16px; align-items: flex-start;
}
.callout.info  { background: rgba(34, 211, 238, 0.05); }
.callout.warn  { background: rgba(251, 191, 36, 0.06); border-color: rgba(251, 191, 36, 0.28); }
.callout .ci { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(15,23,42,0.05); color: var(--green); }
.callout.warn .ci { color: var(--amber); }
.callout.info .ci { color: var(--cyan); }
.callout h4 { margin-bottom: 4px; }
.callout p { font-size: 0.92rem; margin: 0; }

/* ---------- Compliance badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cbadge { display: flex; gap: 13px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cbadge .cb-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(52,211,153,0.1); color: var(--green); }
.cbadge .cb-ico svg { width: 22px; height: 22px; }
.cbadge b { font-family: var(--font-head); font-size: 0.95rem; display: block; }
.cbadge span { font-size: 0.78rem; color: var(--text-dim); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .25s ease; }
.acc-q .pm::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.acc-q .pm::after  { width: 2px; height: 14px; top: 4px; left: 10px; }
.acc-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 22px 22px; color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.data th { font-family: var(--font-head); color: var(--text); background: var(--surface-2); font-weight: 600; }
table.data td { color: var(--text-muted); }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-chip { display: flex; align-items: center; gap: 11px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); flex: 1 1 200px; }
.logo-chip .lc-mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #04111d; }
.logo-chip b { font-family: var(--font-head); font-size: 0.98rem; }
.logo-chip span { font-size: 0.76rem; color: var(--text-dim); }

/* ---------- Game cards ---------- */
.game-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: transform .22s ease, border-color .22s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.game-art { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; background: var(--surface-2); color: #fff; overflow: hidden; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,0.04), rgba(10,14,26,0.42)); }
.game-art svg, .game-art .gtag { position: relative; z-index: 1; }
.game-art svg { width: 46px; height: 46px; opacity: 0.96; }
/* themed cover art per portfolio card */
.grid-3 > *:nth-child(1) .game-art { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.grid-3 > *:nth-child(2) .game-art { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.grid-3 > *:nth-child(3) .game-art { background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.grid-3 > *:nth-child(4) .game-art { background: linear-gradient(135deg, #2dd4bf, #3b82f6); }
.grid-3 > *:nth-child(5) .game-art { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.grid-3 > *:nth-child(6) .game-art { background: linear-gradient(135deg, #0ea5e9, #6366f1); }

.game-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-illustration { width: 100%; height: auto; margin-bottom: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.game-art .gtag { position: absolute; top: 14px; left: 14px; font-size: 0.72rem; font-family: var(--font-head); font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(4,17,29,0.6); border: 1px solid rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.game-body { padding: 20px 22px; }
.game-body h3 { font-size: 1.12rem; }
.game-body p { font-size: 0.9rem; margin-top: 6px; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.game-meta span { font-size: 0.72rem; color: var(--text-dim); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(34,211,238,0.12), rgba(99,102,241,0.14) 50%, rgba(139,92,246,0.12)); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(139,92,246,0.25), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); }
.form-note { font-size: 0.82rem; color: var(--text-dim); }

/* Contact info cards */
.contact-card { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card .cc-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--brand-grad-soft); color: var(--cyan); }
.contact-card b { font-family: var(--font-head); display: block; margin-bottom: 3px; }
.contact-card a, .contact-card p { color: var(--text-muted); font-size: 0.92rem; }
.contact-card a:hover { color: var(--cyan); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--text-dim); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 18px; max-width: 64ch; font-size: 1.12rem; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 42px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.98rem; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 12px; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 36px; }
.toc h4 { margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; columns: 2; gap: 18px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-muted); font-size: 0.9rem; }
.toc a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: linear-gradient(180deg, #ffffff, #f5f8fc); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 38ch; }
.footer-legal-line { font-size: 0.8rem; color: var(--text-dim); margin-top: 18px; max-width: 44ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; color: var(--text-muted); transition: all .15s ease; }
.footer-social a:hover { color: var(--text); border-color: var(--cyan); background: rgba(34,211,238,0.08); }
.footer-social svg { width: 18px; height: 18px; }
.footer-disclaimer { padding: 0 0 40px; }
.footer-disclaimer p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; max-width: 100%; }

/* ---------- Hero / page-hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, rgba(8,145,178,0.09), rgba(124,58,237,0.06) 42%, rgba(255,255,255,0) 88%); }

/* ---- Full-bleed cinematic hero ---- */
.hero-cine {
  background:
    linear-gradient(95deg, rgba(7,11,22,0.94) 0%, rgba(7,11,22,0.74) 42%, rgba(7,11,22,0.40) 100%),
    url("../img/generated/hero.png") center/cover no-repeat;
  color: #fff; display: flex; align-items: center;
  min-height: min(720px, 88vh);
  padding-block: clamp(56px, 8vw, 96px);
}
.hero-cine .container { width: 100%; }
.hero-cine .eyebrow { color: #7dd3fc; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.hero-cine .eyebrow::before { background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
.hero-cine h1 { color: #fff; }
.hero-cine .gradient-text { background: linear-gradient(120deg, #22d3ee, #7dd3fc 42%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cine .lead { color: rgba(255,255,255,0.84); }
.hero-cine .hero-trust { border-top-color: rgba(255,255,255,0.20); }
.hero-cine .hero-trust .t b { background: linear-gradient(120deg,#22d3ee,#c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cine .hero-trust .t span { color: rgba(255,255,255,0.62); }
.hero-cine .btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.34); }
.hero-cine .btn-ghost:hover { background: rgba(255,255,255,0.2); }
.hero-cine .snapshot { background: linear-gradient(160deg, rgba(18,26,44,0.80), rgba(10,15,28,0.80)); border-color: rgba(255,255,255,0.16); backdrop-filter: blur(10px); }
.hero-cine .snapshot h4 { color: rgba(255,255,255,0.6); }
.hero-cine .snapshot-row { border-bottom-color: rgba(255,255,255,0.12); }
.hero-cine .snapshot-row .k { color: rgba(255,255,255,0.82); }
.hero-cine .snapshot-row .k svg { color: #67e8f9; }
.hero-cine .snapshot-row .v { color: #fff; }
.hero-cine .snapshot-row .v.ok { color: #6ee7b7; }
@media (max-width: 860px) {
  .hero-cine { min-height: calc(100svh - var(--header-h)); }
  .hero-cine .hero-visual { display: none; }  /* clean full-screen banner on mobile */
  .hero-cine .hero-trust { flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero-cine .hero-trust .t { width: 100%; }
}
.page-hero { position: relative; background: linear-gradient(180deg, rgba(8,145,178,0.08), rgba(124,58,237,0.04) 55%, rgba(255,255,255,0) 100%); }

/* ---------- Snapshot / glass panel ---------- */
.snapshot {
  background: linear-gradient(160deg, #ffffff, #f5f8fc);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.snapshot h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.snapshot-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.snapshot-row:last-child { border-bottom: none; }
.snapshot-row .k { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 9px; }
.snapshot-row .k svg { width: 17px; height: 17px; color: var(--cyan); }
.snapshot-row .v { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--text); text-align: right; }
.snapshot-row .v.ok { color: var(--green); }

/* ---------- Corporate structure diagram ---------- */
.org { display: grid; gap: 22px; justify-items: center; }
.org-parent {
  text-align: center; padding: 24px 30px; border-radius: var(--radius-lg);
  background: var(--brand-grad); color: #04111d; box-shadow: 0 14px 36px -14px rgba(59,130,246,0.6);
  max-width: 460px;
}
.org-parent b { font-family: var(--font-head); font-size: 1.2rem; display: block; }
.org-parent span { font-size: 0.85rem; opacity: 0.85; }
.org-connector { width: 2px; height: 26px; background: var(--line-strong); }
.org-children { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; width: 100%; }
.org-node { text-align: center; padding: 20px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.org-node.highlight { border-color: var(--cyan); background: rgba(34,211,238,0.06); }
.org-node b { font-family: var(--font-head); font-size: 1rem; display: block; }
.org-node span { font-size: 0.78rem; color: var(--text-dim); }
.org-node .tag { display: inline-block; margin-top: 8px; font-size: 0.68rem; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(34,211,238,0.12); color: var(--cyan); }

/* Two-column copy + aside */
.copy-aside { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .copy-aside { grid-template-columns: 1fr; gap: 28px; } }

/* Form result note */
.form-result { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: var(--green); font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
/* Soft fade-in as sections scroll into view (no WebGL, tasteful only).
   Scoped to .js-reveal so content is always visible if JS is off/fails. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* staggered cascade for items inside a grid */
.js-reveal .grid > .reveal:nth-child(2) { transition-delay: .07s; }
.js-reveal .grid > .reveal:nth-child(3) { transition-delay: .14s; }
.js-reveal .grid > .reveal:nth-child(4) { transition-delay: .07s; }
.js-reveal .grid > .reveal:nth-child(5) { transition-delay: .14s; }
.js-reveal .grid > .reveal:nth-child(6) { transition-delay: .21s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 22px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Mobile menu (hidden on desktop) */
.mobile-menu { display: none; }
@media (max-width: 860px) { .mobile-menu { display: block; } }
.mobile-menu .mm-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-menu .mm-group > a, .mobile-menu .mm-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 14px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text); background: none; border: none; text-align: left; }
.mobile-menu .mm-sub { display: none; padding: 0 0 10px 8px; }
.mobile-menu .mm-group.open .mm-sub { display: grid; gap: 2px; }
.mobile-menu .mm-sub a { padding: 9px 8px; color: var(--text-muted); font-size: 0.95rem; }
.mobile-menu .mm-toggle .chev { width: 18px; height: 18px; transition: transform .2s ease; }
.mobile-menu .mm-group.open .mm-toggle .chev { transform: rotate(180deg); }
.mobile-menu .mm-cta { margin-top: 22px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
