.page-content--home { --home-header-space: 104px; max-width: none; min-height: 0; padding: var(--home-header-space) 0 0; }
.home-page { --home-tint: #e4eeed; --home-grid: #007f8212; }
[data-theme="dark"] .home-page { --home-tint: #132a32; --home-grid: #46d3c50d; }
.home-wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: 40px; }
.home-page p { max-width: none; }
.home-page h2, .home-page h3 { margin-top: 0; color: var(--heading); font-weight: 600; }
.home-page h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.12; letter-spacing: -.045em; }
.home-page h3 { line-height: 1.25; letter-spacing: -.025em; }
.home-page .section-label { margin: 0 0 24px; font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.accent-text { color: var(--accent); }
.home-section { padding-block: 112px; }
.text-link { width: fit-content; color: var(--heading); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; transition: color 180ms, text-decoration-color 180ms; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.home-actions .button, .home-cta .button { min-height: 50px; padding-inline: 24px; }


/* One SVG mask adapts to both themes; gradients keep the reading area calm. */
.friction-section {
    --friction-base: #f4faf8;
    --friction-glow: #c5ece180;
    --friction-highlight: #d8eaf266;
    --friction-pattern: #168d8b;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: radial-gradient(ellipse at 0% 100%, var(--friction-glow), transparent 60%), radial-gradient(ellipse at 100% 0%, var(--friction-highlight), transparent 55%), var(--friction-base);
}
.friction-section::before, .friction-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(760px, 52%);
    height: 540px;
    background: var(--friction-pattern);
    opacity: .16;
    -webkit-mask: url("../images/backgrounds/workflow-connections.svg") left bottom / contain no-repeat;
    mask: url("../images/backgrounds/workflow-connections.svg") left bottom / contain no-repeat;
    pointer-events: none;
}
.friction-section::before { left: -100px; bottom: -40px; }
.friction-section::after { right: -100px; top: -40px; transform: rotate(180deg); }
[data-theme="dark"] .friction-section {
    --friction-base: #0f202a;
    --friction-glow: #1e655d55;
    --friction-highlight: #24465a55;
    --friction-pattern: #63d5be;
}
.friction-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.friction-layout > div { min-width: 0; }
.friction-copy { padding-top: 42px; }
.friction-copy > p { margin-top: 0; font-size: 1rem; }
.friction-copy .large-copy { color: var(--heading); font-size: 1.4rem; line-height: 1.55; letter-spacing: -.02em; }
.friction-outcomes { display: grid; gap: 12px; margin-top: 28px; }
.workflow-option { border: 1px solid var(--line); border-radius: 14px; background: var(--panel-bg); transition: border-color 180ms ease, box-shadow 180ms ease; }
.workflow-option[open] { border-color: var(--accent); box-shadow: 0 6px 24px #007f820d; }
.workflow-option summary { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; cursor: pointer; list-style: none; }
.workflow-option summary::-webkit-details-marker { display: none; }
.workflow-option summary:hover { color: var(--accent); }
.workflow-option strong { flex: 1; min-width: 0; color: var(--heading); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.benefit-icon { flex: 0 0 38px; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--home-tint); color: var(--accent); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.workflow-toggle { position: relative; flex: 0 0 14px; width: 14px; height: 14px; color: var(--accent); }
.workflow-toggle::before, .workflow-toggle::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: currentColor; }
.workflow-toggle::after { transform: rotate(90deg); }
.workflow-option[open] .workflow-toggle::after { transform: none; }
.workflow-option p { margin: 0; padding: 0 20px 20px 72px; font-size: .9375rem; line-height: 1.6; }
.workflow-preview { margin-top: 40px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel-bg); box-shadow: var(--shadow); }
.workflow-eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .8125rem; font-weight: 600; }
.workflow-preview h3 { margin: 0; font-size: 1.25rem; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 22px; padding: 0; list-style: none; }
.workflow-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--heading); font-size: .875rem; line-height: 1.4; }
.workflow-steps li + li::before { content: ""; position: absolute; top: 23px; right: calc(50% + 24px); width: calc(100% - 32px); height: 1px; background: var(--accent); opacity: .4; }
.workflow-step-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--home-tint); color: var(--accent); }
.workflow-step-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.workflow-preview .workflow-caption { min-height: 3.2em; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.workflow-mobile-steps { display: none; }
@media (max-width: 760px) {
    .workflow-preview { display: none; }
    .workflow-mobile-steps { display: grid; margin: 0; padding: 4px 16px 24px; }
    .workflow-option:not([open]) .workflow-mobile-steps { display: none; }
}
@media (max-width: 600px) {
    .workflow-preview { margin-top: 28px; padding: 20px 16px; }
    .workflow-option summary { gap: 10px; padding-inline: 16px; }
    .workflow-option p { padding-left: 64px; }
    .workflow-steps { gap: 10px; }
}

.solutions-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 100px;
    background: radial-gradient(ellipse at 0% 100%, #137e783d, transparent 60%), radial-gradient(ellipse at 100% 0%, #295b8038, transparent 55%), #10283c;
    color: #cbd5e1;
    scroll-margin-top: 100px;
}
.solutions-section::before, .solutions-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(850px, 65%);
    height: 560px;
    background: #70ddd0;
    opacity: .2;
    -webkit-mask: url("../images/backgrounds/connected-tools.svg") center / contain no-repeat;
    mask: url("../images/backgrounds/connected-tools.svg") center / contain no-repeat;
    pointer-events: none;
}
.solutions-section::before { left: -180px; bottom: -160px; }
.solutions-section::after { right: -220px; top: -200px; transform: rotate(180deg); opacity: .13; }
.solutions-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; }
.solutions-section h2, .solutions-section .text-link { color: #f1f5f9; }
.solutions-section h2 span { color: #70ddd0; }
.solutions-section .section-label { color: #9bafbf; }
.solutions-intro > p:not(.section-label) { max-width: 350px; margin-bottom: 32px; font-size: 1rem; }
.solutions-section .text-link { text-decoration-color: #cbd5e14d; }
.solution-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.solution-card { min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid #a7d9dc30; border-radius: 18px; background: #143447e8; box-shadow: 0 8px 24px #06182414; transition: border-color 180ms ease, transform 180ms ease; }
.solution-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.solution-icon { width: 44px; height: 44px; flex: 0 0 44px; padding: 10px; border: 1px solid #70ddd03d; border-radius: 12px; background: #70ddd014; color: #70ddd0; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.solution-category { color: #9edbd2; font-size: .875rem; font-weight: 500; }
.solution-card h3 { margin: 0 0 14px; color: #f1f5f9; font-size: 1.25rem; }
.solution-card p { margin: 0 0 24px; color: #cbd5e1; font-size: .9375rem; line-height: 1.7; }
.solution-card a { align-self: flex-start; margin-top: auto; color: #70ddd0; font-size: .875rem; font-weight: 500; text-underline-offset: 5px; }
.solution-card:focus-within { border-color: #70ddd0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .solution-card:hover { transform: translateY(-4px); border-color: #70ddd080; }
}

.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 400px; margin: 0 0 5px; font-size: 1rem; }
.website-section { position: relative; isolation: isolate; overflow: hidden; scroll-margin-top: 20px; background: radial-gradient(ellipse at 100% 0%, var(--home-tint), transparent 65%), var(--page-bg); }
.website-section::before, .website-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(780px, 60%);
    height: 540px;
    background: var(--accent);
    opacity: .12;
    -webkit-mask: url("../images/backgrounds/website-layouts.svg") center / contain no-repeat;
    mask: url("../images/backgrounds/website-layouts.svg") center / contain no-repeat;
    pointer-events: none;
}
.website-section::before { left: -240px; top: -150px; transform: rotate(-12deg); }
.website-section::after { right: -210px; bottom: -150px; transform: rotate(12deg); }
.website-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.website-option { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel-bg); color: inherit; text-decoration: none; box-shadow: 0 6px 24px #10293806; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.website-preview { aspect-ratio: 3 / 2; overflow: hidden; background: var(--home-tint); border-bottom: 1px solid var(--line); }
.website-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.website-option-copy { display: flex; flex: 1; flex-direction: column; padding: 26px 22px; }
.option-label { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.website-option h3 { margin: 14px 0 12px; font-size: 1.25rem; }
.website-option p { margin: 0 0 26px; font-size: 1rem; line-height: 1.65; }
.option-link { margin-top: auto; color: var(--accent); font-size: .875rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.website-option:focus-visible { border-color: var(--accent); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .website-option:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
}

.website-guidance { margin: 40px 0 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--home-tint); font-size: 1rem; }

.process-section { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 0% 100%, var(--home-tint), transparent 60%), var(--panel-bg); }
.process-section::before, .process-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(850px, 65%);
    height: 510px;
    background: var(--accent);
    opacity: .12;
    -webkit-mask: url("../images/backgrounds/process-path.svg") center / contain no-repeat;
    mask: url("../images/backgrounds/process-path.svg") center / contain no-repeat;
    pointer-events: none;
}
.process-section::before { left: -220px; bottom: -190px; }
.process-section::after { right: -240px; top: -170px; transform: rotate(180deg); opacity: .09; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 64px 0 0; padding: 0; list-style: none; }
.process-grid li { padding-top: 24px; border-top: 2px solid var(--accent); }
.process-grid h3 { margin-bottom: 14px; font-size: 1.1rem; }
.process-grid p { margin: 0; font-size: .9375rem; }
.company-section { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 0% 100%, var(--home-tint), transparent 65%), var(--page-bg); }
.company-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 88px; }
.company-layout > div { min-width: 0; }
.company-intro > p:not(.section-label) { max-width: 500px; margin-bottom: 28px; font-size: 1rem; }
.company-map { max-width: 480px; margin-top: 28px; }
.company-map svg { display: block; width: 100%; height: auto; color: var(--accent); stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.company-map text { fill: var(--heading); stroke: none; font-family: inherit; font-size: 14px; }
.company-map .company-map-title { font-size: 17px; font-weight: 600; }
.company-map-core { fill: var(--home-tint); }
.company-map-node { fill: var(--panel-bg); stroke: var(--line); }
.company-map-line { opacity: .5; }
.company-asides { display: grid; gap: 24px; }
.company-asides article { position: relative; padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel-bg); box-shadow: 0 8px 28px #10293806; }
.company-asides .section-label { margin-bottom: 14px; padding-right: 50px; color: var(--accent); }
.company-asides h3 { margin: 0 0 16px; font-size: 1.75rem; }
.company-asides p:not(.section-label) { margin: 0 0 20px; font-size: 1rem; }
.company-card-icon { position: absolute; top: 24px; right: 24px; width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--home-tint); color: var(--accent); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.experience-section {
    padding-block: 104px;
    border-block: 1px solid #70ddd030;
    background-color: #091e2d;
    background-image: linear-gradient(90deg, #091e2deb, #091e2db8 48%, #091e2da6), url("../images/backgrounds/experience-technology.svg");
    background-position: center;
    background-size: cover;
    color: #d5e4ec;
}
.experience-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.experience-section h2 { margin-bottom: 0; color: #f1f8fc; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.experience-section p { margin: 0 0 24px; font-size: 1rem; line-height: 1.8; }
.experience-section .text-link { color: #8ae8dc; text-decoration-color: #8ae8dc70; }
.experience-section .text-link:hover { color: #fff; text-decoration-color: currentColor; }
.experience-section .text-link:focus-visible { outline: 2px solid #8ae8dc; outline-offset: 6px; }
.home-cta { padding-block: 96px; background: var(--home-tint); text-align: center; }
.home-cta h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.home-cta h2 span { color: var(--accent); }
.home-cta .button { margin-top: 20px; }
.home-cta p { font-size: 1rem; }
.home-cta .cta-note { margin: 20px 0 0; color: var(--muted); font-size: .75rem; }

/* Reveals never hide content: they only add a short movement on entry. */
.home-page .is-revealed { animation: section-enter 420ms cubic-bezier(.22, 1, .36, 1); }
@keyframes section-enter { from { transform: translateY(14px); } to { transform: translateY(0); } }

@media (max-width: 1050px) {
    .home-wrap { padding-inline: 32px; }
    .home-actions { gap: 18px; }
    .home-section { padding-block: 80px; }
    .friction-layout, .solutions-layout, .company-layout { gap: 48px; }
    .website-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
    .solutions-layout { grid-template-columns: 1fr; }
    .section-heading { gap: 48px; }
    .process-grid { gap: 24px; }
}

@media (max-width: 760px) {
    .process-section::before, .process-section::after { width: 600px; max-width: 140%; height: 360px; opacity: .09; }
    .process-section::before { left: -170px; bottom: -100px; }
    .process-section::after { right: -170px; top: -100px; }
    .website-section::before, .website-section::after { width: 520px; max-width: 130%; height: 360px; opacity: .09; }
    .website-section::before { left: -160px; top: -100px; }
    .website-section::after { right: -150px; bottom: -80px; }
    .friction-layout, .solutions-layout, .section-heading, .company-layout, .experience-layout { grid-template-columns: 1fr; gap: 32px; }
    .friction-copy { padding-top: 0; }
    .friction-section::before, .friction-section::after { width: calc(100% + 80px); height: 300px; opacity: .12; }
    .friction-section::before { left: -40px; top: -24px; bottom: auto; transform: rotate(180deg); }
    .friction-section::after { right: -40px; bottom: -24px; top: auto; transform: none; }
    .friction-section h2 br:nth-of-type(2) { display: none; }
    .solutions-section { padding-block: 72px; }
    .solutions-section::before, .solutions-section::after { width: 600px; max-width: 130%; height: 360px; }
    .solutions-section::before { left: -110px; bottom: -80px; opacity: .14; }
    .solutions-section::after { right: -130px; top: -100px; opacity: .1; }
    .solutions-intro h2 br { display: none; }
    .solutions-intro > p:not(.section-label) { max-width: 500px; }
    .section-heading > p { max-width: 520px; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
    .company-asides { grid-template-columns: 1fr 1fr; gap: 28px; }
    .company-asides article { padding: 28px 24px; }
    .company-intro h2 br { display: none; }
    .company-intro h2 .accent-text::before { content: " "; }
    .company-asides h3 { font-size: 1.5rem; }
    .experience-section { padding-block: 72px; background-position: 65% center; }
    .experience-section h2 { margin-bottom: 0; }
}

@media (max-width: 600px) {
    .page-content--home { --home-header-space: 84px; }
    .home-wrap { padding-inline: 24px; }
    .home-section { padding-block: 64px; }
    .home-page .section-label { font-size: .6875rem; margin-bottom: 20px; }
    .home-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .friction-copy .large-copy { font-size: 1.25rem; }
    .solution-grid { grid-template-columns: 1fr; gap: 16px; }
    .solution-card { padding: 24px; }
    .website-grid { grid-template-columns: 1fr; gap: 20px; }
    .website-option-copy { padding: 24px; }
    .website-guidance { margin-top: 32px; }
    .company-asides { grid-template-columns: 1fr; gap: 32px; }
    .company-asides article { padding: 26px 24px; }
    .company-map { margin-top: 20px; }
    .home-cta { padding-block: 64px; }
    .home-cta p br { display: none; }
}

@media (max-width: 380px) {
    .home-wrap { padding-inline: 20px; }
    .website-grid, .process-grid { grid-template-columns: 1fr; }
}
