@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --black: #111;
    --gray: #6b6b6b;
    --line: #e7e7e7;
    --soft: #f4f4f2;
    --white: #fff;
    --max: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.55
}

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

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
.btn {
    cursor: pointer
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 700
}

.nav a {
    color: #444
}

.nav a:hover,
.nav a.active {
    color: #000
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: .2s
}

.btn:hover {
    background: #333
}

.btn-outline {
    background: #fff;
    color: #111
}

.btn-outline:hover {
    background: #111;
    color: #fff
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #777
}

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #171717;
    color: #fff
}

.hero-copy {
    padding: 90px max(48px, calc((100vw - var(--max))/2));
    padding-right: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.hero h1 {
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.04;
    letter-spacing: -.06em;
    margin: 20px 0 24px;
    max-width: 650px
}

.hero p {
    color: #c8c8c8;
    max-width: 490px;
    margin: 0 0 32px
}

.hero-image {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url("/static/images/hero.jpg")
}

.hero .eyebrow {
    color: #aaa
}

.section {
    padding: 88px 0
}

.section-soft {
    background: var(--soft)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px
}

.section-head h2,
.page-title {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.055em;
    margin: 10px 0 0
}

.section-head p {
    max-width: 420px;
    color: var(--gray);
    margin: 0
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.product-card {
    border: 1px solid var(--line);
    background: #fff;
    min-width: 0
}

.product-image {
    height: 230px;
    background: #ddd;
    overflow: hidden
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s
}

.product-card:hover .product-image img {
    transform: scale(1.035)
}

.product-info {
    padding: 22px
}

.product-meta {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #888
}

.product-info h3 {
    font-size: 21px;
    letter-spacing: -.04em;
    margin: 9px 0
}

.product-info p {
    font-size: 13px;
    color: var(--gray);
    min-height: 60px
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 17px;
    font-size: 12px;
    font-weight: 800
}

.arrow {
    font-size: 18px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd
}

.stat {
    padding: 28px 20px;
    border-right: 1px solid #ddd
}

.stat:last-child {
    border: 0
}

.stat strong {
    font-size: 32px;
    letter-spacing: -.05em;
    display: block
}

.stat span {
    font-size: 11px;
    color: var(--gray)
}

.feature-band {
    background: #171717;
    color: white;
    padding: 70px 0
}

.feature-band .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px
}

.feature-band h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.05em;
    margin: 10px 0
}

.feature-band p {
    color: #bbb;
    max-width: 560px
}

.page-hero {
    padding: 76px 0 52px;
    border-bottom: 1px solid var(--line)
}

.page-hero p {
    color: var(--gray);
    max-width: 680px;
    margin: 20px 0 0
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0
}

.field label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 13px 14px;
    outline: none;
    border-radius: 0
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #111
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

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

.error {
    font-size: 12px;
    color: #b3261e;
    min-height: 16px
}

.notice {
    padding: 14px 16px;
    background: #f1f1ef;
    margin: 16px 0;
    font-size: 13px
}

.form-shell {
    max-width: 720px;
    padding: 32px;
    border: 1px solid var(--line)
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: start
}

.detail-photo {
    height: 470px;
    background: #eee
}

.detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0
}

.spec-table td {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.spec-table td:first-child {
    color: #777
}

.compare-bar {
    position: sticky;
    bottom: 0;
    background: #111;
    color: #fff;
    padding: 14px 0;
    z-index: 10;
    display: none
}

.compare-bar.show {
    display: block
}

.compare-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px
}

.compare-table th,
.compare-table td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    font-size: 13px
}

.compare-table th {
    background: #f4f4f2
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px
}

.info-block {
    padding: 28px;
    border: 1px solid var(--line)
}

.info-block h3 {
    margin-top: 0
}

.footer {
    background: #111;
    color: #fff;
    padding: 54px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px
}

.footer p,
.footer a {
    color: #aaa;
    font-size: 13px
}

.footer h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 18px;
    color: #777;
    font-size: 11px
}

.empty {
    padding: 35px;
    background: var(--soft);
    color: #666
}

.api-status {
    font-size: 12px;
    color: #777;
    margin-top: 12px
}

.account-card {
    padding: 25px;
    border: 1px solid var(--line);
    margin-bottom: 18px
}

.request-row {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.pill {
    font-size: 10px;
    padding: 5px 9px;
    background: #eee;
    font-weight: 800;
    text-transform: uppercase
}

@media(max-width:980px) {
    .nav {
        gap: 14px
    }

    .header-actions .btn {
        display: none
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 70px 40px
    }

    .hero-image {
        min-height: 360px
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {
    .container {
        width: calc(100% - 32px)
    }

    @media (max-width: 700px) {
        .header-inner {
            justify-content: space-between;
        }

        .menu-toggle {
            margin-left: auto;
        }
    }

    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 18px 24px;
        flex-direction: column;
        align-items: flex-start
    }

    .nav.open {
        display: flex
    }

    .brand {
        font-size: 24px
    }

    .brand-logo {
        height: 36px;
        width: auto;
        display: block;
    }

    @media (max-width: 700px) {
        .brand-logo {
            height: 30px;
        }
    }

    .hero-copy {
        padding: 58px 24px
    }

    .hero-image {
        min-height: 270px
    }

    .section {
        padding: 60px 0
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-top: 15px
    }

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

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid #ddd
    }

    .feature-band .inner {
        display: block
    }

    .feature-band .btn {
        margin-top: 18px
    }

    .page-hero {
        padding: 52px 0 35px
    }

    .form-grid,
    .detail-layout,
    .two-col,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .detail-photo {
        height: 300px
    }

    .form-shell {
        padding: 22px
    }

    .filters>* {
        width: 100%
    }

    .request-row {
        display: block
    }

    .compare-inner {
        align-items: flex-start;
        flex-direction: column
    }
}

/* Utility classes keep presentation in the shared stylesheet. */
.field-spaced {
    margin-top: 16px
}

.select-wide {
    flex: 1
}

.search-wide {
    flex: 2
}