:root {
    --bg-color: #000B1E;
    --bg-elevated: rgba(0, 11, 30, 0.84);
    --bg-panel: rgba(0, 18, 48, 0.72);
    --text-color: #f7f7f2;
    --text-muted: #a7b6c8;
    --line-soft: rgba(167, 182, 200, 0.18);
    --line-strong: rgba(196, 222, 255, 0.22);
    --primary: #79d0c7;
    --primary-hover: #94e2d6;
    --primary-deep: #004d40;
    --warn: #ffb86b;
    --secondary: rgba(255, 255, 255, 0.06);
    --secondary-hover: rgba(255, 255, 255, 0.12);
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.4);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Instrument Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(121, 208, 199, 0.1), transparent 30%),
        radial-gradient(circle at 80% 15%, rgba(0, 77, 64, 0.15), transparent 24%),
        linear-gradient(180deg, #000B1E 0%, #00050d 42%, #000B1E 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black, transparent 85%);
    pointer-events: none;
    z-index: -2;
}

.page-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.page-glow-left {
    top: 120px;
    left: -120px;
    width: 260px;
    height: 260px;
    background: rgba(121, 208, 199, 0.12);
}

.page-glow-right {
    top: 320px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: rgba(0, 121, 107, 0.1);
}

h1, h2, h3, .logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.4rem);
}

h2 {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

p {
    color: var(--text-muted);
}

img {
    display: block;
    max-width: 100%;
}

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

code {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
    padding: 0.08em 0.4em;
    background: rgba(121, 208, 199, 0.08);
    border: 1px solid rgba(121, 208, 199, 0.18);
    border-radius: 6px;
    color: #cfe9e3;
}

/* ---------- Header / Nav ---------- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(0, 5, 13, 0.62);
    border-bottom: 1px solid var(--line-soft);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.1rem;
}

.logo-tag {
    font-family: "Instrument Sans", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: var(--warn);
    background: rgba(255, 184, 107, 0.08);
    border: 1px solid rgba(255, 184, 107, 0.28);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

nav a:hover,
nav a.is-active {
    color: var(--text-color);
}

nav a:hover {
    transform: translateY(-1px);
}

.nav-cta {
    color: var(--text-color) !important;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(121, 208, 199, 0.18), rgba(121, 208, 199, 0.08));
    border: 1px solid rgba(121, 208, 199, 0.28);
}

/* ---------- Containers ---------- */

.container,
.proof-strip,
.hero {
    width: min(var(--max-width), calc(100% - 2.5rem));
    margin: 0 auto;
}

.section-shell {
    padding: 5.75rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.75rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4db6ac 100%);
    color: #000B1E;
    box-shadow: 0 16px 40px rgba(121, 208, 199, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    border-color: var(--line-soft);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line-soft);
}

.btn-aside {
    align-self: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ---------- Hero ---------- */

.hero {
    min-height: 100vh;
    padding: 8.5rem 0 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warn);
    background: rgba(255, 184, 107, 0.08);
    border: 1px solid rgba(255, 184, 107, 0.28);
    margin-bottom: 1.4rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.status-pill:hover {
    background: rgba(255, 184, 107, 0.14);
    transform: translateY(-1px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warn);
    box-shadow: 0 0 0 0 rgba(255, 184, 107, 0.55);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 184, 107, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 184, 107, 0);  }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 107, 0);     }
}

.hero-copy h1 {
    background: linear-gradient(180deg, #ffffff 0%, #79d0c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1.4rem;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    max-width: 620px;
    margin-bottom: 2rem;
    color: #cfd9e6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-soft);
    color: #dce7f3;
    font-size: 0.88rem;
    font-weight: 600;
}

/* New hero visual: screenshot is the hero, no rotation, soft glow halo */

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin-left: auto;
    margin-right: 0;
    width: 100%;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -8% -10% -8% -10%;
    background:
        radial-gradient(circle at 50% 50%, rgba(121, 208, 199, 0.28), transparent 60%);
    filter: blur(20px);
    z-index: -1;
}

.hero-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 11, 30, 0.45) 100%);
    pointer-events: none;
}

.hero-float {
    position: absolute;
    max-width: 230px;
    padding: 0.95rem 1.05rem;
    border-radius: 16px;
    background: rgba(0, 11, 30, 0.92);
    border: 1px solid rgba(121, 208, 199, 0.22);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3;
}

.hero-float strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.hero-float span {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.hero-float-top    { top: -3%;  right: -8%;  }
.hero-float-bottom { bottom: 8%; left: -10%; }

/* ---------- Proof strip ---------- */

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-bottom: 4rem;
}

.proof-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.proof-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.proof-label, .card-kicker, .compat-kicker {
    display: block;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.proof-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ---------- Bento ---------- */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.bento-item-large {
    grid-column: span 2;
    min-height: 360px;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
}

.bento-paint {
    background:
        radial-gradient(circle at 80% 20%, rgba(121, 208, 199, 0.24), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(122, 92, 255, 0.18), transparent 55%),
        rgba(255, 255, 255, 0.02);
}

.bento-paint-art {
    position: absolute;
    top: -10%;
    right: -8%;
    width: 220px;
    height: 220px;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(121, 208, 199, 0.25), rgba(122, 92, 255, 0.2));
    border: 1px solid var(--line-soft);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
    transform: rotate(-6deg);
}

.bento-paint-art img {
    width: 60%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.bento-copy {
    max-width: 480px;
    z-index: 1;
}

/* ---------- Spatial section ---------- */

.spatial-section .container {
    padding-top: 2rem;
}

.spatial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.spatial-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1.4rem;
}

.spatial-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    padding: 1.2rem 1.3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
}

.spatial-list strong {
    display: block;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.spatial-list p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.spatial-num {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding-top: 0.15rem;
}

.spatial-visual {
    position: relative;
    aspect-ratio: 1 / 1;
}

.spatial-screen {
    position: absolute;
    inset: 8% 4% 8% 4%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.spatial-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.spatial-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(121, 208, 199, 0.18), transparent 55%),
        linear-gradient(180deg, transparent 50%, rgba(0, 11, 30, 0.55) 100%);
    pointer-events: none;
}

.spatial-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 11, 30, 0.95);
    border: 1px solid var(--line-strong);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spatial-chip-a { top: 4%; right: -4%; }
.spatial-chip-b { bottom: 6%; left: -2%; color: var(--primary); }

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(121, 208, 199, 0.7);
}

/* ---------- Compatibility ---------- */

.compat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.compat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.compat-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.compat-card header h3 {
    font-size: 1.45rem;
}

.compat-card ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.compat-card li {
    color: #cfd9e6;
    font-size: 0.96rem;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.45;
}

.compat-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.compat-card-warn li::before {
    background: var(--warn);
}

.compat-card-warn .compat-kicker {
    color: var(--warn);
}

.compat-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--line-soft);
}

/* ---------- Acknowledgements ---------- */

.acks-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.acks-grid a {
    display: block;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.acks-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(121, 208, 199, 0.32);
    background: rgba(121, 208, 199, 0.04);
}

.acks-grid strong {
    display: block;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.acks-grid span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- Disclaimer ---------- */

.disclaimer-section {
    padding: 1rem 0 3rem;
}

.disclaimer-card {
    background:
        linear-gradient(135deg, rgba(255, 184, 107, 0.06), rgba(255, 184, 107, 0.02));
    border: 1px solid rgba(255, 184, 107, 0.28);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
}

.disclaimer-tag {
    display: inline-flex;
    align-items: center;
    color: var(--warn);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.disclaimer-card h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    margin-bottom: 0.7rem;
}

.disclaimer-card ul {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.disclaimer-card li {
    color: #d8c5ad;
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.97rem;
}

.disclaimer-card li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--warn);
    font-weight: 700;
}

/* ---------- Steps ---------- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000B1E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.step h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.step p {
    margin-bottom: 1.5rem;
}

.step .button-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.step .btn {
    align-self: flex-start;
}

.btn-aside:hover {
    color: var(--primary);
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid var(--line-soft);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 540px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-fine {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-fine a {
    color: var(--primary);
}

.footer-fine a:hover {
    color: var(--primary-hover);
}

.footer-links {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .status-dot { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    nav { gap: 1rem; }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }
    .hero-copy h1 { margin: 0 auto 1.4rem; }
    .hero-lead { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-highlights { justify-content: center; }
    .status-pill { margin-left: auto; margin-right: auto; }
    .hero-visual { margin: 0 auto; max-width: 460px; }
    .proof-strip { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item-large { grid-column: span 1; min-height: 320px; }
    .spatial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .spatial-visual { max-width: 460px; margin: 0 auto; }
    .compat-grid { grid-template-columns: 1fr; }
    .acks-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-container { padding: 0.85rem 1.25rem; }
    nav { display: none; }
    .nav-container .logo-link { gap: 0.5rem; }
    .section-shell { padding: 4rem 0; }
    .hero { padding-top: 6rem; }
    .hero-float { max-width: 200px; padding: 0.75rem 0.85rem; }
    .hero-float-top { top: -2%; right: 0; }
    .hero-float-bottom { bottom: 4%; left: 0; }
    .bento-paint-art { width: 160px; height: 160px; top: -8%; right: -10%; }
    .footer-container { flex-direction: column; align-items: flex-start; }
}
