:root {
    --ink: #06080c;
    --ink-soft: #0b1017;
    --paper: #f4f8f5;
    --muted: #a7b2b5;
    --acid: #c7ff2e;
    --cyan: #64f7ee;
    --violet: #9b70ff;
    --coral: #ff6d5f;
    --line: rgba(211, 241, 239, 0.15);
    --glass: rgba(11, 17, 24, 0.68);
    --glass-strong: rgba(12, 18, 26, 0.9);
    --radius: 28px;
    --shell: min(1240px, calc(100% - 56px));
    --pointer-x: 50vw;
    --pointer-y: 20vh;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    background: var(--ink);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    color: var(--paper);
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(100, 247, 238, 0.08), transparent 24rem),
        linear-gradient(180deg, #04070b 0%, #070b11 50%, #05070a 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: 20;
    inset: 0;
    border: 1px solid rgba(199, 255, 46, 0.08);
    pointer-events: none;
    content: "";
}

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

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

button,
select {
    cursor: pointer;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

::selection {
    color: #071006;
    background: var(--acid);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 16px;
    left: 16px;
    padding: 12px 18px;
    color: var(--ink);
    background: var(--acid);
    border-radius: 99px;
    font-weight: 850;
    transform: translateY(-160%);
}

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

.ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ambient::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, #000, transparent 84%);
    content: "";
}

.ambient-orb {
    position: absolute;
    width: 42vw;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.12;
    animation: ambient-float 18s ease-in-out infinite alternate;
}

.orb-one {
    top: -18vw;
    right: -10vw;
    background: var(--violet);
}

.orb-two {
    top: 45vh;
    left: -28vw;
    background: var(--cyan);
    animation-delay: -7s;
}

.orb-three {
    right: -22vw;
    bottom: -18vw;
    background: var(--acid);
    animation-delay: -12s;
}

.trail {
    position: absolute;
    width: 90vw;
    height: 2px;
    opacity: 0.2;
    background: linear-gradient(90deg, transparent, rgba(244, 248, 245, 0.45), transparent);
    filter: blur(0.5px);
    transform: rotate(-18deg);
}

.trail::before,
.trail::after {
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 16px;
    background: linear-gradient(90deg, transparent, rgba(244, 248, 245, 0.08), transparent);
    filter: blur(10px);
    content: "";
}

.trail-one {
    top: 28vh;
    right: -26vw;
}

.trail-two {
    right: -8vw;
    bottom: 8vh;
    transform: rotate(-7deg);
}

.grain {
    position: absolute;
    inset: -50%;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
    animation: grain-shift 0.24s steps(2) infinite;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.glass-panel {
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
        var(--glass);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1320px, calc(100% - 32px));
    min-height: 76px;
    margin: 18px auto 0;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(213, 237, 238, 0.13);
    border-radius: 24px;
    background: rgba(5, 9, 14, 0.72);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

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

.brand-mark {
    position: relative;
    display: grid;
    width: 52px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    color: var(--acid);
    border: 1px solid rgba(199, 255, 46, 0.26);
    border-radius: 17px;
    background: rgba(199, 255, 46, 0.06);
    box-shadow: inset 0 0 22px rgba(199, 255, 46, 0.06);
}

.brand-mark svg {
    z-index: 2;
    width: 28px;
}

.brand-mark i {
    position: absolute;
    width: 6px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.brand-mark i:nth-child(1) {
    top: 9px;
    left: 9px;
}

.brand-mark i:nth-child(2) {
    right: 8px;
    bottom: 11px;
    background: var(--coral);
    box-shadow: 0 0 12px var(--coral);
}

.brand-mark i:nth-child(3) {
    top: 8px;
    right: 10px;
    width: 3px;
    background: var(--violet);
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font-size: 0.92rem;
    font-weight: 950;
    letter-spacing: 0.21em;
}

.brand-copy small {
    margin-top: 7px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
}

nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

nav a {
    padding: 12px 15px;
    color: #b9c4c6;
    border-radius: 13px;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

nav a:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.06);
}

nav .nav-cta {
    color: #091004;
    background: var(--acid);
}

nav .nav-cta:hover {
    color: #091004;
    background: #dcff77;
    transform: translateY(-2px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    min-height: calc(100svh - 112px);
    padding-block: clamp(74px, 9vw, 132px) 90px;
}

.eyebrow {
    margin: 0 0 25px;
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow > span {
    display: inline-block;
    width: 34px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 0.9;
}

h1 {
    max-width: 720px;
    margin-bottom: 30px;
    padding-block: 0.06em 0.14em;
    font-size: clamp(4rem, 7.2vw, 7.25rem);
    font-weight: 950;
    letter-spacing: -0.075em;
}

h1 span,
h1 em {
    display: block;
}

h1 span:nth-child(2) {
    color: #b9c6c6;
}

h1 em,
h2 em {
    color: transparent;
    background: linear-gradient(102deg, var(--acid), #e8ff91 41%, var(--cyan) 91%);
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
    filter: drop-shadow(0 0 28px rgba(199, 255, 46, 0.18));
}

.hero-lead {
    max-width: 650px;
    margin: 0;
    color: #bdc8ca;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 38px;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-weight: 850;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button span,
.button strong {
    position: relative;
    z-index: 2;
}

.button span {
    font-size: 0.78rem;
    font-weight: 650;
}

.button strong {
    font-size: 0.88rem;
}

.button svg {
    position: relative;
    z-index: 2;
    width: 20px;
}

.button-primary {
    color: #081004;
    border-color: rgba(199, 255, 46, 0.8);
    background: linear-gradient(110deg, var(--acid), #aaf293);
    box-shadow: 0 12px 36px rgba(199, 255, 46, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.button-primary::after {
    position: absolute;
    inset: -100% 55% -100% -30%;
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(18deg) translateX(-110%);
    transition: transform 450ms ease;
    content: "";
}

.button-primary:hover::after {
    transform: rotate(18deg) translateX(260%);
}

.button-ghost {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.035);
}

.button:hover {
    transform: translateY(-3px);
}

.button-ghost:hover {
    border-color: rgba(100, 247, 238, 0.45);
    background: rgba(100, 247, 238, 0.07);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 31px;
    color: #89979a;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    width: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.reactor-stage {
    position: relative;
    width: min(100%, 500px);
    min-height: 590px;
    justify-self: end;
}

.reactor-stage::before {
    position: absolute;
    inset: 13% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 255, 46, 0.18), transparent 64%);
    filter: blur(22px);
    content: "";
}

.reactor {
    position: absolute;
    z-index: 2;
    top: 54px;
    right: 18px;
    bottom: 28px;
    left: 18px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border-radius: 42px;
    transform: rotate(2deg);
}

.reactor::after {
    position: absolute;
    top: -25%;
    left: 16%;
    width: 34%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: rotate(15deg);
    content: "";
}

.reactor-head,
.form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 23px;
    border-bottom: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.61rem;
    letter-spacing: 0.12em;
}

.reactor-head span,
.form-head span {
    color: #9eabad;
}

.reactor-head strong,
.form-head strong {
    color: var(--acid);
}

.reactor-head strong::before,
.form-head strong::before {
    display: inline-block;
    width: 5px;
    margin-right: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
    content: "";
}

.reactor-vessel {
    position: relative;
    display: grid;
    width: 310px;
    max-width: 78%;
    margin: auto;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(100, 247, 238, 0.2);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 52%, rgba(199, 255, 46, 0.17), transparent 25%),
        radial-gradient(circle, rgba(100, 247, 238, 0.05), transparent 64%);
    box-shadow: inset 0 0 55px rgba(100, 247, 238, 0.04), 0 0 42px rgba(100, 247, 238, 0.06);
}

.vessel-ring {
    position: absolute;
    inset: 11%;
    border: 1px solid rgba(199, 255, 46, 0.36);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(199, 255, 46, 0.11);
    animation: reactor-pulse 4s ease-in-out infinite;
}

.ring-b {
    inset: 25%;
    border-color: rgba(100, 247, 238, 0.45);
    animation-delay: -1.3s;
}

.ring-c {
    inset: 38%;
    border-color: rgba(155, 112, 255, 0.62);
    animation-delay: -2.6s;
}

.reactor-core {
    z-index: 2;
    display: grid;
    width: 92px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--acid);
    border-radius: 26px;
    color: #071004;
    background: linear-gradient(140deg, var(--acid), var(--cyan));
    box-shadow: 0 0 38px rgba(199, 255, 46, 0.22);
    transform: rotate(-2deg);
}

.reactor-core span {
    font-size: 2.1rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.08em;
}

.reactor-core small {
    margin-top: -18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 800;
}

.bubble {
    position: absolute;
    width: 12px;
    aspect-ratio: 1;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(100, 247, 238, 0.45);
    animation: bubble-rise 4.2s ease-in infinite;
}

.bubble-a { left: 29%; bottom: 15%; }
.bubble-b { right: 27%; bottom: 23%; width: 8px; animation-delay: -1.4s; }
.bubble-c { left: 42%; bottom: 10%; width: 6px; animation-delay: -2.6s; }
.bubble-d { right: 40%; bottom: 15%; width: 15px; animation-delay: -3.3s; }

.reactor-readout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.reactor-readout div {
    display: grid;
    gap: 3px;
    padding: 17px 11px;
    text-align: center;
}

.reactor-readout div + div {
    border-left: 1px solid var(--line);
}

.reactor-readout span,
.reactor-readout strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
}

.reactor-readout span { color: #718083; }
.reactor-readout strong { color: var(--cyan); }

.idea-card,
.stage-label {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(213, 237, 238, 0.18);
    background: rgba(9, 14, 21, 0.82);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.idea-card {
    width: 210px;
    padding: 14px 16px;
    border-radius: 18px;
    animation: card-float 5s ease-in-out infinite;
}

.idea-card small {
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.55rem;
    letter-spacing: 0.11em;
}

.idea-card p {
    margin: 7px 0 0;
    font-size: 0.78rem;
    font-weight: 750;
}

.idea-card-one {
    top: 0;
    left: -22px;
    transform: rotate(-5deg);
}

.idea-card-two {
    right: -24px;
    bottom: 0;
    transform: rotate(4deg);
    animation-delay: -2.5s;
}

.stage-label {
    display: grid;
    min-width: 108px;
    padding: 10px 13px;
    border-radius: 13px;
}

.stage-label span,
.stage-label strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.56rem;
    letter-spacing: 0.09em;
}

.stage-label span { color: #778588; }
.stage-label strong { color: var(--paper); }
.label-input { top: 37%; left: -30px; }
.label-output { top: 24%; right: -24px; }

.section-pad {
    padding-block: clamp(96px, 12vw, 168px);
}

.section-index {
    display: grid;
    grid-template-columns: auto minmax(70px, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 54px;
    color: #7f8c8f;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.section-index span { color: var(--acid); }
.section-index i { height: 1px; background: linear-gradient(90deg, rgba(199, 255, 46, 0.5), var(--line)); }

h2 {
    margin-bottom: 0;
    font-size: clamp(3.1rem, 6.2vw, 6.5rem);
    font-weight: 950;
    letter-spacing: -0.07em;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(50px, 9vw, 130px);
    align-items: end;
}

.manifesto-copy {
    color: #aebbbc;
    font-size: 1.05rem;
    line-height: 1.75;
}

.manifesto-copy .big-copy {
    margin-top: 0;
    color: #d9e0df;
    font-size: clamp(1.28rem, 2vw, 1.7rem);
    line-height: 1.48;
}

.manifesto-copy strong {
    color: var(--paper);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 88px;
}

.process-card {
    position: relative;
    min-height: 330px;
    padding: 26px;
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.process-card:hover {
    border-color: rgba(199, 255, 46, 0.32);
    background-color: rgba(13, 21, 25, 0.8);
    transform: translateY(-8px);
}

.process-card > span {
    color: #6e7d80;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.62rem;
}

.process-icon {
    display: grid;
    width: 62px;
    margin: 45px 0 30px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    border-radius: 19px;
    background: var(--acid);
    box-shadow: 0 0 28px rgba(199, 255, 46, 0.15);
    font-size: 1.7rem;
    font-weight: 900;
}

.process-card:nth-child(2) .process-icon { background: var(--cyan); }
.process-card:nth-child(3) .process-icon { background: var(--violet); }

.process-card h3 {
    margin-bottom: 14px;
    font-size: 1.75rem;
}

.process-card p {
    margin: 0;
    color: #9eabad;
    font-size: 0.91rem;
    line-height: 1.65;
}

.process-card small {
    position: absolute;
    right: 26px;
    bottom: 22px;
    color: #5f6d70;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.53rem;
    letter-spacing: 0.12em;
}

.projects {
    position: relative;
    border-block: 1px solid rgba(213, 237, 238, 0.08);
    background:
        radial-gradient(circle at 90% 20%, rgba(155, 112, 255, 0.1), transparent 29%),
        rgba(8, 11, 16, 0.54);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 50px;
    align-items: end;
}

.section-heading > p {
    margin: 0 0 7px;
    color: #9eabad;
    font-size: 1.08rem;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
    margin-top: 76px;
}

.project-card {
    position: relative;
    display: flex;
    min-height: 380px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-card:hover {
    border-color: rgba(100, 247, 238, 0.38);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38), 0 0 42px rgba(100, 247, 238, 0.05);
    transform: translateY(-7px);
}

.project-feature {
    grid-row: span 2;
    min-height: 777px;
    background:
        radial-gradient(circle at 55% 38%, rgba(199, 255, 46, 0.12), transparent 25%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
        var(--glass);
}

.project-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-number,
.status {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.57rem;
    letter-spacing: 0.11em;
}

.project-number { color: #718083; }

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: var(--cyan);
    border: 1px solid rgba(100, 247, 238, 0.18);
    border-radius: 99px;
    background: rgba(100, 247, 238, 0.05);
}

.status i {
    width: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.status-live { color: var(--acid); }
.status-work { color: var(--violet); }

.project-body {
    position: relative;
    z-index: 3;
}

.project-body small {
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.57rem;
    letter-spacing: 0.13em;
}

.project-body h3 {
    margin: 13px 0 17px;
    font-size: clamp(2.1rem, 4.1vw, 4.8rem);
    font-weight: 950;
    letter-spacing: -0.065em;
}

.project-card:not(.project-feature) .project-body h3 {
    font-size: clamp(2.1rem, 3.1vw, 3.4rem);
}

.project-body h3 em {
    color: var(--cyan);
    font-style: normal;
}

.project-body p {
    max-width: 570px;
    margin: 0;
    color: #9eabad;
    font-size: 0.91rem;
    line-height: 1.62;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
    font-size: 0.82rem;
    font-weight: 850;
}

.project-link b {
    color: var(--acid);
    font-size: 1rem;
    transition: transform 180ms ease;
}

.project-card:hover .project-link b {
    transform: translate(3px, -3px);
}

.project-orbit {
    position: absolute;
    z-index: 1;
    top: 16%;
    left: 50%;
    width: min(78%, 440px);
    aspect-ratio: 1;
    border: 1px solid rgba(100, 247, 238, 0.2);
    border-radius: 50%;
    transform: translateX(-50%);
}

.project-orbit::before,
.project-orbit::after,
.project-orbit span {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(199, 255, 46, 0.15);
    border-radius: 50%;
    content: "";
}

.project-orbit::after { inset: 29%; border-color: rgba(155, 112, 255, 0.24); }
.project-orbit span:nth-child(1) { inset: -1%; border-color: transparent; border-top-color: var(--acid); animation: orbit-spin 11s linear infinite; }
.project-orbit span:nth-child(2) { inset: 18%; border-color: transparent; border-right-color: var(--cyan); animation: orbit-spin 7s linear infinite reverse; }
.project-orbit span:nth-child(3) { inset: 36%; background: rgba(100, 247, 238, 0.05); box-shadow: 0 0 55px rgba(100, 247, 238, 0.1); }
.project-orbit svg { position: absolute; z-index: 2; inset: 42%; width: 16%; color: var(--paper); filter: drop-shadow(0 0 15px var(--cyan)); }

.apps-shell {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    overflow: hidden;
    border-radius: 36px;
}

.apps-intro {
    padding: clamp(35px, 5vw, 68px);
    border-right: 1px solid var(--line);
    background: radial-gradient(circle at 10% 90%, rgba(199, 255, 46, 0.1), transparent 44%);
}

.apps-intro h2 { font-size: clamp(3.2rem, 5.4vw, 5.8rem); }

.apps-intro > p:not(.eyebrow) {
    margin: 28px 0 0;
    color: #9eabad;
    line-height: 1.68;
}

.release-pulse {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 35px;
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.6rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.release-pulse i {
    width: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 13px currentColor;
    animation: signal-pulse 1.8s ease-out infinite;
}

.app-list {
    display: grid;
}

.app-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 32px;
}

.app-row + .app-row { border-top: 1px solid var(--line); }

.app-icon {
    display: grid;
    width: 64px;
    aspect-ratio: 1;
    place-items: center;
    color: #071006;
    border-radius: 19px;
    background: linear-gradient(145deg, var(--acid), #85eec3);
    box-shadow: 0 10px 28px rgba(199, 255, 46, 0.12);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.icon-bocca { background: linear-gradient(145deg, var(--coral), #ffb66c); }
.icon-tool { background: linear-gradient(145deg, var(--violet), var(--cyan)); }

.app-row small {
    color: #6e7c80;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.53rem;
    letter-spacing: 0.1em;
}

.app-row h3 {
    margin: 5px 0 7px;
    font-size: 1.5rem;
}

.app-row p {
    margin: 0;
    color: #8e9c9f;
    font-size: 0.82rem;
}

.store-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.store-links a {
    position: relative;
    display: grid;
    min-width: 115px;
    padding: 10px 13px;
    border: 1px solid rgba(213, 237, 238, 0.15);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.store-links a:not([aria-disabled="true"]):hover {
    border-color: rgba(199, 255, 46, 0.42);
    background: rgba(199, 255, 46, 0.07);
    transform: translateY(-3px);
}

.store-links span {
    color: #758386;
    font-size: 0.5rem;
}

.store-links strong { font-size: 0.72rem; }

.store-links em {
    margin-top: 5px;
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.48rem;
    font-style: normal;
    text-transform: uppercase;
}

.store-links a[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.45;
}

.store-links a[aria-disabled="true"] em { color: #839093; }

.contact {
    border-top: 1px solid rgba(213, 237, 238, 0.08);
    background:
        radial-gradient(circle at 15% 55%, rgba(255, 109, 95, 0.08), transparent 27%),
        radial-gradient(circle at 85% 50%, rgba(100, 247, 238, 0.07), transparent 30%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.contact-copy .section-index { margin-bottom: 68px; }
.contact-copy h2 { font-size: clamp(3.7rem, 6.6vw, 7rem); }

.contact-copy > p:not(.eyebrow) {
    max-width: 480px;
    margin: 30px 0 0;
    color: #a5b1b3;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-paths {
    display: grid;
    gap: 9px;
    margin-top: 42px;
}

.contact-paths span {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #aab5b7;
    font-size: 0.83rem;
}

.contact-paths b {
    display: grid;
    width: 29px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--acid);
    border: 1px solid rgba(199, 255, 46, 0.2);
    border-radius: 9px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.55rem;
}

.contact-form {
    padding: 7px 30px 30px;
    border-radius: 34px;
}

.contact-form .form-head {
    margin: 0 -30px 28px;
    padding-inline: 30px;
}

.honey {
    display: none !important;
}

.field-wide,
.field-row label {
    display: grid;
    gap: 8px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-block: 13px;
}

.field-wide > span,
.field-row label > span {
    color: #b4bfc1;
    font-size: 0.72rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(213, 237, 238, 0.15);
    border-radius: 14px;
    outline: none;
    background: rgba(2, 7, 11, 0.58);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input,
select { min-height: 53px; padding: 0 15px; }
textarea { min-height: 165px; padding: 15px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #829093 50%), linear-gradient(135deg, #829093 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder,
textarea::placeholder { color: #5f6d70; }
input:hover,
select:hover,
textarea:hover { border-color: rgba(213, 237, 238, 0.28); }
input:focus,
select:focus,
textarea:focus { border-color: var(--cyan); background-color: rgba(5, 13, 18, 0.82); box-shadow: 0 0 0 4px rgba(100, 247, 238, 0.08), 0 0 24px rgba(100, 247, 238, 0.05); }

.field-wide > small {
    margin-top: -30px;
    margin-right: 13px;
    color: #657376;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.55rem;
    text-align: right;
    pointer-events: none;
}

.privacy-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: start;
    margin: 25px 0;
    color: #8f9da0;
    font-size: 0.72rem;
    line-height: 1.5;
}

.privacy-check input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--acid);
}

.privacy-check a {
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.submit-button {
    width: 100%;
    border: 1px solid rgba(199, 255, 46, 0.85);
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-note {
    margin: 15px 0 0;
    color: #647275;
    font-size: 0.68rem;
    text-align: center;
}

.form-note a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-response {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: start;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid rgba(100, 247, 238, 0.28);
    border-radius: 15px;
    background: rgba(100, 247, 238, 0.07);
}

.form-response[hidden] {
    display: none;
}

.form-response > span {
    width: 10px;
    margin-top: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 13px var(--cyan);
}

.form-response strong {
    display: block;
    color: var(--paper);
    font-size: 0.82rem;
}

.form-response p {
    margin: 4px 0 0;
    color: #9eabad;
    font-size: 0.72rem;
    line-height: 1.5;
}

.form-response.is-success {
    border-color: rgba(199, 255, 46, 0.34);
    background: rgba(199, 255, 46, 0.07);
}

.form-response.is-success > span {
    background: var(--acid);
    box-shadow: 0 0 13px var(--acid);
}

.form-response.is-error {
    border-color: rgba(255, 109, 95, 0.38);
    background: rgba(255, 109, 95, 0.08);
}

.form-response.is-error > span {
    background: var(--coral);
    box-shadow: 0 0 13px var(--coral);
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding-block: 38px 44px;
    color: #718083;
    border-top: 1px solid rgba(213, 237, 238, 0.08);
    font-size: 0.77rem;
}

.footer-brand .brand-mark { width: 44px; border-radius: 14px; }
.footer-brand .brand-mark svg { width: 24px; }
.site-footer > p { text-align: center; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { transition: color 180ms ease; }
.footer-links a:hover { color: var(--acid); }

.js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-page,
.thanks-page {
    min-height: 100svh;
}

.simple-main {
    display: grid;
    min-height: calc(100svh - 130px);
    align-items: center;
    padding-block: 80px 110px;
}

.legal-card,
.thanks-card {
    width: min(880px, 100%);
    padding: clamp(30px, 6vw, 72px);
    border-radius: 36px;
}

.legal-card h1,
.thanks-card h1 {
    margin-bottom: 25px;
    font-size: clamp(3.4rem, 7vw, 6.5rem);
}

.legal-card h2 {
    margin: 42px 0 13px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.legal-card p,
.legal-card li,
.thanks-card p {
    color: #aab6b8;
    line-height: 1.75;
}

.legal-card a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.legal-card ul { padding-left: 20px; }
.legal-meta { margin-bottom: 34px; color: #718083 !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.blog-card {
    width: min(980px, 100%);
    padding: clamp(30px, 6vw, 70px);
    border-radius: 36px;
}

.blog-list {
    display: grid;
    gap: 13px;
    margin-top: 45px;
}

.blog-entry {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.blog-entry time,
.post-meta {
    color: var(--acid);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
}

.blog-entry h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1;
}

.blog-entry > span {
    color: var(--cyan);
}

.post-content {
    width: min(820px, 100%);
    padding: clamp(30px, 6vw, 72px);
    border-radius: 36px;
}

.post-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
}

.post-body {
    margin-top: 42px;
    color: #b3bec0;
    font-size: 1.04rem;
    line-height: 1.8;
}

.post-body h2,
.post-body h3 {
    margin-top: 2em;
    line-height: 1.1;
}

.post-body a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-body img {
    max-width: 100%;
    border-radius: 22px;
}

@keyframes ambient-float {
    to { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(2%, -1%); }
    50% { transform: translate(-1%, 2%); }
    75% { transform: translate(1%, 1%); }
    100% { transform: translate(-2%, -1%); }
}

@keyframes reactor-pulse {
    50% { opacity: 0.45; transform: scale(1.05); }
}

@keyframes bubble-rise {
    0% { opacity: 0; transform: translateY(10px) scale(0.5); }
    24% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-150px) scale(1.15); }
}

@keyframes card-float {
    50% { translate: 0 -8px; }
}

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

@keyframes signal-pulse {
    0% { box-shadow: 0 0 0 0 rgba(199, 255, 46, 0.5); }
    70% { box-shadow: 0 0 0 9px rgba(199, 255, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(199, 255, 46, 0); }
}

@media (max-width: 1100px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr); gap: 38px; }
    .reactor-stage { min-height: 540px; }
    .idea-card-one { left: 0; }
    .idea-card-two { right: 0; }
    .label-input { left: -5px; }
    .label-output { right: -5px; }
    .apps-shell { grid-template-columns: 1fr; }
    .apps-intro { border-right: 0; border-bottom: 1px solid var(--line); }
    .contact-grid { grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr); gap: 44px; }
    .app-row { grid-template-columns: auto 1fr; }
    .store-links { grid-column: 2; }
}

@media (max-width: 820px) {
    :root { --shell: min(100% - 34px, 680px); }
    .site-header { position: relative; top: 0; }
    .site-header nav a:not(.nav-cta) { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 72px; }
    .hero-copy { position: relative; z-index: 5; }
    h1 { font-size: clamp(4.1rem, 14vw, 6.8rem); }
    .reactor-stage { width: min(100%, 560px); justify-self: center; }
    .manifesto-grid,
    .section-heading,
    .contact-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { min-height: 260px; }
    .process-icon { margin-block: 30px 20px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-feature { grid-row: auto; min-height: 680px; }
    .contact-copy .section-index { margin-bottom: 48px; }
    .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .site-footer > p { margin: 0; }
}

@media (max-width: 600px) {
    :root { --shell: calc(100% - 26px); --radius: 23px; }
    body::before { display: none; }
    .site-header { width: calc(100% - 20px); min-height: 68px; margin-top: 10px; border-radius: 20px; }
    .brand-mark { width: 45px; border-radius: 14px; }
    .brand-copy strong { font-size: 0.75rem; }
    .brand-copy small { font-size: 0.49rem; }
    .site-header nav { gap: 4px; }
    nav .nav-cta { padding: 10px 12px; font-size: 0.69rem; }
    .hero { min-height: auto; padding-block: 72px 65px; }
    h1 { margin-bottom: 21px; font-size: clamp(3.45rem, 17vw, 5rem); line-height: 0.92; letter-spacing: -0.075em; }
    .hero-lead { font-size: 1rem; line-height: 1.62; }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .hero-meta { gap: 10px 15px; }
    .reactor-stage { min-height: 490px; margin-top: 26px; }
    .reactor { top: 48px; right: 6px; bottom: 25px; left: 6px; border-radius: 31px; }
    .reactor-vessel { width: 250px; }
    .idea-card { width: 172px; padding: 11px 12px; }
    .idea-card p { font-size: 0.66rem; }
    .idea-card-one { left: -5px; }
    .idea-card-two { right: -5px; }
    .stage-label { display: none; }
    .reactor-readout div { padding: 14px 4px; }
    .reactor-readout span,
    .reactor-readout strong { font-size: 0.48rem; }
    .section-pad { padding-block: 95px; }
    .section-index { margin-bottom: 38px; }
    h2,
    .contact-copy h2 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
    .process-grid { margin-top: 55px; }
    .project-grid { margin-top: 50px; }
    .project-card { min-height: 360px; padding: 21px; }
    .project-feature { min-height: 590px; }
    .project-body h3,
    .project-card:not(.project-feature) .project-body h3 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
    .project-orbit { top: 18%; width: 88%; }
    .apps-shell { border-radius: 28px; }
    .apps-intro { padding: 31px 24px 36px; }
    .app-row { grid-template-columns: auto 1fr; gap: 14px; padding: 25px 20px; }
    .app-icon { width: 55px; border-radius: 16px; }
    .store-links { grid-column: 1 / -1; }
    .store-links a { min-width: 0; }
    .contact-form { padding: 7px 18px 22px; border-radius: 28px; }
    .contact-form .form-head { margin-inline: -18px; padding-inline: 18px; }
    .form-head strong { font-size: 0; }
    .form-head strong::after { font-size: 0.58rem; content: "SECURE"; }
    .field-row { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .legal-card,
    .thanks-card { padding: 27px 22px; border-radius: 28px; }
    .blog-entry { grid-template-columns: 1fr auto; gap: 10px; }
    .blog-entry time { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
    .site-header > .brand .brand-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js-ready .reveal { opacity: 1; transform: none; }
}

@supports not (backdrop-filter: blur(1px)) {
    .glass-panel,
    .site-header,
    .idea-card,
    .stage-label { background-color: var(--glass-strong); }
}

/* Theme control */
.theme-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 7px 11px 7px 8px;
    color: #aab6b8;
    border: 1px solid rgba(213, 237, 238, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
    color: var(--paper);
    border-color: rgba(199, 255, 46, 0.32);
    background: rgba(199, 255, 46, 0.06);
    transform: translateY(-1px);
}

.theme-toggle-track {
    position: relative;
    display: block;
    width: 38px;
    height: 22px;
    border: 1px solid rgba(199, 255, 46, 0.3);
    border-radius: 99px;
    background: rgba(199, 255, 46, 0.08);
}

.theme-toggle-track i {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 11px rgba(199, 255, 46, 0.65);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track i {
    background: var(--cyan);
    box-shadow: 0 0 11px rgba(100, 247, 238, 0.65);
    transform: translateX(16px);
}

.locale-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(112, 134, 130, 0.25);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.locale-toggle button,
.locale-toggle a {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    min-height: 32px;
    padding: 0 6px;
    color: #8f9c9d;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.locale-toggle button:hover,
.locale-toggle button.active,
.locale-toggle a:hover,
.locale-toggle a.active {
    color: #071006;
    background: var(--acid);
}

html[data-theme="light"] .locale-toggle {
    border-color: rgba(20, 28, 23, 0.12);
    background: rgba(246, 247, 241, 0.76);
}

html[data-theme="light"] .locale-toggle button,
html[data-theme="light"] .locale-toggle a {
    color: #5b655f;
}

html[data-theme="light"] .locale-toggle button.active,
html[data-theme="light"] .locale-toggle a.active {
    color: #071006;
}

html[data-theme="light"] {
    color-scheme: light;
    background: #efeee7;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] body {
    color: #0b0d0b;
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(77, 178, 164, 0.13), transparent 25rem),
        radial-gradient(circle at 8% 8%, rgba(199, 255, 46, 0.16), transparent 27rem),
        linear-gradient(180deg, #f7f5ee 0%, #efeee7 52%, #e9e8e0 100%);
}

html[data-theme="light"] body::before {
    border-color: rgba(21, 31, 24, 0.08);
}

html[data-theme="light"] .ambient::before {
    background-image:
        linear-gradient(rgba(10, 15, 12, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 15, 12, 0.028) 1px, transparent 1px);
}

html[data-theme="light"] .ambient-orb {
    opacity: 0.09;
}

html[data-theme="light"] .trail {
    opacity: 0.13;
    background: linear-gradient(90deg, transparent, rgba(17, 46, 36, 0.46), transparent);
}

html[data-theme="light"] .trail::before,
html[data-theme="light"] .trail::after {
    background: linear-gradient(90deg, transparent, rgba(29, 82, 64, 0.12), transparent);
}

html[data-theme="light"] .grain {
    opacity: 0.025;
    mix-blend-mode: multiply;
}

html[data-theme="light"] .glass-panel {
    border-color: rgba(20, 28, 23, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), transparent 42%),
        rgba(255, 255, 252, 0.66);
    box-shadow:
        0 28px 70px rgba(28, 34, 29, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .site-header {
    border-color: rgba(25, 34, 28, 0.12);
    background: rgba(255, 255, 252, 0.78);
    box-shadow: 0 18px 52px rgba(31, 39, 32, 0.1);
}

html[data-theme="light"] .brand-mark {
    color: var(--acid);
    border-color: rgba(20, 33, 24, 0.18);
    background: #101410;
    box-shadow: 0 12px 25px rgba(15, 21, 16, 0.12), inset 0 0 22px rgba(199, 255, 46, 0.08);
}

html[data-theme="light"] .brand-copy strong {
    color: #0b0d0b;
}

html[data-theme="light"] .brand-copy small {
    color: #747b76;
}

html[data-theme="light"] nav a {
    color: #4f5651;
}

html[data-theme="light"] nav a:hover {
    color: #0b0d0b;
    background: rgba(12, 19, 14, 0.055);
}

html[data-theme="light"] nav .nav-cta,
html[data-theme="light"] nav .nav-cta:hover {
    color: #091004;
    background: var(--acid);
}

html[data-theme="light"] .theme-toggle {
    color: #4f5651;
    border-color: rgba(20, 28, 23, 0.12);
    background: rgba(12, 19, 14, 0.035);
}

html[data-theme="light"] .theme-toggle:hover {
    color: #0b0d0b;
    border-color: rgba(45, 96, 35, 0.25);
    background: rgba(199, 255, 46, 0.16);
}

html[data-theme="light"] .eyebrow {
    color: #41651e;
}

html[data-theme="light"] h1 span:nth-child(2) {
    color: #5c625d;
}

html[data-theme="light"] h1 em,
html[data-theme="light"] h2 em {
    background-image: linear-gradient(102deg, #345f12, #547a20 42%, #13766f 92%);
    filter: none;
}

html[data-theme="light"] .hero-lead {
    color: #555d57;
}

html[data-theme="light"] .button {
    border-color: rgba(20, 28, 23, 0.13);
}

html[data-theme="light"] .button-ghost {
    color: #121612;
    background: rgba(255, 255, 252, 0.72);
}

html[data-theme="light"] .button-ghost:hover {
    border-color: rgba(15, 102, 93, 0.32);
    background: rgba(100, 247, 238, 0.14);
}

html[data-theme="light"] .hero-meta {
    color: #6f7771;
}

html[data-theme="light"] .reactor,
html[data-theme="light"] .projects .glass-panel,
html[data-theme="light"] .apps-shell.glass-panel {
    color: var(--paper);
    border-color: rgba(213, 237, 238, 0.15);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
        rgba(11, 17, 24, 0.9);
    box-shadow:
        0 32px 82px rgba(9, 13, 10, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .reactor-stage::before {
    opacity: 0.72;
}

html[data-theme="light"] .section-index {
    color: #6f7771;
}

html[data-theme="light"] .section-index span {
    color: #42671d;
}

html[data-theme="light"] .section-index i {
    background: linear-gradient(90deg, rgba(65, 103, 29, 0.52), rgba(20, 28, 23, 0.12));
}

html[data-theme="light"] .manifesto-copy {
    color: #555e58;
}

html[data-theme="light"] .manifesto-copy .big-copy {
    color: #232823;
}

html[data-theme="light"] .manifesto-copy strong {
    color: #0b0d0b;
}

html[data-theme="light"] .process-card:hover {
    border-color: rgba(75, 121, 31, 0.28);
    background-color: rgba(255, 255, 252, 0.92);
    box-shadow: 0 32px 70px rgba(36, 46, 37, 0.11);
}

html[data-theme="light"] .process-card > span,
html[data-theme="light"] .process-card small {
    color: #7b827d;
}

html[data-theme="light"] .process-card p {
    color: #5d655f;
}

html[data-theme="light"] .projects {
    color: var(--paper);
    border-color: rgba(213, 237, 238, 0.09);
    background:
        radial-gradient(circle at 88% 13%, rgba(155, 112, 255, 0.14), transparent 28%),
        radial-gradient(circle at 9% 82%, rgba(100, 247, 238, 0.06), transparent 31%),
        #0b0f12;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), inset 0 -1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .projects .section-index {
    color: #7f8c8f;
}

html[data-theme="light"] .projects .section-index span,
html[data-theme="light"] .projects .eyebrow {
    color: var(--acid);
}

html[data-theme="light"] .projects .section-index i {
    background: linear-gradient(90deg, rgba(199, 255, 46, 0.5), rgba(211, 241, 239, 0.15));
}

html[data-theme="light"] .projects h2 em,
html[data-theme="light"] .apps-shell h2 em {
    background-image: linear-gradient(102deg, var(--acid), #e8ff91 41%, var(--cyan) 91%);
    filter: drop-shadow(0 0 28px rgba(199, 255, 46, 0.18));
}

html[data-theme="light"] .projects .section-heading > p,
html[data-theme="light"] .project-body p {
    color: #9eabad;
}

html[data-theme="light"] .projects .project-feature {
    background:
        radial-gradient(circle at 55% 38%, rgba(199, 255, 46, 0.12), transparent 25%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
        rgba(11, 17, 24, 0.9);
}

html[data-theme="light"] .apps-shell {
    color: var(--paper);
    background:
        radial-gradient(circle at 8% 90%, rgba(199, 255, 46, 0.08), transparent 32%),
        #101510;
}

html[data-theme="light"] .apps-shell .eyebrow {
    color: var(--acid);
}

html[data-theme="light"] .contact {
    border-color: rgba(20, 28, 23, 0.1);
    background:
        radial-gradient(circle at 15% 55%, rgba(255, 109, 95, 0.1), transparent 27%),
        radial-gradient(circle at 85% 50%, rgba(100, 247, 238, 0.12), transparent 30%);
}

html[data-theme="light"] .contact-copy > p:not(.eyebrow),
html[data-theme="light"] .contact-paths span {
    color: #59615b;
}

html[data-theme="light"] .contact-paths b {
    color: #42671d;
    border-color: rgba(65, 103, 29, 0.2);
    background: rgba(255, 255, 252, 0.46);
}

html[data-theme="light"] .contact-form .form-head {
    border-color: rgba(20, 28, 23, 0.11);
}

html[data-theme="light"] .contact-form .form-head span {
    color: #6d756f;
}

html[data-theme="light"] .contact-form .form-head strong {
    color: #42671d;
}

html[data-theme="light"] .field-wide > span,
html[data-theme="light"] .field-row label > span {
    color: #424943;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
    color: #111511;
    border-color: rgba(20, 28, 23, 0.14);
    background-color: rgba(244, 244, 238, 0.86);
}

html[data-theme="light"] select option {
    color: #111511;
    background: #fff;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: #888e89;
}

html[data-theme="light"] input:hover,
html[data-theme="light"] select:hover,
html[data-theme="light"] textarea:hover {
    border-color: rgba(20, 28, 23, 0.27);
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
    border-color: #168b82;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(22, 139, 130, 0.1), 0 12px 30px rgba(22, 139, 130, 0.06);
}

html[data-theme="light"] .privacy-check,
html[data-theme="light"] .form-note,
html[data-theme="light"] .field-wide > small {
    color: #6c746e;
}

html[data-theme="light"] .privacy-check a,
html[data-theme="light"] .form-response strong {
    color: #161a16;
}

html[data-theme="light"] .form-response p {
    color: #59615b;
}

html[data-theme="light"] .legal-card p,
html[data-theme="light"] .legal-card li,
html[data-theme="light"] .thanks-card p,
html[data-theme="light"] .post-body {
    color: #515953;
}

html[data-theme="light"] .legal-meta {
    color: #777f79 !important;
}

html[data-theme="light"] .legal-card a,
html[data-theme="light"] .post-body a {
    color: #086e68;
}

html[data-theme="light"] .blog-entry {
    border-color: rgba(20, 28, 23, 0.11);
    background: rgba(245, 245, 239, 0.72);
}

html[data-theme="light"] .blog-entry time,
html[data-theme="light"] .post-meta {
    color: #42671d;
}

html[data-theme="light"] .blog-entry > span {
    color: #08766f;
}

html[data-theme="light"] .site-footer {
    margin-bottom: 18px;
    padding: 30px;
    color: #89958f;
    border: 1px solid rgba(213, 237, 238, 0.1);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 120%, rgba(199, 255, 46, 0.1), transparent 34%),
        #101411;
    box-shadow: 0 24px 65px rgba(22, 29, 23, 0.16);
}

html[data-theme="light"] .site-footer .brand-copy strong {
    color: var(--paper);
}

html[data-theme="light"] .site-footer .brand-copy small {
    color: #75817b;
}

html[data-theme="light"] .site-footer .footer-links a:hover {
    color: var(--acid);
}

@media (max-width: 720px) {
    .theme-toggle {
        min-height: 38px;
        padding: 7px;
    }

    .theme-toggle > [data-theme-label] {
        display: none;
    }

    .locale-toggle button {
        min-width: 27px;
        min-height: 29px;
        padding-inline: 4px;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    html[data-theme="light"] .glass-panel,
    html[data-theme="light"] .site-header {
        background-color: rgba(255, 255, 252, 0.96);
    }

    html[data-theme="light"] .reactor,
    html[data-theme="light"] .projects .glass-panel,
    html[data-theme="light"] .apps-shell.glass-panel {
        background-color: #101510;
    }
}
