:root {
    --ink: #161616;
    --muted: #6c6c6c;
    --line: #e6e6e6;
    --accent: #ff6b2c;
    --accent2: #ff8b56;
    --warm: #fff3ed;
    --soft: #f8f8f8;
    --green: #18a969;
    --shadow: 0 18px 55px rgba(0, 0, 0, .09);
    --radius: 20px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

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

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

button {
    font: inherit
}

.wrap {
    width: min(1200px, calc(100% - 36px));
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px;
    top: auto
}

.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 1000;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px
}

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

.header-row {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    flex: 0 0 auto
}

.logo {
    width: 178px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto
}

.nav-item {
    position: relative
}

.nav-link,
.nav-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 28px 11px;
    font-size: 13px;
    font-weight: 800;
    border: 0;
    background: transparent;
    cursor: pointer
}

.nav-link:hover,
.nav-button:hover,
.nav-item.active>.nav-link,
.nav-item.active>.nav-button {
    color: var(--accent)
}

.chev {
    font-size: 10px
}

.dropdown {
    position: absolute;
    left: 0;
    top: calc(100% - 7px);
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    border-radius: 14px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease
}

.dropdown.wide {
    width: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px
}

.nav-item:hover>.dropdown,
.nav-item:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: none
}

.dropdown a {
    display: block;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #3f3f3f
}

.dropdown a:hover {
    background: var(--warm);
    color: var(--accent)
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 9px;
    width: 42px;
    height: 42px;
    font-size: 23px
}

.utility-strip {
    background: #111;
    color: #fff
}

.utility-strip .wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12px;
    white-space: nowrap
}

.utility-strip a {
    color: #ddd
}

.utility-strip a:hover {
    color: #fff
}

.hero {
    padding: 62px 0 44px;
    background: linear-gradient(180deg, #fff 0, #fff 57%, #fafafa 100%)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 54px;
    align-items: center
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    margin: 12px 0 20px
}

.hero .lead,
.page-hero .lead {
    font-size: 19px;
    color: #555;
    max-width: 700px
}

.rebuild-note {
    background: var(--warm);
    border-left: 4px solid var(--accent);
    padding: 17px 19px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    color: #444
}

.rebuild-note strong {
    color: #111
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 900
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 8px 22px rgba(255, 107, 44, .22)
}

.btn.secondary {
    background: #fff;
    border: 1px solid #bbb
}

.btn:hover {
    transform: translateY(-1px)
}

.hero-collage {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    grid-template-rows: 220px 220px;
    gap: 10px
}

.hero-collage picture:first-child {
    grid-row: 1/3
}

.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow)
}

.page-hero {
    padding: 54px 0 38px;
    background: linear-gradient(140deg, #fff 58%, #fff2eb)
}

.page-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 44px;
    align-items: center
}

.page-image {
    position: relative
}

.page-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow)
}

.badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(5px);
    border-radius: 13px;
    padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
    max-width: 300px
}

.badge b {
    display: block
}

.badge span {
    display: block;
    color: #666;
    font-size: 13px
}

.trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 19px 0
}

.trust-item {
    display: flex;
    gap: 10px;
    align-items: center
}

.ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--warm);
    color: var(--accent);
    font-weight: 900
}

.trust-item b {
    display: block;
    font-size: 14px
}

.trust-item span {
    display: block;
    color: #777;
    font-size: 12px
}

.section {
    padding: 70px 0
}

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

.section-head {
    max-width: 800px;
    margin-bottom: 30px
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 8px 0 12px
}

.section h3 {
    line-height: 1.2
}

.section p {
    color: #626262
}

.service-cards,
.topic-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.service-card,
.topic,
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .04)
}

.service-card .kicker,
.topic .kicker {
    font-size: 12px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: .08em
}

.service-card h3,
.topic h3,
.info-card h3 {
    font-size: 22px;
    margin: 8px 0
}

.service-card a,
.topic a {
    color: var(--accent);
    font-weight: 900
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch
}

.feature-copy {
    border-radius: 20px;
    background: #151515;
    color: #fff;
    padding: 38px
}

.feature-copy p {
    color: #d2d2d2
}

.feature-photo img {
    height: 100%;
    min-height: 410px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px
}

.bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0
}

.bullets li {
    position: relative;
    padding: 8px 0 8px 28px
}

.bullets li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900
}

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

.category-link {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    font-weight: 800
}

.category-link small {
    display: block;
    color: #777;
    font-weight: 500;
    margin-top: 3px
}

.category-link:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 17px 0
}

.faq summary {
    font-weight: 900;
    cursor: pointer
}

.faq p {
    margin-bottom: 0
}

.breadcrumb {
    padding: 14px 0;
    font-size: 12px;
    color: #777
}

.breadcrumb a {
    color: #555
}

.breadcrumb span {
    margin: 0 6px
}

.legal-page {
    max-width: 880px
}

.legal-page h1 {
    font-size: 48px;
    line-height: 1.05
}

.legal-page h2 {
    margin-top: 36px
}

.legal-placeholder {
    padding: 22px;
    border: 1px solid #f0c6b4;
    background: #fff8f5;
    border-radius: 14px
}

footer {
    background: #111;
    color: #fff;
    padding: 52px 0 26px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
    gap: 30px
}

.footer-logo {
    width: 160px;
    filter: brightness(0) invert(1)
}

footer p {
    color: #aaa;
    font-size: 14px
}

footer h4 {
    margin: 0 0 12px
}

footer ul {
    padding: 0;
    margin: 0;
    list-style: none
}

footer li {
    margin: 7px 0
}

footer a {
    color: #d4d4d4;
    font-size: 13px
}

footer a:hover {
    color: #fff
}

.footer-legal {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 18px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #888;
    font-size: 12px
}

@media(max-width:1040px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 10px 18px 18px;
        max-height: calc(100vh - 82px);
        overflow: auto
    }

    .main-nav.open {
        display: block
    }

    .nav-item {
        border-bottom: 1px solid #eee
    }

    .nav-link,
    .nav-button {
        width: 100%;
        justify-content: space-between;
        padding: 14px 6px
    }

    .dropdown,
    .dropdown.wide {
        position: static;
        width: auto;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 0 0 8px 12px;
        background: #fafafa;
        grid-template-columns: 1fr
    }

    .nav-item.open>.dropdown {
        display: block
    }

    .mobile-toggle {
        display: block
    }

    .hero-grid,
    .page-grid,
    .feature-split {
        grid-template-columns: 1fr
    }

    .hero-collage {
        order: -1
    }

    .page-image {
        order: -1
    }

    .page-image img {
        height: 420px
    }

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

    .service-cards,
    .topic-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

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

    .utility-strip {
        display: none
    }
}

@media(max-width:650px) {
    .wrap {
        width: min(100% - 22px, 1200px)
    }

    .header-row {
        height: 68px
    }

    .logo {
        width: 142px
    }

    .main-nav {
        top: 68px;
        max-height: calc(100vh - 68px)
    }

    .hero,
    .page-hero {
        padding-top: 28px
    }

    .hero h1,
    .page-hero h1 {
        font-size: 44px
    }

    .hero .lead,
    .page-hero .lead {
        font-size: 17px
    }

    .hero-collage {
        grid-template-rows: 160px 160px
    }

    .page-image img {
        height: 350px
    }

    .trust-row,
    .service-cards,
    .topic-grid,
    .info-grid,
    .category-list,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 52px 0
    }

    .feature-copy {
        padding: 28px
    }

    .feature-photo img {
        min-height: 320px
    }

    .footer-legal {
        display: block
    }

    .footer-legal span {
        display: block;
        margin: 6px 0
    }
}

/* Visitor-facing content + legal document readability */
.legal-page {
    max-width: 980px
}

.legal-page h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.25rem
}

.legal-page h2 {
    font-size: 1.55rem;
    margin-top: 2.25rem;
    margin-bottom: .8rem
}

.legal-page h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem
}

.legal-page p,
.legal-page li {
    line-height: 1.75
}

.legal-page ul,
.legal-page ol {
    padding-left: 1.35rem;
    margin: .8rem 0 1.3rem
}

.legal-page a {
    overflow-wrap: anywhere
}

.legal-page blockquote {
    border-left: 4px solid var(--orange);
    padding-left: 1rem;
    margin-left: 0
}

.rebuild-note {
    font-size: 1.02rem
}

.utility-strip {
    position: relative;
    z-index: 20
}