/* Base tokens keep the landing page consistent with the clean black-and-white reference design. */
:root {
    --color-bg: #f7f7f5;
    --color-surface: #ffffff;
    --color-ink: #111111;
    --color-muted: #6f706f;
    --color-soft: #ececea;
    --color-line: #d9d9d4;
    --color-line-strong: #b8b8b2;
    --color-success: #21b86b;
    --color-accent: #ffe89a;
    --color-mint: #d9f2e6;
    --shadow-small: 0 12px 30px rgba(17, 17, 17, 0.08);
    --font-main: "Plus Jakarta Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.5;
}

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

button,
input {
    font: inherit;
}

.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

.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;
}

/* The header uses fixed heights and small type to mirror the minimal product navigation. */
.site-header {
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    border-bottom: 1px solid var(--color-line);
    background: rgba(247, 247, 245, 0.94);
}

/* Simple route pages are temporary shells for links that will become full MVC pages. */
.simple-page {
    min-height: 100vh;
    display: grid;
    align-content: start;
    gap: 140px;
    padding: 28px;
}

.simple-page section {
    width: min(720px, 100%);
    margin: 0 auto;
    text-align: center;
}

.simple-page h1 {
    margin-bottom: 24px;
}

.simple-page p {
    max-width: 560px;
    margin: 0 auto 38px;
    color: var(--color-muted);
}

.brand,
.footer-brand {
    font-weight: 800;
    letter-spacing: 0;
}

.brand {
    font-size: 17px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: #4e4f4d;
    font-size: 12px;
}

.nav-links a,
.site-footer a {
    border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.site-footer a:hover {
    border-color: currentColor;
}

.header-cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 134px;
    min-height: 39px;
    padding: 0 20px;
    background: #050505;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.hero {
    padding: 96px 24px 86px;
    border-bottom: 1px solid var(--color-line);
}

.hero-copy {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

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

h1 {
    max-width: 790px;
    margin: 0 auto 25px;
    font-size: clamp(48px, 7vw, 72px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 635px;
    margin: 0 auto;
    color: #666865;
    font-size: 15px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 52px;
}

.button {
    min-width: 168px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 23px;
    border: 1px solid #0a0a0a;
    font-size: 13px;
    font-weight: 800;
}

.button-primary {
    background: #050505;
    color: #ffffff;
}

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

.product-preview {
    position: relative;
    width: min(1030px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: 260px 1fr;
    margin: 80px auto 0;
    overflow: hidden;
    border: 1px solid #cfcfca;
    background: var(--color-surface);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--color-line);
    background: #f7f7f5;
}

.workspace-label,
.preview-sidebar span {
    min-height: 63px;
    display: flex;
    align-items: center;
    padding: 0 34px;
    color: #70716f;
    font-size: 13px;
}

.workspace-label {
    gap: 10px;
    color: var(--color-ink);
    font-weight: 700;
}

.workspace-label .material-symbols-outlined {
    font-size: 20px;
}

.preview-sidebar .muted {
    background: #efefed;
    color: #c2c2bd;
}

.preview-panel {
    position: relative;
    padding: 33px 34px 30px;
}

.status-toast {
    position: absolute;
    top: 18px;
    right: 0;
    min-width: 198px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 7px;
    padding: 10px 14px 10px 10px;
    border: 1px solid #8d8d88;
    background: #ffffff;
    box-shadow: var(--shadow-small);
    font-size: 11px;
}

.status-toast .material-symbols-outlined {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffe1c9;
    color: #ff7b31;
}

.status-toast strong {
    display: block;
    font-size: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid #c8e9d8;
    border-radius: 999px;
    color: #257c4c;
    font-size: 11px;
}

.status-pill span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
}

.preview-panel h2 {
    max-width: 500px;
    margin: 17px 0 4px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
}

.preview-meta {
    color: #979892;
    font-size: 14px;
}

.preview-grid {
    display: grid;
    grid-template-columns: minmax(230px, 335px) minmax(260px, 1fr);
    gap: 21px 35px;
    margin-top: 58px;
}

.brief-card h3,
.feature-card h3,
.workflow-step h3 {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}

.brief-card h3 {
    display: flex;
    align-items: center;
    gap: 7px;
}

.brief-card > p {
    margin: 0;
    color: #696a67;
    font-size: 13px;
}

.brief-card-text > p,
.timeline {
    padding: 18px;
    border: 1px solid var(--color-line);
    background: #fafafa;
}

.brief-card-wide {
    max-width: 335px;
}

.thumbnail-frame {
    position: relative;
    min-height: 152px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    overflow: hidden;
    border: 1px solid #232726;
    background: linear-gradient(135deg, #d3d8d4 0%, #8f9b98 48%, #1f2828 100%);
}

.monitor {
    width: 210px;
    height: 106px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 4px solid #242b2b;
    border-bottom-width: 14px;
    background: linear-gradient(180deg, #b7bfbd, #5e6968);
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.18);
}

.monitor span {
    width: 6px;
    height: 6px;
    margin-bottom: -10px;
    border-radius: 50%;
    background: #444b4a;
}

.desk-line {
    position: absolute;
    bottom: 18px;
    width: 85%;
    height: 2px;
    background: rgba(255, 255, 255, 0.65);
}

.timeline {
    display: grid;
    gap: 15px;
    margin: 0;
    list-style: none;
}

.timeline li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 8px;
    color: #626360;
    font-size: 13px;
}

.timeline strong {
    color: #ff7552;
    font-weight: 500;
}

.audience-strip {
    margin-top: 128px;
    text-align: center;
}

.audience-strip p {
    margin-bottom: 25px;
    color: #5d5e5c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.audience-strip div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 45px;
}

.audience-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8c8d8a;
    font-size: 15px;
}

.problem-section,
.feature-section,
.workflow-section,
.pricing-section {
    padding: 84px 24px;
    border-bottom: 1px solid var(--color-line);
}

.section-copy {
    width: min(720px, 100%);
}

.section-copy.center {
    margin: 0 auto;
    text-align: center;
}

.section-copy h2,
.workflow-section h2 {
    margin-bottom: 24px;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
}

.section-copy p {
    color: #5e5f5c;
    font-size: 16px;
}

.feature-section {
    background: #f3f3f1;
}

.feature-grid {
    width: min(1240px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 31px;
    margin: 0 auto;
}

.feature-card {
    min-height: 205px;
    padding: 26px 24px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: #ededeb;
}

.feature-icon.warm {
    background: var(--color-accent);
}

.feature-icon.mint {
    background: var(--color-mint);
}

.feature-icon.soft {
    background: #f0e8e1;
}

.feature-card p,
.workflow-step p {
    margin-bottom: 0;
    color: #60615f;
    font-size: 13px;
    line-height: 1.45;
}

.workflow-section {
    background: var(--color-surface);
    text-align: center;
}

.workflow-grid {
    position: relative;
    width: min(1240px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin: 62px auto 0;
    text-align: left;
}

.workflow-grid::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-line);
}

.workflow-step {
    position: relative;
    z-index: 1;
    min-height: 155px;
}

.step-number {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 2px solid var(--color-ink);
    border-radius: 6px;
    background: var(--color-surface);
    font-size: 20px;
    font-weight: 700;
}

.workflow-step:nth-child(2) .step-number {
    background: var(--color-ink);
    color: #ffffff;
}

.pricing-section {
    padding-top: 78px;
    padding-bottom: 86px;
}

.signup-form {
    width: min(460px, 100%);
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 10px;
    margin: 52px auto 0;
    padding: 10px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.signup-form input {
    min-width: 0;
    height: 45px;
    border: 0;
    padding: 0 14px;
    background: transparent;
    color: var(--color-ink);
    outline: none;
}

.signup-form button {
    height: 45px;
    border: 0;
    background: #050505;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.site-footer {
    min-height: 120px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    padding: 0 32px;
    background: #020202;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
}

.site-footer nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.site-footer p {
    justify-self: end;
    margin-bottom: 0;
    color: #bdbdbb;
}

@media (max-width: 980px) {
    .site-header,
    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 20px 18px;
    }

    .header-cta,
    .site-footer p {
        justify-self: center;
    }

    .product-preview {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

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

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

@media (max-width: 660px) {
    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 64px;
    }

    h1 {
        font-size: 43px;
    }

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

    .product-preview {
        min-height: auto;
        margin-top: 58px;
    }

    .preview-panel {
        padding: 25px 18px;
    }

    .status-toast {
        position: static;
        width: 100%;
        margin-bottom: 18px;
    }

    .preview-grid,
    .feature-grid,
    .workflow-grid,
    .signup-form {
        grid-template-columns: 1fr;
    }

    .brief-card-wide {
        max-width: none;
    }

    .audience-strip {
        margin-top: 70px;
    }

    .audience-strip div {
        gap: 18px 28px;
    }

    .problem-section,
    .feature-section,
    .workflow-section,
    .pricing-section {
        padding: 64px 18px;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }
}
