:root {
    color-scheme: dark;

    --gr-bg: #03050b;
    --gr-surface: #0c1618;
    --gr-cyan: #22e6ff;
    --gr-cyan-20d: #1bb8cc;
    --gr-cyan-30d: #18a1b3;
    --gr-cyan-40d: #148a99;
    --gr-cyan-20l: #4eebff;
    --gr-cyan-30l: #64eeff;
    --gr-cyan-40l: #7af0ff;
    --gr-cyan-soft: var(--gr-cyan-40l);
    --gr-border: var(--gr-cyan-30d);
    --gr-lid: var(--gr-cyan-40d);
    --gr-body: #94a3b8;
    --gr-muted: #64748b;
    --gr-faint: #475569;
    --gr-white: #ffffff;
    --gr-ink: #03050b;
    --gr-mark: var(--gr-cyan);
    --gr-green: #4ade80;

    --gr-glow-cyan: 0 0 6px rgba(34, 230, 255, 0.7), 0 0 18px rgba(34, 230, 255, 0.35);
    --gr-glow-cyan-intense: 0 0 4px #7af0ff, 0 0 12px rgba(34, 230, 255, 0.85), 0 0 25px rgba(34, 230, 255, 0.45);
    --gr-glow-white: 0 0 6px rgba(255, 255, 255, 0.55), 0 0 16px rgba(34, 230, 255, 0.25);

    --gr-display: "Funnel Display", "Hubot Sans", ui-sans-serif, system-ui, sans-serif;
    --gr-sans: "Hubot Sans", ui-sans-serif, system-ui, sans-serif;
    --gr-mono: "JetBrains Mono", ui-monospace, monospace;
    --gr-wordmark: "Neon Future", "Hubot Sans", ui-sans-serif, system-ui, sans-serif;

    --gr-radius: 0;
    --gr-input-radius: 4px;
    --gr-line: 2px;
    --gr-border-field: rgba(34, 230, 255, 0.22);
    --gr-border-field-hover: rgba(34, 230, 255, 0.45);
    --gr-field-bg: #081417;
    --gr-placeholder: rgba(78, 235, 255, 0.32);
    --gr-label: var(--gr-cyan-30l);
    --gr-rail: 3px;
    --gr-pad-left: 1.75rem;
    --gr-measure-narrow: 25.5rem;
}

@font-face {
    font-family: "Neon Future";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/NeonFuture.ttf") format("truetype");
}

@font-face {
    font-family: "Funnel Display";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/funnel-display-latin-700.woff2") format("woff2");
}

@font-face {
    font-family: "Hubot Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/hubot-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gr-bg);
    color: var(--gr-body);
    font-family: var(--gr-sans);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fixed left cyan rail on viewport */
body::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--gr-rail);
    background: var(--gr-cyan);
    box-shadow: var(--gr-glow-cyan);
    pointer-events: none;
    z-index: 2;
}

.wrap {
    flex: 1 0 auto;
    position: relative;
    width: 100%;
    max-width: var(--gr-measure-narrow);
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 4.5rem 1.25rem 3rem var(--gr-pad-left);
}

@media (min-width: 960px) {
    .wrap {
        padding-bottom: 3.5rem;
    }
}

/* Left cyan rail on the form column */
.wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--gr-rail);
    background: var(--gr-cyan);
    box-shadow: var(--gr-glow-cyan);
    pointer-events: none;
    z-index: 2;
}

/* --- Mascot: Mobile (stacked at bottom) vs Desktop (fixed lower-left) --- */
.signin-bot {
    display: block;
    position: relative;
    width: 216px;
    height: 384px;
    margin: 2.75rem 40px 0 auto;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.signin-bot:focus-visible {
    outline: 2px solid var(--gr-cyan);
    outline-offset: 4px;
    border-radius: var(--gr-radius);
}

.signin-bot__img,
.signin-bot__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.signin-bot__video {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.signin-bot__video.is-playing {
    opacity: 1;
}

@media (min-width: 960px) {
    .signin-bot {
        position: fixed;
        bottom: 0;
        right: calc(50% + ((var(--gr-measure-narrow) + var(--gr-pad-left) + 1.25rem) / 2));
        width: 288px;
        height: 512px;
        margin: 0;
        z-index: 1;
    }
}

/* --- Mascot Page Layout with Full Footer (Contact, Index & Docs) --- */
.wrap--contact,
.wrap--index,
.wrap--docs {
    padding-bottom: 0;
}

.wrap--docs {
    display: flex;
    flex-direction: column;
}

.wrap--contact .signin-bot,
.wrap--index .signin-bot {
    margin: 1.5rem 0 0 0;
}

.wrap--contact+.full-footer,
.wrap--index+.full-footer,
.wrap--docs+.full-footer {
    margin-top: 0;
}

@media (min-width: 960px) {

    .wrap--contact,
    .wrap--index {
        min-height: 520px;
        padding-bottom: 3.5rem;
    }

    .wrap--docs {
        padding-bottom: 0;
    }

    .wrap--contact .signin-bot,
    .wrap--index .signin-bot {
        position: absolute;
        bottom: 0;
        right: 100%;
        width: 288px;
        height: 512px;
        margin: 0;
        z-index: 1;
    }
}

/* --- Wide Subpage Layout (About, FAQ, Docs) --- */
.wrap--about,
.wrap--faq,
.wrap--docs,
.wrap--wide,
.wrap--examples {
    max-width: min(700px, calc(0.75 * var(--gr-measure-narrow) + 25vw));
}

/* --- Wordmark Hero Wrap & 2-Line Wordmark --- */
.wordmark-hero-wrap {
    display: flex;
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2.75rem;
}

@media (min-width: 960px) {
    .wordmark-hero-wrap {
        margin-right: calc(-1 * min(0.55 * (50vw - 50%), 420px));
    }
}

.wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--gr-wordmark);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--gr-cyan-30l);
    text-shadow: var(--gr-glow-cyan-intense);
    line-height: 0.88;
    margin: 0;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    text-decoration: none;
    animation: gr-heartbeat 2s ease-in-out infinite;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    transform-origin: center center;
    font-size: clamp(2.9rem, 1.05rem + 4.2vw, 5.25rem);
}

.wordmark--sub {
    font-size: clamp(1.95rem, 1.2rem + 1.65vw, 2.85rem);
    letter-spacing: 1.5px;
}

.wordmark-hero-wrap--sub {
    margin-bottom: 2rem;
}

.wordmark-line {
    display: block;
    text-align: center;
}

.wordmark:hover {
    animation: gr-heartbeat-hover 1.2s ease-in-out infinite;
    color: #ffffff;
    text-shadow: 0 0 6px #ffffff, 0 0 14px #7af0ff, 0 0 28px rgba(34, 230, 255, 1), 0 0 50px rgba(34, 230, 255, 0.7);
    text-decoration: none;
}

@keyframes gr-heartbeat {

    0%,
    100% {
        color: var(--gr-cyan-30l);
        text-shadow: 0 0 4px #7af0ff, 0 0 12px rgba(34, 230, 255, 0.75), 0 0 24px rgba(34, 230, 255, 0.35);
    }

    50% {
        color: #a5f5ff;
        text-shadow: 0 0 7px #7af0ff, 0 0 20px rgba(34, 230, 255, 0.95), 0 0 38px rgba(34, 230, 255, 0.65);
    }
}

@keyframes gr-heartbeat-hover {

    0%,
    100% {
        transform: scale(1.04);
        color: #e0fbff;
        text-shadow: 0 0 5px #ffffff, 0 0 14px #7af0ff, 0 0 28px rgba(34, 230, 255, 0.9), 0 0 45px rgba(34, 230, 255, 0.6);
    }

    50% {
        transform: scale(1.08);
        color: #ffffff;
        text-shadow: 0 0 8px #ffffff, 0 0 22px #7af0ff, 0 0 40px rgba(34, 230, 255, 1), 0 0 65px rgba(34, 230, 255, 0.85);
    }
}

/* --- Header Slab & Copy --- */
.mark {
    display: inline-block;
    font-family: var(--gr-display);
    font-size: 1.55rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--gr-ink);
    background: var(--gr-mark);
    box-shadow: var(--gr-glow-cyan);
    border-radius: var(--gr-radius);
    margin: 0 0 1.35rem calc(var(--gr-rail) - var(--gr-pad-left));
    padding: 0.12em 0.55em 0.28em;
    white-space: nowrap;
    width: max-content;
    max-width: none;
}

@media (max-width: 640px) {
    .mark {
        white-space: normal;
        width: auto;
        max-width: calc(100vw - var(--gr-pad-left) - 2rem);
        line-height: 1.25;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }
}

.sub {
    color: #94a3b8;
    font-size: 0.90rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
}

mark {
    background: var(--gr-cyan);
    color: #000000;
    padding: 0.08em 0.35em;
    border-radius: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.chore-list {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 1.15rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.chore-list li {
    position: relative;
    padding-left: 0.95rem;
    color: #94a3b8;
    font-size: 0.90rem;
    line-height: 1.4;
    font-family: var(--gr-sans);
    font-weight: 500;
}

@media (min-width: 640px) {
    .chore-list li {
        white-space: nowrap;
    }
}

.chore-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -0.05em;
    color: var(--gr-cyan);
    font-size: 1.05rem;
    text-shadow: var(--gr-glow-cyan);
}

/* --- Form Elements --- */
#betaForm,
#contactForm {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    text-align: left;
}

@media (min-width: 640px) {
    #betaForm {
        max-width: 80%;
    }
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    margin: 0 0 0.35rem;
    color: var(--gr-label);
    text-align: left;
}

input,
textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.8rem;
    margin-bottom: 0.85rem;
    border: 1px solid var(--gr-border-field);
    border-radius: var(--gr-input-radius);
    background: var(--gr-field-bg);
    color: var(--gr-white);
    font-size: 0.95rem;
    font-family: var(--gr-sans);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
    color: var(--gr-placeholder);
    opacity: 1;
}

input:hover,
textarea:hover {
    border-color: var(--gr-border-field-hover);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--gr-cyan);
    box-shadow: 0 0 0 1px var(--gr-cyan), var(--gr-glow-cyan);
    background: #0b181b;
}

button.primary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 1.15rem;
    border: 1px solid var(--gr-cyan);
    border-radius: var(--gr-input-radius);
    background: var(--gr-cyan);
    color: var(--gr-ink);
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--gr-sans);
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--gr-glow-cyan);
    transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    margin-top: 0.25rem;
}

button.primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 8px rgba(34, 230, 255, 0.8), 0 0 20px rgba(34, 230, 255, 0.45);
}

button.primary:active {
    transform: translateY(1px);
}

button.primary:disabled {
    opacity: 0.6;
    cursor: default;
}

.form-feedback {
    max-width: 100%;
    margin-top: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--gr-input-radius);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    background: rgba(34, 230, 255, 0.08);
    border: 1px solid var(--gr-cyan-30d);
    color: var(--gr-cyan-20l);
    animation: fadeInFeedback 0.2s ease forwards;
}

@media (min-width: 640px) {
    .form-feedback {
        max-width: 80%;
    }
}

.form-feedback.err {
    border-color: #b85c5c;
    border-left-color: #e07070;
    color: #ff9b9b;
}

/* --- Inline link styling --- */
.contact-email-link,
.inline-link {
    color: var(--gr-cyan-20l);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(34, 230, 255, 0.5);
    transition: color 0.15s ease, border-color 0.15s ease, text-shadow 0.15s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-email-link:hover,
.inline-link:hover {
    color: var(--gr-white);
    border-bottom-color: var(--gr-cyan);
    text-shadow: var(--gr-glow-cyan);
}

/* --- Message Sent Confirmation --- */
.sent-confirmation {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80%;
    padding: 2.25rem 1rem 1.75rem;
    margin: 0.5rem 0 1.5rem;
    animation: fadeIn 0.35s ease forwards;
}

.sent-confirmation__icon-wrap {
    margin-bottom: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sent-confirmation__svg {
    width: 68px;
    height: 68px;
    filter: drop-shadow(0 0 8px rgba(34, 230, 255, 0.75)) drop-shadow(0 0 20px rgba(34, 230, 255, 0.4));
}

.sent-confirmation__title {
    font-family: var(--gr-sans);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gr-white);
    margin: 0 0 0.75rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.sent-confirmation__desc {
    color: var(--gr-body);
    font-size: 0.90rem;
    line-height: 1.45;
    margin: 0;
    max-width: 22rem;
}

@keyframes fadeInFeedback {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Minimalist Footer --- */
.site-footer {
    width: 100%;
    margin-top: 0;
    padding: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}

@media (min-width: 960px) {
    .site-footer {
        margin-top: auto;
        padding-top: 3rem;
    }
}

.site-footer__line {
    width: max(25vw, 260px);
    height: 1px;
    background: var(--gr-cyan);
    box-shadow: var(--gr-glow-cyan);
}

.site-footer__text {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 8px;
    padding-right: 40px;
    text-align: right;
    font-family: var(--gr-sans);
}

.site-footer__text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

.site-footer__text a:hover {
    color: var(--gr-cyan-20l);
    text-shadow: var(--gr-glow-cyan);
    text-decoration: underline;
}

/* --- About Page Section Headings --- */
.about-section-heading {
    font-family: var(--gr-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gr-cyan-20l);
    letter-spacing: 0.03em;
    margin: 2rem 0 0.65rem;
    text-shadow: 0 0 6px rgba(34, 230, 255, 0.3);
}

/* --- FAQ Accordion (Summary / Details) --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid rgba(34, 230, 255, 0.18);
    border-radius: 4px;
    background: rgba(8, 20, 23, 0.65);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(34, 230, 255, 0.45);
    background: rgba(8, 20, 23, 0.95);
    box-shadow: 0 0 12px rgba(34, 230, 255, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    font-family: var(--gr-sans);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--gr-cyan-30l);
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
}

.faq-question:hover {
    color: var(--gr-white);
    background: rgba(34, 230, 255, 0.04);
}

.faq-question:focus-visible {
    outline: 2px solid var(--gr-cyan);
    outline-offset: -2px;
}

.faq-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gr-cyan);
    border-bottom: 2px solid var(--gr-cyan);
    transform: rotate(-45deg);
    transition: transform 0.25s ease, border-color 0.2s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem 1.2rem;
    color: var(--gr-body);
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(34, 230, 255, 0.08);
    padding-top: 0.9rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer p+p {
    margin-top: 0.75rem;
}

.faq-answer .chore-list {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* --- About Video (Inline Video above Title) --- */
.about-video-wrap {
    margin: 0 0 0 calc(var(--gr-rail) - var(--gr-pad-left));
    margin-bottom: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    max-width: calc(100% + var(--gr-pad-left) - var(--gr-rail));
    line-height: 0;
    font-size: 0;
}

.about-video {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 640 / 360;
    border: none;
    border-bottom: 1px solid var(--gr-cyan);
    outline: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
    margin-bottom: 0;
    padding: 0;
    cursor: pointer;
    box-sizing: border-box;
}

/* --- Docs Video (Inline Mascot / Video in Content Column) --- */
.docs-video-wrap {
    margin-top: auto;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 2rem;
    position: relative;
    max-width: 100%;
    line-height: 0;
    font-size: 0;
}

.docs-video {
    display: block;
    width: 288px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 288 / 512;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
    cursor: pointer;
}

/* ====================================================
   Full-Body Footer
   Two-level angled top border:
     ──────────
               \
                ──────────
   ==================================================== */
.full-footer {
    width: 100%;
    margin-top: 0;
    position: relative;
}

/* --- Angled border decoration --- */
.full-footer__border-wrap {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 60px;
    /* vertical space for the angle */
    position: relative;
}

.full-footer__border-left {
    flex: 0 0 55%;
    height: 100%;
    border-top: 1px solid var(--gr-cyan);
    background: #0a1628;
}

.full-footer__border-angle {
    flex: 0 0 8%;
    height: 100%;
    /* SVG: filled triangle below the diagonal + the cyan stroke on top */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cpolygon points='0,0 0,100 100,100' fill='%230a1628'/%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%2322e6ff' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

.full-footer__border-right {
    flex: 1 1 auto;
    align-self: flex-end;
    height: 0;
    border-top: 1px solid var(--gr-cyan);
}

/* --- Footer body (darker blue background) --- */
.full-footer__body {
    background: #0a1628;
    padding: 2.5rem 2rem 2rem;
}

.full-footer__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Brand column */
.full-footer__brand {
    flex: 1 1 220px;
    min-width: 180px;
    position: relative;
    z-index: 2;
    top: -4rem;
}

.full-footer__brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--gr-wordmark);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 0.88;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    white-space: nowrap;
    color: var(--gr-cyan-30l);
    text-shadow: var(--gr-glow-cyan-intense);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    margin-bottom: 0.85rem;
}

.full-footer__brand-link:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #ffffff, 0 0 14px #7af0ff, 0 0 28px rgba(34, 230, 255, 1);
}

.full-footer__brand-line {
    display: block;
    text-align: center;
}

.full-footer__tagline {
    color: var(--gr-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}

/* Newsletter signup */
.full-footer__signup {
    flex: 1 1 280px;
    min-width: 240px;
    max-width: 340px;
}

.full-footer__signup-heading {
    font-family: var(--gr-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gr-cyan-20l);
    margin: 0 0 0.75rem;
}

.full-footer__signup-form {
    margin: 0;
}

.full-footer__signup-field {
    display: flex;
    align-items: stretch;
    height: 2.25rem;
    border: 1px solid rgba(34, 230, 255, 0.25);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.full-footer__signup-field:focus-within {
    border-color: var(--gr-cyan);
    box-shadow: 0 0 8px rgba(34, 230, 255, 0.15);
}

.full-footer__signup-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    outline: none;
    box-shadow: none;
    color: #e0e8f0;
    font-family: var(--gr-sans);
    font-size: 0.82rem;
}

.full-footer__signup-input:focus {
    outline: none;
    box-shadow: none;
}

.full-footer__signup-input::placeholder {
    color: var(--gr-muted);
    opacity: 0.7;
}

.full-footer__signup-btn {
    flex: 0 0 auto;
    padding: 0 1rem;
    line-height: 1;
    background: var(--gr-cyan);
    color: #0a1628;
    border: none;
    font-family: var(--gr-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.full-footer__signup-btn:hover {
    background: #7af0ff;
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.4);
}

.full-footer__signup-btn:active {
    background: #1ac8e0;
}

.full-footer__signup-note {
    color: var(--gr-faint);
    font-size: 0.68rem;
    margin: 0.4rem 0 0;
}

.full-footer__signup-success-text {
    color: var(--gr-cyan);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    text-shadow: var(--gr-glow-cyan);
}

.full-footer__signup-error {
    color: #ff6b6b;
    font-size: 0.72rem;
    margin: 0.4rem 0 0;
}

/* Nav columns */
.full-footer__nav-columns {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.full-footer__nav-col {
    min-width: 110px;
}

.full-footer__nav-heading {
    font-family: var(--gr-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gr-cyan-20l);
    margin: 0 0 0.65rem;
}

.full-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.full-footer__nav-list a {
    color: var(--gr-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

.full-footer__nav-list a:hover {
    color: var(--gr-cyan-20l);
    text-shadow: var(--gr-glow-cyan);
}

/* Bottom copyright bar */
.full-footer__bottom {
    max-width: 960px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 230, 255, 0.12);
}

.full-footer__copyright {
    color: var(--gr-faint);
    font-size: 0.72rem;
    margin: 0;
}

.full-footer__copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.full-footer__copyright a:hover {
    color: var(--gr-cyan-20l);
}

/* ====================================================
   Site Header (Top Navigation)
   ==================================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.25rem 2rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .site-header {
        padding: 0.85rem 1rem 0;
    }
}

.site-header__nav {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

@media (max-width: 480px) {
    .site-header__nav {
        gap: 0.45rem;
    }
}

.site-header__link {
    color: var(--gr-muted);
    font-family: var(--gr-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.45rem 0.65rem;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

.site-header__link:hover {
    color: var(--gr-white);
    text-shadow: var(--gr-glow-cyan);
}

.site-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gr-sans);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    height: 2.1rem;
    padding: 0 0.95rem;
    border-radius: var(--gr-input-radius, 4px);
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: all 0.18s ease;
    cursor: pointer;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .site-header__link {
        font-size: 0.78rem;
        padding: 0.35rem 0.4rem;
    }

    .site-header__btn {
        font-size: 0.78rem;
        height: 1.85rem;
        padding: 0 0.65rem;
    }
}

.site-header__btn--login {
    background: #0b151e;
    color: var(--gr-cyan-30l);
    border: 1px solid rgba(34, 230, 255, 0.22);
}

.site-header__btn--login:hover {
    background: #10212f;
    color: #ffffff;
    border-color: var(--gr-cyan);
    box-shadow: 0 0 10px rgba(34, 230, 255, 0.35);
}

.site-header__btn--signup {
    background: var(--gr-cyan);
    color: var(--gr-ink);
    border: 1px solid var(--gr-cyan);
    font-weight: 700;
    box-shadow: var(--gr-glow-cyan);
}

.site-header__btn--signup:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--gr-ink);
    box-shadow: 0 0 8px #ffffff, 0 0 20px rgba(34, 230, 255, 0.6);
}

/* --- Subtle CTA Divider & Callout --- */
.cta-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(34, 230, 255, 0.38) 0%, rgba(34, 230, 255, 0.1) 60%, transparent 100%);
    margin: 2.75rem 0 1.5rem;
    border: none;
}

.cta-sub {
    font-size: 0.93rem;
    line-height: 1.55;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.cta-sub__lead {
    font-weight: 600;
}