:root {
    --bg: #f3f8fb;
    --bg-soft: #e6f0f4;
    --bg-deep: #d9e6ec;
    --bg-dark: #071521;
    --bg-dark-soft: #102837;
    --surface: #ffffff;
    --surface-alt: #f8fbfd;
    --surface-dark: rgba(255, 255, 255, 0.08);
    --text: #09151d;
    --text-muted: #365264;
    --text-soft: #5f7e90;
    --text-inverse: rgba(237, 247, 252, 0.92);
    --text-inverse-soft: rgba(216, 232, 242, 0.76);
    --primary: #0f617d;
    --primary-bright: #1ea4d6;
    --primary-soft: rgba(30, 164, 214, 0.14);
    --accent: #2cc68d;
    --accent-strong: #128761;
    --accent-soft: rgba(44, 198, 141, 0.16);
    --warning: #f2bd57;
    --line: rgba(64, 96, 116, 0.14);
    --line-strong: rgba(64, 96, 116, 0.26);
    --line-dark: rgba(201, 223, 237, 0.18);
    --shadow: 0 24px 60px rgba(8, 24, 35, 0.12);
    --shadow-soft: 0 18px 38px rgba(8, 24, 35, 0.08);
    --shadow-strong: 0 28px 72px rgba(3, 11, 19, 0.28);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --site-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: 'Geist', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(30, 164, 214, 0.11), transparent 34%),
        radial-gradient(circle at top right, rgba(44, 198, 141, 0.08), transparent 28%),
        linear-gradient(180deg, #f6fbfd 0%, #edf5f8 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

.stitch-header-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(246, 251, 253, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(170, 193, 206, 0.42);
}

.stitch-nav {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.stitch-nav-left,
.stitch-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.stitch-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 0;
    min-width: 0;
}

.stitch-brand-mark {
    width: clamp(152px, 14vw, 208px);
    height: auto;
    max-width: 100%;
    flex-shrink: 0;
}

.stitch-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stitch-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-soft);
    transition: color 150ms ease;
}

.stitch-link:hover,
.stitch-link[aria-current='page'] {
    color: var(--text);
}

.stitch-link[aria-current='page'] {
    position: relative;
}

.stitch-link[aria-current='page']::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-bright), var(--accent));
    border-radius: 999px;
}

.stitch-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--bg-deep);
    color: var(--text);
}

.stitch-mobile-menu {
    display: none;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 28px 18px;
}

.stitch-mobile-menu.is-open {
    display: block;
}

.stitch-mobile-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(170, 193, 206, 0.48);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.stitch-mobile-panel .stitch-link {
    display: block;
    padding: 10px 0;
}

.page-main {
    padding-top: 92px;
}

.section {
    padding: 68px 0;
}

.section-muted {
    background:
        linear-gradient(180deg, rgba(217, 230, 236, 0.38), rgba(255, 255, 255, 0));
}

.section-tint {
    background:
        linear-gradient(135deg, rgba(15, 97, 125, 0.08), rgba(44, 198, 141, 0.06)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(230, 240, 244, 0.5));
}

.section-dark {
    background:
        radial-gradient(circle at top right, rgba(30, 164, 214, 0.12), transparent 30%),
        linear-gradient(180deg, #081723 0%, #112738 100%);
    color: var(--text-inverse);
}

.container {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(44, 198, 141, 0.14));
    color: inherit;
    border: 1px solid rgba(163, 196, 211, 0.22);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section:not(.hero):not(.section-dark) .eyebrow,
.section-muted .eyebrow,
.section-tint .eyebrow {
    background: linear-gradient(135deg, rgba(30, 164, 214, 0.12), rgba(44, 198, 141, 0.12));
    color: var(--text-soft);
    border-color: rgba(112, 143, 159, 0.18);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 56px;
    color: var(--text-inverse);
    background:
        radial-gradient(circle at top left, rgba(30, 164, 214, 0.18), transparent 30%),
        radial-gradient(circle at right, rgba(44, 198, 141, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(6, 17, 25, 0.98), rgba(15, 47, 64, 0.96));
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto -12% -24% auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(44, 198, 141, 0.22), transparent 62%);
    pointer-events: none;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: center;
}

.hero-grid-strong {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
    align-items: start;
}

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

.hero-title,
.section-title,
.page-title {
    margin: 22px 0 0;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-title,
.page-title {
    color: #ffffff;
}

.section-title {
    color: var(--text);
}

.section-dark .section-title,
.section-dark .page-title {
    color: #ffffff;
}

.hero-title {
    font-size: clamp(3.25rem, 7vw, 5.9rem);
}

.page-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.hero-text,
.section-text,
.lede {
    margin: 22px 0 0;
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.82;
}

.hero-text {
    color: var(--text-inverse-soft);
}

.section-text,
.lede,
.split-copy p {
    color: var(--text-muted);
}

.section-dark .section-text,
.section-dark .split-copy p,
.section-dark .support-note {
    color: var(--text-inverse-soft);
}

.section-dark .ops-band h3,
.section-dark .ops-stat h3,
.section-dark .proof-callout strong,
.section-dark .feature-card h3,
.section-dark .resource-card h3,
.section-dark .persona-card h3,
.section-dark .info-card h3 {
    color: #ffffff;
}

.section-dark .ops-band p,
.section-dark .ops-stat p,
.section-dark .proof-callout p,
.section-dark .feature-card p,
.section-dark .resource-card p,
.section-dark .persona-card p,
.section-dark .info-card p {
    color: var(--text-inverse-soft);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.97rem;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-bright) 58%, var(--accent));
    color: #fff;
    box-shadow: 0 20px 42px rgba(15, 97, 125, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 24px 48px rgba(15, 97, 125, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-color: rgba(175, 198, 210, 0.68);
}

.btn-secondary:hover {
    border-color: rgba(44, 198, 141, 0.34);
    color: var(--accent-strong);
}

.section:not(.hero) .btn-secondary,
.section-muted .btn-secondary,
.section-tint .btn-secondary {
    background: var(--surface);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(207, 230, 240, 0.18);
}

.section:not(.hero) .btn-soft,
.section-muted .btn-soft,
.section-tint .btn-soft {
    background: var(--bg-deep);
    color: var(--text);
    border-color: transparent;
}

.capability-rail,
.inline-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 24px;
}

.capability-pill,
.inline-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(204, 227, 238, 0.14);
    color: var(--text-inverse-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.section:not(.hero) .inline-points span,
.section-muted .inline-points span,
.section-tint .inline-points span {
    background: rgba(15, 97, 125, 0.08);
    border-color: rgba(86, 125, 145, 0.18);
    color: var(--text-soft);
}

.capability-pill i,
.inline-points i {
    color: var(--accent);
}

.visual-card,
.panel,
.feature-card,
.resource-card,
.persona-card,
.info-card,
.cta-panel,
.form-panel,
.article-panel,
.mini-panel,
.proof-callout,
.ops-band,
.ops-stat {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.hero .visual-card,
.hero .mini-panel {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 223, 237, 0.14);
    box-shadow: var(--shadow-strong);
}

.hero-stage-card {
    padding: 18px;
}

.visual-card {
    padding: 16px;
}

.hero-visual-card {
    margin-top: -18px;
}

.visual-stage {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 6px);
    background:
        linear-gradient(160deg, rgba(7, 21, 33, 0.12), rgba(30, 164, 214, 0.08)),
        var(--bg-deep);
    min-height: clamp(300px, 34vw, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.resource-visual-card {
    max-width: 540px;
    margin-left: auto;
}

.resource-visual-card .visual-stage {
    min-height: 0;
    aspect-ratio: 21 / 10;
    padding: 12px;
}

.resource-visual-card .visual-stage img,
.wide-image-frame img {
    object-fit: contain;
    border-radius: 12px;
}

.visual-note {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 320px;
    background: rgba(8, 22, 33, 0.78);
    color: var(--text-inverse);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 228, 238, 0.16);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.visual-note strong,
.metric-card strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.visual-note span,
.metric-card span,
.support-note,
.kicker-list li,
.proof-callout p {
    display: block;
    margin-top: 8px;
    line-height: 1.66;
    font-size: 0.94rem;
}

.visual-note span {
    color: var(--text-inverse-soft);
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.mini-panel,
.proof-callout,
.ops-stat {
    padding: 18px;
}

.mini-panel h3,
.proof-callout h3,
.ops-stat h3 {
    margin: 12px 0 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mini-panel p,
.proof-callout p,
.ops-stat p {
    margin: 10px 0 0;
    line-height: 1.65;
    font-size: 0.92rem;
}

.hero .mini-panel h3,
.hero .mini-panel p {
    color: var(--text-inverse);
}

.hero .mini-panel p {
    color: var(--text-inverse-soft);
}

.metric-grid,
.card-grid,
.resource-grid,
.persona-grid,
.surface-grid,
.ops-stats,
.expansion-grid {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.card-grid.cards-3,
.persona-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.cards-4,
.resource-grid,
.ops-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.surface-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.expansion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 26px;
}

.card-grid.cards-spacious {
    gap: 22px;
}

.metric-card,
.feature-card,
.resource-card,
.persona-card,
.info-card,
.surface-card,
.expansion-card {
    padding: 24px;
    height: 100%;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(204, 227, 238, 0.12);
    box-shadow: none;
}

.hero .metric-card strong,
.hero .metric-card span {
    color: var(--text-inverse);
}

.hero .metric-card span {
    color: var(--text-inverse-soft);
}

.label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.hero .label,
.section-dark .label {
    color: rgba(208, 227, 236, 0.72);
}

.feature-card h3,
.resource-card h3,
.persona-card h3,
.info-card h3,
.split-copy h3,
.article-panel h1,
.article-panel h2,
.surface-card h3,
.expansion-card h3,
.ops-band h3 {
    margin: 16px 0 0;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}

.feature-card p,
.resource-card p,
.persona-card p,
.info-card p,
.split-copy p,
.surface-card p,
.expansion-card p,
.ops-band p {
    margin: 14px 0 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    color: var(--primary);
    font-size: 1.16rem;
}

.surface-card {
    position: relative;
    overflow: hidden;
}

.surface-card::before,
.expansion-card::before {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-bright), var(--accent));
}

.expansion-card::before {
    background: linear-gradient(90deg, rgba(15, 97, 125, 0.46), rgba(44, 198, 141, 0.42));
}

.split-copy {
    padding-right: 12px;
}

.split-copy ul,
.article-panel ul,
.check-list {
    padding-left: 20px;
    margin: 18px 0 0;
    color: var(--text-muted);
    line-height: 1.82;
}

.section-dark .split-copy ul,
.section-dark .check-list {
    color: var(--text-inverse-soft);
}

.support-note {
    margin-top: 18px;
    color: var(--text-soft);
}

.proof-callout {
    margin-top: 24px;
    background:
        linear-gradient(135deg, rgba(30, 164, 214, 0.1), rgba(44, 198, 141, 0.08)),
        var(--surface);
}

.proof-callout strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.image-frame {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-deep);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 11;
}

.wide-image-frame {
    aspect-ratio: 21 / 10;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 223, 237, 0.12);
}

.timeline-step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.timeline-step h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #ffffff;
}

.timeline-step p {
    margin: 8px 0 0;
    color: var(--text-inverse-soft);
    line-height: 1.68;
}

.ops-band,
.cta-panel {
    padding: 32px;
}

.ops-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    background:
        linear-gradient(135deg, rgba(15, 97, 125, 0.08), rgba(44, 198, 141, 0.06)),
        var(--surface);
}

.quote-card,
.cta-panel {
    padding: 32px;
}

.quote-card {
    background:
        linear-gradient(180deg, rgba(15, 97, 125, 0.08), rgba(44, 198, 141, 0.06)),
        var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
    background:
        linear-gradient(135deg, rgba(15, 97, 125, 0.16), rgba(44, 198, 141, 0.1)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(236, 245, 249, 0.86));
}

.article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: start;
}

.article-panel {
    padding: 32px;
}

.article-panel > *:first-child {
    margin-top: 0;
}

.article-panel h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.article-panel h2 {
    font-size: 1.45rem;
    margin-top: 28px;
}

.article-panel p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-top: 16px;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.94rem;
    font-weight: 600;
}

.breadcrumb-link:hover {
    color: var(--text);
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 22px;
}

.article-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-sidebar .visual-stage {
    min-height: 260px;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: start;
}

body[data-page='request-demo'] .form-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 56px;
}

body[data-page='request-demo'] .hero-copy {
    max-width: 680px;
}

body[data-page='request-demo'] .page-title {
    font-size: clamp(3rem, 5vw, 4.35rem);
}

body[data-page='request-demo'] .visual-card {
    max-width: 700px;
}

body[data-page='request-demo'] .form-panel {
    max-width: 880px;
}

.form-panel {
    padding: 30px;
}

.request-demo-panel {
    padding-top: 30px;
}

.request-demo-panel-title {
    margin-top: 16px;
    font-size: clamp(1.95rem, 3vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(144, 171, 186, 0.22);
    border-radius: 14px;
    background: rgba(248, 251, 253, 0.94);
    padding: 14px 16px;
    color: var(--text);
    outline: 2px solid transparent;
    transition: outline-color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline-color: rgba(30, 164, 214, 0.18);
    border-color: rgba(30, 164, 214, 0.3);
    background: #ffffff;
}

.kicker-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kicker-list li strong {
    display: block;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: inherit;
}

.hero .kicker-list li {
    color: var(--text-inverse-soft);
}

.stitch-footer {
    margin-top: 56px;
    background:
        radial-gradient(circle at top left, rgba(30, 164, 214, 0.16), transparent 24%),
        linear-gradient(180deg, #071521 0%, #0d2230 100%);
    color: rgba(255, 255, 255, 0.84);
}

.stitch-footer-inner {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 44px 28px 34px;
}

.stitch-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.stitch-footer h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.stitch-footer p,
.stitch-footer a,
.stitch-footer li {
    color: rgba(232, 243, 248, 0.72);
    line-height: 1.75;
    font-size: 0.94rem;
}

.stitch-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stitch-footer a:hover {
    color: #bfe7bf;
}

.stitch-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.86rem;
}

.muted {
    color: var(--text-soft);
}

@media (max-width: 1120px) {
    .hero-panel-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1040px) {
    .hero-grid,
    .split-grid,
    .form-layout,
    .article-grid,
    .cta-panel,
    .ops-band {
        grid-template-columns: 1fr;
    }

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

    .resource-visual-card {
        max-width: none;
        margin-left: 0;
    }

    body[data-page='request-demo'] .form-layout {
        gap: 32px;
    }

    .card-grid.cards-4,
    .card-grid.cards-3,
    .resource-grid,
    .persona-grid,
    .field-grid,
    .stitch-footer-grid,
    .ops-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .stitch-nav-left .stitch-links,
    .stitch-nav-right .stitch-links,
    .stitch-nav-right .btn {
        display: none;
    }

    .stitch-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .stitch-nav {
        padding: 16px 20px;
    }

    .stitch-brand-mark {
        width: 156px;
    }

    .container,
    .stitch-footer-inner,
    .stitch-mobile-menu {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding: 64px 0 42px;
    }

    .hero-title {
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .page-title {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }
}

@media (max-width: 640px) {
    .card-grid.cards-4,
    .card-grid.cards-3,
    .resource-grid,
    .persona-grid,
    .field-grid,
    .surface-grid,
    .expansion-grid,
    .stitch-footer-grid,
    .ops-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    .hero-actions,
    .section-actions,
    .capability-rail,
    .inline-points {
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .capability-pill,
    .inline-points span {
        width: 100%;
        justify-content: flex-start;
    }

    .metric-card,
    .feature-card,
    .resource-card,
    .persona-card,
    .info-card,
    .surface-card,
    .expansion-card,
    .ops-stat,
    .mini-panel {
        padding: 20px;
    }

    .visual-note {
        max-width: none;
    }

    .quote-card,
    .cta-panel,
    .ops-band,
    .article-panel,
    .form-panel {
        padding: 24px;
    }
}
