@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Design tokens */
:root {
    --bg: #ffffff;
    --bg-elevated: #f5ffff;
    --bg-card: #ffffff;
    --green: #5eae46;
    --blue: #1d4587;
    --cyan: #00a0ca;
    --text: #05123a;
    --text-muted: #4a5568;
    --border: rgba(5, 18, 58, 0.12);
    --glow-green: 0 4px 20px rgba(94, 174, 70, 0.15);
    --glow-blue: 0 4px 20px rgba(0, 160, 202, 0.12);
    --radius: 16px;
    --font-primary: "DM Sans", sans-serif;
    --font-primary-weight: 300;
    --font-display: 'Playfair Display', serif;
    --font-display-weight: 600;
}

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

/* Base styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-primary-weight);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h3,
h4 {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.6rem, 5.8vw, 4.1rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
}

h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

p {
    color: var(--text-muted);
    max-width: 65ch;
}

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

code {
    background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.section {
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.7rem 0;
    background: transparent;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
    padding-left: 3%;
    padding-right: 3%;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a.active {
    color: var(--text);
    font-weight: bold;
}

.nav-cta {
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: white !important;
    font-weight: 600;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--glow-green);
}

@media (max-width: 640px) {
    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .nav-cta {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    background: linear-gradient(180deg, #f5ffff 0%, #ffffff 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,1) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.06) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 90%;
    margin-inline: auto;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 30px;
}

.hero-logo {
    margin-bottom: 1.8rem;
}

.hero-logo img {
    height: 15vh;
    width: auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.35rem;
}

.hero-tag span {
    opacity: 0.5;
}

.hero h1 {
    margin-bottom: 1.35rem;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-lantern {
    display: flex;
    align-self: center;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    font-size: 0.90rem !important;
    color: var(--text-muted);
    opacity: 0.6;
}

.hero-lantern img {
    height: 20px;
    width: auto;
    padding-left: 10px;
    padding-right: 6px;
    margin-top: -2px;
}

.hero-lantern a:nth-child(2) {
    padding-left: 5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .hero-content .btn-group {
        align-self: center;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 6.5vw, 2.6rem);
    }

    .hero-lantern {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        margin-top: 2rem;
        font-size: 0.75rem;
        text-align: center;
    }

    .hero-lantern img {
        height: 15px;
    }

    .hero-scroll-hint {
        display: none;
    }
}

.hero-scroll-hint {
    display: flex;
    justify-content: center;
    align-self: center;
    margin-top: 0.5rem;
    transition: opacity 0.4s ease;
}

.hero-scroll-hint.is-hidden {
    opacity: 0;
}

.hero-scroll-hint svg {
    width: 64px;
    height: 64px;
    color: var(--green);
    animation: hero-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50%      { opacity: 1;    transform: translateY(6px); }
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
    color: white;
    box-shadow: 0 4px 24px rgba(94, 174, 70, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(94, 174, 70, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(0, 160, 202, 0.06);
}

/* Section headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.75rem;
}

.section-header .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.85rem;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
}

.pillar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pillar-num {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 0.8rem;
}

.pillar h3 {
    margin-bottom: 0.6rem;
    color: var(--text);
}

@media (max-width: 900px) {
/* Core values */
.pillars {
        grid-template-columns: 1fr;
    }
}

/* Platform features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
}

@media (max-width: 1100px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.feature-card p strong {
    font-weight: 800;
    color: var(--text);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

@media (min-width: 1101px) {
    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-header {
        display: block;
    }

    .feature-header h3 {
        text-align: center;
    }

    .feature-icon {
        margin-inline: auto;
        margin-bottom: 1.35rem;
    }
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(94, 174, 70, 0.12), rgba(0, 160, 202, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

/* Brand quote */
.quote-section {
    background: #f5ffff;
    border-radius: var(--radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-section p {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3.2vw, 1.95rem);
    color: var(--text);
    line-height: 1.35;
    max-width: 100%;
}

.quote-section .attribution {
    margin-top: 1.4rem;
    font-size: 0.95rem;
    color: var(--green);
    font-weight: 600;
}

/* Agent swarm */
.swarm {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.75rem;
    align-items: stretch;
}

.agent {
    flex: 1 1 calc((100% - 2.5rem) / 3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.75rem;
    align-items: start;
    align-content: start;
}

.agent:hover {
    border-color: var(--green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.agent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    grid-row: 1 / 3;
    align-self: center;
}

.agent-icon svg {
    width: 26px;
    height: 26px;
}

.agent-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    grid-column: 2;
    grid-row: 1;
}

.agent-role {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--green);
    grid-column: 2;
    grid-row: 2;
}

.agent-detail {
    grid-column: 1 / -1;
    margin-top: 0.6rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
}

.agent-detail p {
    font-size: 0.83rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Zeta video */
.zeta-video-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(94, 174, 70, 0.08), rgba(0, 160, 202, 0.08));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.zeta-video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 174, 70, 0.14), rgba(0, 160, 202, 0.14));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.zeta-video-frame:hover::before {
    opacity: 1;
}

.zeta-video {
    display: block;
    width: 100%;
    height: auto;
}

.zeta-video-caption {
    max-width: 640px;
    margin: 1.75rem auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .zeta-video-caption {
        font-size: 0.88rem;
        margin-top: 1.25rem;
    }
}

/* Zeta panel headings */
.zeta-item-inner h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    color: var(--text);
    margin-bottom: 0.9rem;
    line-height: 1.3;
}

.zeta-sub {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.zeta-sub strong {
    font-weight: 700;
    color: var(--text);
}

.zeta-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(94, 174, 70, 0.09);
    border: 1px solid rgba(94, 174, 70, 0.28);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    margin-bottom: 1rem;
}

/* Zeta panel cards */
.zeta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 1rem;
    margin-top: 1.85rem;
    text-align: left;
}

.zeta-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.zeta-card:hover {
    border-color: var(--green);
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
}

.zeta-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(94, 174, 70, 0.12), rgba(0, 160, 202, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 0.9rem;
}

.zeta-card-icon svg {
    width: 20px;
    height: 20px;
}

.zeta-card h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.zeta-card p {
    font-size: 0.83rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: none;
}

.zeta-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.zeta-card-stats span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--green);
    background: rgba(94, 174, 70, 0.09);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
}

/* Zeta panel figures */
.zeta-figures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2.75rem;
    margin-top: 1.85rem;
}

.zeta-figure strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    line-height: 1.15;
    background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zeta-figure span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Zeta panel callout */
.zeta-callout {
    margin-top: 1.85rem;
    padding: 1.15rem 1.35rem;
    background: var(--bg-elevated);
    border-left: 2px solid var(--green);
    border-radius: 0 12px 12px 0;
    text-align: left;
}

.zeta-callout strong {
    display: block;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.zeta-callout p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: none;
}

/* Zeta panel outbound link */
.zeta-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.zeta-panel-link svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 640px) {
    .zeta-cards {
        grid-template-columns: 1fr;
        margin-top: 1.4rem;
    }

    .zeta-figures {
        gap: 1rem 2rem;
        margin-top: 1.4rem;
    }

    .zeta-callout {
        margin-top: 1.4rem;
        padding: 1rem 1.15rem;
    }

    .zeta-panel-link {
        margin-top: 1.4rem;
    }
}

.zeta-learn-more {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin: 3.5rem 0 1.25rem;
    text-align: center;
    max-width: none;
}

/* Zeta accordion */
.zeta-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.zeta-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.zeta-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.zeta-item.active {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), var(--glow-green);
    transform: none;
}

.zeta-item-btn {
    font-family: inherit;
    text-align: left;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 1.35rem 1.6rem;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.1rem;
    align-items: center;
}

.zeta-item-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(94, 174, 70, 0.12), rgba(0, 160, 202, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
    transition: background 0.3s ease, color 0.3s ease;
}

.zeta-item-icon svg {
    width: 22px;
    height: 22px;
}

.zeta-item.active .zeta-item-icon {
    background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
    color: #ffffff;
}

.zeta-item-head {
    min-width: 0;
}

.zeta-item-title {
    display: block;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.zeta-item-desc {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--green);
}

.zeta-item-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.zeta-item-chevron svg {
    width: 20px;
    height: 20px;
}

.zeta-item.active .zeta-item-chevron {
    transform: rotate(90deg);
    color: var(--green);
}

.zeta-item-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    text-align: center;
}

.zeta-item.active .zeta-item-content {
    grid-template-rows: 1fr;
}

.zeta-item-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.6rem 1.75rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Divider is active-only so no hairline shows through when collapsed */
.zeta-item.active .zeta-item-inner {
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
    opacity: 1;
    transition-delay: 0.12s;
}

@media (max-width: 640px) {
    .zeta-learn-more {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    .zeta-accordion {
        gap: 1rem;
    }

    .zeta-item-btn {
        padding: 1.05rem 1.1rem;
        gap: 0.8rem;
    }

    .zeta-item-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .zeta-item-icon svg {
        width: 19px;
        height: 19px;
    }

    .zeta-item-title {
        font-size: 1.02rem;
    }

    .zeta-item-desc {
        font-size: 0.78rem;
    }

    .zeta-item-chevron svg {
        width: 18px;
        height: 18px;
    }

    .zeta-item-inner {
        padding: 0 1.1rem 1.35rem;
    }

    .zeta-item.active .zeta-item-inner {
        padding-top: 1.2rem;
    }
}

/* Zeta try CTA */
.zeta-try {
    margin-top: 3rem;
    text-align: center;
}

.zeta-trial {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: none;
}

@media (max-width: 640px) {
    .zeta-item-inner h3 {
        margin-bottom: 0.75rem;
    }

    .zeta-sub {
        font-size: 0.88rem;
    }
}

@media (max-width: 640px) {
    .zeta-video-frame {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

/* Reveal keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
}

@media (max-width: 850px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--glow-green);
}

.form-desc {
    font-size: 0.95rem;
    margin-bottom: 1.85rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2.25rem 1rem;
}

.form-success.visible {
    display: block;
}

.form-success .check {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.35rem;
    font-size: 1.7rem;
    color: white;
}

/* Footer */
.footer {
    padding: 3.25rem 0 2.75rem;
    margin-top: 2.5rem;
}

.footer a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-lantern {
    width: 100%;
    text-align: center;
    margin-top: 2.25rem;
    padding-top: 1.65rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Glow divider */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
    opacity: 0.35;
    margin: 0 auto 3rem;
    max-width: 220px;
}

/* Reveal-on-scroll */
html.js .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

html.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page hero */
.page-hero {
    padding: 8rem 0 4.5rem;
    text-align: center;
    background: linear-gradient(180deg, #f5ffff 0%, #ffffff 60%);
}

.page-hero .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.85rem;
}

.page-hero h1 {
    margin-bottom: 1.25rem;
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Hero molecule canvas */
#hero-molecule {
    position: absolute;
    top: -2vh;
    left: 0;
    width: 100%;
    height: 100%;
    filter: opacity(0.22) blur(0.5px);
}

.nudge-top {
    padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .swarm {
        gap: 1rem;
    }
    .agent {
        flex: 1 1 calc((100% - 1rem) / 2);
    }
}

@media (max-width: 640px) {
    .swarm {
        gap: 0.75rem;
    }
    .agent {
        flex: 1 1 100%;
    }
    .agent {
        padding: 1rem 0.9rem;
        gap: 0.5rem 0.75rem;
    }
    .agent-icon svg {
        width: 22px;
        height: 22px;
    }
    .agent-name {
        font-size: 0.9rem;
    }
    .agent-role {
        font-size: 0.82rem;
    }
    .agent-detail p {
        font-size: 0.8rem;
    }
}