:root {
    --lab-dark: #0a1222;
    --lab-dark-2: #0c1628;
    --surface: #101827;
    --surface-2: #162238;
    --surface-glass: rgba(16, 24, 39, 0.72);
    --text: #ffffff;
    --text-soft: #aab4c8;
    --text-muted: #778399;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --accent: #0064fd;
    --accent-2: #4f9bff;
    --accent-3: #1b2f55;
    --light: #f6f8fc;
    --light-text: #101827;
    --shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.26);
    --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.18);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container-wide: 1180px;
    --container-narrow: 780px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--lab-dark);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-menu-open {
    overflow: hidden;
}

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

a:hover,
a:focus-visible {
    color: var(--accent);
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(0, 100, 253, 0.28);
    color: var(--text);
}

.container-wide {
    width: min(var(--container-wide), calc(100% - 40px));
    margin-inline: auto;
}

.container-narrow {
    width: min(var(--container-narrow), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    transform: translateY(-160%);
    background: var(--accent);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 18, 34, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-brand,
.footer-brand__link {
    display: inline-flex;
    align-items: center;
    color: var(--text);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 46px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 18px rgba(0, 100, 253, 0.34));
}

.footer-brand__wordmark .brand-mark {
    width: 44px;
    height: 50px;
}

.custom-logo-link img {
    max-height: 48px;
    width: auto;
}

.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.06em;
    font-weight: 900;
    font-size: clamp(1.35rem, 1vw + 1rem, 1.72rem);
    line-height: 1;
    color: var(--text);
}

.brand-nine {
    color: var(--accent);
    text-shadow: 0 0 26px rgba(0, 100, 253, 0.6);
    transform: translateY(-0.01em);
}

.brand-labs {
    letter-spacing: -0.045em;
    margin-left: 0.15em;
    color: var(--accent);
}

.site-nav {
    margin-left: auto;
}

.primary-menu,
.footer-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    font-weight: 650;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
    color: #ffffff;
    background: linear-gradient(135deg, #2f8bff, var(--accent));
    box-shadow: 0 16px 38px rgba(0, 100, 253, 0.28);
    white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2f8bff, var(--accent));
    box-shadow: 0 18px 48px rgba(0, 100, 253, 0.30);
}

.button-secondary {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.075);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(0, 100, 253, 0.42);
    background: rgba(0, 100, 253, 0.1);
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
}

.menu-toggle__label {
    font-size: 0.88rem;
    font-weight: 800;
}

.menu-toggle__lines {
    width: 20px;
    height: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 8px;
}

.menu-toggle__lines span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.is-menu-open .menu-toggle__lines span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.is-menu-open .menu-toggle__lines span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.site-main {
    min-height: 55vh;
}

.hero-section {
    --mx: 56%;
    --my: 34%;
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(79, 140, 255, 0.18), transparent 26rem),
        radial-gradient(circle at 20% 16%, rgba(0, 100, 253, 0.16), transparent 22rem),
        linear-gradient(135deg, #0a1222 0%, #0c1628 48%, #0a1222 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 72%, transparent 100%);
    opacity: 0.65;
}

.hero-orb {
    position: absolute;
    z-index: -2;
    width: 34rem;
    aspect-ratio: 1;
    border-radius: 999px;
    filter: blur(34px);
    opacity: 0.34;
}

.hero-orb--one {
    right: -12rem;
    top: 8%;
    background: rgba(79, 140, 255, 0.45);
    animation: slow-float 10s ease-in-out infinite;
}

.hero-orb--two {
    left: -12rem;
    bottom: -8rem;
    background: rgba(0, 100, 253, 0.34);
    animation: slow-float 12s ease-in-out infinite reverse;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
    gap: clamp(38px, 6vw, 86px);
    align-items: center;
    padding: clamp(72px, 8vw, 122px) 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.page-hero h1,
.product-hero h1 {
    margin: 0;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(3.65rem, 9vw, 8.7rem);
}

.hero-copy h1 span {
    background: linear-gradient(135deg, #fff 10%, #cdd8ef 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: clamp(1.08rem, 1vw + 0.82rem, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.7);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 750;
}

.lab-console {
    position: relative;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.lab-console::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 52% 44%, rgba(0, 100, 253, 0.16), transparent 18rem),
        radial-gradient(circle at 70% 58%, rgba(79, 140, 255, 0.15), transparent 16rem);
    pointer-events: none;
}

.console-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 10, 22, 0.36);
}

.console-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.console-topbar span:first-child {
    background: var(--accent);
}

.console-topbar span:nth-child(2) {
    background: var(--accent-2);
}

.console-topbar strong {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.console-display {
    position: relative;
    min-height: 542px;
}

.brand-signal {
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(340px, 68vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
}

.signal-mark {
    position: relative;
    z-index: 2;
    width: min(220px, 52vw);
    height: auto;
    filter: drop-shadow(0 28px 80px rgba(0, 100, 253, 0.44));
    transform: translateZ(0);
}

.signal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-ring--one {
    inset: 22%;
    border-color: rgba(0, 100, 253, 0.3);
    animation: spin-slow 18s linear infinite;
}

.signal-ring--two {
    inset: 9%;
    border-style: dashed;
    border-color: rgba(79, 140, 255, 0.34);
    animation: spin-slow 30s linear infinite reverse;
}

.signal-ring--three {
    border-color: rgba(255, 255, 255, 0.08);
}

.floating-product {
    position: absolute;
    z-index: 3;
    width: min(240px, 46%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(8, 13, 27, 0.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: float-card 6.8s ease-in-out infinite;
}

.floating-product strong,
.floating-product small {
    display: block;
}

.floating-product strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.floating-product small {
    margin-top: 4px;
    color: var(--text-soft);
    line-height: 1.35;
}

.product-dot {
    display: block;
    width: 10px;
    height: 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 22px rgba(0, 100, 253, 0.7);
}

.floating-product--mushna {
    top: 18%;
    left: 8%;
}

.floating-product--flag {
    top: 26%;
    right: 7%;
    animation-delay: -2s;
}

.floating-product--reflex {
    left: 10%;
    bottom: 14%;
    animation-delay: -3.4s;
}

.floating-product--lab {
    right: 8%;
    bottom: 20%;
    animation-delay: -1s;
}

.section {
    position: relative;
    padding: clamp(80px, 8vw, 128px) 0;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto clamp(34px, 4vw, 56px);
    text-align: center;
}

.section-heading--left {
    margin-inline: 0;
    text-align: left;
}

.section-heading h2,
.page-hero h1,
.product-hero h1 {
    font-size: clamp(2.55rem, 5vw, 5.25rem);
}

.section-heading p:not(.eyebrow),
.page-hero p,
.product-hero p {
    color: var(--text-soft);
    font-size: clamp(1.02rem, 0.7vw + 0.86rem, 1.18rem);
}

.section-products {
    background:
        radial-gradient(circle at 85% 10%, rgba(79, 140, 255, 0.12), transparent 22rem),
        linear-gradient(180deg, #0a1222, #0c1628 48%, #0a1222);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.product-detail-card,
.focus-card,
.principle-card,
.about-card,
.content-card,
.values-card,
.contact-panel,
.post-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.product-card {
    min-height: 360px;
    padding: 22px;
    overflow: hidden;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: rgba(0, 100, 253, 0.16);
    filter: blur(12px);
    transition: transform 220ms ease, opacity 220ms ease;
}

.product-card--flag::before {
    background: rgba(79, 140, 255, 0.18);
}

.product-card--reflex::before {
    background: rgba(124, 92, 255, 0.18);
}

.product-card--future::before {
    background: rgba(255, 255, 255, 0.14);
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 100, 253, 0.42);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
}

.product-card:hover::before {
    transform: scale(1.18);
    opacity: 0.95;
}

.product-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-weight: 950;
    font-size: 1.16rem;
}

.status-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid rgba(0, 100, 253, 0.26);
    color: #dbeafe;
    background: rgba(0, 100, 253, 0.1);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-kicker {
    margin: 28px 0 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.product-card h3,
.focus-card h3,
.principle-card h3,
.product-detail-card h2,
.content-card h2,
.values-card h2,
.contact-panel h2,
.post-card h2 {
    margin: 0;
    color: var(--text);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.product-card h3 {
    font-size: 1.72rem;
}

.product-card p:not(.product-kicker),
.focus-card p,
.product-detail-card p,
.content-card p,
.values-card li,
.contact-panel p,
.post-card p,
.post-card__excerpt {
    color: var(--text-soft);
}

.product-card a {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-weight: 850;
}

.product-card a span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.section-focus {
    background: var(--light);
    color: var(--light-text);
}

.section-focus .eyebrow {
    color: #0052d6;
}

.section-focus .section-heading p,
.section-focus .focus-card p {
    color: #536079;
}

.focus-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.focus-grid {
    display: grid;
    gap: 16px;
}

.focus-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(18, 32, 55, 0.09);
    box-shadow: 0 22px 56px rgba(10, 16, 32, 0.08);
}

.focus-card h3 {
    color: var(--light-text);
    font-size: 1.48rem;
}

.focus-number {
    display: block;
    margin-bottom: 28px;
    color: #0064fd;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-philosophy {
    isolation: isolate;
    overflow: hidden;
    background: #0a1222;
}

.philosophy-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.section-philosophy::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 56%;
    z-index: -1;
    width: min(900px, 90vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 100, 253, 0.15), transparent 64%);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.principle-card {
    grid-column: span 2;
    min-height: 210px;
    padding: 24px;
    overflow: hidden;
}

.principle-card--wide {
    grid-column: span 4;
}

.principle-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 100, 253, 0.12);
    color: var(--accent);
    font-weight: 950;
}

.principle-card h3 {
    margin-top: 34px;
    max-width: 500px;
    font-size: clamp(1.28rem, 1.4vw, 1.92rem);
}

.section-about {
    background: linear-gradient(180deg, #0a1222, #0b1020);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.about-card {
    padding: clamp(30px, 5vw, 58px);
}

.about-card h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.35rem, 4.6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.075em;
}

.about-card p:not(.eyebrow) {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.04rem;
}

.process-panel {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 20%, rgba(79, 140, 255, 0.18), transparent 18rem),
        rgba(255, 255, 255, 0.055);
}

.process-panel span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 850;
}

.process-panel span::after {
    content: "→";
    color: var(--accent);
}

.section-cta {
    background: var(--light);
    color: var(--light-text);
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    border: 1px solid rgba(18, 32, 55, 0.09);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 58px);
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 100, 253, 0.22), transparent 19rem),
        linear-gradient(135deg, #fff, #eef3ff);
    box-shadow: 0 24px 80px rgba(10, 16, 32, 0.1);
}

.cta-panel h2 {
    margin: 0;
    max-width: 740px;
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.cta-panel p:not(.eyebrow) {
    max-width: 660px;
    color: #536079;
}

.cta-panel .button-secondary,
.section-focus .button-secondary,
.page-content-section .button-secondary {
    color: var(--light-text);
    border-color: rgba(18, 32, 55, 0.12);
    background: rgba(15, 23, 42, 0.06);
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 76px 0 24px;
    background: #07101f;
    color: var(--text);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-glow {
    position: absolute;
    right: -12%;
    top: -70%;
    width: min(740px, 85vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.16);
    filter: blur(45px);
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.6fr));
    gap: 36px;
}

.footer-brand p,
.footer-note p {
    max-width: 330px;
    color: var(--text-soft);
}

.footer-column h2 {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-column ul,
.footer-menu {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-column a,
.footer-menu a {
    color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
    position: relative;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.52);
}

.footer-bottom p {
    margin: 0;
}

.page-hero,
.product-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 0%, rgba(79, 140, 255, 0.16), transparent 24rem),
        radial-gradient(circle at 12% 22%, rgba(0, 100, 253, 0.12), transparent 21rem),
        linear-gradient(180deg, #0a1222, #0c1628);
    padding: clamp(82px, 9vw, 148px) 0 clamp(62px, 7vw, 110px);
}

.page-hero::before,
.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.page-hero > *,
.product-hero > * {
    position: relative;
}

.page-hero--center {
    text-align: center;
}

.page-content-section {
    background: var(--light);
    color: var(--light-text);
    padding: clamp(62px, 8vw, 108px) 0;
}

.content-card,
.values-card,
.contact-panel,
.product-detail-card,
.post-card {
    padding: clamp(24px, 4vw, 44px);
}

.page-content-section .content-card,
.section-about-page .content-card,
.section-about-page .values-card,
.section-contact-page .contact-panel,
.product-info-section .content-card,
.product-detail-card,
.post-card {
    background: #ffffff;
    border-color: rgba(18, 32, 55, 0.08);
    color: var(--light-text);
    box-shadow: 0 24px 72px rgba(10, 16, 32, 0.09);
}

.content-card h1,
.content-card h2,
.content-card h3,
.values-card h2,
.contact-panel h2,
.product-detail-card h2,
.post-card h2 {
    color: var(--light-text);
}

.content-card a,
.values-card a,
.contact-panel a,
.product-detail-card a,
.post-card a {
    color: #0052d6;
    font-weight: 800;
}

.content-card h2,
.values-card h2,
.contact-panel h2,
.product-detail-card h2,
.post-card h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.6rem);
}

.content-card p,
.content-card li,
.values-card li,
.contact-panel p,
.product-detail-card p,
.post-card__excerpt {
    color: #536079;
}

.page-products-list {
    background: var(--light);
    color: var(--light-text);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-detail-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-detail-card .status-badge {
    color: #0052d6;
    background: rgba(0, 100, 253, 0.18);
    border-color: rgba(0, 100, 253, 0.3);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 4px 0 18px;
    padding: 0;
}

.feature-list li {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #42506a;
    font-weight: 750;
    font-size: 0.9rem;
}

.feature-list--stacked {
    display: grid;
}

.feature-list--stacked li {
    border-radius: 14px;
}

.section-about-page,
.section-contact-page,
.product-info-section {
    background: var(--light);
    color: var(--light-text);
}

.about-page-layout,
.product-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.values-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.contact-placeholder {
    margin-top: 24px;
    border: 1px solid rgba(18, 32, 55, 0.08);
    border-radius: 18px;
    padding: 18px;
    background: #f7f9ff;
}

.contact-placeholder span {
    display: block;
    color: #0052d6;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-placeholder strong {
    display: block;
    margin-top: 6px;
    color: var(--light-text);
    font-size: 1.08rem;
}

.product-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

.product-device {
    width: min(360px, 100%);
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 46px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-soft);
}

.device-screen {
    min-height: 510px;
    border-radius: 34px;
    padding: 24px;
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 100, 253, 0.2), transparent 14rem),
        linear-gradient(180deg, #111a2d, #080d1d);
}

.device-pill {
    display: block;
    width: 82px;
    height: 8px;
    margin: 0 auto 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.device-screen h2 {
    margin: 0 0 24px;
    font-size: 2.1rem;
    letter-spacing: -0.06em;
}

.device-screen p {
    margin: 0 0 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
}

/* Flag Nerd product download section */
.product-download-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(64px, 7vw, 104px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 84% 18%, rgba(79, 155, 255, 0.22), transparent 24rem),
        radial-gradient(circle at 12% 88%, rgba(0, 100, 253, 0.14), transparent 22rem),
        linear-gradient(135deg, #07101f 0%, #0c1930 54%, #081222 100%);
}

.product-download-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, black, transparent 92%);
}

.product-download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(34px, 7vw, 92px);
}

.product-download-copy h2 {
    max-width: 780px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2.4rem, 5vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.product-download-copy > p:not(.eyebrow) {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: clamp(1.02rem, 0.7vw + 0.86rem, 1.18rem);
}

.product-download-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.product-download-facts li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 750;
}

.product-download-facts li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--accent-2);
    box-shadow: 0 0 16px rgba(79, 155, 255, 0.7);
}

.product-download-action {
    justify-self: end;
    width: min(100%, 390px);
}

.store-badges {
    display: grid;
    gap: 24px;
}

.store-badge {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.store-badge + .store-badge {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.store-badge__link {
    display: inline-flex;
    border-radius: 12px;
    transition: transform 180ms ease, filter 180ms ease;
}

.store-badge__link:hover,
.store-badge__link:focus-visible {
    transform: translateY(-3px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.store-badge__image {
    width: auto;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.store-badge__status {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.store-badge__status strong {
    color: rgba(255, 255, 255, 0.88);
}

.extra-page-content {
    margin-top: 34px;
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-card__date {
    margin-top: 0;
    color: #0052d6;
    font-weight: 850;
}

.navigation.pagination {
    margin-top: 32px;
    color: var(--light-text);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slow-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}

@keyframes float-card {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

@media (max-width: 1060px) {
    .hero-layout,
    .focus-layout,
    .about-layout,
    .product-hero-layout,
    .product-download-layout {
        grid-template-columns: 1fr;
    }

    .product-download-action {
        justify-self: start;
    }

    .hero-copy {
        max-width: 820px;
    }

    .lab-console {
        min-height: 530px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 68px;
    }

    .container-wide,
    .container-narrow {
        width: min(calc(100% - 28px), var(--container-wide));
    }

    .site-header__inner {
        min-height: var(--header-height);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .site-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        top: calc(var(--header-height) + 10px);
        transform: translateY(-12px);
        pointer-events: none;
        opacity: 0;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .is-menu-open .site-nav {
        transform: translateY(0);
        pointer-events: auto;
        opacity: 1;
    }

    .primary-menu {
        display: grid;
        gap: 4px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 24px;
        background: rgba(7, 11, 24, 0.96);
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    }

    .primary-menu a {
        justify-content: space-between;
        min-height: 48px;
        border-radius: 16px;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-layout {
        padding: 60px 0 76px;
    }

    .hero-copy h1 {
        font-size: clamp(3.05rem, 16vw, 5.6rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .product-download-action {
        width: 100%;
    }

    .store-badge {
        justify-items: center;
        text-align: center;
    }

    .lab-console {
        min-height: 500px;
        border-radius: 28px;
    }

    .floating-product {
        width: 58%;
        padding: 14px;
    }

    .floating-product--mushna,
    .floating-product--reflex {
        left: 4%;
    }

    .floating-product--flag,
    .floating-product--lab {
        right: 4%;
    }

    .product-grid,
    .about-page-layout,
    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }

    .principle-card,
    .principle-card--wide {
        grid-column: span 1;
        min-height: 170px;
    }

    .cta-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-panel .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-device {
        max-width: 320px;
    }

    .device-screen {
        min-height: 430px;
    }
}

@media (max-width: 520px) {
    .brand-wordmark {
        font-size: 1.28rem;
    }

    .hero-proof {
        display: none;
    }

    .lab-console {
        min-height: 430px;
    }

    .console-display {
        min-height: 372px;
    }

    .signal-mark {
        width: min(170px, 52vw);
    }

    .floating-product {
        font-size: 0.88rem;
    }

    .floating-product small {
        display: none;
    }

    .section {
        padding: 68px 0;
    }

    .product-card {
        min-height: 320px;
    }

    .product-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-badge__image {
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 520px) {
    .brand-lockup {
        gap: 8px;
    }

    .brand-mark {
        width: 38px;
        height: 44px;
    }

    .brand-lockup .brand-wordmark {
        font-size: 1.22rem;
    }
}
