:root {
    --ink: #12211b;
    --muted: #60736b;
    --line: #dfe8e2;
    --surface: #ffffff;
    --soft: #f4f8f5;
    --mint: #dff4e8;
    --green: #0f7a4f;
    --green-dark: #09573a;
    --coral: #e5684f;
    --gold: #f4bd4f;
    --blue: #315a8c;
    --shadow: 0 18px 45px rgba(18, 33, 27, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    background: var(--ink);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(223, 232, 226, 0.7);
}

.site-header.has-shadow {
    box-shadow: 0 10px 28px rgba(18, 33, 27, 0.08);
}

.nav-shell,
.footer-shell,
.footer-bottom,
.content-section,
.split-section,
.search-section,
.download-section,
.cta-section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--green);
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.btn-primary {
    color: #ffffff;
    background: var(--green);
}

.nav-actions .btn-primary {
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-ghost {
    color: var(--green);
    background: var(--mint);
}

.nav-actions .btn-ghost {
    color: var(--green);
}

.btn-light {
    color: var(--ink);
    background: #ffffff;
}

.btn-outline {
    border-color: var(--green);
    color: var(--green);
    background: transparent;
}

.btn-large {
    min-height: 52px;
    padding: 0.9rem 1.2rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.65rem;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("../images/banners/hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(6, 29, 20, 0.88), rgba(6, 29, 20, 0.62) 48%, rgba(6, 29, 20, 0.18));
}

.hero-content {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 6rem 0 8rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    color: var(--gold);
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.15rem;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
}

.hero-stats span {
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
    display: block;
    font-size: 1.45rem;
}

.search-section {
    position: relative;
    z-index: 2;
    margin-top: -76px;
}

.search-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.search-tabs {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.25rem;
    border-radius: 8px;
    background: var(--soft);
}

.search-tabs button {
    border: 0;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.search-tabs button.is-active {
    color: #ffffff;
    background: var(--green);
}

.search-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 0.8rem;
    align-items: end;
    margin-top: 1rem;
}

.search-grid label {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.search-grid input,
.search-grid select {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 0.9rem;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
}

.search-button {
    min-height: 50px;
}

.content-section,
.split-section,
.download-section,
.cta-section {
    padding: 5.5rem 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-heading.centered {
    display: block;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.split-section h2,
.download-section h2,
.cta-section h2 {
    max-width: 700px;
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.section-heading a {
    color: var(--green);
    font-weight: 800;
}

.property-grid,
.state-grid,
.type-grid,
.service-grid,
.steps-grid,
.testimonial-grid,
.benefit-grid,
.founder-grid {
    display: grid;
    gap: 1rem;
}

.property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card,
.state-card,
.type-card,
.service-card,
.step-card,
.testimonial-card,
.benefit-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.property-card {
    overflow: hidden;
}

.property-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.property-body {
    padding: 1rem;
}

.property-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.property-topline span {
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    color: var(--blue);
    background: #eaf1f8;
    font-size: 0.78rem;
    font-weight: 800;
}

.property-topline strong {
    color: var(--green);
}

.property-card h3,
.service-card h3,
.step-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.property-card p,
.service-card p,
.step-card p,
.testimonial-card span,
.split-section p,
.download-section p,
.footer-brand p {
    color: var(--muted);
}

.property-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.property-card li {
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
    background: var(--soft);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.state-section,
.testimonial-section {
    width: 100%;
    max-width: none;
    background: var(--soft);
}

.state-section > *,
.testimonial-section > * {
    width: min(1120px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.state-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.state-card,
.type-card {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 1rem;
}

.state-card:hover,
.type-card:hover {
    border-color: var(--green);
    box-shadow: 0 14px 32px rgba(15, 122, 79, 0.12);
}

.state-card span,
.type-card strong {
    font-weight: 800;
}

.state-card small,
.type-card small {
    color: var(--muted);
    font-weight: 700;
}

.type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.type-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: var(--green);
    background: var(--mint);
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

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

.benefit-grid article,
.service-card,
.step-card,
.testimonial-card {
    padding: 1.25rem;
}

.benefit-grid strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-grid p,
.service-card p,
.step-card p,
.testimonial-card blockquote {
    margin: 0;
}

.service-section {
    border-top: 1px solid var(--line);
}

.service-grid,
.steps-grid,
.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card span,
.step-card span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    background: #fff3dc;
    color: #9c6408;
    font-weight: 800;
}

.step-card span {
    background: var(--mint);
    color: var(--green);
}

.testimonial-card {
    margin: 0;
}

.testimonial-card blockquote {
    color: var(--ink);
    font-size: 1.02rem;
}

.testimonial-card figcaption {
    display: grid;
    gap: 0.15rem;
    margin-top: 1.4rem;
}

.founders-section {
    position: relative;
    /* background:
        linear-gradient(135deg, rgba(223, 244, 232, 0.72), rgba(255, 255, 255, 0.92)),
        #ffffff; */
}

.founders-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 2rem;
    align-items: center;
}

.founders-intro {
    max-width: 420px;
}

.founders-intro h2 {
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.founders-intro p:last-child {
    margin: 1rem 0 0;
    color: var(--muted);
}

.founder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.founder-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 33, 27, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(18, 33, 27, 0.14);
}

.founder-photo {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background: var(--mint);
}

.founder-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(18, 33, 27, 0.36));
}

.founder-photo img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    object-position: center;
}

.founder-photo--placeholder {
    background: linear-gradient(135deg, var(--mint), #eaf1f8);
}

.founder-card__body {
    padding: 1.2rem;
}

.founder-card span {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.founder-card h3 {
    margin: 0.32rem 0 0;
    color: var(--ink);
    font-size: 1.28rem;
    line-height: 1.15;
}

.founder-card p {
    margin: 0.2rem 0 0;
    color: var(--ink);
    font-weight: 800;
}

.founder-card small {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.download-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.store-buttons a {
    min-width: 148px;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    background: var(--ink);
    text-align: center;
    font-weight: 800;
}

.phone-preview {
    min-height: 420px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--mint), #eaf1f8);
}

.phone-screen {
    width: 220px;
    min-height: 340px;
    border: 10px solid var(--ink);
    border-radius: 28px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.phone-screen span,
.phone-screen strong {
    display: block;
}

.phone-screen span {
    color: var(--green);
    font-weight: 800;
}

.phone-screen strong {
    margin: 1rem 0;
    font-size: 1.35rem;
}

.phone-screen div {
    height: 54px;
    margin-top: 0.75rem;
    border-radius: 8px;
    background: var(--soft);
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer {
    background: var(--ink);
    color: #ffffff;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    padding: 4rem 0;
}

.brand-footer {
    margin-bottom: 0.75rem;
}

.footer-brand p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-grid h2 {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.footer-grid a {
    display: block;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 1rem;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-links {
        display: grid;
        gap: 0.75rem;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--line);
    }

    .nav-actions .btn {
        width: 100%;
    }

    .hero-section {
        min-height: 620px;
    }

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

    .search-grid,
    .property-grid,
    .state-grid,
    .type-grid,
    .split-section,
    .benefit-grid,
    .founders-shell,
    .founder-grid,
    .service-grid,
    .steps-grid,
    .testimonial-grid,
    .download-section,
    .footer-shell,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-grid .search-button,
    .download-copy,
    .cta-section > div:first-child {
        grid-column: 1 / -1;
    }

    .download-section,
    .cta-section {
        align-items: stretch;
    }
}

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

    .hero-section {
        min-height: 660px;
    }

    .hero-overlay {
        background: rgba(6, 29, 20, 0.76);
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-content h1,
    .section-heading h2,
    .split-section h2,
    .founders-intro h2,
    .download-section h2,
    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

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

    .hero-actions,
    .cta-actions,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .search-section {
        margin-top: -48px;
    }

    .search-tabs,
    .search-tabs button,
    .search-grid input,
    .search-grid select,
    .search-button,
    .btn {
        width: 100%;
    }

    .section-heading,
    .cta-section {
        display: block;
    }

    .section-heading a {
        display: inline-block;
        margin-top: 0.8rem;
    }

    .search-grid,
    .property-grid,
    .state-grid,
    .type-grid,
    .split-section,
    .benefit-grid,
    .founders-shell,
    .founder-grid,
    .service-grid,
    .steps-grid,
    .testimonial-grid,
    .download-section,
    .footer-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .content-section,
    .split-section,
    .download-section,
    .cta-section {
        padding: 4rem 0;
    }

    .founders-intro {
        max-width: none;
    }

    .founder-photo,
    .founder-photo img {
        min-height: 245px;
    }

    .phone-preview {
        min-height: 360px;
    }
}
