/* Healthy Ageing Ambassadors — public landing page (depends on tokens.css) */
.wrap { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 8px; }
.skip:focus { left: 1rem; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.4rem; border-radius: 999px; font: 600 .92rem var(--font-body); text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(245,165,36,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,165,36,.4); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--teal-deep); }
.btn-lg { min-height: 56px; padding-inline: 1.8rem; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: .4rem 1.1rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,.08); transition: background .25s, color .25s, box-shadow .25s; }
.nav-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; margin-right: auto; font: 600 1.02rem var(--font-display); }
.brand .logo { display: block; height: 40px; width: auto; }
.logo-light { display: none !important; }
.brand-text { display: none; line-height: 1.1; }
.brand-text b { font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav.on-light .brand-text b { background: none; color: var(--teal-deep); }
.nav.no-logo .logo { display: none !important; }
.nav.no-logo .brand-text { display: block; }
.nav.on-light { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 6px 24px rgba(10,22,51,.08); border-color: var(--line); }
.nav.on-light .logo-dark { display: none !important; }
.nav.on-light .logo-light { display: block !important; }
.nav.on-light.no-logo .logo-light { display: none !important; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.menu a { color: inherit; text-decoration: none; padding: .55rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 500; display: inline-block; opacity: .88; }
.menu ul a:hover { opacity: 1; background: rgba(127,140,180,.18); }
.menu { display: flex; align-items: center; gap: 1rem; }
.menu-cta { display: flex; gap: .6rem; }
.menu-cta .btn { min-height: 44px; font-size: .84rem; padding-inline: 1.1rem; }
.nav.on-light .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav { --bc: var(--on-dark); } .nav.on-light { --bc: var(--ink); }
.burger { color: var(--bc); }
.nav.on-light .burger { background: var(--paper); }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1040px) {
  .burger { display: flex; }
  .menu { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 1rem 1.25rem 1.5rem; display: none; box-shadow: 0 20px 40px rgba(10,22,51,.35); }
  .nav.on-light .menu { background: #fff; }
  .nav.open .menu { display: flex; }
  .menu ul { flex-direction: column; }
  .menu ul a { display: block; font-size: 1rem; padding: .8rem .6rem; min-height: 48px; }
  .menu-cta { flex-direction: column; }
  .menu-cta .btn { min-height: 52px; }
}

/* ticker */
.ticker { background: var(--ink-2); color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,.06); font-size: .85rem; }
.ticker[hidden] { display: none; }
.ticker-in { display: flex; align-items: center; gap: .9rem; min-height: 46px; }
.ticker-tag { flex: none; background: var(--teal); color: var(--ink); font-weight: 700; padding: .15rem .7rem; border-radius: 999px; font-size: .78rem; }
.ticker-view { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); border-radius: 6px; }
.ticker-track { display: flex; width: max-content; animation: tick var(--dur, 40s) linear infinite; }
.tk-set { display: flex; align-items: center; flex: none; white-space: nowrap; }
.tk-set a, .tk-set span { color: var(--on-dark); text-decoration: none; padding: .5rem 0; }
.tk-set a:hover { text-decoration: underline; }
.sep { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin: 0 1.6rem; flex: none; }
.ticker-view:hover .ticker-track, .ticker-view:focus-within .ticker-track, .ticker-view:focus .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--on-dark); display: grid; place-items: center; }
.ticker-pause svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticker-pause .i-play { display: none; fill: currentColor; }
.ticker-pause[aria-pressed=true] .i-play { display: block; } .ticker-pause[aria-pressed=true] .i-pause { display: none; }

/* hero */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 40%, rgba(47,128,237,.35), transparent 70%),
  radial-gradient(45% 55% at 70% 80%, rgba(142,92,217,.28), transparent 70%),
  radial-gradient(50% 60% at 10% 10%, rgba(18,181,166,.25), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.chip-live { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 var(--teal-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18,181,166,0); } 100% { box-shadow: 0 0 0 0 rgba(18,181,166,0); } }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 1.2rem; max-width: 14ch; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--on-dark-muted); max-width: 34em; margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin: 1.6rem 0 0; font-size: .82rem; color: var(--on-dark-muted); }
.orbit { position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 1; }
.orbit-svg { width: 100%; height: 100%; overflow: visible; }
.orbit .spin { transform-origin: 0 0; animation: spin 40s linear infinite; }
.orbit .s1 { animation-duration: 18s; } .orbit .s2 { animation-duration: 28s; animation-direction: reverse; } .orbit .s3 { animation-duration: 38s; } .orbit .s4 { animation-duration: 52s; animation-direction: reverse; } .orbit .s5 { animation-duration: 66s; }
.orbit .r1 { stroke-dasharray: 520 180; transform-origin: 0 0; animation: spin 24s linear infinite; }
.orbit .spin circle { filter: drop-shadow(0 0 8px currentColor); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit-core::before { content: ""; position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-brand); opacity: .9; filter: blur(.3px); box-shadow: 0 0 60px var(--teal-glow), 0 0 120px rgba(142,92,217,.35); }
.orbit-core img { position: relative; width: 17%; height: auto; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 2rem; }
  .orbit { max-width: 260px; order: -1; margin: -1rem 0 -1rem; }
  .hero h1 { max-width: none; }
}

/* sections */
.sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sec-head { max-width: 40rem; margin-bottom: 2.4rem; }
.sec-head h2, .partners h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .6rem; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* banners */
.banners { padding: 2rem 0 0; background: var(--paper); }
.carousel { position: relative; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1/1; position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); min-height: 270px; display: flex; align-items: center; color: #fff; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; background: linear-gradient(120deg, #0B7F76, #1E4FA0 60%, #5B3AA6); box-shadow: var(--shadow-lg); }
.slide[style*="--hue:1"] { background: linear-gradient(120deg, #1E4FA0, #5B3AA6 70%, #8E3F9E); }
.slide[style*="--hue:2"] { background: linear-gradient(120deg, #0A1633, #13224A 40%, #0B7F76); }
.slide.active { opacity: 1; visibility: visible; }
.slide[style*="--img"] { background-image: linear-gradient(90deg, rgba(10,22,51,.85), rgba(10,22,51,.3)), var(--img); background-size: cover; }
.slide-in { position: relative; z-index: 1; max-width: 36rem; }
.slide h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: .7rem; }
.slide p { font-size: 1.08rem; margin: 0 0 1.4rem; color: rgba(255,255,255,.88); }
.slide-art { position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; translate: 0 -50%; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); box-shadow: inset 0 0 0 40px rgba(255,255,255,.04), inset 0 0 0 41px rgba(255,255,255,.12), inset 0 0 0 90px rgba(255,255,255,.04); }
.car-ctl { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.1rem; }
.carousel.single .car-ctl { display: none; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.car-btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { border-color: var(--teal-deep); }
.dots { display: flex; gap: .15rem; }
.dots button { width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; translate: -50% -50%; border-radius: 99px; background: #B4BDD3; transition: width .3s, background .3s; }
.dots button[aria-current=true]::after { width: 30px; background: var(--teal-deep); }

/* stats */
.stats { padding: 2.5rem 0 1rem; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; }
.stat-v { font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-display); letter-spacing: -.03em; margin: 0 0 .5rem; background: linear-gradient(120deg,#0B7F76,#1F5FCC 60%,#6B3FC0); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-v small { font-size: .38em; font-weight: 600; letter-spacing: 0; -webkit-text-fill-color: var(--muted); color: var(--muted); margin-left: .2em; }
.stat-v.small { font-size: 1.3rem; line-height: 1.15; min-height: 2.6rem; display: flex; align-items: flex-end; }
.stat-l { margin: 0; font-weight: 600; font-size: .95rem; }
.stat-s { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat-grid > :last-child { grid-column: span 2; } }

/* tabs */
.tablist { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tablist [role=tab] { flex: none; min-height: 48px; padding: .5rem 1.2rem; border: 0; background: transparent; color: var(--muted); font: 600 .92rem var(--font-body); border-radius: 999px; transition: background .2s, color .2s; }
.tablist [role=tab]:hover { background: #E9EDF6; color: var(--ink); }
.tablist [role=tab][aria-selected=true] { background: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.fchip { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: .84rem; font-weight: 500; }
.fchip i, .cchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.fchip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; font-weight: 600; margin: .8rem 0 .4rem; }
.card .sum { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cchip { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #fff); font-size: .78rem; font-weight: 600; color: var(--ink); }
.kind, .badge { padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #EEF1F8; color: var(--muted); }
.badge.ongoing, .badge.open { background: #DDF6EE; color: #0A6A3F; }
.badge.upcoming { background: #FFF0D1; color: #8A5200; }
.badge.in_progress { background: #E4ECFF; color: #1E4FA0; }
.meta { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .35rem; font-size: .88rem; }
.meta li { display: flex; gap: .55rem; align-items: flex-start; }
.ic { flex: none; margin-top: .15rem; fill: none; stroke: var(--teal-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.pts { font: 700 1.1rem var(--font-display); color: var(--teal-deep); }
.empty { text-align: center; padding: 3rem 1rem; background: #fff; border: 1.5px dashed #C5CDE0; border-radius: var(--radius); }
.empty p { margin: 0 0 1.2rem; color: var(--muted); }
.skel-block { min-height: 200px; border-radius: var(--radius); background: linear-gradient(100deg, #E9EDF6 30%, #F5F7FC 50%, #E9EDF6 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }
.stat-grid .skel-block { min-height: 130px; }

/* how */
.how { background: #fff; }
.steps { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; position: relative; }
.steps li { position: relative; padding-top: 4.2rem; }
.step-n { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 1.2rem var(--font-display); z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 25px; left: 52px; right: -1.4rem; height: 2px; background: linear-gradient(90deg, var(--teal), var(--band-purple)); opacity: .5; }
.steps li:last-child::before { display: none; }
.steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 2rem 4.2rem; }
  .steps li::before { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
}
.points { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); position: relative; overflow: hidden; }
.points::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(18,181,166,.35), transparent 70%); }
.pts-num { font: 800 clamp(4.5rem, 10vw, 7rem)/.9 var(--font-display); margin: 0; background: var(--grad-sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.pts-label { margin: .8rem 0 0; font-size: 1.1rem; color: var(--on-dark-muted); max-width: 18em; }
.points-list { position: relative; z-index: 1; }
.points-list h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.points-list ul { list-style: none; margin: 0; padding: 0; }
.points-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.points-list li small { display: block; color: var(--on-dark-muted); font-size: .78rem; }
.points-list li b { color: var(--amber); white-space: nowrap; }
.points-list li.muted { color: var(--on-dark-muted); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* bands: rising stairs */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: end; }
.step { display: flex; }
.band-card { width: 100%; min-height: calc(var(--h) + 190px); background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: var(--radius); padding: 1.3rem 1.1rem; box-shadow: var(--shadow); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.band-card::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 60%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 28%, transparent), transparent); pointer-events: none; }
.band-fig { position: relative; width: 64px; height: 64px; margin-bottom: .8rem; }
.band-dot { position: absolute; inset: 8px; border-radius: 50%; background: var(--c); z-index: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent); }
.band-fig img { position: relative; z-index: 1; width: 64px; height: 64px; }
.band-card h3 { font-size: 1.25rem; margin-bottom: .1rem; }
.band-pts { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.band-pts b { font: 700 1.5rem var(--font-display); color: var(--ink); }
.band-req { font-size: .9rem; margin: 0 0 .8rem; }
.band-un { margin: auto 0 0; font-size: .86rem; color: var(--muted); position: relative; }
.band-un span { font-weight: 700; color: var(--ink); display: block; }
@media (max-width: 1000px) { .stairs { grid-template-columns: 1fr; } .band-card { min-height: 0; } .step { display: block; } .band-un { margin-top: 0; } }

/* circles */
.circles { background: #fff; }
.circle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.ccard { border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: var(--radius); padding: 1.4rem; background: var(--paper); }
.ccard h3 { font-size: 1.15rem; }
.ccard p { margin: 0 0 .7rem; font-size: .95rem; }
.ccard .un { font-size: .82rem; color: var(--muted); }
.ccard details { border-top: 1px solid var(--line); padding-top: .4rem; }
.ccard summary { cursor: pointer; font-weight: 600; font-size: .9rem; min-height: 44px; display: flex; align-items: center; color: var(--teal-deep); }
.ccard ul { margin: 0; padding-left: 1.2rem; font-size: .9rem; }
.soon { margin-top: 1.6rem; padding: 1.2rem 1.4rem; border: 1.5px dashed #C5CDE0; border-radius: var(--radius); }
.soon[hidden] { display: none; }
.soon h3 { font-size: 1rem; margin-bottom: .6rem; }
.soon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.soon li { padding: .25rem .8rem; border-radius: 99px; background: #EEF1F8; color: var(--muted); font-size: .86rem; }

/* who */
.streams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.streams li { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.streams li:nth-child(2) { background: var(--ink-2); } .streams li:nth-child(3) { background: #0F3A56; } .streams li:nth-child(4) { background: #3A2A6B; }
.streams h3 { font-size: 1.25rem; }
.streams p { color: var(--on-dark-muted); font-size: .95rem; margin: 0 0 1.4rem; }
.streams a { margin-top: auto; color: var(--amber); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
@media (max-width: 1000px) { .streams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .streams { grid-template-columns: 1fr; } }

/* partners */
.partners { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.partners h2 { font-size: 1.05rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.partners li { padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: .9rem; }

/* final cta */
.final { position: relative; background: var(--ink); color: var(--on-dark); text-align: center; overflow: hidden; isolation: isolate; padding-block: clamp(4rem, 9vw, 7rem); }
.final-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 120%, rgba(18,181,166,.5), transparent 70%), radial-gradient(40% 60% at 90% 0%, rgba(142,92,217,.35), transparent 70%); }
.final h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.final p { color: var(--on-dark-muted); font-size: 1.1rem; margin: 0 auto 2rem; max-width: 30em; }

/* footer */
.foot { background: #060E22; color: var(--on-dark-muted); padding: 2.5rem 0 2rem; font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; }
.foot p { margin: 0; } .foot-name { color: #fff; font: 700 1.1rem var(--font-display); margin-bottom: .4rem !important; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; align-items: flex-start; }
.foot a, .linkbtn { color: var(--on-dark); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; font-size: inherit; }
.copy { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; font-size: .82rem; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }

/* dialogs */
.dlg { border: 0; border-radius: var(--radius-lg); padding: 2rem; width: min(540px, 100% - 2rem); box-shadow: var(--shadow-lg); color: var(--text); max-height: calc(100dvh - 2rem); }
.dlg::backdrop { background: rgba(10,22,51,.6); backdrop-filter: blur(4px); }
.dlg h2 { font-size: 1.5rem; }
.dlg-x { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.dlg-x button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); font-size: 1.6rem; line-height: 1; }
.dlg-sub { color: var(--muted); margin: -.3rem 0 1.2rem; font-weight: 500; }
.dlg label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .9rem; }
.dlg .opt { font-weight: 400; color: var(--muted); }
.dlg input, .dlg textarea { display: block; width: 100%; margin-top: .3rem; padding: .7rem .85rem; min-height: 48px; border: 1.5px solid #B8C1D8; border-radius: 12px; font: 400 1rem var(--font-body); color: var(--text); background: #fff; }
.dlg input:focus, .dlg textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
.dlg-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-err { color: var(--danger); font-weight: 600; margin: 0; }
.ok { text-align: center; } .ok svg { fill: none; stroke: var(--success); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ok svg path { stroke-dasharray: 30; animation: draw .6s .1s both; }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
.ok h2 { margin-top: .6rem; }
