* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--bg-100);
    color: var(--text-100);
    font-family: var(--font-primary);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
    border-bottom: 1px solid var(--border-100);
    padding: 0 2rem;
    background-color: var(--bg-100);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--text-100);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.brand-lockup img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--text-200);
    font-family: var(--font-secondary);
    font-size: .92rem;
}

.site-nav a {
    text-decoration: none;
    transition: color .2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.header-login,
.header-contact,
.primary-action,
.secondary-action,
.dagdev-section a,
.plan-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.65rem;
    border-radius: 8px;
    padding: 0 .95rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-decoration: none;
}

.header-login,
.secondary-action,
.dagdev-section a {
    border: 1px solid var(--border-100);
    background-color: var(--bg-200);
    color: var(--text-100);
}

.header-contact,
.primary-action,
.plan-grid a {
    border: 1px solid var(--primary-100);
    background-color: var(--primary-100);
    color: var(--bg-100);
}

.header-login:hover,
.secondary-action:hover,
.dagdev-section a:hover {
    border-color: var(--primary-100);
    color: var(--primary-100);
}

.header-contact:hover,
.primary-action:hover,
.plan-grid a:hover {
    border-color: var(--accent-100);
    background-color: var(--accent-100);
    color: var(--bg-100);
}

.hero-section {
    position: relative;
    min-height: 78svh;
    overflow: hidden;
    border-bottom: 1px solid var(--border-100);
    background-color: var(--bg-100);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78svh;
    width: min(760px, calc(100% - 4rem));
    padding: 4rem 0;
    margin-left: max(2rem, calc((100% - 1120px) / 2));
}

.eyebrow {
    margin: 0 0 .75rem;
    color: var(--accent-100);
    font-family: var(--font-secondary);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-copy h1 {
    margin: 0;
    color: var(--text-100);
    font-size: 5rem;
    line-height: .92;
}

.hero-text {
    max-width: 40rem;
    margin: 1.25rem 0 0;
    color: var(--text-200);
    font-family: var(--font-secondary);
    font-size: 1.12rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.hero-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scene-browser {
    position: absolute;
    right: max(1.5rem, calc((100% - 1120px) / 2));
    top: 6rem;
    width: min(55rem, 62vw);
    border: 1px solid var(--border-100);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-200);
    box-shadow: 0 2rem 5rem var(--overlay-100);
    opacity: .72;
}

.scene-toolbar {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.4rem;
    border-bottom: 1px solid var(--border-100);
    padding: 0 .75rem;
    background-color: var(--bg-100);
}

.scene-toolbar span {
    width: .55rem;
    height: .55rem;
    border-radius: 8px;
    background-color: var(--border-100);
}

.scene-dashboard {
    display: grid;
    grid-template-columns: 11rem 1fr;
    min-height: 29rem;
}

.scene-sidebar {
    display: grid;
    align-content: start;
    gap: .75rem;
    border-right: 1px solid var(--border-100);
    padding: 1rem;
    background-color: var(--bg-100);
}

.scene-sidebar span,
.scene-vehicle-list span,
.scene-vehicle-list strong,
.scene-phone span,
.scene-phone strong,
.scene-phone small {
    display: block;
    border-radius: 8px;
    background-color: var(--bg-300);
}

.scene-sidebar span {
    height: 2.2rem;
}

.scene-sidebar span:first-child {
    background-color: var(--primary-100);
}

.scene-content {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.scene-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.scene-kpis span {
    display: flex;
    align-items: center;
    min-height: 5rem;
    border: 1px solid var(--border-100);
    border-radius: 8px;
    padding: 1rem;
    background-color: var(--bg-100);
    color: var(--primary-100);
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 800;
}

.scene-vehicle-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.scene-vehicle-list article {
    display: grid;
    gap: .75rem;
    border: 1px solid var(--border-100);
    border-radius: 8px;
    padding: .75rem;
    background-color: var(--bg-100);
}

.scene-vehicle-list div {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background-color: var(--bg-300);
}

.scene-vehicle-list article:nth-child(2) div {
    background-color: var(--primary-100);
}

.scene-vehicle-list article:nth-child(3) div {
    background-color: var(--accent-100);
}

.scene-vehicle-list span {
    height: .75rem;
}

.scene-vehicle-list strong {
    width: 70%;
    height: 1rem;
}

.scene-phone {
    position: absolute;
    right: max(2rem, calc((100% - 1120px) / 2 + 3rem));
    bottom: 2.25rem;
    display: grid;
    gap: .7rem;
    width: 13.5rem;
    border: 1px solid var(--border-100);
    border-radius: 8px;
    padding: .85rem;
    background-color: var(--bg-100);
    box-shadow: 0 2rem 4rem var(--overlay-100);
}

.phone-top {
    width: 3rem;
    height: .35rem;
    border-radius: 8px;
    margin: 0 auto;
    background-color: var(--border-100);
}

.phone-image {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background-color: var(--bg-300);
}

.scene-phone span {
    height: .75rem;
}

.scene-phone strong {
    height: 1.25rem;
}

.scene-phone small {
    width: 55%;
    height: .75rem;
}

.trust-strip,
.section-block,
.workflow-section,
.dagdev-section,
.site-footer {
    width: min(1120px, calc(100% - 4rem));
    margin: 0 auto;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border-100);
    border-radius: 8px;
    margin-top: 1.5rem;
    background-color: var(--border-100);
}

.trust-strip div {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    background-color: var(--bg-200);
}

.trust-strip strong {
    color: var(--text-100);
    font-size: 1rem;
}

.trust-strip span {
    color: var(--text-200);
    font-family: var(--font-secondary);
    font-size: .9rem;
}

.section-block,
.workflow-section,
.dagdev-section {
    padding-top: 5rem;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 1.5rem;
}

.section-heading h2,
.dagdev-section h2 {
    margin: 0;
    color: var(--text-100);
    font-size: 2.4rem;
    line-height: 1.08;
}

.feature-grid,
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-grid article,
.plan-grid article,
.workflow-list article {
    border: 1px solid var(--border-100);
    border-radius: 8px;
    padding: 1.25rem;
    background-color: var(--bg-200);
}

.feature-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: var(--bg-100);
    color: var(--primary-100);
}

.feature-grid h3,
.plan-grid h3,
.workflow-list h3 {
    margin: 0 0 .55rem;
    color: var(--text-100);
    font-size: 1.15rem;
}

.feature-grid p,
.plan-grid p,
.workflow-list p,
.dagdev-section p {
    margin: 0;
    color: var(--text-200);
    font-family: var(--font-secondary);
    line-height: 1.65;
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.workflow-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    background-color: var(--bg-100);
    color: var(--accent-100);
    font-family: var(--font-secondary);
    font-size: .85rem;
    font-weight: 800;
}

.plan-grid article {
    display: grid;
    gap: 1rem;
}

.plan-grid ul {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-grid li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-200);
    font-family: var(--font-secondary);
}

.plan-grid li::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 8px;
    background-color: var(--primary-100);
}

.featured-plan {
    border-color: var(--primary-100) !important;
}

.featured-plan > span {
    width: fit-content;
    border-radius: 8px;
    padding: .25rem .6rem;
    background-color: var(--bg-100);
    color: var(--primary-100);
    font-family: var(--font-secondary);
    font-size: .8rem;
    font-weight: 800;
}

.plan-note {
    max-width: 820px;
    margin: 1rem auto 0;
    color: var(--text-200);
    font-family: var(--font-secondary);
    line-height: 1.6;
    text-align: center;
}

.dagdev-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 5rem;
    border-top: 1px solid var(--border-100);
    border-bottom: 1px solid var(--border-100);
    padding-bottom: 5rem;
}

.dagdev-section div {
    max-width: 42rem;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    color: var(--text-200);
    font-family: var(--font-secondary);
}

.site-footer span {
    color: var(--dag-brand-100);
    font-weight: 800;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: .2rem;
    }

    .hero-copy {
        width: min(100% - 2rem, 720px);
        margin-left: 1rem;
    }

    .hero-copy h1 {
        font-size: 3.6rem;
    }

    .scene-browser {
        right: -8rem;
        width: 44rem;
        opacity: .46;
    }

    .scene-phone {
        display: none;
    }

    .trust-strip,
    .section-block,
    .workflow-section,
    .dagdev-section,
    .site-footer {
        width: min(100% - 2rem, 1120px);
    }

    .feature-grid,
    .plan-grid,
    .workflow-list {
        grid-template-columns: 1fr 1fr;
    }

    .dagdev-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-section,
    .hero-copy {
        min-height: 76svh;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .scene-browser {
        top: 8rem;
        right: -18rem;
        width: 40rem;
    }

    .scene-dashboard {
        grid-template-columns: 7rem 1fr;
    }

    .trust-strip,
    .feature-grid,
    .plan-grid,
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .dagdev-section h2 {
        font-size: 2rem;
    }

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