/* Recovered Revenue — customer website.
   Edit the color variables first. Homepage section names match index.html.
   Legacy policy pages keep their existing stylesheet until separately updated. */
@font-face {
    font-family: Manrope;
    src: url("/assets/fonts/manrope-regular.ttf") format("truetype");
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: Manrope;
    src: url("/assets/fonts/manrope-bold.ttf") format("truetype");
    font-weight: 600 900;
    font-display: swap;
}

:root {
    --ink: #183d35;
    --muted: #62746e;
    --orange: #ff9b53;
    --orange-hover: #ffb276;
    --paper: #fcfcf8;
    --sage: #e8efdf;
    --line: #dce3db;
    --radius: 24px;
    --shadow: 0 20px 65px #173c3510;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 Manrope,
    Arial,
    sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #aa5517;
    outline-offset: 5px;
}

svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.05em;
}

h1 {
    font-size: clamp(48px, 5.1vw, 76px);
    margin-bottom: 26px;
}

h2 {
    font-size: clamp(34px, 3.5vw, 50px);
    margin-bottom: 26px;
}

h3 {
    font-size: 23px;
    letter-spacing: -0.035em;
}

p {
    margin-bottom: 20px;
}

.container {
    max-width: 1280px;
    margin-inline: auto;
    width: calc(100% - 96px);
}

.section {
    padding-block: 105px;
}

.eyebrow,
.tiny-label,
.art-tag {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.eyebrow {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tiny-label {
    display: block;
    letter-spacing: 0.08em;
}

.micro,
.fine-print {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
}

.micro {
    margin: 17px 0 0;
}

.fine-print {
    margin: 18px 0 0;
}

.text-link {
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding: 17px 26px;
    border: 0;
    border-radius: 50px;
    background: var(--orange);
    color: #142f29;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    min-height: 54px;
    transition: background 0.18s,
    transform 0.18s;
}

.button:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.dark-button {
    background: var(--ink);
    color: white;
}

.dark-button:hover {
    background: #2e584c;
}

.status-dot {
    display: inline-block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4e8651;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: white;
    padding: 12px;
    z-index: 100;
}

.skip-link:focus {
    top: 10px;
}

.icon-definitions {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Header, navigation and the ever-present consultation action. */
.offer-bar {
    text-align: center;
    background: var(--ink);
    color: #fff;
    padding: 11px 20px;
    font-size: 13px;
    line-height: 1.5;
}

.offer-bar a {
    margin-left: 18px;
    color: #ffc393;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fcfcf8f5;
    border-bottom: 1px solid #183d350a;
    backdrop-filter: blur(15px);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 100px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.045em;
    font-size: 22px;
    line-height: 1.04;
    flex-shrink: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--ink);
    color: var(--orange);
    border-radius: 13px;
    width: 49px;
    height: 51px;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.12em;
    padding-right: 9px;
    padding-bottom: 3px;
}

.brand-mark > span {
    font-size: 30px;
    position: absolute;
    top: 1px;
    right: 3px;
}

.brand-period {
    color: #db742c;
}

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

.main-nav a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover {
    color: #b95418;
}

.nav-cta {
    font-size: 14px;
    padding: 15px 24px;
    min-height: 50px;
    margin-left: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
}

/* Hero: HTML/CSS product visual keeps the story relevant and the page fast. */
.hero {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 64px;
    align-items: center;
    padding-block: 70px 80px;
}

.hero .eyebrow {
    font-size: 11px;
}

.muted-heading {
    color: #80907b;
}

.hero-intro {
    font-size: 21px;
    line-height: 1.5;
    font-weight: 600;
    max-width: 540px;
}

.hero-description {
    color: var(--muted);
    max-width: 515px;
}

.hero .button {
    font-size: 14px;
    padding: 18px 24px;
}

.engine-visual {
    position: relative;
    isolation: isolate;
    border-radius: 30px;
    padding: 28px;
    background: #e4eddc;
    min-height: 565px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #183d3507;
}

.visual-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#183d3506 1px, transparent 1px),
    linear-gradient(90deg, #183d3506 1px, transparent 1px);
    background-size: 34px 34px;
    z-index: -1;
}

.visual-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.visual-heading .tiny-label {
    font-size: 10px;
    letter-spacing: 0.13em;
}

.circle-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #adbb9e;
    border-radius: 50%;
    font-size: 26px;
}

.ad-preview {
    width: 88%;
    background: #fff;
    border: 1px solid #d2ddc8;
    border-radius: 15px;
    padding: 21px 23px;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
    position: relative;
    z-index: 1;
}

.mock-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 15px;
}

.mock-logo {
    font-weight: 800;
    color: var(--ink);
    font-size: 15px;
}

.mock-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f5f0;
    border: 1px solid #e2e7de;
    border-radius: 30px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 15px;
}

.mock-search svg {
    width: 16px;
    height: 16px;
}

.ad-preview > strong {
    font-size: 14px;
}

.mock-links {
    display: flex;
    gap: 18px;
    margin-top: 11px;
    font-size: 12px;
    font-weight: 700;
    color: #56714c;
}

.connection-line {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #708664;
    font-size: 24px;
    position: relative;
    z-index: 0;
}

.riley-preview {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--ink);
    color: white;
    border-radius: 17px;
    padding: 22px 20px;
    position: relative;
    z-index: 3;
    margin-left: 26px;
    margin-right: -7px;
    box-shadow: 0 15px 25px #183d3525;
    transform: rotate(1.5deg);
}

.riley-avatar {
    height: 58px;
    width: 58px;
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.riley-avatar span {
    display: block;
    width: 3px;
    height: 12px;
    background: var(--ink);
    border-radius: 4px;
}

.riley-avatar span:nth-child(2),
.riley-avatar span:nth-child(4) {
    height: 24px;
}

.riley-avatar span:nth-child(3) {
    height: 34px;
}

.riley-preview .tiny-label {
    font-size: 9px;
    color: #c2d2b9;
}

.riley-preview p {
    font-size: 16px;
    font-weight: 600;
    margin: 7px 0 0;
    line-height: 1.45;
}

.connection-check {
    margin-left: auto;
    font-size: 20px;
    color: #c8deb7;
}

.calendar-preview {
    background: white;
    border: 1px solid #d9e2d1;
    border-radius: 16px;
    padding: 20px 21px;
    margin: 24px 0 0 8px;
    width: 94%;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
}

.calendar-preview .mock-topline {
    margin-bottom: 16px;
}

.calendar-preview .mock-topline strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink);
}

.calendar-preview svg {
    width: 17px;
    height: 17px;
}

.booked-pill {
    background: #e9f0df;
    color: #476331;
    border-radius: 30px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 700;
}

.calendar-event {
    display: flex;
    gap: 15px;
    border-left: 3px solid var(--orange);
    padding: 4px 0 4px 12px;
}

.event-time {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    padding-top: 2px;
}

.event-time small {
    font-size: 11px;
    color: var(--muted);
}

.calendar-event strong {
    font-size: 13px;
}

.calendar-event p {
    font-size: 10px;
    margin: 3px 0;
    color: var(--muted);
}

.calendar-event div > span {
    font-size: 10px;
    color: #6a7e59;
}

.visual-caption {
    font-size: 10px;
    color: #66745d;
    text-align: center;
    margin: 22px 0 0;
}

.trade-strip {
    border-block: 1px solid var(--line);
    background: #f4f5ee;
}

.trade-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    min-height: 98px;
}

.trade-strip span {
    font-size: 10px;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--muted);
}

.trade-strip strong {
    font-size: 21px;
    letter-spacing: -0.045em;
    color: #5c6f60;
}

/* Headings, problem and three core services. */
.section-heading {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 90px;
    margin-bottom: 47px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    margin-bottom: 3px;
    color: var(--muted);
    max-width: 430px;
    font-size: 17px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-top: 50px;
}

.problem-grid article + article {
    border-left: 1px solid var(--line);
    padding-left: 36px;
}

.line-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1e7d8;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}

.problem-grid h3 {
    max-width: 310px;
    line-height: 1.3;
}

.problem-grid p {
    color: var(--muted);
    margin-bottom: 0;
}

.services-section {
    background: #eef2e9;
}

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

.pillar {
    border-radius: 20px;
    background: var(--paper);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce4d4;
}

.pillar-art {
    height: 218px;
    position: relative;
    overflow: hidden;
    padding: 25px;
}

.art-tag {
    font-size: 10px;
    position: relative;
    z-index: 2;
}

.ads-art {
    background: #d8e4ce;
}

.ad-bars {
    display: flex;
    align-items: end;
    gap: 13px;
    position: absolute;
    left: 32px;
    right: 80px;
    bottom: 42px;
    height: 104px;
}

.ad-bars span {
    height: 30%;
    flex: 1;
    background: #8daa79;
    border-radius: 5px 5px 0 0;
}

.ad-bars span:nth-child(2) {
    height: 49%;
}

.ad-bars span:nth-child(3) {
    height: 72%;
    background: #588266;
}

.ad-bars span:nth-child(4) {
    height: 100%;
    background: #244f3d;
}

.art-round {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--orange);
    border-radius: 50%;
    right: 30px;
    top: 76px;
    transform: rotate(-7deg);
}

.art-caption {
    position: absolute;
    bottom: 16px;
    font-size: 11px;
    font-weight: 700;
}

.web-art {
    background: #f4d3b2;
}

.mini-browser {
    background: var(--paper);
    border: 1px solid #d8bc9e;
    border-radius: 10px;
    position: absolute;
    width: 75%;
    top: 55px;
    left: 14%;
    height: 189px;
    padding: 14px 18px;
    transform: rotate(-4deg);
    box-shadow: 0 10px 20px #5b3b1d16;
}

.mini-browser > div {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e8e6dd;
    padding-bottom: 9px;
}

.mini-browser i {
    display: block;
    width: 4px;
    height: 4px;
    background: #c5cbbb;
    border-radius: 50%;
}

.mini-browser strong {
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.045em;
    display: block;
}

.mini-browser > span {
    display: inline-block;
    margin-top: 12px;
    background: var(--orange);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 9px;
    font-weight: 800;
}

.voice-art {
    background: #21473f;
    color: #dbe7d2;
}

.waveform {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.waveform i {
    display: block;
    width: 6px;
    height: 17px;
    border-radius: 6px;
    background: #b6cba0;
}

.waveform i:nth-child(2n) {
    height: 35px;
}

.waveform i:nth-child(3n) {
    height: 57px;
    background: var(--orange);
}

.waveform i:nth-child(5n) {
    height: 76px;
}

.voice-art-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-top: 16px;
}

.voice-art-label .status-dot {
    background: #ffb073;
}

.pillar-body {
    padding: 30px 27px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pillar-body h3 {
    font-size: 25px;
    line-height: 1.18;
}

.pillar-body p {
    font-size: 15px;
    color: var(--muted);
}

.check-list {
    padding: 0;
    list-style: none;
    margin: 4px 0 14px;
}

.check-list li {
    font-size: 13px;
    margin: 11px 0;
    position: relative;
    padding-left: 22px;
    font-weight: 600;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #618145;
}

.pillar-body .fine-print {
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    border-top: 1px solid var(--line);
    margin-bottom: 0;
}

/* Riley conversation illustration. */
.riley-section,
.hub-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.riley-copy > p:not(.eyebrow):not(.fine-print),
.hub-section > div > p:not(.eyebrow):not(.fine-print) {
    color: var(--muted);
}

.riley-copy .button {
    margin-top: 9px;
    font-size: 15px;
}

.conversation-card {
    background: #f0f2e9;
    border: 1px solid #e0e5d8;
    border-radius: 26px;
    padding: 32px;
}

.conversation-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 30px;
}

.riley-avatar.small {
    height: 45px;
    width: 45px;
}

.riley-avatar.small span {
    transform: scaleY(0.75);
}

.conversation-top > div:nth-child(2) > span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.sample-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-left: auto;
}

.bubble {
    font-size: 14px;
    line-height: 1.6;
    padding: 16px 20px;
    max-width: 86%;
    margin-bottom: 16px;
    box-shadow: 0 3px 6px #183d3503;
}

.homeowner {
    margin-left: auto;
    background: white;
    border-radius: 16px 16px 3px 16px;
}

.assistant-bubble {
    background: #dfe8d4;
    border-radius: 16px 16px 16px 3px;
}

.call-result {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #d7dece;
}

.call-result > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--orange);
}

.call-result p {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
}

.conversation-card > .fine-print {
    font-size: 10px;
}

/* Visual package selector; example only, not a payment checkout. */
.packages-section {
    background: #f6eee2;
}

.package-showcase {
    background: var(--paper);
    border: 1px solid #e2d9c9;
    border-radius: var(--radius);
    padding: 34px;
}

.showcase-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 27px;
}

.showcase-heading strong {
    font-size: 18px;
    letter-spacing: -0.025em;
}

.showcase-heading p {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 0;
}

.outline-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid #d6dccf;
    border-radius: 20px;
    padding: 6px 10px;
    white-space: nowrap;
}

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

.package-option {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    padding: 27px;
    border: 1px solid #d7dece;
    border-radius: 15px;
    color: var(--ink);
    background: #f9faf4;
    transition: background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.package-option:hover {
    transform: translateY(-3px);
    border-color: #6a8163;
}

.package-option.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.package-symbol {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #acb9a6;
    border-radius: 50%;
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 700;
}

.package-option.active .package-symbol {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
}

.package-option .tiny-label {
    font-size: 9px;
    margin-bottom: 9px;
    opacity: 0.8;
}

.package-option > strong {
    font-size: 23px;
    letter-spacing: -0.055em;
    line-height: 1.2;
    margin-bottom: 13px;
}

.package-option
> span:not(.tiny-label):not(.package-symbol):not(.package-link) {
    font-size: 13px;
    line-height: 1.65;
    opacity: 0.85;
}

.package-option .package-link {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #87968055;
    width: 100%;
    font-size: 12px;
    font-weight: 700;
}

.package-option.active .package-link {
    color: #ffbd85;
}

.package-detail {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 35px 0 15px;
}

.package-detail .tiny-label {
    font-size: 9px;
    color: var(--muted);
}

.package-detail h3 {
    margin: 10px 0;
    font-size: 23px;
}

.package-detail p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

.package-detail ol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-detail li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-detail li span {
    height: 26px;
    width: 26px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.showcase-note {
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--muted);
    padding-top: 18px;
    margin: 12px 0 0;
}

/* Client hub panels and keyboard-accessible tabs. */
.hub-visual {
    background: #fff;
    border-radius: 23px;
    border: 1px solid #d7dfd1;
    box-shadow: var(--shadow);
    padding: 26px;
}

.hub-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.brand-mark.mini {
    width: 31px;
    height: 32px;
    font-size: 23px;
    padding: 0;
    border-radius: 8px;
}

.hub-top strong {
    font-size: 16px;
    letter-spacing: -0.03em;
}

.hub-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 25px;
}

.hub-tabs button {
    border: 0;
    background: transparent;
    font-size: 12px;
    color: var(--muted);
    padding: 12px 10px;
    border-bottom: 2px solid transparent;
}

.hub-tabs button[aria-selected="true"] {
    color: var(--ink);
    border-color: var(--ink);
    font-weight: 800;
}

#hub-panel {
    min-height: 295px;
}

.mini-schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 230px;
}

.schedule-day {
    text-align: center;
    border-radius: 10px;
    border: 1px solid #e5e8e1;
    padding: 12px 8px;
    background: #fcfcf8;
}

.schedule-day > span {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.08em;
    display: block;
}

.schedule-day > strong {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 3px 0 16px;
}

.schedule-day.selected {
    background: #f0f4e8;
}

.schedule-block {
    font-size: 10px;
    border-radius: 6px;
    text-align: left;
    padding: 9px 7px;
    margin-bottom: 8px;
    border-left: 2px solid #6c8a52;
    line-height: 1.5;
}

.schedule-block small {
    display: block;
    font-size: 9px;
    opacity: 0.8;
}

.sage {
    background: #dfe8d2;
}

.orange {
    background: #ffe1c5;
    border-color: #f79549;
}

.pale {
    border: 1px dashed #c5d0b8;
    background: transparent;
    color: #768369;
}

.hub-panel-note {
    font-size: 11px;
    color: var(--muted);
    margin: 18px 0 0;
    line-height: 1.6;
}

.hub-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.hub-timeline > div {
    padding: 17px;
    background: #f4f6ee;
    border: 1px solid #e0e6d8;
    border-radius: 11px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.hub-timeline .step-check {
    width: 25px;
    height: 25px;
    background: #dce9ce;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex-shrink: 0;
}

.hub-timeline strong {
    font-size: 13px;
    display: block;
}

.hub-timeline p {
    font-size: 12px;
    margin: 3px 0 0;
    color: var(--muted);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.feature-list li {
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.feature-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-list span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

/* Process and guarantee. */
.process-section {
    background: var(--ink);
    color: #fff;
}

.process-section .eyebrow {
    color: #d7e4c8;
}

.process-section h2 {
    max-width: 830px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    margin-top: 55px;
}

.process-grid article {
    border-top: 1px solid #ffffff40;
    padding-top: 23px;
}

.process-grid article > span {
    color: #ffb073;
    font-size: 14px;
}

.process-grid h3 {
    font-size: 22px;
    margin: 22px 0 14px;
}

.process-grid p {
    font-size: 14px;
    color: #c5d2c5;
}

.process-section .fine-print {
    color: #a6bcae;
    max-width: 900px;
    font-size: 12px;
}

/* Business-need selector: Riley and advertising remain separate offers. */
.offer-selector-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}
.offer-selector-heading .eyebrow { justify-content: center; }
.offer-selector-heading h2 { margin-bottom: 18px; text-wrap: balance; }
.offer-selector-heading > p:last-child { color: var(--muted); }
.offer-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    margin-bottom: 24px;
    background: #edf1e8;
    border: 1px solid #d9e0d0;
    border-radius: 24px;
}
.offer-tabs[hidden], .offer-panel[hidden] { display: none; }
.offer-tabs button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 22px 26px;
    color: #183d35;
    border: 2px solid transparent;
    border-radius: 17px;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.offer-tabs button:hover { background: #f8faf5; }
.offer-tabs button[aria-selected="true"] {
    background: #fff5e8;
    border-color: #f4a253;
    box-shadow: 0 3px 12px #183d350a;
}
.offer-tabs button:focus-visible, .offer-panel:focus-visible {
    outline: 3px solid #183d35;
    outline-offset: 4px;
}
.offer-tab-kicker { font-size: 10px; letter-spacing: .07em; font-weight: 700; }
.offer-tabs button strong { font-size: 24px; line-height: 1.25; letter-spacing: -.03em; }
.offer-tabs button > span:last-child { font-size: 13px; color: #52665b; }
.offer-panel + .offer-panel { margin-top: 24px; }
.offer-tabs:not([hidden]) ~ .offer-panel { margin-top: 0; }
.offer-panel-advertising .guarantee-promise { background: #f4eadb; }
.offer-panel-advertising .price-breakdown > div > strong { font-size: 30px; }
.offer-panel-note { font-size: 13px; color: var(--muted); margin: 24px 15px 0; }
.offer-combination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 32px;
    padding: 28px 32px;
    border: 1px solid #d9e0d0;
    border-radius: 20px;
    background: #fff;
}
.offer-combination h3 { font-size: 21px; margin: 0 0 10px; }
.offer-combination p { max-width: 740px; margin: 0; color: var(--muted); font-size: 14px; }
.offer-combination > a { flex-shrink: 0; }
@media (max-width: 720px) {
    .offer-selector-heading { text-align: left; }
    .offer-selector-heading .eyebrow { justify-content: flex-start; }
    .offer-tabs { gap: 6px; padding: 6px; border-radius: 18px; }
    .offer-tabs button { padding: 15px 12px; border-radius: 13px; gap: 8px; }
    .offer-tabs button strong { font-size: 18px; }
    .offer-tab-kicker { font-size: 8px; letter-spacing: .03em; }
    .offer-tabs button > span:last-child { font-size: 11px; }
    .offer-combination { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
}

.guarantee-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid #d9e0d0;
    border-radius: 27px;
    background: #f2f5eb;
}

.guarantee-promise {
    padding: 47px;
    background: #e5edda;
}

.guarantee-promise .eyebrow {
    font-size: 10px;
}

.big-five {
    font-size: 130px;
    letter-spacing: -0.07em;
    line-height: 0.9;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 32px 0 25px;
    font-weight: 800;
}

.big-five > span {
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.guarantee-promise h2 {
    font-size: 39px;
    margin-bottom: 20px;
}

.guarantee-promise > p:not(.eyebrow) {
    font-size: 15px;
    color: #56694f;
}

.price-breakdown {
    padding: 29px 45px 33px;
}

.price-breakdown > div {
    padding: 25px 0;
    border-bottom: 1px solid #d8dfcf;
}

.price-breakdown .tiny-label {
    font-size: 9px;
    color: #647658;
}

.price-breakdown > div > strong {
    font-size: 40px;
    letter-spacing: -0.05em;
    display: block;
    margin: 9px 0;
}

.price-breakdown small {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    margin-left: 5px;
}

.price-breakdown p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

.price-breakdown .initial-cost {
    font-size: 12px;
    margin-top: 25px;
}

.offer-clarity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 65px;
    margin: 32px 15px 0;
}

.offer-clarity h3 {
    font-size: 17px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.offer-clarity p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 0;
}

.offer-clarity > .fine-print {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 0;
    font-size: 12px;
}

/* Questions, final call to action, and preserved contact form. */
.faq-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 90px;
    padding-top: 20px;
}

.faq-section > div > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 300px;
}

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

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 23px 30px 23px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary:after {
    content: "+";
    position: absolute;
    right: 1px;
    font-size: 22px;
    font-weight: 400;
    top: 20px;
}

.faq-list details[open] summary:after {
    content: "−";
}

.faq-list details p {
    font-size: 14px;
    color: var(--muted);
    padding-right: 25px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.final-section {
    background: #efd9bd;
}

/* Top-aligned so the tall inquiry form no longer leaves a large gap above the copy. */
.final-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 90px;
    align-items: start;
}

.final-grid h2 {
    font-size: clamp(49px, 5vw, 73px);
}

.final-grid > div > p:not(.eyebrow):not(.micro) {
    font-size: 18px;
    max-width: 500px;
    color: #4a5a48;
}

.final-grid .micro {
    font-size: 12px;
    color: #4a5a48;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 90px;
}

.contact-section h2 {
    font-size: 37px;
}

.contact-section > div > p a {
    font-size: 15px;
}

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

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    background: white;
    border: 1px solid #cdd7ca;
    border-radius: 8px;
    color: var(--ink);
    margin-bottom: 20px;
    font-size: 15px;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

form .button {
    font-size: 13px;
    padding: 15px 23px;
    min-height: 48px;
}

form .fine-print {
    font-size: 11px;
    margin-top: 15px;
}

#form-status {
    font-size: 13px;
    color: #506c45;
}

.site-footer {
    background: #edf1e7;
    padding: 56px 0 110px;
}

/* Full footer: brand, tagline, then the Services and Company link columns. */
.footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 32px 64px;
    padding-bottom: 42px;
}

.footer-top > .brand {
    justify-self: start;
}

.footer-top > p {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.035em;
    margin-top: 3px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 160px;
    font-size: 14px;
    line-height: 1.45;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #2e584c;
}

.footer-heading {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-bottom {
    border-top: 1px solid #d6dece;
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 25px;
    font-size: 13px;
    color: #506c45;
}

.footer-bottom a {
    display: inline-block;
    margin-right: 20px;
}

/* Lazy-loaded calendar dialog. Flex column: the calendar takes the leftover
   height, so the dialog fits the viewport without a second scrollbar. */
#booking-dialog {
    width: min(1140px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    border: 0;
    border-radius: 23px;
    padding: 22px 28px 16px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 30px 100px #0004;
}

/* Only when open, so the browser still hides the closed dialog. */
#booking-dialog[open] {
    display: flex;
    flex-direction: column;
}

#booking-dialog > * {
    flex-shrink: 0;
}

#booking-dialog::backdrop {
    background: #0b241ecc;
    backdrop-filter: blur(5px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.dialog-header .eyebrow {
    font-size: 10px;
    margin-bottom: 5px;
}

.dialog-header h2 {
    font-size: 29px;
    letter-spacing: -0.04em;
    margin: 0;
}

.dialog-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.dialog-intro {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 12px;
}

/* The calendar may shrink (never below min-height) to keep the dialog on screen. */
#booking-dialog > .calendar-container {
    flex: 0 1 auto;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    position: relative;
}

.calendar-container iframe {
    display: block;
    flex: 0 1 auto;
    width: 100%;
    min-height: 0;
    height: 620px;
    height: clamp(620px, calc(100dvh - 190px), 920px);
    border: 0;
    background: white;
    position: relative;
}

.calendar-loading {
    padding: 35px;
    font-size: 14px;
    color: var(--muted);
    position: absolute;
    inset: 0;
}

.dialog-fallback {
    font-size: 11px;
    color: var(--muted);
    margin: 10px 0 0;
}

@media (min-width: 721px) and (max-width: 1100px) {
    /* HighLevel stacks its calendar when the iframe is under about 981px wide.
       Override the browser's own modal max-width and use thinner side padding
       so a 1024px (iPad landscape) screen keeps the side-by-side calendar. */
    #booking-dialog {
        width: calc(100% - 12px);
        max-width: calc(100% - 12px);
        padding: 16px 12px 12px;
    }
}

/* Shared article styles: Riley pricing, solutions, quote and service pages. */
.article-page {
    max-width: 850px;
    padding: 75px 0 90px;
}

.article-page h1 {
    font-size: 52px;
}

.article-page h2 {
    font-size: 29px;
    margin-top: 42px;
    margin-bottom: 17px;
}

.article-page h3 {
    font-size: 20px;
    margin-top: 25px;
}

.article-page p,
.article-page li {
    color: var(--muted);
}

.article-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.article-page th,
.article-page td {
    border-bottom: 1px solid var(--line);
    padding: 16px;
    text-align: left;
    vertical-align: top;
}

.article-page th {
    background: #edf2e6;
}

.article-page .notice {
    margin: 36px 0;
    padding: 22px;
    background: #f6ecdd;
    border-radius: 13px;
}

.article-page .notice > h2:first-child {
    margin-top: 0;
}

/* Founder card on article pages (/hvac/): clear space above, heading aligned with the card top. */
.article-page .about-grid {
    margin-top: 48px;
    align-items: start;
}

.article-page .about-copy > h2:first-child {
    margin-top: 0;
}

/* Tablet and mobile: controls remain readable and reachable. */
@media (min-width: 1550px) {
    .hero {
        padding-block: 90px;
    }

    .engine-visual {
        min-height: 590px;
    }

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

@media (max-width: 1150px) {
    .container {
        width: calc(100% - 64px);
    }

    .main-nav {
        gap: 18px;
    }

    .nav-inner {
        gap: 18px;
    }

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

    .brand {
        font-size: 19px;
    }

    .hero {
        gap: 35px;
    }

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

    .engine-visual {
        padding: 22px;
    }

    .riley-preview {
        padding: 18px 15px;
        margin-left: 10px;
    }

    .riley-preview p {
        font-size: 14px;
    }

    .hero .actions {
        gap: 19px;
    }

    .hero .button {
        padding: 17px 20px;
    }

    .section-heading {
        gap: 45px;
    }

    .riley-section,
    .hub-section {
        gap: 55px;
    }

    .pillar-body {
        padding: 25px 22px;
    }

    .pillar-body h3 {
        font-size: 23px;
    }

    .package-option {
        padding: 23px;
    }

    .package-option > strong {
        font-size: 21px;
    }

    .guarantee-promise {
        padding: 38px;
    }

    .price-breakdown {
        padding-inline: 33px;
    }

    .faq-section {
        gap: 50px;
    }

    .footer-top {
        gap: 32px 40px;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 48px);
    }

    .nav-inner {
        min-height: 83px;
    }

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 13px 18px;
        min-height: 45px;
    }

    .brand {
        font-size: 17px;
        gap: 9px;
    }

    .brand-mark {
        width: 40px;
        height: 43px;
        font-size: 36px;
    }

    .brand-mark > span {
        font-size: 25px;
    }

    .hero {
        gap: 25px;
        padding-top: 45px;
    }

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

    .hero-intro {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero .eyebrow {
        font-size: 9px;
    }

    .engine-visual {
        min-height: 515px;
        padding: 18px;
    }

    .visual-heading .tiny-label {
        font-size: 8px;
    }

    .ad-preview {
        width: 95%;
        padding: 18px;
    }

    .riley-preview {
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
        padding: 17px 13px;
    }

    .riley-avatar {
        width: 44px;
        height: 44px;
    }

    .riley-preview p {
        font-size: 12px;
    }

    .riley-preview .tiny-label {
        font-size: 8px;
    }

    .connection-check {
        display: none;
    }

    .calendar-preview {
        width: 100%;
        padding: 17px 13px;
        margin-left: 0;
    }

    .calendar-event {
        gap: 8px;
        padding-left: 9px;
    }

    .calendar-event p,
    .calendar-event div > span {
        font-size: 9px;
    }

    .event-time {
        font-size: 15px;
    }

    .visual-caption {
        font-size: 9px;
    }

    .trade-strip strong {
        font-size: 18px;
    }

    .section {
        padding-block: 75px;
    }

    .section-heading {
        gap: 35px;
    }

    .section-heading > p {
        font-size: 15px;
    }

    .problem-grid {
        gap: 24px;
    }

    .problem-grid article + article {
        padding-left: 23px;
    }

    .problem-grid h3 {
        font-size: 20px;
    }

    .problem-grid p {
        font-size: 14px;
    }

    .pillar-grid {
        gap: 15px;
    }

    .pillar-body {
        padding: 24px 19px;
    }

    .pillar-body h3 {
        font-size: 21px;
    }

    .pillar-body p {
        font-size: 14px;
    }

    .check-list li {
        font-size: 12px;
    }

    .mini-browser strong {
        font-size: 20px;
    }

    .pillar-art {
        height: 195px;
    }

    .riley-section,
    .hub-section {
        gap: 35px;
    }

    .conversation-card {
        padding: 23px;
    }

    .bubble {
        font-size: 12px;
    }

    .hub-visual {
        padding: 20px;
    }

    .package-showcase {
        padding: 25px;
    }

    .package-option {
        padding: 20px;
    }

    .package-option > strong {
        font-size: 19px;
    }

    .package-option
    > span:not(.tiny-label):not(.package-symbol):not(.package-link) {
        font-size: 12px;
    }

    .package-detail {
        gap: 30px;
    }

    .process-grid {
        gap: 25px;
    }

    .guarantee-promise {
        padding: 30px;
    }

    .price-breakdown {
        padding-inline: 28px;
    }

    .price-breakdown small {
        display: block;
        margin-left: 0;
    }

    .guarantee-promise h2 {
        font-size: 34px;
    }

    .big-five {
        font-size: 110px;
    }

    .big-five > span {
        font-size: 25px;
    }

    .contact-section,
    .final-grid,
    .faq-section {
        gap: 45px;
    }

    .faq-section {
        padding-top: 0;
    }

    /* Brand and tagline on the first row, the two link columns below. */
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 30px;
    }

    .footer-top > p {
        font-size: 19px;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 100px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .offer-bar {
        font-size: 11px;
        padding: 10px 18px;
    }

    .offer-bar a {
        display: none;
    }

    .offer-bar strong {
        font-weight: 600;
    }

    .nav-inner {
        min-height: 78px;
        gap: 12px;
    }

    .brand {
        font-size: 17px;
    }

    .brand-mark {
        width: 37px;
        height: 40px;
    }

    .nav-cta {
        margin-left: auto;
        gap: 8px;
        font-size: 12px;
        padding: 12px 17px;
        min-height: 44px;
    }

    .nav-cta svg {
        width: 16px;
        height: 16px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-right: -8px;
    }

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 20px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 20px #173c3510;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

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

    .main-nav a {
        font-size: 16px;
        padding: 14px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 43px 48px;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(43px, 8.8vw, 64px);
        letter-spacing: -0.055em;
        margin-bottom: 25px;
    }

    .hero h1 br:last-child {
        display: none;
    }

    .hero .eyebrow {
        font-size: 9px;
    }

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

    .hero-description {
        font-size: 15px;
        max-width: none;
    }

    .hero .actions {
        gap: 20px;
        margin-top: 26px;
    }

    .hero .button {
        font-size: 12px;
        padding: 17px 21px;
    }

    .hero .micro {
        font-size: 10px;
    }

    .engine-visual {
        max-width: 550px;
        width: 100%;
        margin-inline: auto;
        min-height: 540px;
        padding: 24px;
    }

    .visual-heading .tiny-label {
        font-size: 10px;
    }

    .ad-preview {
        width: 85%;
        padding: 20px;
    }

    .riley-preview {
        margin-left: 24px;
        margin-right: 0;
        padding: 19px 17px;
        gap: 14px;
    }

    .riley-preview p {
        font-size: 14px;
    }

    .riley-preview .tiny-label {
        font-size: 9px;
    }

    .riley-avatar {
        width: 50px;
        height: 50px;
    }

    .connection-check {
        display: block;
    }

    .calendar-preview {
        width: 90%;
        padding: 20px;
        margin-left: 5px;
    }

    .calendar-event strong {
        font-size: 13px;
    }

    .calendar-event p,
    .calendar-event div > span {
        font-size: 10px;
    }

    .calendar-event {
        gap: 13px;
    }

    .event-time {
        font-size: 18px;
    }

    .trade-strip .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        padding-block: 22px;
        min-height: 0;
    }

    .trade-strip span {
        grid-column: 1/-1;
        font-size: 9px;
        text-align: center;
    }

    .trade-strip span br {
        display: none;
    }

    .trade-strip strong {
        font-size: 13px;
        text-align: center;
    }

    .section {
        padding-block: 65px;
    }

    h2 {
        font-size: 35px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 23px;
        margin-bottom: 30px;
    }

    .section-heading > p {
        max-width: none;
    }

    .eyebrow {
        font-size: 10px;
        margin-bottom: 18px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 30px;
    }

    .problem-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 26px 0 0;
    }

    .problem-grid article {
        position: relative;
        padding-left: 0;
    }

    .line-icon {
        float: left;
        margin: 0 19px 40px 0;
        width: 43px;
        height: 43px;
    }

    .problem-grid h3 {
        font-size: 21px;
        max-width: none;
        margin-bottom: 10px;
    }

    .problem-grid p {
        padding-left: 62px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pillar {
        display: grid;
        grid-template-columns: 0.8fr 1fr;
    }

    .pillar-art {
        height: 100%;
        min-height: 335px;
    }

    .pillar-body {
        padding: 24px 20px;
    }

    .pillar-body h3 {
        font-size: 22px;
    }

    .pillar-body h3 br {
        display: none;
    }

    .check-list li {
        font-size: 12px;
    }

    .pillar-body .fine-print {
        font-size: 11px;
    }

    .ad-bars {
        left: 23px;
        right: 23px;
        bottom: 70px;
        gap: 8px;
        height: 120px;
    }

    .art-round {
        right: 20px;
        top: 72px;
    }

    .art-caption {
        left: 20px;
        right: 20px;
        font-size: 10px;
        bottom: 30px;
    }

    .mini-browser {
        width: 120%;
        top: 95px;
        left: 15px;
        height: 220px;
    }

    .mini-browser strong {
        font-size: 25px;
    }

    .waveform {
        height: 110px;
        margin-top: 64px;
        gap: 5px;
    }

    .waveform i {
        width: 5px;
    }

    .voice-art-label {
        font-size: 10px;
    }

    .riley-section,
    .hub-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .conversation-card {
        padding: 26px;
    }

    .bubble {
        font-size: 14px;
    }

    .conversation-card > .fine-print {
        font-size: 11px;
    }

    .riley-copy .button {
        font-size: 14px;
    }

    .package-showcase {
        padding: 20px;
    }

    .showcase-heading {
        display: block;
    }

    .showcase-heading .outline-tag {
        display: inline-block;
        margin-top: 13px;
    }

    .package-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .package-option {
        display: grid;
        grid-template-columns: 42px 1fr;
        column-gap: 17px;
        padding: 20px;
    }

    .package-symbol {
        grid-row: 1/4;
        width: 37px;
        height: 37px;
        margin: 0;
    }

    .package-option .tiny-label {
        margin-bottom: 4px;
    }

    .package-option > strong {
        font-size: 22px;
        margin-bottom: 7px;
    }

    .package-option
    > span:not(.tiny-label):not(.package-symbol):not(.package-link) {
        font-size: 13px;
    }

    .package-option .package-link {
        grid-column: 2;
        margin-top: 13px;
        padding-top: 12px;
        font-size: 11px;
    }

    .package-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 28px;
    }

    .package-detail h3 {
        font-size: 22px;
    }

    .showcase-note {
        font-size: 11px;
    }

    .hub-section > div:last-child {
        grid-row: 1;
    }

    .hub-visual {
        padding: 24px;
        max-width: 550px;
        width: 100%;
        margin: auto;
    }

    .hub-tabs button {
        font-size: 13px;
        padding: 13px;
    }

    .schedule-block {
        font-size: 11px;
    }

    .schedule-block small {
        font-size: 10px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        margin-top: 35px;
    }

    .process-grid h3 {
        font-size: 21px;
    }

    .process-grid p {
        font-size: 13px;
    }

    .guarantee-card {
        grid-template-columns: 1fr;
    }

    .guarantee-promise {
        padding: 32px;
    }

    .big-five {
        font-size: 125px;
    }

    .big-five > span {
        font-size: 28px;
    }

    .guarantee-promise h2 {
        font-size: 40px;
    }

    .price-breakdown {
        padding: 15px 32px 30px;
    }

    .price-breakdown small {
        display: inline;
        margin-left: 8px;
    }

    .offer-clarity {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 28px 3px 0;
    }

    .offer-clarity > .fine-print {
        grid-column: auto;
    }

    .faq-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 10px;
    }

    .faq-section > div > p:not(.eyebrow) {
        max-width: none;
    }

    .faq-list summary {
        font-size: 15px;
    }

    .final-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .final-grid h2 {
        font-size: 40px;
    }

    .final-grid > div > p:not(.eyebrow):not(.micro) {
        font-size: 16px;
    }

    .final-grid .micro {
        font-size: 11px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section h2 {
        font-size: 34px;
    }

    .contact-section > div > p a {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer {
        padding-top: 45px;
    }

    /* Brand and tagline span the row; the two link columns sit side by side. */
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .footer-top > .brand,
    .footer-top > p {
        grid-column: 1 / -1;
    }

    .footer-top > p {
        font-size: 18px;
        margin: 0;
    }

    .footer-links {
        gap: 0;
        min-width: 0;
        font-size: 15px;
    }

    /* About 44px tall rows: comfortable tap targets. */
    .footer-links a {
        padding-block: 10px;
    }

    .footer-heading {
        margin-bottom: 2px;
    }

    .footer-bottom {
        font-size: 13px;
        gap: 13px;
    }

    .footer-bottom a {
        padding-block: 6px;
    }

    /* Hide only the full footer's closing line; minimal footers keep every item. */
    .footer-top + .footer-bottom > span:last-child {
        display: none;
    }

    #booking-dialog {
        width: calc(100% - 18px);
        max-width: calc(100% - 18px);
        padding: 16px 14px 12px;
        max-height: calc(100vh - 18px);
        max-height: calc(100dvh - 18px);
        border-radius: 17px;
    }

    .dialog-header h2 {
        font-size: 22px;
    }

    .dialog-header .eyebrow {
        font-size: 9px;
    }

    .dialog-intro,
    .dialog-fallback {
        font-size: 11px;
    }

    .dialog-intro {
        margin: 6px 0 10px;
    }

    .calendar-container iframe {
        height: 560px;
        height: max(560px, calc(100dvh - 150px));
    }

    .dialog-close {
        width: 34px;
        height: 34px;
    }

    .article-page {
        padding-top: 45px;
    }

    .article-page h1 {
        font-size: 40px;
    }

    .article-page th,
    .article-page td {
        padding: 12px 8px;
        font-size: 13px;
    }
}

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

    .nav-inner {
        gap: 8px;
    }

    .brand {
        font-size: 15px;
    }

    .brand-mark {
        width: 32px;
        height: 35px;
        font-size: 30px;
        border-radius: 9px;
    }

    .brand-mark > span {
        font-size: 22px;
    }

    .nav-cta {
        padding: 12px 13px;
        font-size: 11px;
    }

    .nav-cta svg {
        display: none;
    }

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

    .engine-visual {
        padding: 20px;
        min-height: 505px;
    }

    .ad-preview {
        width: 90%;
        padding: 17px;
    }

    .riley-preview {
        margin-left: 7px;
        padding: 17px 13px;
        gap: 10px;
    }

    .riley-preview p {
        font-size: 12px;
    }

    .calendar-preview {
        width: 96%;
        padding: 17px 13px;
    }

    .visual-caption {
        font-size: 8px;
    }

    .hero .actions {
        gap: 15px;
    }

    .hero .button {
        padding: 16px 18px;
        font-size: 11px;
    }

    .pillar {
        display: flex;
    }

    .pillar-art {
        height: 200px;
        min-height: 0;
    }

    .pillar-body {
        padding: 27px;
    }

    .ad-bars {
        bottom: 38px;
        left: 36px;
        right: 100px;
    }

    .art-round {
        top: 66px;
        right: 45px;
    }

    .art-caption {
        bottom: 15px;
        left: 30px;
    }

    .mini-browser {
        width: 70%;
        height: 190px;
        top: 52px;
        left: 17%;
    }

    .waveform {
        height: 85px;
        margin-top: 10px;
        gap: 10px;
    }

    .voice-art-label {
        font-size: 12px;
        margin-top: 10px;
    }

    .guarantee-promise,
    .price-breakdown {
        padding-inline: 26px;
    }

    .price-breakdown small {
        display: block;
        margin: 0;
    }

    .process-grid {
        gap: 21px;
    }

    .process-grid h3 {
        font-size: 20px;
    }

    .showcase-heading strong {
        font-size: 16px;
    }

    .hub-tabs button {
        font-size: 12px;
        padding: 12px 9px;
    }

    .footer-top > p {
        font-size: 16px;
    }

    .offer-bar {
        font-size: 10px;
    }
}

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

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
}

/* Compact overview strip; homepage benefits use a smaller, readable heading. */
.numbers-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0 42px;
}

.numbers-strip > div {
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.numbers-strip strong {
    font-size: 34px;
    line-height: 1.2;
    display: block;
    letter-spacing: -0.05em;
}

.numbers-strip span {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 9px;
    max-width: 190px;
}

.benefits-strip strong {
    font-size: clamp(20px, 2.1vw, 28px);
    letter-spacing: -0.035em;
}

.consultation-home .nav-cta {
    text-align: center;
    max-width: 280px;
    min-width: 0;
}

@media (max-width: 720px) {
    .numbers-strip {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding-bottom: 35px;
    }

    .numbers-strip > div {
        padding-left: 16px;
    }

    .numbers-strip strong {
        font-size: 28px;
    }

    .benefits-strip strong {
        font-size: 21px;
    }

    .numbers-strip span {
        font-size: 11px;
    }
}

/* Six common problems across appointment-based local services. */
.problem-grid article:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
}

@media (min-width: 721px) {
    .problem-grid article:nth-child(n + 4) {
        padding-top: 25px;
    }
}

/* Search landing pages use the same design system as the homepage. */
.service-related a,
.article-page p a,
.article-page li a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.breadcrumb {
    display: inline-block;
    margin-bottom: 35px;
    font-size: 14px;
}

.service-intro {
    font-size: 21px !important;
    line-height: 1.65 !important;
}

.service-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 45px;
}

.service-summary span {
    background: var(--sage);
    padding: 9px 14px;
    border-radius: 30px;
    font-size: 12px;
}

.service-next {
    background: #e8efdf;
    padding: 32px;
    border-radius: 20px;
    margin: 48px 0 30px;
}

.service-next h2 {
    margin-top: 12px;
}

.service-related {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}

.article-page li + li {
    margin-top: 12px;
}

/* Lead-capture revision: one floating chat control, shorter homepage, direct form. */
.section {
    padding-block: 72px;
}

.hero-call {
    white-space: normal;
}

@media (min-width: 721px) and (max-width: 1319px) {
    /* Hero: when the two actions no longer fit side by side, stack them at one shared width. */
    .hero .actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
        gap: 12px;
    }
}

.hero-demo-note {
    max-width: 520px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted, #62746e);
}

.capability-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    padding-block: 26px;
    font-size: 14px;
    font-weight: 700;
}

.capability-links a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inquiry-panel {
    background: #fff;
    color: #183d35;
    border-radius: 24px;
    padding: 28px;
    scroll-margin-top: 110px;
    min-width: 0;
}

.inquiry-panel h3 {
    font-size: 28px;
    margin: 12px 0;
}

.inquiry-panel > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
}

.inquiry-frame {
    display: block;
    width: 100%;
    height: 1450px;
    border: 0;
    background: white;
}

.inquiry-panel a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 36px 0;
}

.solution-card {
    border: 1px solid #d9e2dc;
    border-radius: 20px;
    padding: 26px;
    background: #fff;
}

.scope-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e9f0e5;
    color: #183d35;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
}

.scope-badge-addon {
    background: #fff0dc;
    color: #754213;
}

.solution-card-addon {
    border-color: #e7d6c0;
}

.pilot-scope {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    margin: 36px 0 16px;
    padding: 30px;
    border: 1px solid #d9e2dc;
    border-radius: 24px;
    background: #edf2e8;
}

.article-page .pilot-scope h2 {
    margin-top: 0;
    font-size: 28px;
}

.article-page .pilot-scope p {
    font-size: 15px;
}

/* Keep short labels such as “Add-on” whole instead of splitting at the hyphen. */
.pilot-scope p strong {
    white-space: nowrap;
}

.pilot-scope-details {
    padding-left: 28px;
    border-left: 1px solid #cbd8ca;
}

.pilot-scope .text-link {
    white-space: normal;
    font-size: 14px;
}

.article-page .scope-test-note,
.article-page .solution-proof {
    font-size: 13px;
    line-height: 1.65;
    color: #53645d;
}

.scope-boundary {
    padding-top: 10px;
}

.main-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.article-page .solution-card h2 {
    font-size: 23px;
    margin-top: 0;
}

.article-page .solution-card p {
    font-size: 16px;
}

.solution-tag {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #62746e;
    margin-bottom: 14px;
}

@media (max-width: 720px) {
    .section {
        padding-block: 48px;
    }

    .inquiry-panel {
        padding: 20px 10px;
        border-radius: 18px;
    }

    .inquiry-panel > h3,
    .inquiry-panel > p {
        margin-inline: 10px;
    }

    .inquiry-frame {
        height: 1420px;
    }

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

    .pilot-scope {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 16px;
    }

    .pilot-scope-details {
        border-left: 0;
        border-top: 1px solid #cbd8ca;
        padding: 16px 0 0;
    }

    .capability-links {
        gap: 14px;
        flex-direction: column;
    }

    .hero-demo-note {
        font-size: 12px;
    }
}

/* Desktop: the consultation copy stays in view beside the tall inquiry form.
   130px clears the 101px sticky header with some breathing room. */
@media (min-width: 1025px) {
    .final-grid > div:first-child {
        position: sticky;
        top: 130px;
    }
}

/* Tablets: stack the consultation copy above the inquiry form so the form has room. */
@media (max-width: 1024px) {
    .final-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-panel {
        max-width: 640px;
    }
}

/* Narrow phones: the HighLevel inquiry form wraps onto more lines.
   site-v2.js resizes the form to fit; these heights are the no-script fallback. */
@media (max-width: 374px) {
    .inquiry-frame {
        height: 1530px;
    }

    /* Keep the support address on one line in the contact card. */
    .inquiry-panel a[href^="mailto:"] {
        font-size: 14px;
    }

    /* Team workspace card: fit the three-day schedule inside a 320px screen. */
    .hub-visual {
        padding: 16px;
    }

    .mini-schedule {
        gap: 6px;
    }

    .schedule-day {
        padding: 12px 6px;
    }
}

/* Consultation update: tap-to-call button, old-anchor aliases and the About section. */

/* Tap-to-call: secondary outlined button for Riley's sample line.
   The label and number wrap onto two centered lines when space is tight. */
.button.call-button {
    flex-wrap: wrap;
    gap: 2px 12px;
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
    text-align: center;
    text-decoration: none;
    transition: background 0.18s,
    color 0.18s,
    transform 0.18s;
}

.button.call-button:hover,
.button.call-button:focus-visible {
    background: var(--ink);
    color: #fff;
}

/* Covers both the #icon-phone sprite and the inline phone svg (no width attribute). */
.button.call-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.call-button > span {
    white-space: nowrap;
}

.call-number {
    font-weight: 600;
    opacity: 0.8;
}

/* Riley section: dark filled variant, inverted to an outline on hover. */
.riley-copy .button.call-button {
    background: var(--ink);
    color: #fff;
    box-shadow: inset 0 0 0 2px var(--ink);
}

.riley-copy .button.call-button:hover,
.riley-copy .button.call-button:focus-visible {
    background: transparent;
    color: var(--ink);
}

.article-page .button.call-button {
    margin-block: 4px;
}

/* Narrow phones: keep the phone icon beside the label on /riley/. */
@media (max-width: 360px) {
    .pilot-scope .button.call-button {
        padding-inline: 16px;
    }
}

/* Old anchors (#book-demo, #guarantee) sit at the top of their renamed sections.
   Pulled up by the section padding so they land exactly where the new anchors do;
   html scroll-padding-top already keeps the target below the sticky header. */
.anchor-alias {
    display: block;
    position: relative;
    top: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.section > .anchor-alias {
    top: -72px;
}

/* About Cristopher: his own sales-career record, not client results. */
.about-section {
    background: var(--sage);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: center;
}

.about-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 360px;
    padding: 44px 40px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow);
}

/* Decorative rings echo the circular monogram. */
.about-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid #ffffff1f;
    box-shadow: 0 0 0 36px #ffffff08;
}

.about-monogram {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--ink);
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.about-card strong {
    margin-top: auto;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.about-card > span:not(.about-monogram) {
    margin-top: 6px;
    font-size: 14px;
    color: #c5d2c5;
}

.about-copy h2 {
    max-width: 640px;
}

.about-lead {
    max-width: 640px;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 600;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
    max-width: 640px;
    color: #4f6259;
}

.about-proof {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    max-width: 680px;
}

.about-proof li {
    position: relative;
    padding: 14px 0 14px 34px;
    border-top: 1px solid #cdd9c1;
    font-size: 15px;
    line-height: 1.6;
    color: #4f6259;
}

.about-proof li:last-child {
    border-bottom: 1px solid #cdd9c1;
}

.about-proof li::before {
    content: "✓";
    content: "✓" / "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--ink);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.about-proof strong {
    color: var(--ink);
    font-weight: 800;
}

@media (max-width: 1150px) {
    .about-grid {
        gap: 50px;
    }

    .about-card {
        min-height: 320px;
        padding: 36px 32px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Compact name card: monogram beside the name and title. */
    .about-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 22px;
        align-items: center;
        min-height: 0;
        max-width: 560px;
        padding: 26px 28px;
    }

    .about-monogram {
        grid-row: 1 / span 2;
        width: 76px;
        height: 76px;
        margin: 0;
        font-size: 29px;
    }

    .about-card strong {
        align-self: end;
        margin-top: 0;
    }

    .about-card > span:not(.about-monogram) {
        align-self: start;
        margin-top: 4px;
    }

    .about-card::after {
        width: 170px;
        height: 170px;
        right: -60px;
        bottom: -90px;
    }
}

@media (max-width: 720px) {
    .section > .anchor-alias {
        top: -48px;
    }

    /* Hero: both actions full width; the call button is an easy tap target. */
    .hero .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero .actions .button {
        width: 100%;
        min-height: 56px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .about-card {
        column-gap: 16px;
        padding: 20px;
        border-radius: 20px;
    }

    .about-monogram {
        width: 60px;
        height: 60px;
        font-size: 23px;
    }

    .about-card strong {
        font-size: 20px;
    }

    .about-card > span:not(.about-monogram) {
        font-size: 13px;
    }

    .about-lead {
        font-size: 17px;
    }

    .about-proof {
        margin: 22px 0;
    }

    .about-proof li {
        padding-left: 32px;
        font-size: 14px;
    }

    .about-proof li::before {
        top: 15px;
    }
}
