:root {
    color-scheme: dark;
    --bg: #0d1117;
    --panel: #171c26;
    --panel-strong: #202939;
    --line: #303a4a;
    --text: #f4f7fb;
    --muted: #a8b1c1;
    --blue: #66a7f2;
    --green: #35d06a;
    --amber: #e2a72e;
    --white: #ffffff;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, rgba(18, 25, 35, 0.94), rgba(13, 17, 23, 1) 560px),
        var(--bg);
    color: var(--text);
}

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

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--blue);
    color: #07101c;
    font-size: 13px;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 28px);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--white);
}

main {
    overflow: hidden;
}

.hero-section,
.problem-section,
.workflow-section,
.features-section,
.all-features-section,
.showcase-section,
.access-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 58px 0 72px;
}

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 18px;
    font-size: clamp(54px, 7vw, 96px);
    line-height: 0.95;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.03;
}

h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.tagline {
    margin: 0 0 16px;
    color: var(--text);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    line-height: 1.3;
}

.lead {
    max-width: 590px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    border: 1px solid transparent;
}

.button.primary {
    background: var(--green);
    color: #06100a;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.13);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.hero-stats div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-stats dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-stats dd {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 800;
}

.hero-media {
    position: relative;
    min-height: 620px;
}

.ipad-shot,
.phone-shot,
.showcase-media img {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
    background: #0a0d12;
}

.ipad-shot {
    width: min(100%, 820px);
    border-radius: 22px;
}

.phone-shot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(34vw, 300px);
    min-width: 220px;
    border-radius: 30px;
}

.problem-section,
.workflow-section,
.features-section,
.all-features-section,
.showcase-section,
.access-section {
    padding: 88px 0;
}

.all-features-section .section-heading {
    margin-bottom: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.all-features-section .category-grid {
    display: block;
}

.feature-category {
    position: relative;
    min-height: 260px;
    padding: 30px 390px 30px 0;
    border-bottom: 1px solid var(--line);
}

.all-features-section .feature-category {
    width: 100%;
    border-radius: 0;
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.category-heading {
    display: block;
    margin-bottom: 12px;
}

.category-shot {
    position: absolute;
    top: 30px;
    right: 0;
    width: 340px;
    height: 204px;
    object-fit: cover;
    object-position: top center;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: #090d13;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.category-preview-row {
    position: absolute;
    top: 30px;
    right: 0;
    width: 354px;
    height: 230px;
    margin: 0;
}

.category-preview-row .category-shot {
    top: 0;
    right: 0;
    width: 255px;
    height: 154px;
}

.category-preview-row .category-shot:first-child {
    right: 99px;
    z-index: 1;
}

.category-preview-row .category-shot:last-child {
    top: 76px;
    z-index: 2;
}

.feature-category h3 {
    margin-bottom: 0;
    color: var(--blue);
}

.feature-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-category li {
    position: relative;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 5px;
    padding-left: 15px;
    font-size: 14px;
}

.feature-category li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--blue);
    opacity: 0.72;
}

.feature-category li:last-child {
    margin-bottom: 0;
}

.feature-category strong {
    color: var(--text);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

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

.problem-grid article,
.feature-grid article {
    min-height: 178px;
    padding: 22px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
}

.problem-grid p,
.feature-grid p,
.workflow-step p,
.showcase-copy p,
.access-section p {
    color: var(--muted);
    line-height: 1.55;
}

.workflow-list {
    display: grid;
    gap: 14px;
}

.workflow-step {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
    border-top: 1px solid var(--line);
}

.workflow-step:last-child {
    border-bottom: 1px solid var(--line);
}

.workflow-step span {
    color: var(--amber);
    font-size: 28px;
    font-weight: 900;
}

.showcase-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
    gap: 42px;
    align-items: center;
}

.showcase-media img {
    border-radius: 22px;
}

.access-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 54px;
    padding: 32px;
    border-radius: 8px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
}

.access-section div {
    max-width: 740px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(20px, 5vw, 72px);
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer span:first-child {
    color: var(--white);
    font-weight: 900;
}

@media (max-width: 960px) {
    .hero-section,
    .showcase-section,
    .section-heading {
        grid-template-columns: 1fr;
    }

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

    .hero-media {
        min-height: 540px;
    }

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

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

}

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

    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero-section,
    .problem-section,
    .workflow-section,
    .features-section,
    .all-features-section,
    .showcase-section,
    .access-section {
        width: min(100% - 28px, 1180px);
    }

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

    .lead {
        font-size: 18px;
    }

    .hero-stats,
    .problem-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 440px;
    }

    .ipad-shot {
        border-radius: 16px;
    }

    .phone-shot {
        width: 178px;
        min-width: 0;
        border-radius: 22px;
    }

    .workflow-step {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-heading {
        margin-bottom: 12px;
    }

    .category-shot {
        position: relative;
        top: auto;
        right: auto;
        width: 160px;
        height: 102px;
        float: right;
        margin: 0 0 12px 14px;
    }

    .category-preview-row {
        position: relative;
        top: auto;
        right: auto;
        width: 178px;
        height: 120px;
        float: right;
        margin: 0 0 12px 14px;
    }

    .feature-category {
        padding-right: 18px;
        min-height: 0;
    }

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