/* The page's own styles sit in the `landing` cascade layer. The order below must
   match frontend/src/styles/islands.css (it is declared here because this file
   loads first): Tailwind's layers come after, so utilities inside React islands
   win over the page's rules. */
@layer island-defaults, landing, theme, base, components, utilities;
@layer landing {
:root { --header-h: 76px; color-scheme: light; --ink: #111; --muted: #666; --line: #e5e5e5; --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { background: #fff; color: var(--ink); font-family: var(--font); margin: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #111; outline-offset: 4px; }

.site-header { align-items: center; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); display: flex; gap: 30px; height: 76px; justify-content: space-between; padding: 0 max(5vw, calc((100vw - 1280px)/2)); position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; flex: 0 0 auto; width: 164px; }
.brand img { display: block; filter: grayscale(1) contrast(1.4); height: auto; width: 100%; }
.main-nav { align-items: center; display: flex; gap: 5px; margin-left: auto; }
.main-nav a { border-radius: 7px; color: #555; font-size: 13px; font-weight: 600; padding: 10px 15px; transition: background .2s, color .2s; }
.main-nav a:hover { background: #f3f3f3; color: #111; }
.header-actions { align-items: center; display: flex; gap: 10px; }
.console-label-short { display: none; }
.mobile-menu { display: none; }
.button { align-items: center; border: 1px solid transparent; border-radius: 7px; display: inline-flex; font-size: 14px; font-weight: 650; gap: 20px; justify-content: center; min-height: 52px; padding: 0 22px; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { font-size: 12px; min-height: 40px; padding: 0 15px; }
.button-dark, .button-primary { background: #111; color: #fff; }
.button-dark:hover, .button-primary:hover { background: #333; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.button-light { background: #fff; color: #111; }
.button-light:hover { background: #eaeaea; }

.hero { background: radial-gradient(circle at 74% 46%, #f3f3f3, transparent 38%), #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); margin: auto; max-width: 1440px; min-height: 620px; padding: 84px max(7vw, calc((100vw - 1200px)/2)) 70px; position: relative; }
.hero-copy { align-self: center; max-width: 620px; padding-bottom: 28px; position: relative; z-index: 1; }
.eyebrow, .section-kicker { color: #626262; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.eyebrow { align-items: center; display: flex; gap: 10px; }
.status-dot, .live-dot { background: #111; border-radius: 50%; height: 7px; width: 7px; }
.status-dot { box-shadow: 0 0 0 4px #ebebeb; }
h1, .hero-title { color: #111; font-size: clamp(47px, 5.5vw, 72px); font-weight: 730; letter-spacing: -.065em; line-height: 1.02; margin: 24px 0 21px; max-width: 640px; }
h1 span, .hero-title span { color: #888; }
.hero-lede { color: #5a5a5a; font-size: 17px; line-height: 1.75; margin: 0; max-width: 520px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 31px; }
.text-link { border-bottom: 1px solid #bbb; color: #222; font-size: 13px; font-weight: 650; padding-bottom: 3px; transition: border-color .2s; }
.text-link:hover { border-color: #111; }
.text-link span { margin-left: 4px; }
.hero-proof { align-items: center; color: #777; display: flex; font-size: 11px; gap: 9px; margin-top: 27px; }
.proof-icon { align-items: center; background: #ececec; border-radius: 50%; color: #111; display: inline-flex; font-size: 11px; font-weight: 800; height: 20px; justify-content: center; width: 20px; }
.hero-art { align-self: center; display: grid; margin: -10px -8% 0 -3%; max-width: 520px; place-items: center; position: relative; width: 108%; }
.hero-stage { background: radial-gradient(circle at 50% 45%, #17305e 0, #0d1939 43%, #0b1026 90%); border: 1px solid #2d4271; border-radius: 22px; box-shadow: 0 28px 75px rgba(11,16,38,.2), 0 0 0 8px rgba(37,99,255,.035); color: #f8faff; isolation: isolate; min-height: 410px; overflow: hidden; padding: 21px 22px 18px; position: relative; width: 100%; }
.hero-stage::before { background-image: linear-gradient(rgba(163,194,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(163,194,255,.035) 1px, transparent 1px); background-size: 28px 28px; content: ""; inset: 0; mask-image: linear-gradient(transparent 3%, black 40%, transparent 100%); pointer-events: none; position: absolute; z-index: -1; }
.hero-stage::after { animation: stage-ambient 8s ease-in-out infinite; background: radial-gradient(circle, rgba(34,211,238,.14), rgba(37,99,255,.05) 46%, transparent 70%); content: ""; height: 360px; left: 50%; pointer-events: none; position: absolute; top: 45%; transform: translate(-50%,-50%); width: 360px; z-index: -1; }
.stage-head, .stage-foot { align-items: center; display: flex; justify-content: space-between; }
.stage-head { color: #dbe5ff; font-size: 9px; font-weight: 720; letter-spacing: .11em; white-space: nowrap; }
.stage-head > span:first-child { align-items: center; display: inline-flex; gap: 8px; }
.stage-head i, .stage-foot i { background: #22d3ee; border-radius: 50%; box-shadow: 0 0 12px rgba(34,211,238,.75); display: inline-block; height: 6px; width: 6px; }
.stage-head b { color: #6479a7; font-weight: 500; }
.stage-demo { border: 1px solid #385282; border-radius: 20px; color: #92a8d1; font-size: 7px; letter-spacing: .12em; padding: 6px 8px; }
.stage-canvas { height: 254px; position: relative; }
.stage-routes { height: 100%; inset: 0; overflow: visible; position: absolute; width: 100%; }
.stage-route { animation: route-flow 18s linear infinite; fill: none; stroke: url(#flow-gradient); stroke-dasharray: 5 9; stroke-linecap: round; stroke-width: 2; }
.stage-packet { fill: #22d3ee; filter: drop-shadow(0 0 7px #22d3ee); }
.stage-packet-second { fill: #a78bfa; filter: drop-shadow(0 0 6px #a78bfa); }
.stage-node { align-items: center; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(19,34,68,.87); border: 1px solid #486391; border-radius: 13px; box-shadow: 0 15px 30px rgba(0,0,0,.15); display: flex; flex-direction: column; height: 102px; justify-content: center; position: absolute; top: 88px; width: 110px; z-index: 2; }
.stage-source { left: 0; }
.stage-target { right: 0; }
.stage-node-icon { align-items: center; background: #173f5c; border-radius: 7px; color: #6ce4f3; display: inline-flex; font: 700 12px ui-monospace, monospace; height: 25px; justify-content: center; margin-bottom: 8px; width: 25px; }
.stage-target .stage-node-icon { background: #273972; color: #b2baff; }
.stage-node small { color: #91a8d2; font-size: 7px; font-weight: 750; letter-spacing: .1em; white-space: nowrap; }
.stage-node strong { color: #f8faff; font-size: 12px; line-height: 1.35; }
.stage-node em { color: #bdc9e5; font-size: 9px; font-style: normal; }
.stage-core { align-items: center; animation: core-float 5s ease-in-out infinite; background: radial-gradient(circle at 40% 30%, #1f3e7c, #0b1026 72%); border: 1px solid #5275bc; border-radius: 50%; box-shadow: 0 0 0 8px rgba(72,121,235,.09), 0 18px 55px rgba(0,0,0,.27); display: flex; flex-direction: column; height: 138px; justify-content: center; left: 50%; position: absolute; top: 66px; transform: translateX(-50%); width: 138px; z-index: 3; }
.stage-core-ring { animation: core-ring 4s ease-out infinite; border: 1px solid rgba(34,211,238,.6); border-radius: 50%; inset: -11px; opacity: 0; position: absolute; }
.stage-core img { height: 94px; object-fit: contain; width: 94px; }
.stage-core span { color: #cddcff; font-size: 8px; font-weight: 800; letter-spacing: .15em; margin-top: -6px; }
.stage-event { align-items: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(12,26,56,.92); border: 1px solid #3d5789; border-radius: 11px; display: flex; gap: 12px; min-height: 58px; padding: 10px 13px; position: relative; }
.stage-event-icon { align-items: center; background: #1d3771; border-radius: 7px; color: #8caaff; display: inline-flex; font-size: 17px; height: 32px; justify-content: center; width: 32px; }
.stage-event small { color: #91a8d2; display: block; font-size: 7px; font-weight: 750; letter-spacing: .14em; margin-bottom: 5px; }
.stage-event strong { color: #f8faff; font: 650 11px ui-monospace, monospace; }
.stage-event-code { color: #73e0e9; font: 700 9px ui-monospace, monospace; margin-left: auto; white-space: nowrap; }
.stage-foot { color: #8299c6; font: 650 8px ui-monospace, monospace; letter-spacing: .04em; padding-top: 15px; }
.stage-foot span:first-child { align-items: center; display: flex; gap: 8px; }
.stage-foot i { height: 5px; width: 5px; }
.hero-bottomline { align-items: center; bottom: 22px; color: #777; display: flex; font-size: 8px; font-weight: 720; gap: 13px; grid-column: 1 / -1; letter-spacing: .13em; position: absolute; }
.hero-bottomline b { color: #aaa; font-size: 14px; }
@keyframes route-flow { to { stroke-dashoffset: -280; } }
@keyframes core-float { 0%, 100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,-7px); } }
@keyframes core-ring { 0% { opacity: .6; transform: scale(.92); } 75%, 100% { opacity: 0; transform: scale(1.12); } }
@keyframes stage-ambient { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

.section-wrap { margin: auto; max-width: 1200px; padding-left: 28px; padding-right: 28px; }
.intro { padding-bottom: 39px; padding-top: 82px; }
.intro-grid { align-items: end; display: grid; gap: 80px; grid-template-columns: 1.05fr .75fr; margin-top: 20px; }
h2 { color: #111; font-size: clamp(30px, 3vw, 43px); font-weight: 690; letter-spacing: -.045em; line-height: 1.15; margin: 0; }
.intro-grid p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 3px; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); padding-bottom: 102px; padding-top: 18px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 240px; padding: 23px 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature-card:hover { border-color: #aaa; box-shadow: 0 15px 40px rgba(0,0,0,.07); transform: translateY(-3px); }
.feature-top { align-items: center; display: flex; justify-content: space-between; }
.feature-index { color: #777; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.feature-mark { align-items: center; background: #f0f0f0; border-radius: 9px; color: #222; display: inline-flex; font-size: 19px; font-weight: 650; height: 38px; justify-content: center; width: 38px; }
.feature-card h3 { color: #111; font-size: 17px; letter-spacing: -.02em; margin: 24px 0 9px; }
.feature-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; min-height: 60px; }
.feature-card a { border-bottom: 1px solid #bbb; color: #222; display: inline-block; font-size: 11px; font-weight: 680; margin-top: 14px; padding-bottom: 3px; }
.feature-card a:hover { border-color: #111; }
.feature-card a span { margin-left: 4px; }
.how-section { background: #111; color: #fff; overflow: hidden; position: relative; }
.how-section::before, .how-section::after { border: 1px solid #333; border-radius: 50%; content: ""; height: 430px; position: absolute; right: -100px; top: -235px; width: 650px; }
.how-section::after { height: 550px; right: -145px; top: -300px; width: 750px; }
.how-inner { display: grid; gap: 50px 80px; grid-template-columns: .85fr 1.15fr; padding-bottom: 72px; padding-top: 74px; position: relative; z-index: 1; }
.how-heading .section-kicker { color: #aaa; }
.how-heading h2 { color: #fff; margin-top: 17px; max-width: 430px; }
.how-heading p { color: #aaa; font-size: 13px; line-height: 1.7; margin-top: 16px; max-width: 370px; }
.steps { border-top: 1px solid #444; }
.step { align-items: flex-start; border-bottom: 1px solid #444; display: flex; gap: 20px; padding: 19px 0; }
.step > span { color: #aaa; font: 650 11px ui-monospace, monospace; padding-top: 3px; }
.step h3 { color: #fff; font-size: 14px; margin: 0 0 5px; }
.step p { color: #aaa; font-size: 11px; line-height: 1.6; margin: 0; }
.how-cta { grid-column: 2; }
.how-cta .button { font-size: 12px; min-height: 44px; }
.closing { align-items: center; display: flex; gap: 21px; padding-bottom: 62px; padding-top: 61px; }
.closing > img { filter: grayscale(1); height: 50px; object-fit: contain; width: 50px; }
.closing .section-kicker { font-size: 8px; margin-bottom: 8px; }
.closing h2 { font-size: clamp(20px, 2.4vw, 28px); }
.closing .button { margin-left: auto; min-height: 45px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 72px 28px 36px; }
.footer-panel { background: #111; border: 1px solid #111; border-radius: 20px; color: #fff; margin: 0 auto; max-width: 1200px; padding: 40px 36px 24px; }
.footer-top { display: grid; gap: 70px; grid-template-columns: minmax(220px, 290px) 1fr; margin-bottom: 48px; }
.footer-brand-block { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: inline-flex; width: 185px; }
.footer-brand img { display: block; filter: grayscale(1) brightness(0) invert(1); height: auto; object-fit: contain; width: 100%; }
.footer-brand-block p { color: #aaa; font-size: 13px; line-height: 1.7; margin: 0; max-width: 260px; }
.footer-status { align-items: center; color: #888; display: flex; font-size: 11px; gap: 9px; }
.footer-status span { background: #fff; border-radius: 50%; height: 7px; width: 7px; }
.footer-socials { display: flex; gap: 10px; margin-top: 3px; }
.footer-socials a { align-items: center; border: 1px solid #444; border-radius: 50%; color: #bbb; display: inline-flex; font-size: 13px; font-weight: 650; height: 35px; justify-content: center; transition: border-color .2s, color .2s, transform .2s; width: 35px; }
.footer-socials a:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.footer-socials svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 17px; }
.footer-nav { display: grid; gap: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-col h3 { color: #888; font-size: 11px; font-weight: 700; letter-spacing: .15em; margin: 3px 0 20px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-col a { color: #bbb; display: inline-block; font-size: 13px; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom { align-items: center; border-top: 1px solid #333; color: #777; display: flex; flex-wrap: wrap; font-size: 11px; gap: 16px; justify-content: space-between; padding-top: 23px; }
.footer-bottom a { color: #bbb; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .site-header { padding: 0 26px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 10px; }
  .hero { grid-template-columns: 1fr 1fr; padding-left: 7vw; padding-right: 5vw; }
  .hero-art { margin-left: -5%; margin-right: -8%; }
  .hero-stage { padding-left: 16px; padding-right: 16px; }
  .stage-node { width: 94px; }
  .stage-core { height: 120px; width: 120px; }
  .intro-grid { gap: 36px; }
  .how-inner { gap: 35px; }
  .footer-top { gap: 40px; grid-template-columns: 1fr; }
}
@media (min-width: 681px) and (max-width: 800px) {
  .stage-demo, .stage-foot > span:last-child { display: none; }
  .stage-node { width: 82px; }
  .stage-core { height: 108px; width: 108px; }
  .stage-core img { height: 77px; width: 77px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  :root { --header-h: 66px; }
  .site-header { gap: 8px; height: 66px; padding: 0 18px; }
  .brand { width: 138px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .button-small { gap: 7px; min-height: 36px; padding: 0 10px; white-space: nowrap; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { align-items: center; border: 1px solid #ddd; border-radius: 7px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; height: 36px; justify-content: center; list-style: none; width: 36px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { background: #111; border-radius: 1px; height: 2px; width: 15px; }
  .mobile-menu nav { background: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.13); display: flex; flex-direction: column; min-width: 190px; padding: 8px; position: absolute; right: 0; top: 46px; }
  .mobile-menu nav a { border-radius: 6px; font-size: 13px; padding: 11px 12px; }
  .mobile-menu nav a:hover { background: #f2f2f2; }
  .hero { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 58px 24px 58px; width: 100%; }
  .hero-copy { align-self: stretch; max-width: none; padding: 0; width: 100%; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  h1, .hero-title { font-size: clamp(43px, 12vw, 60px); margin-top: 20px; }
  .hero-lede { font-size: 15px; line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 23px; }
  .hero-proof { font-size: 10px; margin-top: 22px; }
  .hero-art { align-self: center; flex: 0 0 auto; margin: 30px 0 25px; max-width: 470px; width: 100%; }
  .hero-stage { min-height: 380px; padding: 17px; }
  .stage-canvas { height: 230px; }
  .stage-node { height: 94px; top: 78px; width: 82px; }
  .stage-node strong { font-size: 10px; }
  .stage-node small { font-size: 6px; }
  .stage-core { height: 108px; top: 68px; width: 108px; }
  .stage-core img { height: 77px; width: 77px; }
  .stage-core span { font-size: 7px; }
  .stage-demo, .stage-foot > span:last-child { display: none; }
  .hero-bottomline { bottom: 21px; font-size: 7px; gap: 7px; letter-spacing: .06em; }
  .section-wrap { padding-left: 23px; padding-right: 23px; }
  .intro { padding-bottom: 25px; padding-top: 59px; }
  .intro-grid { display: block; margin-top: 17px; }
  .intro-grid h2 { font-size: 32px; }
  .intro-grid p { font-size: 13px; margin-top: 16px; }
  .feature-grid { gap: 11px; grid-template-columns: 1fr; padding-bottom: 67px; padding-top: 13px; }
  .feature-card { min-height: 0; padding: 19px; }
  .feature-card h3 { margin-top: 17px; }
  .feature-card p { min-height: 0; }
  .feature-card a { margin-top: 12px; }
  .how-inner { display: block; padding-bottom: 56px; padding-top: 57px; }
  .how-heading h2 { font-size: 34px; }
  .steps { margin-top: 30px; }
  .how-cta { margin-top: 21px; }
  .closing { align-items: flex-start; flex-wrap: wrap; gap: 13px; padding-bottom: 43px; padding-top: 43px; }
  .closing > img { height: 39px; width: 39px; }
  .closing > div { flex: 1; }
  .closing h2 { font-size: 20px; }
  .closing .button { margin-left: 52px; }
  .site-footer { padding: 44px 15px 24px; }
  .footer-panel { border-radius: 15px; padding: 28px 22px 22px; }
  .footer-top { gap: 32px; margin-bottom: 34px; }
  .footer-brand-block { align-items: center; text-align: center; }
  .footer-status { justify-content: center; }
  .footer-nav { gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col:first-child ul { column-gap: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 390px) { .brand { width: 115px; } .site-header .button-small { font-size: 11px; } .hero-bottomline { font-size: 6px; } }

/* The two modes share Iruz Connect's blue, cyan and violet accents. */
:root { --brand: #2563ff; --cyan: #22d3ee; --violet: #8b5cf6; }
.brand img, .closing > img, .footer-brand img { filter: none; }
.theme-toggle { align-items: center; background: transparent; border: 1px solid #dedede; border-radius: 7px; color: #1c2741; cursor: pointer; display: inline-flex; flex: 0 0 40px; height: 40px; justify-content: center; padding: 0; transition: background .2s, border-color .2s, transform .2s; }
.theme-toggle:hover { background: #edf2ff; border-color: #cbd8ff; transform: translateY(-1px); }
.theme-toggle svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
.main-nav a:hover { background: #edf2ff; color: #183da4; }
.button-primary { background: linear-gradient(105deg, var(--brand), #4a5eff 58%, var(--violet)); box-shadow: 0 10px 24px rgba(37,99,255,.23); }
.button-primary:hover { background: linear-gradient(105deg, #1c52df, #414fe4 58%, #7946df); box-shadow: 0 14px 30px rgba(37,99,255,.32); }
.button-dark { background: #0b1026; }
.hero { background: radial-gradient(circle at 74% 46%, rgba(37,99,255,.09), transparent 40%), #fff; }
.eyebrow, .section-kicker { color: var(--brand); }
.status-dot, .live-dot { background: var(--cyan); }
.status-dot { box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
h1 span, .hero-title span { background: linear-gradient(100deg, var(--brand), #4974ff 54%, var(--violet)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-link:hover, .feature-card a:hover { border-color: var(--brand); color: var(--brand); }
.text-link span { color: var(--brand); }
.proof-icon { background: #e8f8f8; color: #087b91; }
.feature-card:hover { border-color: #bfcbef; box-shadow: 0 15px 40px rgba(37,99,255,.07); }
.feature-mark { background: #edf2ff; color: var(--brand); }
.feature-cyan .feature-mark { background: #e8fbff; color: #0a9bb7; }
.feature-violet .feature-mark { background: #f4eeff; color: var(--violet); }
.feature-card a { border-color: #c9d7ff; color: #2259dd; }
.how-section { background: #0b1026; }
.how-section::before, .how-section::after { border-color: rgba(139,92,246,.2); }
.how-heading .section-kicker, .step > span { color: #91a8ff; }
.footer-panel { background: #0b1026; border-color: #1b2852; }
.footer-brand img { filter: none; }
.footer-status span { background: var(--cyan); }
.footer-socials a:hover, .footer-bottom a:hover { color: var(--cyan); }

[data-theme="dark"] { color-scheme: dark; --ink: #f8faff; --muted: #aab5ce; --line: #263454; }
[data-theme="dark"] body { background: #080d1e; color: var(--ink); }
[data-theme="dark"] a:focus-visible, [data-theme="dark"] summary:focus-visible { outline-color: var(--cyan); }
[data-theme="dark"] .site-header { background: rgba(11,16,38,.92); border-color: #283655; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
[data-theme="dark"] .main-nav a { color: #b7c3dc; }
[data-theme="dark"] .main-nav a:hover { background: #1c2b4f; color: #fff; }
[data-theme="dark"] .theme-toggle { border-color: #3a4b70; color: #d4e8ff; }
[data-theme="dark"] .theme-toggle:hover { background: #1b2b50; border-color: #6a8bd9; }
[data-theme="dark"] .button-dark { background: #edf2ff; color: #0b1026; }
[data-theme="dark"] .button-dark:hover { background: #fff; }
[data-theme="dark"] .hero { background: radial-gradient(circle at 72% 43%, rgba(37,99,255,.16), transparent 42%), #080d1e; }
[data-theme="dark"] h1, [data-theme="dark"] .hero-title, [data-theme="dark"] h2, [data-theme="dark"] .feature-card h3 { color: #f8faff; }
[data-theme="dark"] .hero-lede, [data-theme="dark"] .intro-grid p, [data-theme="dark"] .feature-card p { color: #aab5ce; }
[data-theme="dark"] .eyebrow, [data-theme="dark"] .section-kicker { color: #8babff; }
[data-theme="dark"] .text-link { border-color: #6380bc; color: #dce7ff; }
[data-theme="dark"] .text-link:hover { color: var(--cyan); }
[data-theme="dark"] .hero-proof, [data-theme="dark"] .hero-bottomline { color: #9aa9c5; }
[data-theme="dark"] .proof-icon { background: #193a54; color: var(--cyan); }
[data-theme="dark"] .hero-stage { border-color: #486194; box-shadow: 0 28px 75px rgba(0,0,0,.25), 0 0 0 8px rgba(37,99,255,.035); }
[data-theme="dark"] .hero-bottomline b { color: #617195; }
[data-theme="dark"] .feature-card { background: #121b34; border-color: #2b395b; }
[data-theme="dark"] .feature-card:hover { border-color: #5479c7; box-shadow: 0 15px 40px rgba(0,0,0,.13); }
[data-theme="dark"] .feature-index { color: #9aa9c5; }
[data-theme="dark"] .feature-mark { background: #1d346d; color: #9bb4ff; }
[data-theme="dark"] .feature-cyan .feature-mark { background: #164156; color: #72e4f0; }
[data-theme="dark"] .feature-violet .feature-mark { background: #302455; color: #c6a4ff; }
[data-theme="dark"] .feature-card a { border-color: #4564a8; color: #9bb4ff; }
[data-theme="dark"] .feature-card a:hover { border-color: var(--cyan); color: var(--cyan); }
[data-theme="dark"] .how-section { background: #111a33; }
[data-theme="dark"] .site-footer { background: #080d1e; border-color: #263454; }
[data-theme="dark"] .footer-panel { background: #111a33; border-color: #2b395b; }
[data-theme="dark"] .mobile-menu summary { border-color: #3a4b70; }
[data-theme="dark"] .mobile-menu summary span { background: #f8faff; }
[data-theme="dark"] .mobile-menu nav { background: #15213d; border-color: #3a4b70; }
[data-theme="dark"] .mobile-menu nav a:hover { background: #223356; }
@media (max-width: 680px) { .theme-toggle { flex-basis: 36px; height: 36px; } }
@media (max-width: 390px) { .header-actions { gap: 6px; } .brand { width: 105px; } .site-header .button-small { font-size: 11px; } .console-label-full { display: none; } .console-label-short { display: inline; } }
@media (max-width: 360px) { .stage-node { width: 70px; } .stage-node strong { font-size: 9px; } .stage-core { height: 96px; width: 96px; } .stage-core img { height: 69px; width: 69px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .stage-packet { display: none; } }

/* ---- Hero: the static fallback of the "scroll-morph-hero" React island ---- */
.channels-hero { min-height: calc(100vh - var(--header-h)); padding: 64px 28px 48px; }
.channels-hero[data-island-mounted] { min-height: 0; padding: 0; }
/* While islands.js loads, keep the fallback invisible (not removed: it holds the space). */
.island-pending [data-island]:not([data-island-mounted]) > * { visibility: hidden; }
.morph-logo { display: block; height: 96px; margin: 0 auto 8px; width: 96px; }
.channels-hero h1 { margin: 0 auto 40px; text-align: center; }
.morph-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; margin-top: 28px; }
.morph-content { margin: 0 auto; max-width: 760px; text-align: center; }
.morph-content .section-kicker { margin-bottom: 14px; }
.morph-content > p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 14px auto 0; max-width: 560px; }
.channel-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 26px 0 0; padding: 0; }
.channel-list li { align-items: center; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; font-size: 13px; gap: 8px; padding: 7px 14px; }
.channel-list li span { color: var(--muted); font-size: 11px; }
.channel-list li[data-status="available"] { border-color: #25d366; }
.channel-list li[data-status="available"] span { color: #138a43; font-weight: 650; }
[data-theme="dark"] .channel-list li[data-status="available"] span { color: #5ee08f; }

}
