:root {
    --app: #eceff3;
    --panel: #ffffff;
    --bar: #e2e7ed;
    --bar-soft: #eef1f5;
    --ink: #1a212c;
    --ink-secondary: #525f73;
    --ink-tertiary: #5f6e83;
    --border: #d2d9e2;
    --border-soft: #e6ebf1;
    --teal: #0e7a7e;
    --teal-deep: #0a5d60;
    --teal-soft: #e0f0f0;
    --honey: #b4700f;
    --honey-soft: #fbeeda;
    --navy: #1d2733;
    --dark-panel: #111a22;
    --dark-bar: #1a2732;
    --dark-border: #314250;
    --white: #ffffff;
    --content-width: 1080px;
    --radius: 3px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--app);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: var(--teal-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 650;
    letter-spacing: -0.018em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.35rem);
}

h2 {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
}

h3 {
    font-size: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 8px 10px;
    color: var(--white);
    background: var(--teal-deep);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--teal-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lead {
    color: var(--ink-secondary);
    font-size: 1.08rem;
    line-height: 1.65;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.brand-lockup {
    display: block;
    width: 146px;
    height: auto;
}

.brand--large .brand-lockup {
    width: min(260px, 70vw);
}

.brand--footer .brand-lockup {
    width: 118px;
}

.button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--teal-deep);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--teal-deep);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: background 120ms ease, border-color 120ms ease;
}

.button:hover {
    border-color: var(--teal);
    background: var(--teal);
}

.button--small {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 0.72rem;
}

.button--outline,
.button--ghost {
    color: var(--teal-deep);
    border-color: var(--border);
    background: transparent;
}

.button--outline:hover,
.button--ghost:hover {
    color: var(--teal-deep);
    border-color: var(--teal);
    background: var(--teal-soft);
}

.button--light {
    color: var(--navy);
    border-color: var(--white);
    background: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 46px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}

.site-header__inner,
.site-footer__inner {
    width: min(calc(100% - 36px), var(--content-width));
    min-height: 46px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.site-nav > a:not(.button) {
    color: var(--ink-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav > a:not(.button):hover {
    color: var(--teal-deep);
}

.hero {
    padding: 50px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--bar-soft);
}

.hero__inner {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(36px, 7vw, 82px);
}

.hero__copy h1 {
    max-width: 690px;
    margin-bottom: 16px;
}

.hero__lead {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--ink-secondary);
    font-size: 1.08rem;
    line-height: 1.62;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.signal-card {
    overflow: hidden;
    min-height: 260px;
    color: #edf3f7;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    background: var(--dark-panel);
}

.signal-card__top,
.signal-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.signal-card__top {
    color: #b8c6d1;
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-bar);
}

.signal-card__footer {
    color: #9aadbd;
    border-top: 1px solid var(--dark-border);
}

.signal-card__footer strong {
    color: #edf3f7;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.signal-card__canvas {
    position: relative;
    min-height: 184px;
    background-image:
        linear-gradient(rgba(86, 143, 135, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(86, 143, 135, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
}

.node {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 3px solid var(--dark-panel);
    border-radius: 50%;
    background: #4fd0d4;
    box-shadow: 0 0 0 1px #4fd0d4;
}

.node--one { top: 24%; left: 18%; }
.node--two { top: 52%; left: 43%; }
.node--three { top: 25%; right: 19%; background: #d8a13e; box-shadow: 0 0 0 1px #d8a13e; }
.node--four { right: 31%; bottom: 16%; }

.signal-line {
    position: absolute;
    z-index: 1;
    height: 1px;
    transform-origin: left center;
    background: #568f87;
}

.signal-line--one { top: 31%; left: 20%; width: 32%; transform: rotate(28deg); }
.signal-line--two { top: 56%; left: 45%; width: 38%; transform: rotate(-37deg); }
.signal-line--three { top: 30%; left: 47%; width: 36%; transform: rotate(2deg); }

.stream-content {
    padding: 24px 0 14px;
    background: var(--app);
}

.content-section {
    padding: 0 22px 10px;
}

.content-section__inner {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.content-section--split .content-section__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: 42px;
}

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

.section-heading--center {
    max-width: 720px;
    margin: 0 auto 18px;
    text-align: center;
}

.section-heading--center h2 {
    margin-bottom: 8px;
}

.rich-copy {
    color: var(--ink-secondary);
    line-height: 1.7;
}

.rich-copy h2,
.rich-copy h3 {
    margin: 1.25em 0 0.45em;
}

.rich-copy > :first-child {
    margin-top: 0;
}

.rich-copy a {
    color: var(--teal-deep);
}

.rich-copy ul,
.rich-copy ol {
    padding-left: 1.35rem;
}

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

.feature-card {
    min-height: 150px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--bar-soft);
}

.feature-card__label {
    display: block;
    margin-bottom: 30px;
    color: var(--teal-deep);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.feature-card h3 {
    margin-bottom: 7px;
}

.feature-card p {
    color: var(--ink-secondary);
}

.content-section--image .content-section__inner {
    display: grid;
    align-items: center;
    gap: 28px;
}

.content-section--wide .content-section__inner {
    grid-template-columns: 1fr;
}

.content-section--image_left .content-section__inner,
.content-section--image_right .content-section__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
}

.content-section--image_right .media-figure {
    order: 2;
}

.media-figure {
    margin: 0;
}

.media-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-soft);
}

.media-figure figcaption,
.media-caption {
    margin: 7px 0 0;
    color: var(--ink-tertiary);
    font-size: 0.72rem;
}

.media-copy h2 {
    margin-bottom: 10px;
}

.responsive-video {
    overflow: hidden;
    width: 100%;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    background: #080e14;
}

.responsive-video iframe,
.responsive-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.responsive-video .responsive-object {
    position: relative;
    padding-bottom: 56.25%;
}

.responsive-video .responsive-object iframe {
    position: absolute;
    inset: 0;
    height: 100%;
}

.transcript {
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bar-soft);
}

.transcript summary {
    cursor: pointer;
    padding: 10px 12px;
    color: var(--ink);
    font-weight: 650;
}

.transcript .rich-copy {
    padding: 0 12px 12px;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.callout h2 {
    margin-bottom: 7px;
}

.callout--teal {
    color: #edf3f7;
    border-color: var(--teal-deep);
    background: var(--teal-deep);
}

.callout--teal h2,
.callout--teal .rich-copy,
.callout--teal .eyebrow {
    color: #edf3f7;
}

.callout--honey {
    border-color: #e3c78d;
    background: var(--honey-soft);
}

.callout--plain {
    background: var(--bar-soft);
}

.alpha-cta {
    width: min(calc(100% - 44px), var(--content-width));
    margin: 10px auto 34px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #edf3f7;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    background: var(--navy);
}

.alpha-cta h2,
.alpha-cta .eyebrow {
    color: #edf3f7;
}

.alpha-cta h2 {
    margin-bottom: 6px;
}

.alpha-cta p {
    color: #b8c6d1;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--panel);
}

.site-footer__inner {
    min-height: 64px;
}

.site-footer p {
    margin: 0;
    color: var(--ink-tertiary);
    font-size: 0.72rem;
}

.embedded-page {
    min-height: 100vh;
    background: var(--app);
}

.embedded-shell {
    width: min(calc(100% - 44px), var(--content-width));
    margin: 0 auto;
    padding: 22px 0 36px;
}

.breadcrumbs {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--ink-tertiary);
    font-size: 0.7rem;
}

.breadcrumbs a {
    color: var(--ink-secondary);
    text-decoration: none;
}

.embedded-header,
.page-header {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.embedded-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 10px;
}

.embedded-header h1,
.page-header h1,
.tutorial-detail > header h1 {
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
}

.embedded-header p {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--ink-secondary);
}

.status-chip {
    flex: 0 0 auto;
    padding: 5px 7px;
    color: var(--teal-deep);
    border: 1px solid #b6d7d8;
    border-radius: 999px;
    background: var(--teal-soft);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.embedded-shell > .stream-content,
.tutorial-detail .stream-content {
    padding: 0;
    background: transparent;
}

.embedded-shell .content-section {
    padding-right: 0;
    padding-left: 0;
}

.learning-card,
.tutorial-card,
.route-card {
    color: var(--ink);
    text-decoration: none;
}

.learning-card {
    min-height: 82px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.learning-card:hover,
.tutorial-card:hover,
.route-card:hover {
    border-color: #9dbdbf;
    background: #f9fbfb;
}

.learning-card__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: var(--radius);
    background: var(--teal-deep);
}

.learning-card strong,
.learning-card small {
    display: block;
}

.learning-card small {
    margin-top: 3px;
    color: var(--ink-secondary);
}

.tutorial-grid {
    display: grid;
    gap: 8px;
}

.tutorial-card {
    min-height: 86px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.tutorial-card__number {
    color: var(--teal-deep);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.tutorial-card__body strong,
.tutorial-card__body small,
.tutorial-card__body em {
    display: block;
}

.tutorial-card__body small {
    margin-top: 3px;
    color: var(--ink-secondary);
}

.tutorial-card__body em {
    margin-top: 5px;
    color: var(--ink-tertiary);
    font-size: 0.68rem;
    font-style: normal;
}

.tutorial-card__arrow {
    color: var(--teal-deep);
    font-size: 1.1rem;
}

.tutorial-detail {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.tutorial-detail > header {
    max-width: 760px;
    margin-bottom: 18px;
}

.tutorial-detail .content-section__inner {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
}

.tutorial-pager {
    margin-top: 16px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--border-soft);
}

.tutorial-pager a {
    font-size: 0.74rem;
    font-weight: 650;
    text-decoration: none;
}

.flexible-page {
    min-height: 70vh;
}

body:not(.embedded-page) .flexible-page .page-header {
    width: min(calc(100% - 44px), var(--content-width));
    margin: 30px auto 0;
}

.form-page {
    width: min(calc(100% - 44px), var(--content-width));
    margin: 30px auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
    gap: 10px;
}

.form-page__intro,
.interest-form,
.thank-you,
.empty-state {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.back-link {
    display: inline-block;
    margin-bottom: 38px;
    color: var(--ink-secondary);
    font-size: 0.72rem;
    text-decoration: none;
}

.form-reassurance {
    margin-top: 24px;
    padding: 12px;
    border-left: 2px solid var(--teal);
    background: var(--teal-soft);
}

.form-reassurance p {
    margin: 4px 0 0;
    color: var(--ink-secondary);
    font-size: 0.75rem;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 650;
}

.form-field input:not([type="checkbox"]),
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 2px solid rgba(14, 122, 126, 0.2);
    border-color: var(--teal);
}

.form-field small,
.privacy-note {
    display: block;
    margin-top: 5px;
    color: var(--ink-tertiary);
    font-size: 0.68rem;
}

.form-field--checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: start;
}

.form-field--checkbox input {
    margin-top: 3px;
}

.form-field--checkbox label {
    grid-column: 2;
}

.form-field--checkbox small {
    grid-column: 2;
}

.field-error,
.form-errors {
    color: #9b2c2c !important;
}

.thank-you {
    width: min(calc(100% - 44px), 620px);
    margin: 60px auto;
    text-align: center;
}

.thank-you__mark {
    width: 38px;
    height: 38px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--teal-deep);
}

.cms-hub-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
    background: var(--navy);
}

.cms-hub {
    width: min(100%, 880px);
}

.cms-hub__panel {
    padding: 28px;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    background: var(--panel);
}

.cms-hub__panel .brand {
    margin-bottom: 28px;
}

.cms-hub__panel h1 {
    max-width: 700px;
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
}

.route-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.route-card {
    min-height: 155px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bar-soft);
}

.route-card__number {
    margin-bottom: 22px;
    color: var(--teal-deep);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.route-card > span:not(.route-card__number) {
    margin-top: 5px;
    color: var(--ink-secondary);
}

.route-card code {
    margin-top: auto;
    padding-top: 12px;
    color: var(--ink-tertiary);
    font-size: 0.68rem;
}

.local-note {
    margin-top: 10px;
    padding: 12px 14px;
    border-left: 2px solid var(--honey);
    background: var(--honey-soft);
}

.local-note p {
    margin: 3px 0 0;
    color: var(--ink-secondary);
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 650;
    text-decoration: none;
}

.template-404 main {
    width: min(calc(100% - 44px), 700px);
    margin: 60px auto;
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--panel);
}

@media (max-width: 800px) {
    .hero__inner,
    .form-page,
    .content-section--split .content-section__inner,
    .content-section--image_left .content-section__inner,
    .content-section--image_right .content-section__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .signal-card {
        min-height: 230px;
    }

    .content-section--image_right .media-figure {
        order: initial;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-card__label {
        margin-bottom: 14px;
    }
}

@media (max-width: 620px) {
    .site-header__inner {
        min-height: 52px;
    }

    .site-nav > a:not(.button) {
        display: none;
    }

    .brand-lockup {
        width: 126px;
    }

    .hero,
    .content-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero__inner {
        gap: 28px;
    }

    .content-section__inner,
    .embedded-header,
    .page-header,
    .tutorial-detail,
    .form-page__intro,
    .interest-form {
        padding: 18px;
    }

    .alpha-cta,
    .callout,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .alpha-cta {
        width: calc(100% - 28px);
    }

    .embedded-shell {
        width: calc(100% - 28px);
    }

    .route-grid {
        grid-template-columns: 1fr;
    }

    .tutorial-card {
        grid-template-columns: 30px 1fr auto;
        padding: 12px;
    }
}

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