:root {
    --background: #080c10;
    --surface: #0f141c;
    --surface-2: #141a24;
    --surface-3: #1b2330;
    --border: #263241;
    --border-soft: rgba(148, 163, 184, 0.18);
    --primary: #00f5a0;
    --primary-soft: rgba(0, 245, 160, 0.12);
    --secondary: #6366f1;
    --secondary-soft: rgba(99, 102, 241, 0.16);
    --amber: #ff9f43;
    --amber-soft: rgba(255, 159, 67, 0.13);
    --text: #f8fafc;
    --muted: #a5b4c8;
    --subtle: #718096;
    --container: 1180px;
    --radius: 8px;
    --radius-sm: 6px;
    --font-heading: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    --font-body: "Plus Jakarta Sans", Inter, sans-serif;
    --font-data: Geist, "Plus Jakarta Sans", sans-serif;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    background:
        linear-gradient(rgba(38, 50, 65, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 50, 65, 0.28) 1px, transparent 1px),
        radial-gradient(circle at 18% 0%, rgba(0, 245, 160, 0.12), transparent 30rem),
        radial-gradient(circle at 92% 14%, rgba(99, 102, 241, 0.15), transparent 28rem),
        var(--background);
    background-size: 40px 40px, 40px 40px, auto, auto;
    overflow-x: clip;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 12, 16, 0) 0%, rgba(8, 12, 16, 0.78) 46%, var(--background) 100%),
        repeating-linear-gradient(0deg, rgba(248, 250, 252, 0.025) 0, rgba(248, 250, 252, 0.025) 1px, transparent 1px, transparent 6px);
}

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

svg {
    display: block;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.site-shell {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 18px;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 12px;
    background: rgba(8, 12, 16, 0.78);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-mark img {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 245, 160, 0.34);
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.brand-mark span {
    display: grid;
    line-height: 1.05;
}

.brand-mark strong {
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.1em;
}

.brand-mark small {
    color: var(--muted);
    font-family: var(--font-data);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background: rgba(15, 20, 28, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius);
}

.primary-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-family: var(--font-data);
    font-size: 13px;
    font-weight: 700;
    transition: color 180ms ease, background-color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
    color: var(--primary);
    background: rgba(248, 250, 252, 0.06);
    outline: none;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 12px 18px;
    font-family: var(--font-data);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-cta,
.button-primary {
    color: #001f14;
    background: var(--primary);
    box-shadow: 0 0 26px rgba(0, 245, 160, 0.22);
}

.button-secondary {
    color: var(--text);
    background: rgba(248, 250, 252, 0.03);
    border-color: rgba(148, 163, 184, 0.22);
}

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

.button-secondary:hover {
    color: var(--primary);
    border-color: rgba(0, 245, 160, 0.55);
}

.header-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-cta:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

main {
    width: min(100%, var(--container));
    margin: 0 auto;
}

main,
section,
.hero-copy,
.proof-copy,
.contact-section > div {
    min-width: 0;
}

[id] {
    scroll-margin-top: 110px;
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(350px, 1fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 104px);
    min-height: calc(100dvh - 104px);
    padding: 82px 0 74px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 38px -18px 44px;
    z-index: -1;
    border: 1px solid rgba(38, 50, 65, 0.58);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(0, 245, 160, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 160, 0.07) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary);
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 14px rgba(0, 245, 160, 0.86);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
}

h1 {
    max-width: 680px;
    font-size: clamp(34px, 21px + 3.3vw, 60px);
    font-weight: 700;
}

h2 {
    font-size: clamp(28px, 22px + 1.5vw, 40px);
    font-weight: 700;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

.hero-text {
    max-width: 640px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 18px;
}

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

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.proof-row span {
    padding: 7px 10px;
    color: var(--muted);
    background: rgba(15, 20, 28, 0.82);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.platform-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    background: linear-gradient(180deg, transparent 48%, rgba(8, 12, 16, 0.72) 100%);
}

.visual-card {
    position: absolute;
    z-index: 2;
    width: min(240px, 42%);
    padding: 16px;
    background: rgba(8, 12, 16, 0.82);
    border: 1px solid rgba(0, 245, 160, 0.24);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.visual-card-left {
    left: 18px;
    bottom: 22px;
}

.visual-card-right {
    right: 18px;
    top: 22px;
    border-color: rgba(99, 102, 241, 0.32);
}

.visual-card small,
.panel-kicker,
.terminal-header,
.terminal-row span,
.process-grid span {
    color: var(--muted);
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-card strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.15;
}

.section-block,
.proof-section,
.contact-section {
    padding: 84px 0;
}

.split-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
    gap: 40px;
    align-items: end;
    padding-bottom: 34px;
}

.split-intro p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.proof-copy p,
.contact-section p {
    color: var(--muted);
    font-size: 17px;
}

.featured-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 56px;
}

.feature-panel,
.solution-grid article,
.proof-terminal,
.process-grid article,
.contact-card {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 26, 36, 0.94), rgba(9, 13, 18, 0.94));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-panel {
    overflow: hidden;
    min-height: 440px;
    padding: 30px;
}

.feature-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--amber));
}

.primary-panel {
    border-color: rgba(0, 245, 160, 0.36);
}

.panel-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 26px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(0, 245, 160, 0.24);
    border-radius: var(--radius);
}

.panel-icon svg,
.solution-grid svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.panel-kicker {
    display: block;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-panel h3 {
    max-width: 520px;
    margin-bottom: 14px;
    font-size: 30px;
}

.feature-panel p {
    color: var(--muted);
}

.feature-panel ul {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    list-style: none;
}

.feature-panel li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}

.feature-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(45deg);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 32px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -12px;
}

.section-heading.compact {
    display: block;
}

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

.solution-grid article {
    min-height: 270px;
    padding: 24px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.solution-grid article:hover,
.process-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 245, 160, 0.42);
}

.solution-grid svg {
    width: 34px;
    height: 34px;
    margin-bottom: 28px;
    color: var(--primary);
}

.solution-grid h3 {
    margin-bottom: 12px;
}

.solution-grid p,
.process-grid p {
    color: var(--muted);
}

.proof-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
    gap: 40px;
    align-items: center;
}

.proof-copy h2 {
    margin-bottom: 18px;
}

.proof-terminal {
    overflow: hidden;
    padding: 18px;
}

.proof-terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(0, 245, 160, 0.1), transparent 36%),
        linear-gradient(rgba(248, 250, 252, 0.035) 1px, transparent 1px);
    background-size: auto, 100% 34px;
}

.terminal-header,
.terminal-row {
    position: relative;
    z-index: 1;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 12px 16px;
    border-bottom: 1px solid var(--border-soft);
}

.terminal-header strong {
    color: var(--primary);
}

.terminal-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px 16px;
    padding: 18px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.terminal-row:last-child {
    border-bottom: 0;
}

.terminal-row span {
    color: var(--primary);
    grid-row: span 2;
}

.terminal-row strong {
    font-family: var(--font-heading);
    font-size: 18px;
}

.terminal-row small {
    color: var(--muted);
}

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

.process-grid article {
    min-height: 280px;
    padding: 24px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.process-grid span {
    display: block;
    margin-bottom: 34px;
    color: var(--primary);
}

.process-grid h3 {
    margin-bottom: 12px;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
    align-items: center;
    margin-bottom: 34px;
    padding: 42px;
    background:
        linear-gradient(120deg, rgba(0, 245, 160, 0.11), transparent 40%),
        rgba(15, 20, 28, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius);
}

.contact-section h2 {
    margin-bottom: 18px;
}

.contact-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    box-shadow: none;
}

.contact-card p {
    font-size: 13px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 28px 0 18px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
    font-family: var(--font-data);
    font-size: 13px;
}

.site-footer div {
    display: grid;
    gap: 4px;
}

.site-footer strong {
    color: var(--text);
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
}

@media (max-width: 1120px) {
    .site-header {
        gap: 10px;
    }

    .brand-mark strong {
        font-size: 15px;
    }

    .primary-nav a,
    .header-cta {
        font-size: 12px;
    }

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

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

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .proof-section,
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-header {
        flex-wrap: wrap;
    }

    .primary-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
    }

    .split-intro,
    .featured-services,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading .eyebrow {
        margin-bottom: 0;
    }
}

@media (max-width: 680px) {
    body {
        background-size: 32px 32px, 32px 32px, auto, auto;
    }

    .site-shell {
        padding: 10px;
    }

    .site-header {
        top: 10px;
        display: grid;
        grid-template-columns: 1fr 44px;
        gap: 10px;
        padding: 10px;
        border-radius: 8px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .brand-mark {
        min-width: 0;
        gap: 8px;
    }

    .brand-mark img {
        width: 32px;
        height: 32px;
    }

    .brand-mark strong {
        font-size: 15px;
        letter-spacing: 0.08em;
    }

    .brand-mark small {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .header-cta span {
        display: none;
    }

    .header-cta {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .primary-nav {
        order: initial;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        margin-top: 2px;
        padding: 0 0 2px;
        overflow-x: auto;
        background: transparent;
        border: 0;
        border-radius: 0;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .primary-nav::-webkit-scrollbar {
        display: none;
    }

    .primary-nav a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 9px 12px;
        background: rgba(15, 20, 28, 0.82);
        border: 1px solid rgba(148, 163, 184, 0.16);
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .hero-section {
        gap: 26px;
        padding: 38px 0 44px;
    }

    .hero-section::before {
        inset: 14px 0 24px;
        background-size: 56px 56px;
        mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
    }

    .eyebrow {
        gap: 8px;
        margin-bottom: 14px;
        font-size: 10px;
        line-height: 1.5;
    }

    .eyebrow span {
        flex: 0 0 auto;
    }

    h1 {
        max-width: 100%;
        line-height: 1.05;
        text-wrap: balance;
    }

    h2 {
        line-height: 1.12;
    }

    h3 {
        line-height: 1.18;
    }

    .hero-text {
        margin-top: 18px;
        font-size: 16px;
    }

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

    .hero-actions {
        gap: 10px;
        margin-top: 26px;
    }

    .button {
        min-height: 48px;
    }

    .proof-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 22px;
    }

    .proof-row span {
        display: flex;
        align-items: center;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 11px;
    }

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

    .platform-image {
        height: 300px;
        object-position: center;
    }

    .visual-card {
        position: relative;
        inset: auto;
        z-index: 2;
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .visual-card strong {
        font-size: 16px;
    }

    .section-block,
    .proof-section {
        padding: 52px 0;
    }

    .split-intro {
        gap: 18px;
        padding-bottom: 26px;
    }

    .split-intro p:not(.eyebrow),
    .section-heading p:not(.eyebrow),
    .proof-copy p,
    .contact-section p {
        font-size: 15px;
    }

    .featured-services {
        gap: 12px;
        margin-bottom: 30px;
    }

    .feature-panel {
        padding: 22px;
    }

    .feature-panel h3 {
        font-size: 24px;
    }

    .feature-panel ul {
        margin-top: 20px;
    }

    .panel-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 20px;
    }

    .section-heading {
        gap: 16px;
        margin-bottom: 22px;
    }

    .solution-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .solution-grid article,
    .process-grid article {
        min-height: auto;
        padding: 22px;
    }

    .solution-grid svg {
        margin-bottom: 20px;
    }

    .proof-section {
        gap: 22px;
    }

    .proof-terminal {
        padding: 12px;
    }

    .terminal-header {
        padding: 10px 10px 14px;
    }

    .terminal-row {
        grid-template-columns: 34px 1fr;
        padding: 16px 10px;
    }

    .process-grid span {
        margin-bottom: 24px;
    }

    .contact-section {
        gap: 20px;
        padding: 24px;
        margin-bottom: 20px;
    }

    .contact-card {
        padding: 14px;
    }

    .site-footer {
        display: grid;
        gap: 12px;
        padding: 24px 0 12px;
    }

    [id] {
        scroll-margin-top: 150px;
    }
}

@media (max-width: 390px) {
    .site-shell {
        padding: 8px;
    }

    .brand-mark strong {
        font-size: 14px;
    }

    .primary-nav a {
        font-size: 11px;
        padding-inline: 10px;
    }

    .proof-row {
        grid-template-columns: 1fr;
    }

    .platform-image {
        height: 260px;
    }
}

/* --- Status pill (replaces fake-latency readout) --- */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(0, 245, 160, 0.32);
    border-radius: 999px;
    font-family: var(--font-data);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.18);
}

/* --- About section --- */
.about-section {
    /* inherits .section-block vertical rhythm */
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 36px;
    align-items: start;
    margin-top: 12px;
}

.about-copy p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 14px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(20, 26, 36, 0.94), rgba(9, 13, 18, 0.94));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.about-facts > div {
    padding: 18px 20px;
    background:
        linear-gradient(180deg, rgba(20, 26, 36, 0.94), rgba(9, 13, 18, 0.94));
    box-shadow:
        1px 0 0 var(--border-soft),
        0 1px 0 var(--border-soft);
}

.about-facts dt {
    color: var(--subtle);
    font-family: var(--font-data);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.about-facts dd {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.02em;
}

/* --- Rebuilt footer layout --- */
.site-footer {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 32px 0 22px;
}

.site-footer .footer-brand {
    display: grid;
    gap: 4px;
}

.site-footer .footer-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.site-footer .footer-meta p {
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
    color: var(--primary);
}

.site-footer .footer-copyright {
    flex: 1 0 100%;
    padding-top: 18px;
    margin-top: 6px;
    border-top: 1px solid var(--border-soft);
    color: var(--subtle);
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* --- Legal pages --- */
.legal-page {
    padding: 72px 0 56px;
}

.legal-page article {
    max-width: 760px;
    margin: 0 auto;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    line-height: 1.1;
    margin: 6px 0 10px;
    color: var(--text);
}

.legal-page .legal-meta {
    color: var(--subtle);
    font-family: var(--font-data);
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
}

.legal-page section {
    margin-bottom: 28px;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.legal-page p {
    margin-bottom: 12px;
}

.legal-page p:last-child {
    margin-bottom: 0;
}

.legal-page ul {
    padding-left: 22px;
    margin: 6px 0 14px;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 245, 160, 0.32);
    transition: color 160ms ease, border-color 160ms ease;
}

.legal-page a:hover,
.legal-page a:focus-visible {
    color: var(--text);
    border-bottom-color: var(--text);
}

.legal-page .legal-back {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
}

.legal-page .legal-back a {
    border-bottom: 0;
}

/* --- Responsive tweaks for new sections --- */
@media (max-width: 860px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-meta {
        justify-items: flex-start;
    }
}

@media (max-width: 680px) {
    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-facts dd {
        font-size: 16px;
    }

    .legal-page {
        padding: 44px 0 36px;
    }

    .legal-page h1 {
        font-size: 32px;
    }

    .legal-page h2 {
        font-size: 18px;
    }

    .legal-page p,
    .legal-page li {
        font-size: 15px;
    }

    .site-footer .footer-meta {
        justify-items: flex-start;
        width: 100%;
    }

    .site-footer .footer-copyright {
        padding-top: 14px;
    }
}

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