:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07100e;
  color: #f5fbf8;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body {
  background:
    radial-gradient(circle at 72% 18%, rgba(76, 244, 180, 0.11), transparent 28%),
    linear-gradient(135deg, #07100e 0%, #0b1714 56%, #07100e 100%);
}

.shell { height: 100vh; display: grid; grid-template-rows: 9vh 1fr 7vh; padding: 0 5vw; }
.topbar, footer { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 1rem; }
.brand > div { display: flex; flex-direction: column; gap: 0.15rem; }
.brand strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.brand span:not(.brand-mark), .connection, footer { color: #95a9a2; font-size: 0.86rem; }
.brand-mark {
  width: 2.8rem; height: 2.8rem; border-radius: 0.9rem; display: grid; place-items: center;
  background: #59f0b5; color: #06231a; font-weight: 900; font-size: 1.4rem;
  box-shadow: 0 0 35px rgba(89, 240, 181, 0.22);
}
.brand-mark.large { width: 6rem; height: 6rem; border-radius: 1.7rem; font-size: 3rem; }
.connection { display: flex; align-items: center; gap: 0.55rem; }
.connection i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #59f0b5; box-shadow: 0 0 16px #59f0b5; }

.demo-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; min-height: 0; }
.card { border: 1px solid rgba(181, 225, 207, 0.11); border-radius: 1.5rem; background: rgba(17, 31, 27, 0.78); padding: 1.7rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
.hero { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 4.7rem); line-height: 0.98; margin: 0.3rem 0 1rem; max-width: 12ch; letter-spacing: -0.055em; }
.hero p:last-child { color: #9db1aa; font-size: 1.05rem; }
.eyebrow { color: #59f0b5 !important; font-weight: 750; font-size: 0.72rem !important; letter-spacing: 0.14em; }
.orb { width: 14vw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 38% 32%, #93ffd7 0, #2dd69b 28%, #063729 72%); box-shadow: 0 0 80px rgba(53, 224, 161, 0.2); }
.orb span { width: 42%; aspect-ratio: 1.25; border: 0.7rem solid #06231a; border-top: 0; border-radius: 0 0 4rem 4rem; transform: translateY(8%); }
.metric { display: flex; flex-direction: column; justify-content: center; }
.metric strong { font-size: 2rem; margin: 0.2rem 0 0.45rem; letter-spacing: -0.035em; }
.metric span, .guardrail p:last-child { color: #9db1aa; line-height: 1.55; }
.agenda { grid-column: span 2; }
.agenda h2, .guardrail h2 { margin: 0.25rem 0 1.1rem; font-size: 1.35rem; }
.timeline-row { display: grid; grid-template-columns: 8rem 1fr; padding: 0.65rem 0; border-top: 1px solid rgba(181, 225, 207, 0.1); }
.timeline-row b { color: #59f0b5; font-size: 0.85rem; }
.timeline-row.muted { color: #81938d; }

.web-view { min-height: 0; overflow: hidden; border: 1px solid rgba(181, 225, 207, 0.13); border-radius: 1.5rem; background: #fff; }
.web-toolbar { height: 3.5rem; background: #101d19; display: flex; align-items: center; justify-content: space-between; padding: 0 1.3rem; color: #91a69e; }
.web-toolbar span:first-child { color: #f5fbf8; font-weight: 700; }
.web-view iframe { display: block; width: 100%; height: calc(100% - 3.5rem); border: 0; background: white; }
.blank-view { display: grid; place-content: center; justify-items: center; gap: 1rem; color: #95a9a2; }
[hidden] { display: none !important; }
footer { border-top: 1px solid rgba(181, 225, 207, 0.08); }
