@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-synthesis: none;
    --background: #0a0d17;
    --surface: #10142a;
    --surface-raised: #141a33;
    --text: #f3f6fa;
    --body: #c8d0e2;
    --muted: #a7b0c6;
    --line: rgba(200,208,226,.14);
    --squid: #a78bfa;
    --squid-strong: #7c7cf0;
    --teal: #17bebb;
    --seafoam: #66e0d1;
}
* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; background: var(--background); }
body { min-height: 100vh; margin: 0; overflow-x: clip; color: var(--text); background: var(--background); }
body::before { position: fixed; inset: 0; z-index: -2; content: ""; background: radial-gradient(circle at 76% 18%, rgba(167,139,250,.12), transparent 31rem), radial-gradient(circle at 12% 78%, rgba(23,190,187,.08), transparent 32rem); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--seafoam); outline-offset: 4px; }
h1:focus { outline: none; }
.site-header, main > section, footer { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 5.5rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .8rem; font-size: 1rem; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.brand svg { width: 3rem; height: 3rem; }
.header-link { color: var(--body); font-size: .78rem; text-decoration: none; }
.header-link > span:last-child { color: var(--seafoam); }
.header-link-short { display: none; }
.hero { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: calc(100vh - 5.5rem); padding-block: 6rem; }
.eyebrow { margin: 0; color: var(--seafoam); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 10ch; margin: 1.5rem 0 0; font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 600; letter-spacing: -.075em; line-height: .91; }
h1 span { color: transparent; background: linear-gradient(105deg, var(--squid), var(--seafoam)); background-clip: text; -webkit-background-clip: text; }
.intro { max-width: 40rem; margin: 2.4rem 0 0; color: var(--body); font-size: clamp(1.05rem,1.7vw,1.25rem); line-height: 1.75; }
.signal { position: relative; width: min(32vw,25rem); aspect-ratio: 1; justify-self: end; }
.signal-core { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--seafoam), var(--teal) 48%, var(--squid-strong)); box-shadow: 0 0 6rem rgba(23,190,187,.25); }
.beam { position: absolute; top: 50%; left: 50%; width: 48%; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(102,224,209,.8), transparent); }
.beam-one { transform: rotate(-20deg); }.beam-two { transform: rotate(115deg); }.beam-three { transform: rotate(205deg); }
.studio { padding-block: 7rem 8rem; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 4rem; align-items: start; }
h2 { margin: 0; font-size: clamp(2.6rem,5vw,4.7rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.studio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 4rem; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; background: var(--line); }
.studio-grid article { min-height: 15rem; padding: 1.5rem; background: var(--surface); }
.studio-grid article > span { color: var(--squid); font-size: .68rem; font-weight: 700; }
h3 { margin: 4rem 0 .75rem; font-size: 1rem; }
.studio-grid p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.facet-product { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 5rem; padding-block: 8rem; border-top: 1px solid var(--line); }
.facet-mark { display: grid; width: min(30vw,22rem); aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.11), transparent 65%); }
.facet-mark svg { width: 65%; filter: drop-shadow(0 1.5rem 3rem rgba(23,190,187,.16)); }
.product-copy h2 { margin-top: 1.2rem; }
.product-copy > p:not(.eyebrow) { max-width: 35rem; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.product-link { display: inline-flex; gap: .9rem; margin-top: 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--teal); color: var(--seafoam); font-weight: 600; text-decoration: none; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer a { color: var(--body); text-underline-offset: .25rem; }
.not-found { display: grid; width: min(100% - 2rem, 50rem); min-height: 100vh; margin-inline: auto; place-content: center; gap: 1rem; text-align: center; }
.not-found h1 { max-width: none; margin: 0; font-size: clamp(2.5rem, 7vw, 5rem); }
.not-found > p:not(.eyebrow) { margin: 0; color: var(--body); }
.not-found > a { width: fit-content; margin: 1rem auto 0; color: var(--seafoam); font-weight: 700; text-underline-offset: .3rem; }
.loading-shell { display: grid; min-height: 100vh; place-items: center; }
.loading-mark { width: 4.5rem; height: 4.5rem; }
#blazor-error-ui { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; z-index: 1000; display: none; padding: 1rem 1.25rem; color: var(--background); background: #ffe79b; }
#blazor-error-ui a { margin-left: .5rem; font-weight: 700; }
#blazor-error-ui .dismiss { float: right; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
@media (max-width: 850px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .signal { position: absolute; top: 6rem; right: -8rem; width: 24rem; opacity: .35; pointer-events: none; }
    .studio-grid { grid-template-columns: repeat(2,1fr); }
    .facet-product { grid-template-columns: 1fr; }
    .facet-mark { width: 18rem; }
}
@media (max-width: 600px) {
    .site-header, main > section, footer { width: min(100% - 2rem,75rem); }
    .site-header { min-height: 4.7rem; }
    .brand svg { width: 2.5rem; height: 2.5rem; }
    .header-link-long { display: none; }
    .header-link-short { display: inline; }
    .hero { padding-block: 5rem 6rem; }
    h1 { font-size: clamp(3.5rem,18vw,5.3rem); }
    .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
    .studio, .facet-product { padding-block: 5rem; }
    .studio-grid { grid-template-columns: 1fr; }
    .studio-grid article { min-height: 12rem; }
    .studio-grid h3 { margin-top: 2.8rem; }
    footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
