:root {
    --ink: #18202c;
    --muted: #5f6b7a;
    --line: #d9e0e8;
    --surface: #ffffff;
    --surface-soft: #f4f7f7;
    --accent: #0f766e;
    --accent-dark: #134e4a;
    --accent-soft: #d8f3ee;
    --warning-soft: #fff4d8;
    --shadow: 0 18px 48px rgba(24, 32, 44, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 760;
    letter-spacing: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent-dark);
}

.header-cta,
.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    padding: 0 18px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.header-cta,
.primary-action {
    color: #fff;
    background: var(--accent-dark);
}

.header-cta:hover,
.primary-action:hover,
.header-cta:focus-visible,
.primary-action:focus-visible {
    background: #0d3f3b;
}

.secondary-action {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.secondary-action:hover,
.secondary-action:focus-visible {
    background: #c2e9e2;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    min-height: min(780px, calc(100vh - 132px));
    padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
    background:
        linear-gradient(115deg, rgba(15, 118, 110, 0.09), rgba(255, 244, 216, 0.55) 48%, rgba(255, 255, 255, 1) 88%);
}

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

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 5.9rem);
    line-height: 0.98;
    font-weight: 850;
}

.hero-copy {
    max-width: 680px;
    margin: 24px 0 0;
    color: #334155;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.product-preview {
    width: min(100%, 620px);
    justify-self: end;
    padding: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.software-window {
    padding: 0;
    overflow: hidden;
}

.screenshot-window {
    background: var(--surface);
}

.hero-screenshot {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left top;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    color: var(--muted);
    background: #eef3f4;
    border-bottom: 1px solid var(--line);
    font-size: 0.84rem;
}

.window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #b8c3cc;
}

.window-bar span:first-child {
    background: #ef7469;
}

.window-bar span:nth-child(2) {
    background: #e8b84e;
}

.window-bar span:nth-child(3) {
    background: #4ba96f;
}

.window-bar strong {
    margin-left: auto;
    color: var(--accent-dark);
}

.screen-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
}

.screen-header strong {
    display: block;
    margin-top: 4px;
    font-size: 1.25rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric-strip > div {
    min-height: 106px;
    padding: 16px;
    background: var(--surface);
}

.metric-strip strong {
    display: block;
    margin-top: 8px;
    font-size: 1.7rem;
    line-height: 1;
}

.metric-strip small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.screen-table {
    display: grid;
    gap: 0;
    padding: 18px 22px 22px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 10px;
    min-height: 40px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: #334155;
    font-size: 0.9rem;
}

.table-row span:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.table-head {
    min-height: 32px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.preview-toolbar strong {
    color: var(--accent-dark);
}

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

.preview-grid > div,
.workflow-list li,
.benefit-card,
.timeline article,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.preview-grid > div {
    min-height: 98px;
    padding: 16px;
}

.preview-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.preview-grid strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.workflow-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 14px;
    color: #334155;
}

.workflow-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.section-band {
    background: var(--accent-dark);
    color: #ffffff;
}

.section-inner,
.content-section,
.cta-section,
.site-footer {
    padding-right: clamp(20px, 5vw, 72px);
    padding-left: clamp(20px, 5vw, 72px);
}

.section-inner {
    padding-top: clamp(44px, 6vw, 74px);
    padding-bottom: clamp(44px, 6vw, 74px);
}

.two-column,
.split-section,
.cta-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 74px);
    align-items: start;
}

.section-band .section-kicker {
    color: var(--accent-soft);
}

.section-band h2,
.content-section h2,
.cta-section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.section-text,
.split-section p,
.cta-section p {
    margin: 0;
    color: inherit;
    font-size: 1.08rem;
}

.content-section {
    padding-top: clamp(58px, 8vw, 104px);
    padding-bottom: clamp(58px, 8vw, 104px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

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

.benefit-card {
    min-height: 190px;
    padding: 24px;
}

.benefit-card h3,
.timeline h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
}

.benefit-card p,
.timeline p,
.faq-list p {
    margin: 0;
    color: var(--muted);
}

.product-section {
    background: var(--surface-soft);
}

.product-section .section-heading p:not(.section-kicker) {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
}

.showcase-item {
    min-width: 0;
}

.showcase-item h3 {
    margin: 18px 0 8px;
    font-size: 1.2rem;
}

.showcase-item p {
    margin: 0;
    color: var(--muted);
}

.screenshot-card {
    margin: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 32, 44, 0.08);
}

.product-screenshot {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left top;
}

.mini-screen {
    min-height: 250px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 32, 44, 0.08);
}

.mini-screen-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    color: var(--muted);
    background: #eef3f4;
    border-bottom: 1px solid var(--line);
    font-size: 0.84rem;
}

.mini-screen-bar span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
}

.mini-screen-bar strong {
    color: var(--ink);
}

.review-list {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.review-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 48px;
    align-items: center;
    padding: 0 12px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.review-list span {
    color: #334155;
}

.review-list strong {
    color: var(--accent-dark);
    font-size: 0.82rem;
    white-space: nowrap;
}

.allocation-bars {
    display: grid;
    gap: 18px;
    padding: 24px 18px;
}

.allocation-bars div {
    display: grid;
    gap: 8px;
}

.allocation-bars span {
    color: #334155;
    font-weight: 700;
}

.allocation-bars b {
    display: block;
    height: 12px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    border-radius: 999px;
}

.bar-width-72 {
    width: 72%;
}

.bar-width-58 {
    width: 58%;
}

.bar-width-44 {
    width: 44%;
}

.document-preview {
    display: grid;
    gap: 12px;
    margin: 22px auto 0;
    width: min(74%, 230px);
    min-height: 176px;
    padding: 28px 22px;
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.document-preview span {
    display: block;
    height: 10px;
    background: #cbd5df;
    border-radius: 999px;
}

.document-preview span:first-child {
    width: 64%;
    background: var(--accent);
}

.document-preview span:nth-child(2) {
    width: 92%;
}

.document-preview span:nth-child(3) {
    width: 78%;
}

.document-preview strong {
    align-self: end;
    color: var(--accent-dark);
    font-size: 0.9rem;
}

.split-section {
    background: var(--surface-soft);
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: #334155;
}

.check-list span {
    width: 14px;
    height: 14px;
    margin-top: 6px;
    flex: 0 0 14px;
    border: 4px solid var(--accent);
    border-radius: 50%;
}

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

.timeline article {
    min-height: 210px;
    padding: 22px;
}

.timeline span {
    display: block;
    margin-bottom: 26px;
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 850;
}

.faq-section {
    background: var(--surface-soft);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 0;
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 760;
}

.faq-list details[open] summary {
    border-bottom: 1px solid var(--line);
}

.faq-list p {
    padding: 16px 20px 20px;
}

.cta-section {
    align-items: center;
    padding-top: clamp(46px, 7vw, 82px);
    padding-bottom: clamp(46px, 7vw, 82px);
    background: var(--warning-soft);
}

.cta-section .primary-action {
    justify-self: end;
    min-width: min(100%, 310px);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 24px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
    color: var(--accent-dark);
}

.legal-page {
    background: var(--surface-soft);
}

.legal-hero {
    padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(30px, 5vw, 54px);
    background:
        linear-gradient(115deg, rgba(15, 118, 110, 0.08), rgba(255, 244, 216, 0.48));
}

.legal-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
}

.legal-updated {
    margin: 18px 0 0;
    color: var(--muted);
    font-weight: 680;
}

.legal-content {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 42px) clamp(54px, 7vw, 90px);
    background: var(--surface);
}

.legal-content section + section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.legal-content h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.legal-content p {
    margin: 0;
    color: #334155;
}

.legal-content p + p {
    margin-top: 14px;
}

.legal-content a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .hero-section,
    .two-column,
    .split-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .product-preview,
    .cta-section .primary-action {
        justify-self: stretch;
    }

    .benefit-grid,
    .timeline,
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-cta {
        width: 100%;
    }

    .hero-section {
        padding-top: 38px;
    }

    .hero-actions,
    .hero-actions a {
        width: 100%;
    }

    .preview-grid,
    .benefit-grid,
    .timeline,
    .showcase-grid,
    .metric-strip {
        grid-template-columns: 1fr;
    }

    .screen-header,
    .table-row,
    .review-list div {
        grid-template-columns: 1fr;
    }

    .table-row span:last-child {
        text-align: left;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
