:root {
    color-scheme:dark;
    font-family:'Segoe UI',Arial,sans-serif;
    color:#f0f6f8;
    background:#03060c;
    --cyan:#85eef2;
    --muted:#8c9fae;
    --line:#c3e5f018;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body {
    margin:0;
    overflow-x:hidden;
}

a {
    color:inherit;
    text-decoration:none;
}

button,input {
    font:inherit;
}

button {
    cursor:pointer;
}

button,a,input {
    -webkit-tap-highlight-color:transparent;
}

button:focus-visible,a:focus-visible,input:focus-visible {
    outline:2px solid var(--cyan);
    outline-offset:5px;
}

button:disabled {
    opacity:.5;
}

svg {
    display:block;
}

h1,h2,h3,p {
    margin-top:0;
}

em {
    font-style:normal;
    color:var(--cyan);
}

.wrap {
    width:min(1280px,calc(100% - 112px));
    margin-inline:auto;
}

.site-header {
    height:90px;
    width:calc(100% - 100px);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    position:relative;
    z-index:5;
}

.wordmark {
    display:flex;
    align-items:center;
    gap:13px;
    font-size:23px;
    letter-spacing:5px;
    font-weight:600;
}

.wordmark svg {
    width:35px;
    height:35px;
    stroke:var(--cyan);
    stroke-width:1;
    fill:none;
}

.wordmark svg circle:last-child {
    fill:var(--cyan);
}

.site-header nav {
    display:flex;
    gap:32px;
    font-size:14px;
    color:#a8b8c4;
}

.site-header nav a:hover,.quiet-link:hover {
    color:var(--cyan);
}

.account-links {
    display:flex;
    align-items:center;
    gap:24px;
}

.login-link {
    font-size:14px;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 25px;
    border:1px solid #96edf06b;
    border-radius:7px;
    background:linear-gradient(120deg,#264b54,#18353e);
    color:#d2feff;
    font-size:14px;
    font-weight:600;
    box-shadow:inset 0 1px 0 #d1ffff17,0 6px 35px #39d5ff08;
    transition:background .2s,box-shadow .2s;
}

.button:hover {
    background:#315e67;
    box-shadow:0 0 26px #39d5ff20;
}

.button-small {
    padding:11px 18px;
    font-size:13px;
}

.eyebrow {
    font-size:11px;
    letter-spacing:2.3px;
    font-weight:600;
    color:#7fbdca;
    margin-bottom:25px;
    line-height:1.7;
}

.live-dot {
    display:inline-block;
    width:5px;
    height:5px;
    background:#83eff4;
    border-radius:50%;
    box-shadow:0 0 9px #83eff455;
    margin-right:8px;
    vertical-align:middle;
}

.hero {
    display:grid;
    grid-template-columns:1fr 1.1fr;
    align-items:center;
    min-height:650px;
    position:relative;
}

.hero-copy {
    padding:75px 0 90px;
    z-index:2;
    pointer-events:none;
}

.hero-copy a {
    pointer-events:auto;
}

h1 {
    font-size:clamp(50px,5.3vw,79px);
    font-weight:450;
    letter-spacing:-3.6px;
    line-height:1.07;
    margin-bottom:27px;
}

.lead {
    font-size:17px;
    line-height:1.9;
    color:#a3b5c3;
    max-width:430px;
}

.hero-actions {
    display:flex;
    align-items:center;
    gap:25px;
    margin-top:34px;
}

.quiet-link {
    font-size:13px;
    color:#d1dbe1;
}

.quiet-link span {
    padding-left:7px;
    font-size:18px;
}

.hero-note {
    margin:23px 0 0;
    font-size:11px;
    color:#687f8d;
    letter-spacing:.3px;
}

.hero-visual {
    position:relative;
    height:610px;
    margin-right:-35px;
    min-width:0;
    overflow:hidden;
}

.scene {
    width:100%;
    height:100%;
    position:relative;
    touch-action:pan-y;
    outline-offset:-3px;
}

.scene canvas {
    display:block;
    max-width:100%;
    touch-action:pan-y!important;
    cursor:grab;
}

.scene canvas:active {
    cursor:grabbing;
}

.scene-label {
    position:absolute;
    top:35px;
    left:0;
    right:0;
    display:flex;
    align-items:center;
    font-size:9px;
    letter-spacing:1.8px;
    color:#7997a7;
    z-index:2;
    pointer-events:none;
}

.demo-label {
    font-size:9px;
    letter-spacing:1.2px;
    color:#657d8d;
}

.scene-label .demo-label {
    margin-left:auto;
}

.hero-scene-caption {
    position:absolute;
    bottom:27px;
    left:0;
    right:0;
    display:flex;
    align-items:center;
    gap:14px;
    border-top:1px solid var(--line);
    padding-top:18px;
}

.crosshair {
    font-size:27px;
    color:#749ba7;
}

.hero-scene-caption strong {
    display:block;
    font-size:13px;
    font-weight:500;
}

.hero-scene-caption div {
    flex:1;
}

.hero-scene-caption div span {
    display:block;
    color:#7c93a2;
    font-size:11px;
    margin-top:6px;
}

.icon-button {
    border:1px solid #a3cfdf26;
    color:#a1c0ca;
    background:#101b24;
    border-radius:6px;
    width:32px;
    height:32px;
}

.space-tooltip {
    position:fixed;
    z-index:10;
    background:#111d27e8;
    color:#d6f6fa;
    padding:10px 15px;
    border:1px solid #54859455;
    border-radius:7px;
    font-size:13px;
    pointer-events:none;
}

.orbit-strip {
    border-block:1px solid var(--line);
    padding:23px 0;
    color:#8b9eaa;
}

.orbit-strip .wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    font-size:13px;
}

.orbit-strip span:first-child {
    color:#567682;
    font-size:10px;
    letter-spacing:2px;
}

.orbit-strip b {
    color:#54808a;
    font-weight:400;
    font-size:12px;
}

.section-heading {
    max-width:700px;
}

.section-heading h2,.gesture-copy h2 {
    font-size:clamp(32px,3.4vw,49px);
    line-height:1.17;
    font-weight:420;
    letter-spacing:-1.8px;
    margin-bottom:24px;
}

.section-heading>p:last-child {
    font-size:16px;
    line-height:1.9;
    color:var(--muted);
    max-width:600px;
}

.health-section {
    padding:110px 0;
}

.health-layout {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    margin-top:47px;
    align-items:center;
}

.planet-stage {
    position:relative;
    height:450px;
    background:radial-gradient(ellipse,#16334030,transparent 65%);
    min-width:0;
}

.stage-top {
    position:absolute;
    top:0;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    color:#6d8e9c;
    font-size:10px;
    letter-spacing:1.8px;
    z-index:1;
    pointer-events:none;
}

.planet-coordinate {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    color:#688c99;
    font:10px Consolas,monospace;
    letter-spacing:1.5px;
}

.health-console {
    border-left:1px solid var(--line);
    padding-left:40px;
}

.phase-tabs {
    display:flex;
    gap:4px;
    border-bottom:1px solid var(--line);
    padding-bottom:15px;
    flex-wrap:wrap;
}

.phase-tabs button {
    background:transparent;
    color:#849eac;
    border:1px solid transparent;
    padding:9px 10px;
    border-radius:5px;
    font-size:12px;
}

.phase-tabs button[aria-pressed=true] {
    border-color:#76dae45c;
    background:#14313c80;
    color:#b7fbff;
}

.phase-description {
    padding:30px 0 20px;
    min-height:205px;
}

.phase-description>span {
    font:11px Consolas,monospace;
    letter-spacing:1.5px;
    color:var(--phase-color,#85eef2);
}

.phase-description h3 {
    font-size:25px;
    font-weight:450;
    line-height:1.3;
    margin:17px 0 13px;
    letter-spacing:-.6px;
}

.phase-description p {
    font-size:14px;
    line-height:1.9;
    color:#91a5b4;
    margin:0;
}

.time-control>div:first-child {
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:#afc1cd;
}

.time-control output {
    font:13px Consolas,monospace;
    color:#d5faff;
}

.time-control input {
    width:100%;
    accent-color:var(--phase-color,#85eef2);
    height:28px;
    margin:15px 0 4px;
}

.range-labels {
    display:flex;
    justify-content:space-between;
    color:#5f7e8e;
    font:10px Consolas,monospace;
}

.outline-button {
    background:#111e28;
    color:#b2d5dd;
    border:1px solid #668b9d40;
    padding:12px 15px;
    border-radius:6px;
    font-size:12px;
    margin-top:24px;
}

.outline-button:hover {
    background:#1a3440;
}

.console-note {
    font-size:12px;
    line-height:1.9;
    color:#6e8999;
    margin:20px 0 0;
}

.satellite-section {
    padding:95px 0;
    background:linear-gradient(180deg,#081019,#060d15);
    border-block:1px solid var(--line);
}

.satellite-layout {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:50px;
    align-items:center;
    margin-top:40px;
}

.satellite-console {
    padding:25px;
    border:1px solid #95c4d322;
    border-radius:12px;
    background:linear-gradient(120deg,#15222bc2,#0b141dcc);
}

.console-top {
    display:flex;
    justify-content:space-between;
    gap:10px;
    font-size:10px;
    color:#87a6b3;
    letter-spacing:1.4px;
    margin-bottom:20px;
}

.demo-satellite {
    padding:18px 0;
    border-bottom:1px solid var(--line);
    display:grid;
    grid-template-columns:32px 1fr auto;
    align-items:center;
    gap:10px;
}

.mini-moon {
    width:23px;
    height:23px;
    border-radius:50%;
    background:radial-gradient(circle at 25% 25%,#c8cbce,#777d86 48%,#1b242e 90%);
}

.demo-satellite.blood .mini-moon {
    background:radial-gradient(circle at 25% 25%,#ffab87,#af2936 48%,#290a11 90%);
    box-shadow:0 0 15px #ff374c20;
}

.demo-satellite strong {
    display:block;
    font-size:14px;
    font-weight:500;
}

.demo-satellite code {
    display:block;
    font:11px Consolas,monospace;
    color:#6d93a2;
    margin-top:8px;
}

.response-toggle {
    padding:7px 10px;
    border:1px solid #9db7c230;
    background:#1b2932;
    color:#c8d7df;
    border-radius:5px;
    font:11px Consolas,monospace;
}

.response-toggle[aria-pressed=true] {
    color:#ffb1bc;
    border-color:#ff647c55;
    background:#3d1c27;
}

.api-capabilities {
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:25px;
}

.api-capabilities span {
    font-size:10px;
    color:#a0bccb;
    border:1px solid #9db7c222;
    padding:6px 9px;
    border-radius:4px;
}

.moon-stage {
    height:470px;
    position:relative;
    min-width:0;
}

.moon-stage .scene {
    height:410px;
}

.moon-legend {
    display:flex;
    gap:25px;
    justify-content:center;
    font-size:11px;
    color:#a4b4c1;
}

.moon-legend i {
    display:inline-block;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#bcc0c7;
    margin-right:7px;
}

.moon-legend .blood-dot {
    background:#ff647c;
}

.moon-footnote {
    text-align:center;
    color:#5d7a8a;
    font-size:10px;
    letter-spacing:.4px;
    margin-top:17px;
}

.gestures-section {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
    padding:110px 0;
}

.gesture-copy>p:not(.eyebrow) {
    font-size:15px;
    line-height:1.9;
    color:#8c9fae;
}

.gesture-copy .console-note {
    font-size:12px!important;
}

.gesture-guide {
    margin:27px 0;
}

.gesture-guide div {
    display:flex;
    justify-content:space-between;
    gap:15px;
    border-bottom:1px solid var(--line);
    padding:12px 0;
    font-size:12px;
}

.gesture-guide dt {
    color:#bacbd4;
}

.gesture-guide dd {
    margin:0;
    color:#729cac;
    text-align:right;
}

.gesture-illustration {
    position:relative;
    height:440px;
    border:1px solid #83c5dd18;
    border-radius:50% 50% 12px 12px;
    background:radial-gradient(circle at 50% 45%,#17495633,transparent 65%);
    overflow:hidden;
}

.gesture-orbit {
    position:absolute;
    border:1px solid #71d3e12a;
    width:90%;
    height:44%;
    left:5%;
    top:23%;
    border-radius:50%;
    transform:rotate(-35deg);
}

.orbit-two {
    transform:rotate(35deg);
}

.gesture-core {
    position:absolute;
    left:50%;
    top:44%;
    transform:translate(-50%,-50%);
    font-size:55px;
    color:#c2faff;
    text-shadow:0 0 35px #39d5ff88;
}

.hand {
    position:absolute;
    top:34%;
    width:80px;
    height:80px;
    fill:#0c2432;
    stroke:#86e7ef;
    stroke-width:.65;
    filter:drop-shadow(0 0 13px #39d5ff20);
    animation:hand-float 6s ease-in-out infinite;
}

.hand-left {
    left:13%;
    transform:rotate(-15deg);
}

.hand-right {
    right:13%;
    transform:scaleX(-1) rotate(-15deg);
    animation-delay:-3s;
}

.gesture-label {
    position:absolute;
    top:61%;
    font:9px Consolas,monospace;
    letter-spacing:1px;
    color:#6ba7b8;
}

.label-left {
    left:10%;
}

.label-right {
    right:9%;
}

.gesture-caption {
    position:absolute;
    bottom:30px;
    left:0;
    right:0;
    text-align:center;
    color:#9bcbd7;
    font-size:10px;
    letter-spacing:2px;
}

.gesture-caption span {
    display:block;
    color:#627d8e;
    font-size:10px;
    letter-spacing:0;
    margin-top:12px;
}

.tools-section {
    padding:10px 0 100px;
}

.tool-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
    margin-top:45px;
}

.tool-grid article {
    border-top:1px solid #88c2d23b;
    padding-top:25px;
}

.tool-symbol {
    display:block;
    font-size:30px;
    color:#83c7d2;
    margin-bottom:22px;
}

.tool-grid h3 {
    font-size:18px;
    font-weight:450;
    letter-spacing:-.3px;
}

.tool-grid p {
    font-size:14px;
    line-height:1.9;
    color:#7c95a6;
}

.final-cta {
    padding:95px 0 100px;
    border-top:1px solid var(--line);
    text-align:center;
    position:relative;
    overflow:hidden;
}

.final-cta h2 {
    font-size:clamp(35px,4vw,58px);
    line-height:1.15;
    font-weight:430;
    letter-spacing:-2px;
    position:relative;
}

.final-cta .button {
    position:relative;
}

.final-cta>p:last-child {
    font-size:12px;
    color:#6e8b9a;
    margin-top:20px;
}

.cta-orbit {
    position:absolute;
    width:750px;
    height:260px;
    left:50%;
    top:120px;
    transform:translateX(-50%) rotate(-20deg);
    border:1px solid #66d5e016;
    border-radius:50%;
    pointer-events:none;
}

.site-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:30px 0;
    border-top:1px solid var(--line);
    color:#6e899b;
    font-size:12px;
}

.site-footer .wordmark {
    font-size:16px;
    color:#a7c1ce;
    letter-spacing:3px;
}

.site-footer>a:last-child {
    color:#a5c0ce;
}

.scene-fallback {
    position:absolute;
    inset:35% 10% auto;
    color:#a7b9c7;
    font-size:14px;
    line-height:1.9;
    text-align:center;
}

[hidden] {
    display:none!important;
}

@keyframes hand-float {
    50% {
        translate:0 -15px;
    }
}

@media(min-width:1550px) {
    .hero {
        min-height:750px;
    }
    .hero-visual {
        height:700px;
    }
}

@media(max-width:1000px) {
    .wrap {
        width:calc(100% - 64px);
    }
    .site-header {
        width:calc(100% - 56px);
    }
    .site-header nav {
        gap:18px;
    }
    .hero {
        grid-template-columns:1fr 1fr;
        min-height:590px;
    }
    .hero-visual {
        height:550px;
        margin-right:-20px;
    }
    .hero h1 {
        font-size:56px;
    }
    .hero .eyebrow {
        font-size:9px;
    }
    .hero-actions {
        align-items:flex-start;
        flex-direction:column;
        gap:20px;
    }
    .health-layout {
        gap:25px;
    }
    .health-console {
        padding-left:24px;
    }
    .phase-tabs button {
        font-size:11px;
        padding:8px 7px;
    }
    .satellite-layout {
        gap:20px;
    }
    .gestures-section {
        gap:40px;
    }
    .tool-grid {
        gap:25px;
    }
    .scene-label {
        font-size:8px;
        letter-spacing:1px;
    }
    .scene-label .demo-label {
        display:none;
    }
}

@media(max-width:700px) {
    .wrap {
        width:calc(100% - 40px);
    }
    .site-header {
        width:calc(100% - 36px);
        height:75px;
    }
    .wordmark {
        font-size:19px;
        gap:9px;
        letter-spacing:3px;
    }
    .wordmark svg {
        width:29px;
        height:29px;
    }
    .site-header nav {
        display:none;
    }
    .account-links {
        gap:14px;
    }
    .button-small {
        font-size:11px;
        padding:9px 12px;
    }
    .login-link {
        font-size:12px;
    }
    .hero {
        grid-template-columns:1fr;
        min-height:0;
    }
    .hero-copy {
        padding:60px 0 10px;
    }
    .hero h1 {
        font-size:56px;
        letter-spacing:-2.8px;
    }
    .hero .eyebrow {
        font-size:9px;
        letter-spacing:1.6px;
    }
    .lead {
        font-size:16px;
        max-width:440px;
    }
    .hero-actions {
        flex-direction:row;
        align-items:center;
        gap:20px;
        margin-top:27px;
    }
    .hero-actions .button {
        padding:14px 17px;
        font-size:12px;
    }
    .quiet-link {
        font-size:12px;
    }
    .hero-note {
        font-size:10px;
    }
    .hero-visual {
        height:410px;
        margin:15px -10px 0;
    }
    .scene-label {
        top:20px;
        left:10px;
        right:10px;
    }
    .hero-scene-caption {
        left:10px;
        right:10px;
        bottom:20px;
    }
    .hero-scene-caption div span {
        font-size:10px;
    }
    .orbit-strip {
        padding:20px 0;
    }
    .orbit-strip .wrap {
        gap:12px;
        flex-wrap:wrap;
        justify-content:center;
        font-size:10px;
    }
    .orbit-strip span:first-child {
        width:100%;
        text-align:center;
        font-size:9px;
        margin-bottom:7px;
    }
    .orbit-strip b {
        font-size:9px;
    }
    .health-section {
        padding:70px 0;
    }
    .section-heading h2,.gesture-copy h2 {
        font-size:36px;
        letter-spacing:-1.2px;
    }
    .section-heading>p:last-child {
        font-size:14px;
    }
    .eyebrow {
        font-size:9px;
        letter-spacing:1.8px;
        margin-bottom:20px;
    }
    .health-layout {
        grid-template-columns:1fr;
        gap:30px;
        margin-top:30px;
    }
    .planet-stage {
        height:330px;
    }
    .health-console {
        padding-left:0;
        border:0;
    }
    .phase-description {
        min-height:180px;
    }
    .phase-description h3 {
        font-size:23px;
    }
    .phase-tabs {
        gap:8px;
    }
    .phase-tabs button {
        font-size:12px;
    }
    .satellite-section {
        padding:65px 0;
    }
    .satellite-layout {
        grid-template-columns:1fr;
    }
    .satellite-console {
        padding:20px;
    }
    .moon-stage {
        height:370px;
        grid-row:1;
    }
    .moon-stage .scene {
        height:310px;
    }
    .gestures-section {
        grid-template-columns:1fr;
        gap:40px;
        padding:70px 0;
    }
    .gesture-illustration {
        height:330px;
    }
    .gesture-caption {
        bottom:22px;
    }
    .gesture-caption span {
        font-size:9px;
    }
    .hand {
        width:66px;
        height:66px;
    }
    .gesture-copy {
        grid-row:1;
    }
    .tool-grid {
        grid-template-columns:1fr;
        gap:20px;
        margin-top:30px;
    }
    .tool-grid article {
        display:grid;
        grid-template-columns:35px 1fr;
        gap:0 15px;
        padding-top:20px;
    }
    .tool-symbol {
        grid-row:span 2;
        font-size:25px;
        margin:0;
    }
    .tool-grid h3 {
        font-size:17px;
        margin-bottom:10px;
    }
    .tool-grid p {
        font-size:13px;
        margin-bottom:10px;
    }
    .tools-section {
        padding-bottom:50px;
    }
    .final-cta {
        padding:65px 0;
    }
    .final-cta h2 {
        font-size:39px;
        letter-spacing:-1.5px;
    }
    .site-footer {
        flex-wrap:wrap;
        gap:20px;
    }
    .site-footer>span {
        font-size:10px;
    }
    .console-top {
        font-size:9px;
    }
    .console-top .demo-label {
        font-size:8px;
    }
    .scene-fallback {
        font-size:12px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    * {
        animation:none!important;
        transition:none!important;
    }
}

body[data-motion="paused"] .hand {
    animation-play-state: paused;
}

/* Landing Comet & Impact Demo Controls */
.comet-demo-materials {
    margin: 18px 0;
}
.comet-demo-mat-label {
    display: block;
    font-size: 12px;
    color: #9ca5bd;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.comet-demo-mat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.comet-demo-mat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #2b3a54;
    background: #0d1424;
    color: #d6e4f5;
    font-size: 12px;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.comet-demo-mat-btn:hover {
    border-color: #6bc4de88;
    transform: translateY(-1px);
}
.comet-demo-mat-btn[aria-pressed="true"] {
    border-color: #6bc4decc;
    background: #172b42;
    color: #fff;
}
.comet-demo-mat-btn > span:first-child {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #ffffff38;
}
