/* ==========================================================================
   CommBank Guide — global stylesheet
   Design system: "Diamond" (yellow #FFC600 / ink #16161A / paper #FFFFFF)
   ========================================================================== */

:root {
  --yellow: #FFC600;
  --yellow-soft: #FFD84D;
  --yellow-pale: #FFF4CC;
  --ink: #16161A;
  --ink-2: #232329;
  --ink-3: #2E2E36;
  --steel: #5A6472;
  --mist: #9AA3AF;
  --fog: #F4F5F7;
  --paper: #FFFFFF;
  --line: #E4E7EB;
  --green: #0F8A5F;
  --red: #D64545;
  --blue: #2457D6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(22, 22, 26, .07);
  --shadow-md: 0 12px 34px rgba(22, 22, 26, .12);
  --shadow-lg: 0 30px 70px rgba(22, 22, 26, .22);
  --font: "Segoe UI", "Segoe UI Web", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(.22, .9, .28, 1);
  --ease-spring: cubic-bezier(.3, 1.4, .4, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--yellow); color: var(--ink); padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  z-index: 1500; box-shadow: 0 0 8px rgba(255, 198, 0, .7);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px; height: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .diamond { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); line-height: 1; margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 9px 13px; color: var(--ink); font-weight: 600; font-size: .95rem;
  border-radius: 9px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--fog); text-decoration: none; }
.main-nav li.active a { background: var(--yellow-pale); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .97rem;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font);
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 198, 0, .4); }
.btn-yellow:hover { background: var(--yellow-soft); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero / 3D scenes ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(255, 198, 0, .16), transparent 60%),
    radial-gradient(700px 420px at -8% 110%, rgba(255, 198, 0, .1), transparent 55%),
    linear-gradient(180deg, #FBFBFC 0%, #FFFFFF 100%);
  padding: clamp(56px, 9vw, 110px) 0 clamp(60px, 8vw, 100px);
}
.hero-dark {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 198, 0, .22), transparent 60%),
    radial-gradient(800px 500px at -10% 115%, rgba(255, 198, 0, .12), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #1D1D23 100%);
  color: #fff;
}
.hero-dark h1, .hero-dark h2 { color: #fff; }
.hero-dark p { color: #C9CDD4; }
.hero-dark a { color: var(--yellow-soft); }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--yellow-pale); color: #7A5E00; font-weight: 700; font-size: .8rem;
  padding: 7px 15px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-dark .hero-eyebrow { background: rgba(255, 198, 0, .14); color: var(--yellow-soft); }
.hero-eyebrow svg { width: 15px; height: 15px; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--steel); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; list-style: none; padding: 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--steel); }
.hero-points svg { width: 19px; height: 19px; color: var(--green); flex: none; }
.hero-dark .hero-points li { color: #C9CDD4; }

.scene3d { perspective: 1300px; perspective-origin: 60% 35%; }
.obj3d { transform-style: preserve-3d; will-change: transform; }
.layer { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }

.hero-visual { position: relative; min-height: 380px; }
.hero-visual img.hero-main {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-9deg) rotateX(5deg);
  transition: transform .6s var(--ease-out);
}
.hero-chip {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 13px 17px; display: flex; gap: 12px; align-items: center;
  font-size: .85rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line);
}
.hero-chip svg { width: 30px; height: 30px; flex: none; }
.hero-chip small { display: block; color: var(--steel); font-weight: 500; font-size: .74rem; }
.hero-chip.c1 { top: -18px; left: -22px; }
.hero-chip.c2 { bottom: 8%; right: -16px; }
.hero-chip.c3 { bottom: -22px; left: 12%; }
.hero-dark .hero-chip { background: var(--ink-2); border-color: #3A3A44; color: #fff; }
.hero-dark .hero-chip small { color: var(--mist); }

/* Floating diamond decorations */
.float-diamond { position: absolute; opacity: .55; pointer-events: none; }
.float-diamond svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
.section { padding: clamp(58px, 8vw, 104px) 0; }
.section-fog { background: var(--fog); }
.section-dark { background: linear-gradient(180deg, var(--ink) 0%, #1D1D23 100%); color: #E8EAEE; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #B9BEC8; }
.section-yellow { background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-soft) 100%); color: var(--ink); }
.section-yellow p { color: #4A3D05; }

.section-head { max-width: 46em; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #8A6D00; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section-dark .eyebrow { color: var(--yellow-soft); }
.lead { font-size: 1.08rem; color: var(--steel); }
.section-dark .lead { color: #B9BEC8; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--steel); font-size: .95rem; margin-bottom: .6em; }
.card .card-link { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .card-link svg { transform: translateX(4px); }

.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.icon-tile {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--yellow-pale); margin-bottom: 18px;
}
.icon-tile svg { width: 27px; height: 27px; color: #8A6D00; }
.icon-tile.dark { background: var(--ink); }
.icon-tile.dark svg { color: var(--yellow); }
.icon-tile.green { background: #E3F4EC; }
.icon-tile.green svg { color: var(--green); }
.icon-tile.blue { background: #E7EEFC; }
.icon-tile.blue svg { color: var(--blue); }

/* Tilt cards (JS-driven 3D) */
.tilt { transform-style: preserve-3d; transition: box-shadow .35s; }
.tilt .tilt-inner { transform: translateZ(28px); }
.tilt .icon-tile { transform: translateZ(18px); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 76px); align-items: center; }
.split + .split { margin-top: clamp(50px, 7vw, 90px); }
.split-media { position: relative; }
.split-media img, .split-media svg.frame {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%;
}
.split-media .accent-frame {
  position: absolute; inset: -16px auto auto -16px; width: 130px; height: 130px; z-index: -1; opacity: .9;
}
.split-tag {
  position: absolute; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md);
  display: inline-flex; gap: 8px; align-items: center;
}
.split-tag svg { width: 15px; height: 15px; color: var(--yellow); }

/* ---------- Steps (guide) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 16px);
}
.steps li { position: relative; padding: 0 0 34px 84px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(255, 198, 0, .45);
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--steel); margin-bottom: .2em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); padding: 26px; text-align: center;
}
.stat b { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.stat span { color: #B9BEC8; font-size: .9rem; }
.section:not(.section-dark) .stat { background: #fff; border-color: var(--line); }
.section:not(.section-dark) .stat span { color: var(--steel); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.table { width: 100%; border-collapse: collapse; background: #fff; font-size: .93rem; min-width: 560px; }
.table th { background: var(--ink); color: #fff; text-align: left; padding: 14px 18px; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.table td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table tbody tr:nth-child(even) { background: #FAFBFC; }
.table tbody tr:hover { background: var(--yellow-pale); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; transition: box-shadow .3s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--yellow); }
.faq summary {
  cursor: pointer; padding: 19px 54px 19px 22px; font-weight: 700; font-size: 1rem; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--steel); font-size: .95rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0; font-size: .84rem; color: var(--steel); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-right: 2px solid var(--mist); border-top: 2px solid var(--mist); transform: rotate(45deg); vertical-align: 1px; }
.breadcrumbs a { color: var(--steel); font-weight: 600; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Notice / callout ---------- */
.callout {
  display: flex; gap: 16px; background: var(--yellow-pale); border-left: 5px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 26px 0;
}
.callout svg { width: 26px; height: 26px; flex: none; color: #8A6D00; margin-top: 2px; }
.callout p { margin: 0; font-size: .95rem; color: #4A3D05; }
.callout.info { background: #E7EEFC; border-color: var(--blue); }
.callout.info svg { color: var(--blue); }
.callout.info p { color: #1E3A77; }
.callout.danger { background: #FBEAEA; border-color: var(--red); }
.callout.danger svg { color: var(--red); }
.callout.danger p { color: #7A2424; }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding-left: 0; }
.check-list svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 3px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(180deg, var(--yellow), var(--line)); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -36px; top: 4px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--yellow); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--yellow);
}
.timeline-item b.year { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.badge-yellow { background: var(--yellow-pale); color: #8A6D00; }
.badge-green { background: #E3F4EC; color: var(--green); }
.badge-blue { background: #E7EEFC; color: var(--blue); }
.badge-ink { background: var(--ink); color: #fff; }
.badge svg { width: 13px; height: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink) 30%, #26262E 100%);
  color: #fff; padding: clamp(36px, 5vw, 60px);
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: #C9CDD4; margin: 0; max-width: 38em; }
.cta-band .diamond-deco { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; opacity: .14; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9BEC8; padding: clamp(48px, 6vw, 76px) 0 0; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #B9BEC8; }
.footer-grid a:hover { color: var(--yellow); text-decoration: none; }
.footer-brand p { color: #8E95A0; font-size: .88rem; max-width: 30em; }
.footer-bottom { border-top: 1px solid #33333C; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .82rem; color: #8E95A0; }
.footer-bottom .diamond { width: 20px; height: 20px; }
.footer-disclaimer { padding: 0 0 26px; font-size: .78rem; color: #767D88; border-top: 1px solid #26262E; padding-top: 20px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 18px; bottom: 18px; z-index: 1800; max-width: 430px;
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--yellow);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px;
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease-spring), opacity .5s;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.cookie-banner h3 svg { width: 20px; height: 20px; color: #8A6D00; }
.cookie-banner p { font-size: .83rem; color: var(--steel); margin-bottom: 14px; }
.cookie-banner p a { font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-left { opacity: 0; transform: translateX(-52px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-right { opacity: 0; transform: translateX(52px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-scale { opacity: 0; transform: scale(.88); transition: opacity .8s var(--ease-out), transform .8s var(--ease-spring); transition-delay: var(--d, 0s); }
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Marquee strip ---------- */
.strip { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 16px 0; }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--steel); font-size: .95rem; white-space: nowrap; }
.strip-track svg { width: 18px; height: 18px; color: var(--yellow); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Misc ---------- */
.kbd { font-family: Consolas, "Courier New", monospace; background: var(--fog); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 2px 9px; font-size: .85em; }
.divider-diamond { display: flex; gap: 10px; justify-content: center; padding: 8px 0; }
.divider-diamond i { width: 9px; height: 9px; background: var(--yellow); transform: rotate(45deg); display: block; }
.divider-diamond i:nth-child(2) { opacity: .6; }
.divider-diamond i:nth-child(3) { opacity: .3; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #33363D; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .hero-visual { min-height: 300px; margin-top: 10px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 14px 4%; display: none;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 14px; }
  body.nav-open .main-nav { display: block; }
  .nav-toggle { display: block; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-header .btn { display: none; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cookie-banner { left: 10px; right: 10px; max-width: none; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
  .steps li { padding-left: 68px; }
  .steps li::before { width: 46px; height: 46px; font-size: 1.05rem; }
  .steps::before { left: 23px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}
