:root {
    color-scheme: light;
    --ink: #111827;
    --muted: #526070;
    --soft: #f6f8f5;
    --line: #d9e2d7;
    --white: #ffffff;
    --slate: #0f172a;
    --green: #4d7c0f;
    --teal: #0f766e;
    --blue: #2563eb;
    --amber: #c47f13;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
}

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

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

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

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--slate);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--slate);
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    border-radius: 8px;
    padding: 10px 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--slate);
    background: #eef3ec;
}

.site-nav .nav-cta {
    margin-left: 8px;
    background: var(--slate);
    color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    background: #1f2937;
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--slate);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--slate);
    color: var(--white);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.button-primary:hover,
.button-primary:focus {
    background: #1f2937;
}

.button-secondary {
    border-color: rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--slate);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: var(--green);
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 78svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #edf2e9;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(246, 248, 245, 0.55);
}

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.scene-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
}

.product-panel {
    position: absolute;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    color: var(--slate);
}

.panel-main {
    right: 7%;
    top: 12%;
    width: 520px;
    min-height: 360px;
    padding: 22px;
}

.panel-inbox {
    right: 25%;
    bottom: 13%;
    width: 360px;
    padding: 18px;
}

.panel-flow {
    right: 5%;
    bottom: 18%;
    width: 270px;
    padding: 16px;
}

.panel-top,
.metric-row,
.lead-item,
.panel-flow {
    display: flex;
    align-items: center;
}

.panel-top {
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #475569;
}

.panel-top strong {
    border-radius: 8px;
    background: #ecfdf5;
    color: var(--teal);
    padding: 6px 9px;
    font-size: 12px;
}

.metric-row {
    gap: 10px;
    margin-top: 18px;
}

.metric-row div {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}

.metric-row span,
.lead-item span,
.message-preview p,
.arch-node span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.metric-row strong {
    display: block;
    margin-top: 4px;
    font-size: 28px;
    line-height: 1;
}

.lead-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.lead-item {
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: var(--white);
    padding: 12px;
}

.lead-item div {
    min-width: 0;
    flex: 1;
}

.lead-item strong {
    display: block;
    font-size: 14px;
}

.lead-item em {
    border-radius: 8px;
    background: #eef2ff;
    color: var(--blue);
    padding: 5px 8px;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.status-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--green);
}

.lead-item.hot .status-dot {
    background: #dc2626;
}

.lead-item.warm .status-dot {
    background: var(--amber);
}

.message-preview {
    margin-top: 16px;
    border-left: 4px solid var(--green);
    padding: 10px 0 10px 14px;
}

.message-preview strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
}

.approval-bar {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.45fr;
    gap: 8px;
    margin-top: 16px;
}

.approval-bar span {
    height: 9px;
    border-radius: 8px;
    background: #d9f99d;
}

.flow-step {
    border-radius: 8px;
    background: #f1f5f9;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 800;
}

.flow-step.active {
    background: var(--slate);
    color: var(--white);
}

.flow-line {
    height: 2px;
    flex: 1;
    background: #cbd5e1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 690px;
    padding: 58px 0 54px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
}

.hero h1,
.section h2 {
    margin: 0;
    color: var(--slate);
    line-height: 1.05;
    font-weight: 900;
}

.hero h1 {
    font-size: 66px;
}

.hero-copy {
    max-width: 660px;
    margin: 22px 0 0;
    color: #263547;
    font-size: 21px;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-proof li {
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 8px 11px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.section {
    scroll-margin-top: 96px;
    padding: 86px 0;
    background: var(--white);
}

.intro-band,
.process-band {
    background: #f8faf7;
}

.gateway-band {
    background: #101827;
    color: #e5e7eb;
}

.gateway-band .eyebrow {
    color: #a3e635;
}

.gateway-band h2,
.gateway-band h3,
.gateway-band strong {
    color: var(--white);
}

.gateway-band p,
.gateway-band li {
    color: #cbd5e1;
}

.gateway-band .arch-node span {
    color: #cbd5e1;
}

.contact-band {
    background: #eef3ec;
}

.two-column,
.gateway-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.section-copy h2,
.section-heading h2 {
    font-size: 42px;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

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

.outcome-list article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 20px;
}

.outcome-list span,
.process-step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--slate);
    color: var(--white);
    font-weight: 900;
}

.outcome-list h3,
.feature-card h3,
.process-step h3,
.package-card h3 {
    margin: 0;
    color: var(--slate);
    font-size: 20px;
    line-height: 1.2;
}

.outcome-list p,
.feature-card p,
.process-step p,
.package-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

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

.feature-card,
.process-step,
.package-card,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.feature-card {
    min-height: 230px;
    padding: 22px;
}

.feature-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #eef3ec;
    border: 1px solid #d9e8d2;
}

.feature-icon::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--green);
}

.contacts-icon::before {
    border-radius: 999px;
    box-shadow: 10px 7px 0 -4px var(--teal);
}

.property-icon::before {
    width: 22px;
    height: 18px;
    clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}

.tasks-icon::before {
    background: linear-gradient(180deg, var(--blue) 0 35%, var(--green) 35% 100%);
}

.deal-icon::before {
    border-radius: 3px;
    box-shadow: 7px 7px 0 -2px var(--amber);
}

.inbox-icon::before {
    width: 23px;
    height: 16px;
    border-radius: 4px;
    background: var(--teal);
}

.web-icon::before {
    width: 23px;
    height: 17px;
    background: var(--blue);
    box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.45);
}

.publish-icon::before {
    clip-path: polygon(0 45%, 70% 45%, 70% 20%, 100% 50%, 70% 80%, 70% 55%, 0 55%);
}

.report-icon::before {
    width: 22px;
    height: 22px;
    background: linear-gradient(90deg, var(--green) 0 28%, transparent 28% 36%, var(--teal) 36% 64%, transparent 64% 72%, var(--amber) 72%);
}

.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    padding: 22px;
}

.process-step span {
    margin-bottom: 18px;
}

.architecture {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 26px;
}

.arch-node {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 22px;
}

.arch-node strong {
    display: block;
    font-size: 20px;
}

.arch-connector {
    width: 2px;
    height: 42px;
    margin: 0 auto;
    background: #a3e635;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.provider-grid span {
    border-radius: 8px;
    background: rgba(163, 230, 53, 0.12);
    color: #ecfccb;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #a3e635;
}

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

.package-card {
    display: flex;
    min-height: 410px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
}

.package-featured {
    border-color: rgba(77, 124, 15, 0.42);
    box-shadow: 0 26px 52px rgba(77, 124, 15, 0.14);
}

.package-kicker {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
}

.package-card ul {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.package-card li {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    color: #334155;
    font-weight: 700;
}

.contact-layout {
    align-items: start;
}

.contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.contact-points span {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 9px 11px;
    color: #334155;
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--slate);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: var(--white);
    color: var(--slate);
    padding: 12px 13px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 126px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(77, 124, 15, 0.16);
}

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--slate);
    color: #cbd5e1;
}

.footer-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 32px 0;
}

.footer-brand {
    color: var(--white);
}

.footer-brand img {
    width: 42px;
    height: 42px;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--white);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-main {
        right: -80px;
    }

    .panel-inbox {
        right: 210px;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        padding: 10px;
        box-shadow: var(--shadow);
    }

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

    .site-nav a {
        padding: 12px;
    }

    .site-nav .nav-cta {
        margin-left: 0;
    }

    .hero {
        min-height: 76svh;
    }

    .hero-content {
        padding: 46px 0 42px;
        max-width: 620px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-copy {
        font-size: 19px;
    }

    .product-panel {
        opacity: 0.38;
    }

    .panel-main {
        right: -240px;
        width: 500px;
    }

    .panel-inbox,
    .panel-flow {
        display: none;
    }

    .two-column,
    .gateway-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .process,
    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        min-height: auto;
    }

    .footer-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .nav-shell {
        min-height: 66px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand span {
        font-size: 17px;
    }

    .hero {
        min-height: 72svh;
    }

    .hero-content {
        padding: 36px 0 34px;
    }

    .eyebrow {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-proof {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .section-copy h2,
    .section-heading h2 {
        font-size: 32px;
    }

    .section-copy p:not(.eyebrow),
    .section-heading p:not(.eyebrow) {
        font-size: 16px;
    }

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

    .outcome-list article {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 18px;
    }
}
