:root {
    --ink: #14213d;
    --muted: #5f6f89;
    --line: #dce4ee;
    --paper: #ffffff;
    --mist: #f4f8fb;
    --cyan: #08a6c8;
    --green: #28b485;
    --gold: #f6b73c;
    --coral: #f06449;
    --shadow: 0 18px 45px rgba(20, 33, 61, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    gap: clamp(8px, 2vw, 12px);
    font-weight: 800;
    font-size: clamp(0.86rem, 3.4vw, 1rem);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.brand span:last-child {
    min-width: 0;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: clamp(36px, 10vw, 44px);
    height: clamp(36px, 10vw, 44px);
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    font-size: clamp(0.68rem, 2.5vw, 0.82rem);
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.section-band {
    padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    min-height: calc(100vh - 78px);
    gap: clamp(36px, 6vw, 82px);
    background:
        linear-gradient(115deg, rgba(8, 166, 200, 0.12), rgba(40, 180, 133, 0.04) 38%, rgba(246, 183, 60, 0.16)),
        var(--paper);
}

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

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

h1 {
    margin: 0;
    font-size: clamp(4.2rem, 10vw, 9.5rem);
    line-height: 0.9;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.tagline {
    margin: 18px 0 0;
    max-width: 740px;
    color: var(--ink);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-text,
.copy-block,
.section-note {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-text {
    max-width: 660px;
    margin: 24px 0 0;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--ink);
}

.button.primary:hover {
    background: #20385f;
}

.button.secondary {
    color: var(--ink);
    background: transparent;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: #0f1b2f;
    box-shadow: var(--shadow);
}

#networkCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: min(280px, calc(100% - 56px));
    padding: 20px;
    color: #fff;
    background: rgba(15, 27, 47, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.visual-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.visual-card span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.intro,
.work,
.faq {
    background: var(--paper);
}

.pathways,
.contact {
    background: var(--mist);
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.copy-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.copy-block p {
    margin: 0;
}

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

.card,
.work-item,
.faq-item,
.contact-form,
.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.card {
    min-height: 210px;
    padding: 28px;
    border-top: 5px solid var(--cyan);
}

.card:nth-child(2) {
    border-top-color: var(--green);
}

.card:nth-child(3) {
    border-top-color: var(--gold);
}

.card p {
    margin: 0;
    color: var(--muted);
}

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

.work-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: start;
    min-height: 118px;
    padding: 24px;
}

.work-item span {
    color: var(--coral);
    font-size: 1.6rem;
    font-weight: 800;
}

.work-item p {
    margin: 0;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 16px;
    max-width: 980px;
}

.faq-item {
    padding: 24px;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 70px);
}

.contact .section-heading {
    align-content: start;
}

.notice {
    grid-column: 2;
    padding: 16px 18px;
    color: #075d45;
    background: #e8f8f1;
    border-color: #bfe8d6;
}

.contact-form {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 26px;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

label.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    border: 1px solid #c9d5e3;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

textarea {
    resize: vertical;
}

.contact-form button {
    width: fit-content;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 26px clamp(20px, 5vw, 72px);
    color: #fff;
    background: var(--ink);
}

.site-footer span {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    margin-left: auto;
    color: #fff;
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero,
    .contact,
    .copy-block,
    .cards,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        min-height: 380px;
    }

    .contact-form,
    .notice {
        grid-column: 1;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .site-footer a {
        margin-left: 0;
    }
}
