:root {
    color-scheme: light dark;
    --page: #fdfefe;
    --surface: #fdfefe;
    --surface-muted: #f4f7fb;
    --surface-tint: #eaf2ff;
    --surface-accent: #dceaff;
    --text: #182235;
    --text-strong: #0f1828;
    --text-muted: #526178;
    --text-soft: #6a7890;
    --border: #d9e1ec;
    --border-strong: #bec9d8;
    --accent: #1d5bc2;
    --accent-hover: #174a9f;
    --accent-soft: #d9e8ff;
    --accent-text: #174a9f;
    --danger: #b42318;
    --success: #176b45;
    --shadow: 0 24px 70px rgba(37, 70, 119, 0.15);
    --shadow-soft: 0 12px 36px rgba(37, 70, 119, 0.09);
    --radius-card: 16px;
    --radius-control: 10px;
    --header-height: 72px;
    --shell: 1200px;
    --ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #0c111b;
        --surface: #111827;
        --surface-muted: #151e2d;
        --surface-tint: #172b48;
        --surface-accent: #203c64;
        --text: #e8edf5;
        --text-strong: #f3f6fb;
        --text-muted: #b0bdd0;
        --text-soft: #93a2b8;
        --border: #2b3749;
        --border-strong: #405069;
        --accent: #78a9ff;
        --accent-hover: #a6c5ff;
        --accent-soft: #1a3357;
        --accent-text: #a6c5ff;
        --danger: #ff9a91;
        --success: #70d6a4;
        --shadow: 0 24px 70px rgba(1, 5, 12, 0.38);
        --shadow-soft: 0 12px 36px rgba(1, 5, 12, 0.26);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--page);
    color: var(--text);
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    width: min(calc(100% - 64px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 110;
    padding: 10px 14px;
    border-radius: var(--radius-control);
    background: var(--text-strong);
    color: var(--page);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    background: color-mix(in srgb, var(--page) 88%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-link {
    display: inline-flex;
    min-width: 126px;
    align-items: center;
}

.brand-logo,
.footer-logo {
    width: auto;
    height: 28px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.site-nav > a:not(.button) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition:
        color var(--ease),
        transform var(--ease);
}

.site-nav > a:not(.button):hover {
    color: var(--text-strong);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition:
        transform var(--ease),
        opacity var(--ease);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-control);
    background: var(--accent);
    color: #f7faff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(29, 91, 194, 0.18);
    transition:
        background var(--ease),
        border-color var(--ease),
        color var(--ease),
        transform var(--ease),
        box-shadow var(--ease);
}

.button:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    box-shadow: 0 10px 28px rgba(29, 91, 194, 0.23);
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(1px);
}

.button--small {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 13px;
}

.button--secondary {
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--text-strong);
    box-shadow: none;
}

.button--secondary:hover {
    border-color: var(--accent);
    background: var(--surface-tint);
    color: var(--accent-text);
    box-shadow: none;
}

.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 44px) 0 64px;
    overflow: clip;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: clamp(44px, 6vw, 82px);
}

.hero__copy {
    min-width: 0;
}

.hero__eyebrow {
    margin: 0 0 18px;
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(40px, 4.5vw, 62px);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.12;
    word-break: keep-all;
}

.hero h1 > span {
    display: block;
}

.hero__product-name {
    margin-bottom: 12px;
    color: var(--accent-text);
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 740;
    letter-spacing: -0.012em;
    line-height: 1.35;
}

.hero__summary {
    max-width: 38rem;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.72;
    word-break: keep-all;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__continuation {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.hero__continuation span:last-child {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    color: var(--accent-text);
    font-size: 17px;
    line-height: 1;
    transition:
        border-color var(--ease),
        transform var(--ease);
}

.hero__continuation:hover {
    color: var(--accent-text);
}

.hero__continuation:hover span:last-child {
    border-color: var(--accent);
    transform: translateY(2px);
}

.primary-demo {
    min-width: 0;
    margin: 0;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background:
        linear-gradient(135deg, var(--surface-muted), var(--surface-tint));
    box-shadow: var(--shadow-soft);
}

.video-frame--primary {
    box-shadow: var(--shadow);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--surface-muted);
}

.video-status {
    position: absolute;
    inset: auto 16px 16px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-control);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    backdrop-filter: blur(10px);
}

.video-status[data-state="error"] {
    border-color: color-mix(in srgb, var(--danger) 55%, var(--border));
    color: var(--danger);
}

.primary-demo figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    color: var(--text-soft);
    font-size: 13px;
}

.primary-demo figcaption span:first-child {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.solution-statement {
    padding: 46px 0;
    border-block: 1px solid var(--border);
    background: var(--surface-muted);
}

.solution-statement p {
    max-width: 960px;
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(23px, 3vw, 36px);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.45;
    word-break: keep-all;
}

.section {
    padding: 112px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 46px;
}

.section-heading h2,
.deployment-intro h2,
.contact-copy h2 {
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.2;
    word-break: keep-all;
}

.section-heading > p,
.deployment-intro > p,
.contact-copy > p {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    word-break: keep-all;
}

.problem-section {
    background: var(--page);
}

.problem-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.5fr);
    align-items: start;
    gap: clamp(48px, 8vw, 116px);
}

.section-heading--sticky {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    margin: 0;
}

.section-heading--sticky h2 {
    font-size: clamp(31px, 3.6vw, 45px);
}

.problem-content {
    display: grid;
    gap: 46px;
}

.problem-list {
    display: grid;
    gap: 0;
}

.problem-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.problem-item:first-child {
    padding-top: 0;
}

.problem-item h3,
.feature-card h3,
.workflow-list h3,
.benefit-grid h3,
.deployment-list h3,
.related-grid h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 20px;
    font-weight: 730;
    letter-spacing: -0.018em;
    line-height: 1.35;
    word-break: keep-all;
}

.problem-item p,
.feature-card p,
.workflow-list p,
.benefit-grid p,
.deployment-list p,
.related-grid p {
    margin: 10px 0 0;
    color: var(--text-muted);
    line-height: 1.72;
    word-break: keep-all;
}

.approach-panel {
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
    border-radius: var(--radius-card);
    background:
        linear-gradient(
            140deg,
            var(--surface-tint),
            color-mix(in srgb, var(--surface) 88%, var(--surface-tint))
        );
}

.approach-panel h2 {
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.3;
    word-break: keep-all;
}

.approach-panel > p {
    margin: 16px 0 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.approach-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 28px 0 0;
    padding-left: 20px;
    color: var(--text);
}

.approach-points li {
    padding-left: 3px;
}

.approach-points li::marker {
    color: var(--accent);
}

.features-section {
    border-block: 1px solid var(--border);
    background: var(--surface-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, auto);
    gap: 18px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(25px, 3vw, 36px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.feature-card--1 {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 398px;
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    background:
        linear-gradient(
            150deg,
            var(--surface-accent),
            var(--surface-tint) 58%,
            var(--surface)
        );
}

.feature-card--1 h3 {
    max-width: 450px;
    font-size: clamp(28px, 3.2vw, 42px);
}

.feature-card--1 p {
    max-width: 540px;
    font-size: 17px;
}

.feature-card--2,
.feature-card--3 {
    grid-column: span 5;
}

.feature-card--4 {
    grid-column: span 12;
    min-height: 210px;
    background:
        linear-gradient(
            115deg,
            var(--surface),
            color-mix(in srgb, var(--surface-tint) 62%, var(--surface))
        );
}

.feature-card--4 p {
    max-width: 720px;
}

.workflow-section {
    overflow: clip;
}

.workflow-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0;
    margin: 0;
    padding: 24px 0 0;
    list-style: none;
}

.workflow-list::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border-strong);
}

.workflow-list li {
    position: relative;
    min-height: 210px;
    padding: 34px 28px 20px 0;
}

.workflow-list li::before {
    content: "";
    position: absolute;
    top: -23px;
    left: 0;
    width: 14px;
    height: 14px;
    border: 3px solid var(--page);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.workflow-list li:not(:last-child) {
    padding-right: 38px;
}

.video-library {
    border-block: 1px solid var(--border);
    background: var(--surface-muted);
}

.chapter-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: start;
    gap: 28px;
}

.chapter-stage {
    position: sticky;
    top: calc(var(--header-height) + 28px);
}

.chapter-empty {
    min-height: 420px;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 40px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-card);
    background: var(--surface);
    text-align: center;
}

.chapter-empty strong {
    color: var(--text-strong);
    font-size: 21px;
}

.chapter-empty p {
    max-width: 430px;
    margin: 10px 0 0;
    color: var(--text-muted);
}

.chapter-player {
    min-width: 0;
}

.chapter-player[hidden],
.chapter-empty[hidden] {
    display: none;
}

.chapter-current {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
}

.chapter-current strong {
    color: var(--text-strong);
    font-size: 17px;
}

.chapter-current span {
    color: var(--text-soft);
    font-size: 13px;
}

.chapter-picker {
    display: grid;
    gap: 12px;
}

.chapter-noscript {
    grid-column: 1 / -1;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface);
    color: var(--text-muted);
}

.chapter-showcase > noscript {
    grid-column: 1 / -1;
}

.chapter-choice {
    width: 100%;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition:
        border-color var(--ease),
        background var(--ease),
        transform var(--ease);
}

.chapter-choice:hover {
    border-color: var(--border-strong);
    background: var(--surface-tint);
    transform: translateY(-1px);
}

.chapter-choice:active {
    transform: translateY(1px);
}

.chapter-choice[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--surface-tint);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.chapter-choice img {
    width: 128px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-control);
    object-fit: cover;
    background: var(--surface-muted);
}

.chapter-choice > span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.chapter-choice strong {
    color: var(--text-strong);
    font-size: 14px;
    line-height: 1.45;
    word-break: keep-all;
}

.chapter-choice small {
    color: var(--text-soft);
    font-size: 12px;
}

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

.benefit-grid article {
    min-height: 190px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.benefit-grid article:nth-child(2),
.benefit-grid article:nth-child(3) {
    background: var(--surface-tint);
}

.deployment-section {
    background: var(--surface-tint);
}

.deployment-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(52px, 8vw, 110px);
}

.deployment-intro {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-top: 24px;
    color: var(--accent-text);
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.text-link::after {
    content: "→";
    margin-left: 8px;
    transition: transform var(--ease);
}

.text-link:hover::after {
    transform: translateX(3px);
}

.deployment-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.deployment-list li {
    padding: 28px 30px;
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
    border-radius: var(--radius-card);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(50px, 8vw, 110px);
}

.faq-layout .section-heading {
    margin: 0;
}

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

.faq-grid article {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.faq-grid article:nth-child(2),
.faq-grid article:nth-child(3) {
    background: var(--surface-tint);
}

.faq-grid h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 18px;
    font-weight: 730;
    letter-spacing: -0.015em;
    line-height: 1.5;
    word-break: keep-all;
}

.faq-grid p {
    margin: 14px 0 0;
    color: var(--text-muted);
    line-height: 1.8;
    word-break: keep-all;
}

.related-section {
    border-top: 1px solid var(--border);
    background: var(--surface-muted);
}

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

.related-grid article {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.related-grid .text-link {
    margin-top: auto;
    padding-top: 22px;
}

.contact-section {
    padding: 112px 0;
    border-top: 1px solid var(--border);
    background:
        linear-gradient(
            135deg,
            var(--surface-tint),
            color-mix(in srgb, var(--surface-accent) 66%, var(--surface))
        );
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
    align-items: start;
    gap: clamp(52px, 8vw, 112px);
}

.contact-copy {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.contact-form {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.form-field label span {
    color: var(--danger);
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-control);
    background: var(--surface);
    color: var(--text-strong);
    font-size: 15px;
    line-height: 1.5;
    transition:
        border-color var(--ease),
        box-shadow var(--ease);
}

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

.form-field input:hover,
.form-field textarea:hover {
    border-color: color-mix(in srgb, var(--accent) 58%, var(--border-strong));
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.privacy-details {
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface-muted);
}

.privacy-details summary {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.privacy-details > div {
    padding: 0 14px 14px;
    color: var(--text-muted);
    font-size: 13px;
}

.privacy-details p {
    margin: 10px 0 0;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.agreement input {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

.agreement label {
    cursor: pointer;
}

.contact-submit {
    width: 100%;
}

.contact-submit:disabled {
    opacity: 0.64;
    cursor: wait;
    transform: none;
}

.form-status {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 650;
}

.form-status[data-state="error"] {
    color: var(--danger);
}

.form-status[data-state="success"] {
    color: var(--success);
}

.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--surface-muted);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 50px;
    padding-bottom: 48px;
}

.site-footer__grid > div:first-child p {
    max-width: 320px;
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 12px 26px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: right;
}

.footer-contact p {
    width: 100%;
    margin: 0;
}

.footer-contact a {
    color: var(--text);
    text-underline-offset: 4px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 12px;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

@media (prefers-color-scheme: dark) {
    .brand-logo,
    .footer-logo {
        filter: brightness(0) invert(1);
    }

    .button {
        border-color: #2b66bd;
        background: #2b66bd;
        color: #f7faff;
    }

    .button:hover {
        border-color: #24569e;
        background: #24569e;
    }

    .button--secondary {
        border-color: var(--border-strong);
        background: var(--surface);
        color: var(--text-strong);
    }

    .button--secondary:hover {
        border-color: var(--accent);
        background: var(--surface-tint);
        color: var(--accent-hover);
    }
}

@media (max-width: 1040px) {
    .site-nav {
        gap: 20px;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(450px, 1.12fr);
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
        gap: 48px;
    }
}

@media (max-width: 859px) {
    :root {
        --header-height: 64px;
    }

    .site-shell {
        width: min(calc(100% - 40px), var(--shell));
    }

    .menu-button {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100dvh - var(--header-height));
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px 20px 24px;
        overflow-y: auto;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        box-shadow: var(--shadow-soft);
    }

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

    .site-nav > a:not(.button) {
        min-height: 48px;
        padding: 0 10px;
        border-radius: var(--radius-control);
        font-size: 16px;
    }

    .site-nav .button {
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 34px) 0 72px;
    }

    .hero__grid,
    .problem-layout,
    .deployment-layout,
    .faq-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 46px;
    }

    .hero h1 {
        max-width: 720px;
    }

    .primary-demo {
        width: 100%;
    }

    .section-heading--sticky,
    .deployment-intro,
    .contact-copy {
        position: static;
    }

    .problem-layout,
    .deployment-layout,
    .faq-layout,
    .contact-layout {
        gap: 46px;
    }

    .problem-layout .section-heading {
        max-width: 660px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .feature-card,
    .feature-card--1,
    .feature-card--2,
    .feature-card--3,
    .feature-card--4 {
        grid-column: auto;
        grid-row: auto;
        min-height: 220px;
    }

    .feature-card--1 h3 {
        font-size: 28px;
    }

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

    .workflow-list::before {
        display: none;
    }

    .workflow-list li {
        min-height: 0;
        padding: 26px 0;
        border-top: 1px solid var(--border);
    }

    .workflow-list li::before {
        display: none;
    }

    .chapter-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chapter-stage {
        position: static;
    }

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

    .contact-copy {
        max-width: 700px;
    }
}

@media (max-width: 680px) {
    .site-shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .hero {
        padding-bottom: 56px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.16;
    }

    .hero__summary {
        font-size: 16px;
    }

    .hero__continuation {
        margin-top: 22px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

    .solution-statement {
        padding: 38px 0;
    }

    .solution-statement p {
        font-size: 23px;
    }

    .section,
    .contact-section {
        padding: 78px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .deployment-intro h2,
    .contact-copy h2 {
        font-size: 32px;
    }

    .approach-points,
    .feature-grid,
    .workflow-list,
    .benefit-grid,
    .faq-grid,
    .related-grid,
    .form-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card--1,
    .feature-card--2,
    .feature-card--3,
    .feature-card--4 {
        min-height: 190px;
    }

    .chapter-empty {
        min-height: 300px;
        padding: 28px 20px;
    }

    .chapter-picker {
        grid-template-columns: 1fr;
    }

    .chapter-choice {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .chapter-choice img {
        width: 112px;
    }

    .benefit-grid article {
        min-height: 0;
    }

    .faq-grid article {
        min-height: 0;
    }

    .form-field--full {
        grid-column: auto;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .site-footer__grid {
        gap: 30px;
        padding-bottom: 34px;
    }

    .footer-contact {
        justify-content: flex-start;
        text-align: left;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .hero__eyebrow {
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .hero h1 {
        font-size: 34px;
    }

    .approach-panel,
    .feature-card,
    .benefit-grid article,
    .deployment-list li,
    .related-grid article {
        padding: 24px 20px;
    }

    .faq-grid article {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .hero__actions,
    .hero__continuation,
    .contact-section,
    .site-footer,
    video {
        display: none !important;
    }

    body {
        background: #fdfefe;
        color: #182235;
    }

    .hero {
        min-height: auto;
        padding-top: 32px;
    }

    .section {
        padding: 48px 0;
        break-inside: avoid;
    }
}
