:root {
  --bg: #050e19;
  --bg-soft: #081624;
  --panel: rgba(9, 25, 40, 0.72);
  --panel-strong: #0a1a2a;
  --line: rgba(166, 221, 240, 0.14);
  --line-strong: rgba(166, 221, 240, 0.24);
  --text: #f2f8fb;
  --muted: #88a4b5;
  --cyan: #25c7d9;
  --cyan-bright: #54e7ff;
  --cyan-deep: #087cac;
  --amber: #f2a53b;
  --good: #87ead0;
  --radius: 24px;
  --max: 1440px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.site-shell { position: relative; min-height: 100vh; }
.ambient { position: absolute; border-radius: 999px; filter: blur(120px); opacity: .16; pointer-events: none; }
.ambient-a { width: 560px; height: 560px; background: var(--cyan); top: 50px; right: -250px; }
.ambient-b { width: 420px; height: 420px; background: #063d6b; top: 680px; left: -280px; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 18px auto 0;
  min-height: 70px;
  border: 1px solid var(--line);
  background: rgba(5, 14, 25, .7);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px 10px 16px;
  position: sticky;
  top: 12px;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 12px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: #a8bdca; font-size: 12px; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: white; }
.header-cta { justify-self: end; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(84,231,255,.25); background: rgba(37,199,217,.08); color: #dffbff; font-size: 12px; font-weight: 700; }
.header-cta span { color: var(--cyan-bright); margin-left: 8px; }

.section-pad { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 124px 0; }
.hero { min-height: 820px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; padding-top: 96px; }
.eyebrow, .section-kicker { color: #83a5b7; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; background: var(--cyan-bright); border-radius: 50%; box-shadow: 0 0 0 5px rgba(84,231,255,.08), 0 0 22px rgba(84,231,255,.55); }
.hero h1 { font-size: clamp(64px, 7vw, 112px); letter-spacing: -.07em; line-height: .88; margin: 34px 0 34px; max-width: 900px; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(149,223,244,.48); }
.hero-lede { font-size: 20px; line-height: 1.6; color: #9eb6c4; max-width: 760px; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 13px; font-weight: 800; font-size: 13px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #2bcee1, #168fbf); color: #03111c; box-shadow: 0 12px 34px rgba(37,199,217,.2); }
.btn-primary span { margin-left: 14px; }
.btn-ghost { border: 1px solid var(--line); color: #c4d5de; background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--line-strong); }
.hero-meta { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; }
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta strong { font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.hero-meta span { color: #6f8c9c; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.hero-orbit { min-height: 620px; display: flex; flex-direction: column; justify-content: center; }
.orbit-stage { width: min(580px, 90vw); aspect-ratio: 1; margin: 0 auto; position: relative; }
.orbit-stage::before { content:""; position:absolute; inset:18%; border-radius:50%; background: radial-gradient(circle, rgba(38,200,220,.13), transparent 68%); filter: blur(20px); }
.orbit-line { position: absolute; border: 1px solid rgba(93,218,240,.17); border-radius: 50%; }
.orbit-line-a { inset: 5%; transform: rotate(-16deg) scaleY(.77); }
.orbit-line-b { inset: 17%; transform: rotate(28deg) scaleY(.76); border-color: rgba(93,218,240,.28); }
.orbit-line-c { inset: 30%; border-style: dashed; border-color: rgba(242,165,59,.22); animation: spin 26s linear infinite; }
.logo-core { position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(17,53,76,.95), rgba(4,14,24,.7)); box-shadow: inset 0 0 0 1px rgba(112,228,245,.16), 0 0 80px rgba(37,199,217,.08); }
.logo-core img { width: 82%; border-radius: 50%; mix-blend-mode: screen; }
.orbit-node { position: absolute; min-width: 54px; height: 28px; display:grid; place-items:center; border:1px solid rgba(107,217,236,.22); background:#071725; border-radius:999px; color:#8bb8c8; font-size:8px; font-weight:900; letter-spacing:.1em; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.node-1 { top: 10%; left: 43%; }
.node-2 { top: 24%; right: 5%; }
.node-3 { bottom: 23%; right: 9%; }
.node-4 { bottom: 8%; left: 46%; }
.node-5 { bottom: 24%; left: 5%; }
.node-6 { top: 25%; left: 1%; }
.node-7 { top: 45%; right: 12%; border-color: rgba(242,165,59,.24); color: #d6af77; }
.orbit-caption { display:flex; justify-content:space-between; gap:20px; color:#6e8d9e; font-size:10px; letter-spacing:.1em; text-transform:uppercase; border-top:1px solid var(--line); padding-top:18px; }
.orbit-caption span:last-child { text-align:right; text-transform:none; letter-spacing:0; font-size:11px; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.ticker { width: max-content; display: flex; gap: 25px; align-items: center; padding: 17px 0; animation: ticker 28s linear infinite; font-size: 11px; letter-spacing: .14em; color: #7898a8; }
.ticker::after { content: "NEXUS CORE ◆ NEXUS CREATIVE ◆ NEXUS SHIELD ◆ NEXUS FLOW ◆ NEXUS SEARCH ◆ NEXUS BUSINESS ◆ NEXUS AI ◆"; word-spacing: 22px; }
.ticker i { color: var(--cyan); font-size: 7px; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-kicker { display:flex; gap:12px; align-items:center; margin-bottom: 30px; }
.section-kicker span { color: var(--cyan-bright); }
.manifesto-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items:start; }
.manifesto h2, .section-heading h2, .bridge h2, .closing h2 { font-size: clamp(48px, 5.2vw, 82px); line-height:.97; letter-spacing:-.055em; margin: 0; }
.manifesto h2 em { color: var(--cyan-bright); font-style: normal; }
.manifesto-copy { color:#9cb3c0; font-size:18px; line-height:1.75; max-width: 600px; }
.manifesto-copy p:first-child { margin-top:0; }
.principle-strip { display:grid; grid-template-columns:repeat(4,1fr); margin-top:84px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.principle-strip article { padding:32px 28px; min-height:210px; border-right:1px solid var(--line); }
.principle-strip article:first-child { border-left:1px solid var(--line); }
.principle-strip article > span { color:#486778; font-size:11px; letter-spacing:.1em; }
.principle-strip h3 { font-size:18px; margin:38px 0 12px; }
.principle-strip p { margin:0; color:#718f9e; font-size:13px; line-height:1.6; }

.section-heading { display:grid; grid-template-columns: 1fr minmax(320px, 520px); gap:60px; align-items:end; margin-bottom:54px; }
.section-heading .section-kicker { margin-bottom:20px; }
.section-heading > p { margin:0 0 8px; color:#86a0ae; line-height:1.7; font-size:15px; }
.featured-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; grid-auto-flow:dense; }
.featured-card { min-height: 380px; display:flex; flex-direction:column; justify-content:space-between; padding:22px; border-radius:22px; border:1px solid var(--line); background: linear-gradient(180deg, rgba(16,38,55,.72), rgba(6,18,30,.82)); position:relative; overflow:hidden; transition: transform .25s ease, border-color .25s ease; }
.featured-card::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; right:-100px; bottom:-110px; background:radial-gradient(circle, rgba(45,206,225,.12), transparent 67%); }
.featured-card:hover { transform: translateY(-4px); border-color:rgba(96,222,241,.28); }
.featured-card.large { grid-column: span 2; min-height: 430px; }
.featured-card.wide { grid-column: span 2; }
.featured-top, .featured-foot { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.suite-pill { font-size:9px; font-weight:900; letter-spacing:.13em; color:#79adbd; }
.status { display:inline-flex; align-items:center; min-height:22px; padding:0 8px; border-radius:999px; text-transform:uppercase; letter-spacing:.08em; font-size:8px; font-weight:900; white-space:nowrap; }
.status.building { background:rgba(73,227,207,.08); color:#87ead0; border:1px solid rgba(73,227,207,.16); }
.status.planned { background:rgba(84,231,255,.07); color:#7fd7e6; border:1px solid rgba(84,231,255,.14); }
.status.later { background:rgba(242,165,59,.07); color:#d5ae76; border:1px solid rgba(242,165,59,.14); }
.featured-body { display:flex; align-items:flex-end; gap:26px; max-width: 740px; margin: 76px 0 50px; position:relative; z-index:2; }
.product-mark { width:74px; height:74px; border-radius:20px; flex: 0 0 auto; display:grid; place-items:center; border:1px solid rgba(92,223,243,.18); background:rgba(0,0,0,.16); color:#e7fbff; font-size:18px; font-weight:900; letter-spacing:-.04em; box-shadow: inset 0 0 30px rgba(37,199,217,.05); }
.featured-body h3 { font-size:36px; letter-spacing:-.045em; margin:0 0 10px; }
.featured-body p { margin:0; color:#7f9cab; line-height:1.55; font-size:14px; max-width:560px; }
.featured-foot { border-top:1px solid var(--line); padding-top:16px; color:#557587; font-size:9px; letter-spacing:.09em; text-transform:uppercase; }

.suite-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.suite-tab { cursor:pointer; color:#718f9e; border:1px solid var(--line); background:rgba(255,255,255,.015); padding:10px 14px; border-radius:999px; font-size:11px; transition:.2s ease; }
.suite-tab:hover, .suite-tab.active { color:#d9f8fc; border-color:rgba(84,231,255,.25); background:rgba(37,199,217,.08); }
.suite-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.suite-card { border:1px solid var(--line); background:rgba(7,21,34,.72); border-radius:24px; padding:28px; min-height:470px; transition: opacity .2s ease, transform .2s ease, border-color .2s ease; }
.suite-card:hover { border-color:rgba(84,231,255,.24); }
.suite-card.filtered-out { display:none; }
.suite-number { font-size:10px; color:#46687a; letter-spacing:.12em; text-align:right; }
.suite-title { display:flex; align-items:center; gap:11px; margin-top:34px; }
.suite-dot { width:9px; height:9px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px rgba(37,199,217,.38); }
.suite-title h3 { font-size:32px; letter-spacing:-.04em; margin:0; }
.suite-purpose { color:#809ba9; margin:10px 0 32px 20px; font-size:14px; }
.app-list { border-top:1px solid var(--line); }
.app-list > div { min-height:47px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid rgba(166,221,240,.09); color:#cadbe3; font-size:13px; }
.app-list > div span:first-child { padding-right:12px; }

.bridge-panel { min-height: 630px; border:1px solid rgba(82,220,241,.18); border-radius:28px; background: radial-gradient(circle at 75% 48%, rgba(37,199,217,.11), transparent 28%), linear-gradient(135deg, rgba(10,35,52,.92), rgba(5,16,27,.92)); display:grid; grid-template-columns: .9fr 1.1fr; overflow:hidden; }
.bridge-copy { padding:70px; display:flex; flex-direction:column; justify-content:center; }
.bridge-copy p { color:#91aab8; line-height:1.75; font-size:17px; max-width:560px; margin:28px 0 36px; }
.bridge-list { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
.bridge-list span { padding:12px 13px; border:1px solid var(--line); border-radius:12px; color:#87a4b3; font-size:11px; background:rgba(255,255,255,.015); }
.bridge-visual { position:relative; min-height:630px; }
.bridge-center { position:absolute; inset:38%; border-radius:50%; display:grid; place-items:center; background:#06131f; box-shadow:0 0 100px rgba(37,199,217,.12), inset 0 0 0 1px rgba(84,231,255,.16); }
.bridge-center img { width:84%; border-radius:50%; }
.bridge-ring { position:absolute; border:1px solid rgba(84,231,255,.18); border-radius:50%; left:50%; top:50%; transform:translate(-50%,-50%); }
.ring-1 { width:39%; aspect-ratio:1; }
.ring-2 { width:62%; aspect-ratio:1; border-style:dashed; animation:spin 28s linear infinite; }
.ring-3 { width:87%; aspect-ratio:1; border-color:rgba(84,231,255,.08); }
.bridge-label { position:absolute; padding:9px 12px; border:1px solid rgba(84,231,255,.15); background:#081a28; border-radius:999px; color:#7ba8b9; font-size:8px; letter-spacing:.12em; font-weight:900; }
.bl-a { top:17%; left:45%; }.bl-b { top:45%; right:7%; }.bl-c { bottom:16%; left:45%; }.bl-d { top:45%; left:8%; }

.roadmap-track { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.roadmap-step { min-height:270px; padding:30px 28px; border-right:1px solid var(--line); position:relative; }
.roadmap-step:first-child { border-left:1px solid var(--line); }
.roadmap-step::before { content:""; width:8px; height:8px; border-radius:50%; background:#294858; position:absolute; top:-4px; left:28px; }
.roadmap-step.active::before { background:var(--cyan-bright); box-shadow:0 0 20px rgba(84,231,255,.55); }
.roadmap-step > span { color:#4e7385; font-size:9px; letter-spacing:.13em; font-weight:900; }
.roadmap-step h3 { margin:58px 0 14px; font-size:22px; }
.roadmap-step p { margin:0; color:#73909f; font-size:13px; line-height:1.65; }

.closing-panel { display:grid; grid-template-columns:.72fr 1.28fr; min-height:610px; border-radius:30px; overflow:hidden; border:1px solid rgba(84,231,255,.2); box-shadow:var(--shadow); background:linear-gradient(135deg,#071827,#06111d); }
.closing-logo { display:grid; place-items:center; min-height:100%; background: radial-gradient(circle, rgba(37,199,217,.16), transparent 55%); border-right:1px solid var(--line); }
.closing-logo img { width:min(78%,420px); border-radius:50%; mix-blend-mode:screen; }
.closing-copy { padding:72px; align-self:center; }
.closing-copy h2 { margin:28px 0 26px; }
.closing-copy p { color:#8da7b5; font-size:17px; line-height:1.7; max-width:650px; margin:0 0 34px; }

.site-footer { width:min(calc(100% - 48px), var(--max)); margin:0 auto; padding:34px 0 42px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr auto auto; gap:30px; align-items:center; color:#537384; font-size:10px; }
.footer-brand { display:flex; align-items:center; gap:10px; color:#8aa4b2; font-weight:800; letter-spacing:.14em; }
.footer-brand img { width:30px; height:30px; border-radius:9px; }
.site-footer p { margin:0; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1100px) {
  .desktop-nav { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .hero { grid-template-columns:1fr; gap:40px; min-height:auto; }
  .hero-orbit { min-height:560px; }
  .manifesto-grid, .section-heading, .bridge-panel, .closing-panel { grid-template-columns:1fr; }
  .manifesto-grid { gap:42px; }
  .principle-strip { grid-template-columns:repeat(2,1fr); }
  .featured-grid { grid-template-columns:repeat(2,1fr); }
  .featured-card.large, .featured-card.wide { grid-column:span 1; }
  .bridge-copy { padding:56px; }
  .bridge-visual { min-height:520px; }
  .closing-logo { min-height:430px; border-right:0; border-bottom:1px solid var(--line); }
  .site-footer { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  .site-header, .section-pad, .site-footer { width:min(calc(100% - 28px), var(--max)); }
  .site-header { margin-top:10px; top:8px; min-height:60px; padding-left:10px; }
  .brand span { display:none; }
  .brand img { width:38px; height:38px; }
  .header-cta { padding:12px 13px; }
  .section-pad { padding:82px 0; }
  .hero { padding-top:64px; }
  .hero h1 { font-size:clamp(56px,16vw,82px); }
  .hero-lede { font-size:17px; }
  .hero-meta { grid-template-columns:1fr; gap:14px; }
  .hero-meta div { flex-direction:row; align-items:baseline; gap:12px; }
  .hero-orbit { min-height:440px; }
  .orbit-stage { width:100%; }
  .orbit-node { font-size:7px; min-width:46px; height:24px; }
  .orbit-caption { flex-direction:column; }
  .orbit-caption span:last-child { text-align:left; }
  .manifesto h2, .section-heading h2, .bridge h2, .closing h2 { font-size:clamp(42px,13vw,62px); }
  .principle-strip { grid-template-columns:1fr; }
  .principle-strip article { border-left:1px solid var(--line); }
  .featured-grid, .suite-grid { grid-template-columns:1fr; }
  .featured-card, .featured-card.large, .featured-card.wide { min-height:350px; }
  .featured-body { align-items:flex-start; flex-direction:column; margin:64px 0 40px; }
  .product-mark { width:62px; height:62px; border-radius:17px; }
  .section-heading { gap:28px; }
  .suite-card { min-height:auto; padding:22px; }
  .suite-title h3 { font-size:28px; }
  .bridge-copy { padding:38px 26px; }
  .bridge-list { grid-template-columns:1fr; }
  .bridge-visual { min-height:410px; }
  .roadmap-track { grid-template-columns:1fr; border-bottom:0; }
  .roadmap-step, .roadmap-step:first-child { border-left:1px solid var(--line); border-bottom:1px solid var(--line); min-height:210px; }
  .roadmap-step h3 { margin-top:38px; }
  .closing-logo { min-height:340px; }
  .closing-copy { padding:40px 26px 44px; }
  .ticker { animation-duration:20s; }
}


@media (max-width: 760px) {
  .app-row { min-height: 66px !important; }
  .app-meta { gap: 13px; }
  .app-icon { width: 40px; height: 40px; border-radius: 11px; }
  .product-mark[data-icon] { width: 76px; height: 76px; border-radius: 20px; padding: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .ticker, .orbit-line-c, .ring-2 { animation:none; }
  .reveal { opacity:1; transform:none; transition:none; }
}

/* =========================================================
   HA NEXUS v2 — spacing, suite colors, app icons, themes
   ========================================================= */

:root {
  --max: 1360px;
  --suite-core: #54e7ff;
  --suite-creative: #9b8cff;
  --suite-shield: #69e8b5;
  --suite-flow: #36c9f0;
  --suite-search: #4f8ef7;
  --suite-business: #f2a53b;
  --suite-ai: #ffd166;
}

/* More desktop breathing room */
.site-header,
.section-pad,
.site-footer {
  width: min(calc(100% - 88px), var(--max));
}

.site-header {
  grid-template-columns: 1fr auto auto;
  gap: 18px;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #a8bdca;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--text);
}
.theme-toggle .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.theme-dark .icon-sun { display: block; }
body.theme-dark .icon-moon { display: none; }
body.theme-light .icon-sun { display: none; }
body.theme-light .icon-moon { display: block; }

/* Suite “planets”: give each family its own accent and more label room */
.orbit-node {
  --suite-accent: var(--suite-core);
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d9edf5;
  border-color: color-mix(in srgb, var(--suite-accent) 38%, transparent);
  background: color-mix(in srgb, #071725 88%, var(--suite-accent) 12%);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.orbit-node::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--suite-accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--suite-accent) 70%, transparent);
}
.suite-core { --suite-accent: var(--suite-core); }
.suite-creative { --suite-accent: var(--suite-creative); }
.suite-shield { --suite-accent: var(--suite-shield); }
.suite-flow { --suite-accent: var(--suite-flow); }
.suite-search { --suite-accent: var(--suite-search); }
.suite-business { --suite-accent: var(--suite-business); }
.suite-ai { --suite-accent: var(--suite-ai); }

.node-2 { right: -2%; }
.node-6 { left: -2%; }
.node-7 { min-width: 74px; }

/* Color language continues into the architecture */
.suite-card { --card-accent: var(--suite-core); }
.suite-card[data-suite="core"] { --card-accent: var(--suite-core); }
.suite-card[data-suite="creative"] { --card-accent: var(--suite-creative); }
.suite-card[data-suite="shield"] { --card-accent: var(--suite-shield); }
.suite-card[data-suite="flow"] { --card-accent: var(--suite-flow); }
.suite-card[data-suite="search"] { --card-accent: var(--suite-search); }
.suite-card[data-suite="business"] { --card-accent: var(--suite-business); }
.suite-card[data-suite="ai"] { --card-accent: var(--suite-ai); }
.suite-card { border-color: color-mix(in srgb, var(--card-accent) 15%, var(--line)); }
.suite-card:hover { border-color: color-mix(in srgb, var(--card-accent) 34%, var(--line)); }
.suite-card .suite-dot {
  background: var(--card-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 55%, transparent);
}

/* App rows + real product icons */
.app-row {
  min-height: 72px !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.app-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.app-name { min-width: 0; }
.app-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.app-icon img,
.product-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.app-icon img {
  border-radius: 12px;
}
.app-icon::after,
.product-mark[data-icon]::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 900;
  font-size: 10px;
  opacity: 0;
}
.app-icon.is-fallback::after,
.product-mark.is-fallback::after { opacity: 1; }
.app-icon.is-fallback {
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, var(--line));
  background: rgba(255,255,255,.025);
}
body.theme-light .app-icon.is-fallback {
  background: rgba(13,50,72,.035);
}
.app-icon.is-fallback img,
.product-mark.is-fallback img { display: none; }
.product-mark[data-icon] {
  position: relative;
  overflow: hidden;
  width: 88px;
  height: 88px;
  border-radius: 23px;
  padding: 4px;
}
.product-mark[data-icon]::after { font-size: 19px; }

/* Featured cards inherit suite color */
.featured-card[data-accent="core"] { --feature-accent: var(--suite-core); }
.featured-card[data-accent="creative"] { --feature-accent: var(--suite-creative); }
.featured-card[data-accent="shield"] { --feature-accent: var(--suite-shield); }
.featured-card[data-accent] { border-color: color-mix(in srgb, var(--feature-accent) 18%, var(--line)); }
.featured-card[data-accent]:hover { border-color: color-mix(in srgb, var(--feature-accent) 35%, var(--line)); }

/* =========================================================
   Light theme
   Default is set by JS from the operating system.
   ========================================================= */
body.theme-light {
  --bg: #f5fbfe;
  --bg-soft: #edf6fb;
  --panel: rgba(255,255,255,.82);
  --panel-strong: #ffffff;
  --line: rgba(13,50,72,.12);
  --line-strong: rgba(13,50,72,.21);
  --text: #0b1c28;
  --muted: #657f8f;
  --shadow: 0 28px 90px rgba(12,43,61,.10);
  background: #f5fbfe;
  color: var(--text);
}
body.theme-light::before {
  background-image: linear-gradient(rgba(11,43,61,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,43,61,.035) 1px, transparent 1px);
}
body.theme-light .ambient { opacity: .08; }
body.theme-light .site-header {
  background: rgba(250,253,255,.78);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(12,43,61,.05);
}
body.theme-light .desktop-nav,
body.theme-light .theme-toggle { color: #607b8c; }
body.theme-light .desktop-nav a:hover,
body.theme-light .theme-toggle:hover { color: #0b1c28; }
body.theme-light .header-cta {
  color: #0b3547;
  background: rgba(37,199,217,.08);
  border-color: rgba(17,126,151,.20);
}
body.theme-light .hero h1 span {
  -webkit-text-stroke: 1px rgba(20,85,111,.30);
}
body.theme-light .hero-lede,
body.theme-light .manifesto-copy,
body.theme-light .section-heading > p,
body.theme-light .featured-body p,
body.theme-light .suite-purpose,
body.theme-light .bridge-copy p,
body.theme-light .closing-copy p { color: #607b8b; }
body.theme-light .eyebrow,
body.theme-light .section-kicker,
body.theme-light .orbit-caption,
body.theme-light .ticker,
body.theme-light .suite-pill { color: #6b8696; }
body.theme-light .hero-meta span,
body.theme-light .principle-strip p,
body.theme-light .roadmap-step p,
body.theme-light .featured-foot,
body.theme-light .site-footer { color: #76909f; }
body.theme-light .btn-ghost,
body.theme-light .suite-tab {
  color: #294757;
  background: rgba(13,50,72,.025);
}
body.theme-light .featured-card,
body.theme-light .suite-card {
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(12,43,61,.035);
}
body.theme-light .app-list > div { color: #183746; }
body.theme-light .app-icon { background: transparent; }
body.theme-light .product-mark {
  background: rgba(13,50,72,.025);
  color: #0b1c28;
}
body.theme-light .orbit-node {
  color: #193846;
  background: color-mix(in srgb, #f8fcfe 90%, var(--suite-accent) 10%);
  box-shadow: 0 10px 24px rgba(12,43,61,.08);
}
body.theme-light .logo-core {
  background: radial-gradient(circle, rgba(226,245,252,.98), rgba(247,252,254,.92));
  box-shadow: inset 0 0 0 1px rgba(17,126,151,.14), 0 0 80px rgba(37,199,217,.08);
}
body.theme-light .logo-core img,
body.theme-light .closing-logo img { mix-blend-mode: multiply; }
body.theme-light .bridge-panel {
  background: radial-gradient(circle at 75% 48%, rgba(37,199,217,.09), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.92), rgba(237,247,251,.92));
}
body.theme-light .bridge-center,
body.theme-light .bridge-label { background: #f5fbfe; }
body.theme-light .closing-panel {
  background: linear-gradient(135deg, #ffffff, #edf7fb);
}
body.theme-light .closing-logo { background: radial-gradient(circle, rgba(37,199,217,.12), transparent 55%); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { justify-self: end; }
}

@media (max-width: 760px) {
  .site-header,
  .section-pad,
  .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .header-actions { gap: 7px; }
  .theme-toggle { width: 42px; height: 42px; }
  .orbit-node {
    min-width: 74px;
    height: 28px;
    padding: 0 11px;
    font-size: 7px;
    gap: 6px;
  }
  .orbit-node::before { width: 6px; height: 6px; }
  .node-2 { right: 0; }
  .node-6 { left: 0; }
}

/* =========================================================
   v2.3 — Use the real app icon tile directly in architecture.
   Most app icons already include their own rounded-square canvas,
   so the wrapper should not draw a second box around them.
   ========================================================= */
.app-icon img {
  max-width: none;
  transform: none !important;
  transition: none;
}
