:root {
    --bg: #f8f9ff;
    --surface: #ffffff;
    --surface-muted: #eff4ff;
    --surface-blue: #e5eeff;
    --surface-deep: #08203a;
    --surface-deeper: #06182c;
    --text: #0b1c30;
    --muted: #4f5f77;
    --muted-strong: #334155;
    --line: #c5c6cd;
    --line-soft: #dde8f8;
    --primary: #1d2b3e;
    --primary-blue: #1f6fd0;
    --brand-green: #1e6b1e;
    --brand-green-light: #2d8a2d;
    --brand-green-soft: #e8f5e8;
    --action: #8cc63f;
    --action-strong: #5fa51c;
    --action-text: #08220e;
    --success: #16a34a;
    --danger: #cf3434;
    --shadow: 0 20px 54px rgba(29, 43, 62, 0.14);
    --soft-shadow: 0 12px 30px rgba(29, 43, 62, 0.08);
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    min-width: 320px;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.96) 46%, rgba(229, 238, 255, 0.9) 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
ol {
    margin-top: 0;
}

ul,
ol {
    padding-left: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 72px;
    padding: 0 max(28px, calc((100vw - 1780px) / 2));
    display: grid;
    grid-template-columns: minmax(220px, auto) 1fr auto;
    align-items: center;
    gap: 24px;
    background: linear-gradient(90deg, #123f23 0%, #08203a 52%, #06182c 100%);
    color: #ffffff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mobile-menu {
    display: none;
}

.mobile-menu summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    list-style: none;
    cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu div {
    position: absolute;
    top: calc(100% - 8px);
    left: 24px;
    right: 24px;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.mobile-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 12px;
    color: #10213d;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
    color: var(--brand-green);
    background: var(--brand-green-soft);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.brand span span,
.preview-brand span {
    color: var(--action);
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 29px;
    flex: 0 0 auto;
    font-size: 0;
    color: transparent;
}

.brand-mark::before {
    content: "";
    position: absolute;
    left: 8px;
    bottom: 2px;
    width: 16px;
    height: 15px;
    border-radius: 8px 8px 7px 7px;
    background: var(--action);
    transform: rotate(-8deg);
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 0;
    width: 8px;
    height: 11px;
    border-radius: 8px;
    background: var(--action);
    box-shadow:
        9px -2px 0 var(--action),
        18px 1px 0 var(--action),
        25px 8px 0 var(--action);
    transform: rotate(-16deg);
}

.brand-mark.small {
    width: 21px;
    height: 20px;
}

.brand-mark.small::before {
    left: 6px;
    width: 11px;
    height: 11px;
}

.brand-mark.small::after {
    width: 6px;
    height: 8px;
    box-shadow:
        7px -1px 0 var(--action),
        13px 1px 0 var(--action),
        18px 6px 0 var(--action);
}

.site-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.nav-group {
    position: relative;
}

.nav-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    min-width: 230px;
    display: none;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group[open] .nav-menu {
    display: grid;
    gap: 4px;
}

.site-nav .nav-menu a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    align-content: center;
    gap: 3px;
    width: 100%;
    color: #10213d;
    background: transparent;
}

.site-nav .nav-menu strong {
    font-size: 13px;
    line-height: 1.15;
}

.site-nav .nav-menu a span {
    margin: 0;
    color: #5a6a80;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    white-space: normal;
}

.site-nav .nav-menu a:hover,
.site-nav .nav-menu a:focus-visible {
    color: var(--brand-green);
    background: var(--brand-green-soft);
}

.site-nav a,
.site-nav summary,
.site-login,
.site-cta,
.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a,
.site-nav summary,
.site-login {
    color: rgba(255, 255, 255, 0.92);
}

.site-nav summary {
    cursor: pointer;
    list-style: none;
}

.site-nav summary::-webkit-details-marker {
    display: none;
}

.site-nav .nav-menu a {
    color: #10213d;
}

.site-nav a span,
.site-nav summary span {
    margin-left: 6px;
    font-size: 11px;
}

.site-nav .nav-menu a span {
    margin-left: 0;
    color: #5a6a80;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    white-space: normal;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav summary:hover,
.site-nav summary:focus-visible,
.site-login:hover,
.site-login:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.site-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.site-cta,
.button.primary {
    border-color: rgba(8, 34, 14, 0.14);
    background: linear-gradient(180deg, var(--action) 0%, var(--action-strong) 100%);
    color: var(--action-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 8px 18px rgba(95, 165, 28, 0.2);
}

.site-cta:hover,
.site-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
    border-color: rgba(8, 34, 14, 0.32);
    filter: saturate(1.04);
}

.button.secondary {
    border-color: #b7c4d6;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    border-color: var(--primary-blue);
    background: #ffffff;
}

.hero-section {
    width: min(1940px, calc(100% - 64px));
    min-height: 630px;
    margin: 0 auto;
    padding: 30px 0 0;
    display: grid;
    grid-template-columns: minmax(390px, .64fr) minmax(860px, 1.36fr);
    align-items: center;
    gap: 42px;
}

.hero-copy {
    max-width: 520px;
    padding: 26px 0 40px;
}

.hero-copy h1 {
    margin-bottom: 22px;
    color: #092247;
    font-size: clamp(42px, 3.45vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.hero-copy > p {
    max-width: 560px;
    margin-bottom: 36px;
    color: #293856;
    font-size: 21px;
    line-height: 1.55;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 38px;
}

.hero-benefits article {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: start;
    gap: 12px;
    min-width: 0;
}

.hero-benefits strong {
    display: block;
    margin-bottom: 3px;
    color: #09356f;
    font-size: 14px;
    font-weight: 900;
}

.hero-benefits article div > span {
    display: block;
    color: #23314c;
    font-size: 13px;
    line-height: 1.38;
}

.line-icon,
.circle-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--primary-blue);
}

.line-icon {
    width: 36px;
    height: 36px;
    border: 3px solid currentColor;
    border-radius: 8px;
}

.line-icon::before {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.line-icon.calendar::before {
    content: "";
    width: 19px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
    box-shadow: inset 0 5px 0 currentColor;
}

.line-icon.calendar::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 10px;
    width: 16px;
    height: 2px;
    background: currentColor;
}

.line-icon.shield {
    border-radius: 50% 50% 48% 48%;
}

.line-icon.shield::before {
    content: "\2713";
}

.line-icon.dollar {
    border-radius: 50%;
}

.line-icon.dollar::before {
    content: "$";
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 4px;
}

.hero-actions .button {
    min-width: 230px;
    min-height: 54px;
    font-size: 18px;
}

.hero-note {
    margin: 18px 0 0;
    color: #56647d;
    font-size: 15px;
}

.dashboard-preview {
    min-width: 0;
    border: 1px solid rgba(8, 32, 58, 0.28);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-topbar {
    min-height: 50px;
    display: grid;
    grid-template-columns: 205px 1fr auto;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, #08203a 0%, #06182c 100%);
    color: #ffffff;
}

.preview-brand {
    height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 17px;
    font-weight: 900;
}

.preview-topbar nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.preview-account {
    padding-right: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.preview-content {
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(155px, .7fr) minmax(290px, 1.12fr) minmax(280px, 1.02fr);
    gap: 14px;
    background: #f6f9fd;
}

.preview-left,
.map-column {
    display: grid;
    gap: 14px;
}

.metric-panel,
.dispatch-panel,
.map-panel,
.routes-panel {
    min-width: 0;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(29, 43, 62, 0.03);
}

.metric-panel,
.dispatch-panel,
.routes-panel {
    padding: 14px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.panel-heading h2 {
    margin: 0;
    color: #162540;
    font-size: 14px;
    font-weight: 900;
}

.panel-heading a {
    color: #1f6fd0;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.overview-list,
.invoice-list {
    margin: 0;
    display: grid;
    gap: 8px;
}

.overview-list div,
.invoice-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #4a5871;
    font-size: 12px;
}

.overview-list dt,
.invoice-list dt {
    margin: 0;
}

.overview-list dd,
.invoice-list dd {
    margin: 0;
    color: #10213b;
    font-weight: 900;
}

.danger {
    color: var(--danger) !important;
}

.success {
    color: var(--success) !important;
}

.mini-button {
    min-height: 30px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8cb8ed;
    border-radius: 5px;
    color: #1f6fd0;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.request-list,
.activity-list,
.route-progress,
.feature-strip ul,
.price-card ul,
.feature-matrix ul,
.pricing-notes,
.workflow-steps {
    margin-bottom: 0;
    list-style: none;
}

.request-list {
    display: grid;
    gap: 8px;
}

.request-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
    font-size: 12px;
}

.request-list strong {
    color: #172846;
}

.request-list span {
    color: #5d6b83;
}

.request-list em {
    grid-row: span 2;
    align-self: center;
    border-radius: 4px;
    background: #e9f3ff;
    color: #1f6fd0;
    padding: 3px 7px;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}

.dispatch-panel {
    display: flex;
    flex-direction: column;
}

.dispatch-table {
    min-width: 0;
    display: grid;
    border-top: 1px solid #e5ecf5;
}

.dispatch-table div {
    min-width: 0;
    min-height: 41px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(58px, auto);
    align-items: start;
    gap: 3px 7px;
    border-bottom: 1px solid #e5ecf5;
    color: #35435d;
    font-size: 12px;
}

.dispatch-table span,
.dispatch-table strong,
.activity-list strong,
.activity-list span,
.activity-list time {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-list li span:nth-child(4) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.25;
}

.dispatch-table span:first-child {
    grid-row: 1 / span 2;
}

.dispatch-table span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.dispatch-table span:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.dispatch-table span:nth-child(3),
.dispatch-table span:nth-child(4) {
    color: #53627a;
    font-size: 10px;
}

.dispatch-table span:nth-child(4) {
    display: none;
}

.dispatch-table strong {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    max-width: 66px;
    border-radius: 999px;
    background: #e5f0ff;
    color: #1f6fd0;
    padding: 4px 7px;
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
}

.dispatch-table strong.pending {
    background: #f0f3f8;
    color: #5a6678;
}

.activity-heading {
    margin-top: 18px;
}

.activity-list {
    display: grid;
    gap: 13px;
}

.activity-list li {
    display: grid;
    grid-template-columns: 30px 68px 8px minmax(96px, 1fr) 52px;
    align-items: start;
    gap: 8px;
    color: #44536b;
    font-size: 12px;
}

.avatar {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #174b93;
    font-size: 10px;
    font-weight: 900;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-dot.green {
    background: #22c55e;
}

.status-dot.action {
    background: var(--action);
}

.activity-list strong,
.activity-list time {
    color: #14243f;
    font-weight: 850;
}

.map-panel {
    padding: 14px;
}

.map-tabs {
    display: inline-flex;
    border: 1px solid #d5dfed;
    border-radius: 5px;
    overflow: hidden;
    color: #6a7689;
    font-size: 10px;
    font-weight: 850;
}

.map-tabs span {
    padding: 6px 10px;
}

.map-tabs span:first-child {
    background: #ffffff;
    color: #172846;
}

.route-map {
    position: relative;
    min-height: 244px;
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(224, 232, 242, 0.6) 1px, transparent 1px),
        linear-gradient(180deg, rgba(224, 232, 242, 0.65) 1px, transparent 1px),
        #edf3f7;
    background-size: 34px 34px;
    overflow: hidden;
}

.route-map svg {
    width: 100%;
    height: 244px;
    display: block;
}

.street {
    fill: none;
    stroke: #d0dbe8;
    stroke-width: 3;
}

.water {
    fill: none;
    stroke: rgba(137, 191, 225, 0.55);
    stroke-width: 28;
}

.route {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route.blue {
    stroke: #1f6fd0;
}

.route.accent {
    stroke: var(--action-strong);
}

.route.green {
    stroke: #48b36b;
}

.pins circle {
    fill: #1f6fd0;
    stroke: #ffffff;
    stroke-width: 3;
}

.pins circle:nth-child(n+4):nth-child(-n+6) {
    fill: var(--action-strong);
}

.pins circle:nth-child(n+7) {
    fill: #48b36b;
}

.map-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    border: 1px solid #d4deeb;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: #263754;
    font-weight: 900;
    overflow: hidden;
}

.map-zoom,
.map-zoom span {
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
}

.map-zoom span {
    display: flex;
    border-top: 1px solid #d4deeb;
}

.route-progress {
    display: grid;
    gap: 12px;
}

.route-progress li {
    display: grid;
    grid-template-columns: 70px 72px 44px 1fr 34px;
    align-items: center;
    gap: 10px;
    color: #40516d;
    font-size: 12px;
}

.route-progress strong,
.route-progress em,
.route-progress b {
    color: #162540;
    font-style: normal;
    font-weight: 800;
}

.route-progress i {
    position: relative;
    height: 5px;
    border-radius: 999px;
    background: #e5ebf3;
    overflow: hidden;
}

.route-progress i::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: #1f6fd0;
}

.route-progress i.accent-bar::before {
    background: var(--action);
}

.route-progress i.green-bar::before {
    background: #48b36b;
}

.route-progress i.progress-0::before {
    width: 0%;
}

.route-progress i.progress-17::before {
    width: 17%;
}

.route-progress i.progress-40::before {
    width: 40%;
}

.route-progress i.progress-67::before {
    width: 67%;
}

.route-progress i.progress-83::before {
    width: 83%;
}

.feature-strip {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid #d5e0ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
}

.feature-strip article {
    min-width: 0;
    padding: 28px clamp(18px, 2.2vw, 42px) 30px;
    border-right: 1px solid #d5e0ef;
}

.feature-strip article:last-child {
    border-right: 0;
}

.circle-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2d75cf 0%, #175aa9 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.circle-icon::before {
    font-size: 24px;
    font-weight: 900;
}

.circle-icon.calendar::before {
    content: "";
    width: 23px;
    height: 21px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    box-shadow: inset 0 6px 0 #ffffff;
}

.circle-icon.dollar::before {
    content: "$";
}

.circle-icon.users::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-5px);
}

.circle-icon.globe::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.circle-icon.phone::before {
    content: "";
    width: 14px;
    height: 25px;
    border: 2px solid #ffffff;
    border-radius: 4px;
}

.circle-icon.calendar::after {
    content: "";
    position: absolute;
    top: 27px;
    width: 16px;
    height: 2px;
    background: #ffffff;
}

.circle-icon.users::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: translate(7px, 0);
}

.circle-icon.globe::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 24px;
    background: #ffffff;
    box-shadow: 0 0 0 0 #ffffff, 0 11px 0 -1px #ffffff, 0 -11px 0 -1px #ffffff;
}

.circle-icon.phone::after {
    content: "";
    position: absolute;
    bottom: 15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
}

.feature-strip h2 {
    margin-bottom: 4px;
    color: #10213d;
    font-size: 20px;
    line-height: 1.15;
}

.feature-strip p {
    min-height: 66px;
    margin-bottom: 14px;
    color: #35445f;
    font-size: 15px;
    line-height: 1.38;
}

.feature-strip li,
.price-card li,
.feature-matrix li,
.pricing-notes li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 18px;
    color: #233550;
    font-size: 13px;
    line-height: 1.35;
}

.feature-strip li::before,
.price-card li::before,
.feature-matrix li::before,
.pricing-notes li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f6fd0;
    font-weight: 900;
}

.feature-strip a {
    display: inline-flex;
    margin-top: 14px;
    color: #1f6fd0;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.feature-strip a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.pricing-preview {
    min-height: 164px;
    display: grid;
    grid-template-columns: 390px 1fr 250px;
    gap: 36px;
    align-items: center;
    padding: 30px max(40px, calc((100vw - 1780px) / 2));
    background: linear-gradient(180deg, #eaf4ff 0%, #f8fbff 100%);
}

.pricing-preview h2 {
    margin-bottom: 10px;
    color: #10213d;
    font-size: 30px;
    line-height: 1.14;
}

.pricing-preview p {
    margin-bottom: 0;
    color: #40506c;
    font-size: 15px;
}

.proof-band,
.showcase-band,
.pricing-advisor,
.plan-compare,
.fee-explainer,
.contact-intake {
    width: min(1180px, calc(100% - 48px));
    margin: 34px auto;
}

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

.proof-band article,
.advisor-grid article,
.showcase-grid article,
.contact-form,
.compare-table,
.fee-explainer,
.public-demo-card {
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.proof-band article {
    padding: 20px 22px;
    border-top: 4px solid var(--brand-green-light);
}

.proof-band strong,
.advisor-grid strong,
.showcase-grid h3 {
    display: block;
    margin-bottom: 7px;
    color: #10213d;
    font-size: 18px;
    font-weight: 900;
}

.proof-band span,
.advisor-grid span,
.showcase-grid p {
    color: #40506c;
    font-size: 14px;
    line-height: 1.5;
}

.showcase-band {
    padding-top: 16px;
}

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

.section-heading p:not(.eyebrow) {
    color: #40506c;
    font-size: 17px;
    line-height: 1.58;
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(220px, .64fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.website-preview-card,
.phone-preview-card,
.yard-measure-card {
    min-width: 0;
    overflow: hidden;
}

.site-mini-top {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e3edf8;
}

.site-mini-top img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.site-mini-top span {
    flex: 1;
    color: #10213d;
    font-weight: 900;
}

.site-mini-top a,
.yard-measure-card a {
    color: var(--brand-green);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.site-mini-body {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(180px, 1fr);
    min-height: 270px;
}

.site-mini-body > div:first-child {
    padding: 28px;
}

.site-mini-body h3 {
    max-width: 280px;
    font-size: 30px;
    line-height: 1.08;
}

.yard-photo {
    position: relative;
    min-height: 270px;
    background:
        radial-gradient(circle at 58% 38%, #f7fbff 0 8%, transparent 9%),
        radial-gradient(circle at 46% 48%, #dcefd0 0 13%, transparent 14%),
        linear-gradient(145deg, #b9dca7 0%, #4c9146 55%, #1f5f2b 100%);
}

.yard-photo span {
    position: absolute;
    left: 38%;
    top: 32%;
    width: 82px;
    height: 92px;
    border-radius: 54% 54% 44% 44%;
    background: #10213d;
    box-shadow: 18px 16px 0 -8px #8cc63f, -16px 18px 0 -9px #ffffff, 0 86px 0 -33px #f4f7ef;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.phone-preview-card {
    padding: 18px;
    background: linear-gradient(180deg, #0c223c 0%, #071629 100%);
}

.phone-frame {
    min-height: 345px;
    border: 7px solid #071426;
    border-radius: 28px;
    background: #ffffff;
    padding: 18px 13px 14px;
    box-shadow: 0 20px 44px rgba(5, 22, 43, .24);
}

.phone-top {
    width: 70px;
    height: 7px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #d7e2f0;
}

.phone-frame h3 {
    margin-bottom: 14px;
    font-size: 19px;
}

.phone-frame ul {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    list-style: none;
}

.phone-frame li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #e1eaf4;
    border-radius: 7px;
    padding: 9px 10px;
    color: #10213d;
    font-size: 12px;
}

.phone-frame li span {
    color: var(--brand-green);
    font-size: 10px;
    font-weight: 900;
}

.phone-frame button {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    background: var(--brand-green);
    color: #ffffff;
    font-weight: 900;
}

.yard-measure-card {
    display: grid;
    grid-template-rows: 1fr auto;
}

.yard-map-preview {
    min-height: 210px;
    background: #e8f1f5;
}

.yard-map-preview svg {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: block;
}

.yard-lot {
    fill: rgba(140, 198, 63, .18);
    stroke: #5d8f2d;
    stroke-width: 3;
}

.yard-area {
    fill: rgba(36, 122, 80, .38);
    stroke: #247a50;
    stroke-width: 4;
}

.yard-measure-card > div:last-child {
    padding: 22px;
}

.home-flow {
    width: min(1180px, calc(100% - 48px));
}

.pricing-advisor {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 22px;
    align-items: start;
}

.pricing-advisor h2,
.plan-compare h2,
.fee-explainer h2,
.contact-intake h2 {
    margin: 0;
    color: #10213d;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.advisor-grid article {
    padding: 20px;
}

.plan-compare {
    display: grid;
    gap: 18px;
}

.compare-table {
    overflow: hidden;
}

.compare-table [role="row"] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(150px, .72fr));
    border-bottom: 1px solid #e2eaf4;
}

.compare-table [role="row"]:last-child {
    border-bottom: 0;
}

.compare-table strong,
.compare-table span {
    min-width: 0;
    padding: 14px 16px;
    color: #31425d;
    font-size: 14px;
}

.compare-table [role="columnheader"] {
    background: #f2f7ff;
    color: #10213d;
    font-weight: 900;
}

.compare-table span:first-child {
    color: #10213d;
    font-weight: 850;
}

.fee-explainer,
.contact-intake {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.fee-explainer p,
.contact-intake p {
    max-width: 780px;
    margin: 10px 0 0;
    color: #40506c;
    font-size: 16px;
}

.contact-intake {
    grid-template-columns: minmax(260px, .85fr) minmax(420px, 1fr);
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    padding: 22px;
}

.contact-form label,
.signup-form label {
    color: #31425d;
    font-size: 13px;
    font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.signup-form input,
.signup-form select,
.signup-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #bfccdc;
    border-radius: 6px;
    background: #ffffff;
    color: #10213d;
    padding: 9px 11px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(45, 138, 45, .16);
}

.contact-field-wide,
.field-help,
.signup-privacy-note {
    grid-column: 1 / -1;
}

.field-help {
    margin: -8px 0 2px;
    color: #65738a;
    font-size: 12px;
}

.signup-privacy-note {
    margin: 0;
    color: #40506c;
    font-size: 13px;
    line-height: 1.45;
}

.resource-grid ul {
    display: grid;
    gap: 7px;
    margin: 16px 0 0;
    list-style: none;
}

.resource-grid li {
    position: relative;
    padding-left: 17px;
    color: #31425d;
    font-size: 13px;
    line-height: 1.35;
}

.resource-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-green-light);
}

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

.mini-price-grid article,
.price-card,
.feature-matrix article,
.page-hero-panel,
.contact-card,
.portal-grid article,
.signup-summary article,
#signupStatus {
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--soft-shadow);
}

.mini-price-grid article {
    min-height: 122px;
    padding: 18px 20px;
}

.mini-price-grid article.popular {
    position: relative;
    border-color: #1f6fd0;
}

.mini-price-grid article.popular > span,
.plan-flag {
    position: absolute;
    top: 0;
    left: -1px;
    right: -1px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    background: #1f6fd0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.mini-price-grid article.popular {
    padding-top: 34px;
}

.mini-price-grid h3,
.price-card h2 {
    margin: 0 0 8px;
    color: #132542;
    font-size: 18px;
}

.mini-price-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #10213d;
    font-size: 28px;
    line-height: 1;
}

.pricing-notes {
    display: grid;
    gap: 8px;
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 60px 0 76px;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: 42px;
    margin-bottom: 40px;
}

.page-hero h1 {
    margin-bottom: 18px;
    color: #092247;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.page-hero p,
.page-shell > p {
    max-width: 780px;
    color: #35445f;
    font-size: 19px;
    line-height: 1.58;
}

.page-hero-panel,
.contact-card {
    padding: 24px;
}

.page-hero-panel strong,
.contact-card strong,
.signup-summary strong {
    display: block;
    margin-bottom: 8px;
    color: #10213d;
    font-size: 18px;
    font-weight: 900;
}

.page-hero-panel span,
.contact-card span,
.signup-summary span {
    display: block;
    color: #46566f;
    font-size: 14px;
    line-height: 1.48;
}

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

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

.feature-matrix article {
    padding: 26px;
}

.matrix-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.matrix-heading .circle-icon {
    width: 44px;
    height: 44px;
    margin: 0;
}

.matrix-heading h2,
.feature-matrix h2 {
    margin: 0;
    color: #10213d;
    font-size: 24px;
}

.feature-matrix p {
    color: #3a4963;
    font-size: 15px;
    line-height: 1.55;
}

.workflow-band {
    margin-top: 26px;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: 28px;
    border: 1px solid #d5e0ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.workflow-band h2 {
    margin-bottom: 10px;
    color: #10213d;
    font-size: 30px;
    line-height: 1.15;
}

.workflow-band p {
    margin-bottom: 0;
    color: #3b4b65;
    font-size: 16px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.workflow-steps li {
    border-left: 3px solid #1f6fd0;
    border-radius: 6px;
    background: #ffffff;
    padding: 14px 16px;
}

.workflow-steps strong {
    display: block;
    margin-bottom: 4px;
    color: #10213d;
    font-size: 15px;
}

.workflow-steps span {
    color: #4b5b74;
    font-size: 13px;
}

.pricing-page {
    width: min(1320px, calc(100% - 48px));
}

.pricing-hero {
    grid-template-columns: minmax(0, 1fr) 310px;
}

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

.price-card {
    position: relative;
    min-height: 312px;
    padding: 24px;
}

.price-card.highlighted {
    border-color: #1f6fd0;
    padding-top: 40px;
}

.price-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.price-head strong {
    color: #10213d;
    font-size: 26px;
    line-height: 1;
}

.tier-label {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 4px;
    background: #eef5ff;
    color: #1f6fd0;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}

.fee-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.fee-list div {
    padding: 10px;
    background: #f5faf5;
    border: 1px solid #d8ead8;
    border-radius: 6px;
}

.fee-list dt {
    color: #53627a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fee-list dd {
    margin: 2px 0 0;
    color: var(--brand-green);
    font-size: 16px;
    font-weight: 900;
}

.price-card p {
    color: #44536e;
    font-size: 14px;
    line-height: 1.5;
}

.best-fit {
    min-height: 42px;
}

.pricing-band {
    align-items: center;
}

.pricing-band .hero-actions {
    justify-content: flex-end;
    margin: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-points,
.section-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    color: #40506c;
    font-size: 14px;
}

.panel-points li,
.section-list li,
.pricing-notes li,
.price-card li {
    position: relative;
    padding-left: 18px;
    list-style: none;
}

.panel-points li::before,
.section-list li::before,
.pricing-notes li::before,
.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-green-light);
}

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

.resource-grid article {
    padding: 24px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.resource-grid h2 {
    margin-bottom: 10px;
    color: #10213d;
    font-size: 21px;
}

.resource-grid p {
    color: #40506c;
    font-size: 15px;
}

.resource-grid a,
.feature-matrix a {
    color: var(--brand-green);
    font-weight: 900;
}

.cms-block {
    width: min(1180px, calc(100% - 48px));
    margin: 22px auto;
    color: #26384f;
}

.cms-section {
    width: min(1180px, calc(100% - 48px));
    margin: 44px auto;
}

.cms-section .cms-block {
    width: auto;
    margin: 16px 0 0;
}

.section-heading h2 {
    margin: 0;
    color: #10213d;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
}

.cms-block-review,
.cms-block-faq,
.cms-block-resource {
    padding: 22px 24px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.cms-block-review blockquote {
    margin: 0 0 14px;
    color: #10213d;
    font-size: 18px;
    line-height: 1.55;
}

.cms-block-review p,
.cms-block-faq p,
.cms-block-resource p {
    margin-bottom: 0;
}

.cms-block-review span {
    display: block;
    color: #65738a;
    font-size: 13px;
}

.cms-block-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 26px;
    border: 1px solid #cfe2cf;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5fbf5 0%, #ffffff 100%);
    box-shadow: var(--soft-shadow);
}

.cms-block-cta h2 {
    margin-bottom: 6px;
    color: #10213d;
    font-size: 28px;
}

.site-footer {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 34px;
    border-top: 1px solid #d9e4f2;
    color: #40506c;
}

.footer-brand {
    display: grid;
    grid-template-columns: 72px minmax(0, 680px);
    gap: 18px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    margin-bottom: 6px;
    color: #10213d;
    font-size: 24px;
}

.footer-brand p {
    margin: 0;
    max-width: 720px;
}

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

.footer-links h2 {
    margin: 0 0 10px;
    color: #10213d;
    font-size: 14px;
}

.footer-links a {
    display: block;
    margin: 7px 0;
    color: #40506c;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--brand-green);
    text-decoration: underline;
}

.footer-bottom {
    margin: 28px 0 0;
    color: #65738a;
    font-size: 13px;
}

.signup-page {
    width: min(1240px, calc(100% - 48px));
}

.signup-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1fr);
    gap: 42px;
    align-items: start;
}

.signup-copy h1 {
    margin-bottom: 18px;
    color: #092247;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 900;
}

.signup-copy > p {
    color: #35445f;
    font-size: 18px;
    line-height: 1.6;
}

.signup-summary {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.signup-summary article {
    padding: 18px 20px;
}

.signup-form {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 26px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.form-heading,
.checkbox,
.form-error,
.form-success,
.signup-form .button {
    grid-column: 1 / -1;
}

.form-heading {
    margin-bottom: 4px;
}

.form-heading h2 {
    margin-bottom: 5px;
    color: #10213d;
    font-size: 26px;
}

.form-heading p {
    margin: 0;
    color: #53627a;
    font-size: 14px;
}

.signup-form label:not(.checkbox) {
    margin-bottom: -7px;
    color: #172846;
    font-size: 12px;
    font-weight: 900;
}

.signup-form input,
.signup-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #b9c7da;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
    padding: 0 12px;
}

.signup-form input:focus,
.signup-form select:focus {
    outline: 3px solid rgba(31, 111, 208, 0.15);
    border-color: #1f6fd0;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #46566f;
    font-size: 14px;
    line-height: 1.45;
}

.checkbox input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 1px 0 0;
}

.checkbox a {
    color: #1f6fd0;
    font-weight: 850;
}

.form-error {
    min-height: 20px;
    margin: 0;
    color: #a92e2e;
    font-size: 14px;
    font-weight: 800;
}

.form-success {
    min-height: 20px;
    margin: 0;
    color: #247a50;
    font-size: 14px;
    font-weight: 800;
}

.signup-form .button {
    width: fit-content;
    min-width: 190px;
    cursor: pointer;
}

.signup-form .button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.contact-card {
    display: grid;
    gap: 14px;
}

.contact-card .button {
    width: fit-content;
}

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

.portal-grid article {
    padding: 24px;
}

.portal-grid article > span {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 4px;
    background: #eef5ff;
    color: #1f6fd0;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}

.portal-grid h2 {
    margin-bottom: 10px;
    color: #10213d;
    font-size: 22px;
}

.portal-grid p {
    min-height: 86px;
    color: #46566f;
    font-size: 14px;
    line-height: 1.5;
}

#signupStatus {
    margin: 0;
    padding: 24px;
    color: #10213d;
    font-size: 16px;
    font-weight: 800;
}

.marketing-shell {
    width: min(900px, calc(100% - 48px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 60px 0 76px;
    display: flex;
    align-items: flex-start;
}

.marketing-panel,
.legal-panel {
    width: 100%;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--soft-shadow);
    padding: 34px;
}

.legal-panel h1 {
    color: #092247;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.1;
}

.legal-panel h2 {
    margin: 30px 0 8px;
    color: #10213d;
    font-size: 22px;
}

.legal-panel p {
    color: #3f4f69;
    font-size: 16px;
    line-height: 1.6;
}

.eyebrow {
    margin-bottom: 10px;
    color: #1f6fd0;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.marketing-footer {
    margin-top: 28px;
}

.marketing-footer a {
    color: #1f6fd0;
    font-weight: 850;
}

@media (max-width: 1360px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .hero-section {
        grid-template-columns: 1fr;
        width: min(1180px, calc(100% - 48px));
        padding-top: 44px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .preview-content {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr);
    }

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

    .feature-strip article {
        border-bottom: 1px solid #d5e0ef;
    }

    .pricing-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1040px) {
    .site-header {
        position: relative;
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px 24px;
    }

    .site-nav {
        display: none;
    }

    .site-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow-x: visible;
        width: 100%;
        gap: 12px;
    }

    .mobile-menu {
        display: block;
        justify-self: end;
    }

    .site-nav a,
    .site-nav summary,
    .mobile-menu summary,
    .site-login,
    .site-cta {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .site-login {
        display: none;
    }

    .hero-benefits,
    .preview-content,
    .page-hero,
    .feature-matrix,
    .feature-matrix.compact,
    .workflow-band,
    .pricing-grid,
    .resource-grid,
    .footer-links,
    .cms-block-cta,
    .signup-layout,
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: static;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
    }

    .nav-group {
        flex: 0 0 auto;
    }

    .dashboard-preview,
    .hero-copy,
    .preview-content,
    .preview-topbar {
        max-width: 100%;
        min-width: 0;
    }

    .preview-topbar nav {
        flex-wrap: wrap;
        white-space: normal;
    }

    .preview-topbar {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 12px;
    }

    .preview-topbar nav,
    .preview-account {
        padding: 0 16px;
    }

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

    .proof-band,
    .showcase-grid,
    .pricing-advisor,
    .fee-explainer,
    .contact-intake {
        grid-template-columns: 1fr;
    }

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

    .compare-table {
        overflow-x: auto;
    }

    .compare-table [role="row"] {
        min-width: 760px;
    }

    .fee-explainer,
    .contact-intake {
        align-items: stretch;
    }

    .mini-price-grid {
        grid-template-columns: 1fr;
    }

    .pricing-band .hero-actions {
        justify-content: flex-start;
    }

    .footer-brand {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .footer-logo {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 680px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        max-width: 100vw;
        padding: 14px;
        overflow: visible;
    }

    .brand {
        min-width: 0;
        font-size: 22px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .site-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mobile-menu div {
        left: 14px;
        right: 14px;
        grid-template-columns: 1fr;
    }

    .site-cta {
        width: 100%;
        min-width: 0;
    }

    .site-cta {
        padding: 0 10px;
        white-space: normal;
        text-align: center;
        line-height: 1.15;
    }

    .hero-section,
    .page-shell,
    .signup-page,
    .pricing-page,
    .marketing-shell {
        width: calc(100% - 24px);
        padding-top: 34px;
    }

    .hero-section {
        inline-size: calc(100% - 24px);
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        max-width: calc(100% - 24px);
        overflow: hidden;
    }

    .hero-copy {
        width: min(100%, 350px);
        max-width: 350px;
        padding-top: 0;
    }

    .hero-copy h1,
    .page-hero h1,
    .signup-copy h1 {
        width: 100%;
        max-width: 350px;
        font-size: clamp(27px, 7.6vw, 30px);
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .hero-copy > p,
    .page-hero p,
    .signup-copy > p {
        max-width: 350px;
        font-size: 16px;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .hero-note {
        max-width: 350px;
        overflow-wrap: break-word;
    }

    .dashboard-preview,
    .dashboard-preview *,
    .preview-content,
    .preview-content * {
        min-width: 0;
    }

    .hero-actions .button,
    .hero-actions,
    .contact-card .button,
    .signup-form .button {
        width: 100%;
    }

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

    .proof-band,
    .showcase-band,
    .pricing-advisor,
    .plan-compare,
    .fee-explainer,
    .contact-intake,
    .home-flow {
        width: min(100% - 24px, 1180px);
    }

    .proof-band,
    .advisor-grid,
    .contact-form,
    .site-mini-body {
        grid-template-columns: 1fr;
    }

    .fee-explainer,
    .contact-intake {
        padding: 20px;
    }

    .site-mini-body > div:first-child {
        padding: 22px;
    }

    .feature-strip article {
        border-right: 0;
    }

    .pricing-preview {
        padding: 28px 18px;
    }

    .signup-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .dispatch-table div,
    .activity-list li,
    .route-progress li {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 4px;
        padding: 10px 0;
    }

    .activity-list .avatar,
    .activity-list .status-dot,
    .route-progress i {
        display: none;
    }

    .marketing-panel,
    .legal-panel,
    .workflow-band,
    .feature-matrix article,
    .price-card,
    .resource-grid article,
    .cms-block-cta,
    .cms-block-review,
    .cms-block-faq,
    .cms-block-resource,
    .portal-grid article,
    .page-hero-panel,
    .contact-card {
        padding: 20px;
    }

    .cms-block,
    .cms-section,
    .site-footer {
        width: min(100% - 24px, 1180px);
    }

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