/* Cove to Cove marketing homepage */

.page-home {
    --ink: #0c2726;
    --ink-soft: #2e4a49;
    --muted: #5b7271;
    --teal: #1a5f5f;
    --teal-dark: #134747;
    --mint: #5fb3b3;
    --mint-soft: #e8f4f2;
    --mint-glow: rgba(95, 179, 179, 0.28);
    --line: #e2ebe9;
    --surface: #ffffff;
    --surface-soft: #f5f9f8;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(12, 39, 38, 0.06), 0 1px 3px rgba(12, 39, 38, 0.04);
    --shadow-md: 0 12px 32px -12px rgba(12, 39, 38, 0.18);
    --shadow-lg: 0 32px 64px -24px rgba(12, 39, 38, 0.28);

    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

.page-home .serif-accent {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.page-home h1,
.page-home h2,
.page-home h3 {
    color: var(--ink);
    letter-spacing: -0.035em;
}

.page-home section {
    scroll-margin-top: 88px;
}

/* ---------- Navbar ---------- */

.page-home .navbar.nav-glass {
    background-color: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    padding: 0.9rem 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .navbar.nav-glass.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(12, 39, 38, 0.35);
}

.page-home .nav-glass .navbar-brand,
.page-home .nav-glass .navbar-brand span {
    color: var(--ink);
}

.page-home .nav-glass .brand-mark path {
    fill: var(--teal);
    stroke: var(--teal);
}

.page-home .nav-glass .nav-link {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.page-home .nav-glass .nav-link:hover,
.page-home .nav-glass .nav-link:focus {
    color: var(--teal);
}

.page-home .nav-glass .btn-nav-cta {
    background-color: var(--ink);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.5rem 1.15rem;
}

.page-home .nav-glass .btn-nav-cta:hover {
    background-color: var(--teal);
}

/* ---------- Buttons ---------- */

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
        color 0.2s ease, border-color 0.2s ease;
}

.btn-home:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 3px;
}

.btn-home-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(12, 39, 38, 0.6);
}

.btn-home-primary:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-home-primary .bi {
    transition: transform 0.2s ease;
}

.btn-home-primary:hover .bi {
    transform: translateX(3px);
}

.btn-home-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
}

.btn-home-ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
}

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

.btn-home-light:hover {
    background: var(--mint-soft);
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-home-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-home-outline-light:hover {
    color: #fff;
    border-color: #fff;
}

/* ---------- Shared section bits ---------- */

.section-pad {
    padding: 112px 0;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 620px;
}

.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(to right, rgba(26, 95, 95, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 95, 95, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 760px;
    height: 760px;
    right: -180px;
    top: -220px;
    background: radial-gradient(circle, var(--mint-glow), transparent 65%);
    filter: blur(10px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    color: var(--ink-soft);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
}

.hero-pill:hover {
    color: var(--ink);
    border-color: var(--mint);
}

.hero-pill .pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mint-soft);
    color: var(--teal);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22a06b;
    box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.6);
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); }
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title .serif-accent {
    color: var(--teal);
    font-size: 1.08em;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-assurances .bi {
    color: var(--teal);
}

/* Product mockup */

.hero-visual {
    position: relative;
    padding: 2rem 0 2rem 1rem;
}

.app-window {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transform-origin: left center;
}

.app-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.app-chrome > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6dfdd;
}

.app-url {
    margin-left: 12px;
    flex: 1;
    max-width: 280px;
    font-size: 0.72rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 10px;
}

.app-body {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 340px;
}

.app-steps {
    border-right: 1px solid var(--line);
    padding: 18px 12px;
    background: #fbfdfc;
}

.app-steps-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 8px 10px;
}

.app-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
    padding: 7px 8px;
    border-radius: 8px;
    margin-bottom: 2px;
}

.app-step .step-mark {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #cfdad8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.app-step.done .step-mark {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.app-step.active {
    background: var(--mint-soft);
    color: var(--ink);
    font-weight: 600;
}

.app-step.active .step-mark {
    border-color: var(--teal);
    background: #fff;
}

.app-step.active .step-mark::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.app-main {
    padding: 20px 22px;
}

.app-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}

.app-address {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

.app-sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.app-field {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
}

.app-field small {
    display: block;
    font-size: 0.65rem;
    color: var(--muted);
}

.app-field strong {
    font-size: 0.9rem;
}

.app-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--ink-soft);
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
}

.switch {
    width: 28px;
    height: 16px;
    border-radius: 999px;
    background: #d6dfdd;
    position: relative;
}

.switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s ease;
}

.switch.on {
    background: var(--teal);
}

.switch.on::after {
    left: 14px;
}

.app-progress {
    height: 6px;
    background: var(--mint-soft);
    border-radius: 999px;
    margin-top: 16px;
    overflow: hidden;
}

.app-progress > div {
    height: 100%;
    width: 80%;
    background: linear-gradient(90deg, var(--teal), var(--mint));
    border-radius: inherit;
}

.app-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 6px;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.float-card small {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
}

.float-card strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.float-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-soft);
    color: var(--teal);
    font-size: 1.1rem;
}

.float-savings {
    left: -24px;
    bottom: -12px;
}

.float-savings strong {
    font-size: 1.35rem;
    color: var(--teal);
    letter-spacing: -0.02em;
}

.float-doc {
    right: -12px;
    top: 4px;
    animation-delay: -2s;
}

.float-doc .float-icon {
    background: #e7f6ee;
    color: #1d8a5a;
}

.float-agent {
    right: 24px;
    bottom: -4px;
    animation-delay: -4s;
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: var(--teal);
}

.avatar-stack span + span {
    margin-left: -9px;
    background: var(--mint);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Stats ---------- */

.stats-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.stat {
    padding: 2.25rem 1rem;
    text-align: center;
}

.stats-band .col-6:not(:last-child) .stat {
    border-right: 1px solid var(--line);
}

.stat-value {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

/* ---------- Features ---------- */

.feature-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cfe1de;
}

.feature-art {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    height: 188px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.mini-row .bi {
    color: var(--teal);
}

.mini-row .ms-auto {
    font-size: 0.72rem;
    color: var(--muted);
}

.mini-row.is-active {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px var(--mint-soft);
}

.mini-chat {
    max-width: 85%;
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    line-height: 1.4;
}

.mini-chat.from-user {
    align-self: flex-end;
    background: var(--ink);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.mini-chat.from-agent {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    border-bottom-left-radius: 4px;
}

.mini-chat-meta {
    font-size: 0.68rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ---------- How it works ---------- */

.steps-tablist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-tab {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    color: var(--ink);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-tab:hover {
    background: rgba(255, 255, 255, 0.6);
}

.step-tab:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 2px;
}

.step-tab[aria-selected="true"] {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
}

.step-num {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--mint-soft);
    color: var(--teal);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.step-tab[aria-selected="true"] .step-num {
    background: var(--teal);
    color: #fff;
}

.step-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.25rem;
    letter-spacing: -0.02em;
}

.step-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.4rem;
    display: none;
}

.step-tab[aria-selected="true"] .step-desc {
    display: block;
}

.steps-stage {
    position: relative;
    height: 100%;
    min-height: 440px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 10%, rgba(95, 179, 179, 0.35), transparent 50%),
        linear-gradient(160deg, var(--teal) 0%, var(--ink) 100%);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-panel {
    width: 100%;
    max-width: 420px;
}

.step-panel[hidden] {
    display: none;
}

.step-panel.is-entering {
    animation: panel-in 0.4s ease both;
}

@keyframes panel-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.stage-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

.stage-card h4 {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.stage-card .stage-sub {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.stage-input {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.55rem;
}

.stage-input strong {
    color: var(--ink);
    font-weight: 500;
}

.stage-btn {
    display: block;
    text-align: center;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 0.9rem;
}

.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1d8a5a;
    background: #e7f6ee;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.stage-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.stage-line:last-of-type {
    border-bottom: none;
}

.stage-line.total {
    font-weight: 700;
    color: var(--ink);
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}

.timeline li {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    font-size: 0.88rem;
}

.timeline .t-dot {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 1;
}

.timeline .done .t-dot {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.timeline .current .t-dot {
    border-color: var(--teal);
}

.timeline small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

/* ---------- Savings calculator ---------- */

.calc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calc-input {
    padding: 2.5rem;
}

.calc-price {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0.5rem 0 1.5rem;
}

.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--teal) 0%,
        var(--teal) var(--fill, 25%),
        var(--mint-soft) var(--fill, 25%),
        var(--mint-soft) 100%
    );
    cursor: pointer;
}

.calc-range:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 6px;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal);
    box-shadow: 0 4px 12px rgba(12, 39, 38, 0.25);
}

.calc-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal);
    box-shadow: 0 4px 12px rgba(12, 39, 38, 0.25);
}

.calc-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

.calc-compare {
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
}

.calc-bar-row {
    font-size: 0.88rem;
}

.calc-bar-row .d-flex {
    margin-bottom: 0.35rem;
}

.calc-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    overflow: hidden;
}

.calc-bar > div {
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.calc-bar .bar-traditional {
    width: 100%;
    background: #c7d3d1;
}

.calc-bar .bar-cove {
    background: var(--teal);
    min-width: 6px;
}

.calc-result {
    height: 100%;
    background:
        radial-gradient(circle at 100% 0%, rgba(95, 179, 179, 0.4), transparent 55%),
        var(--ink);
    color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-result .eyebrow {
    color: var(--mint);
}

.calc-savings {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    margin-bottom: 1rem;
}

.calc-result p {
    color: rgba(255, 255, 255, 0.72);
}

.calc-uses {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.calc-uses li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.calc-uses .bi {
    color: var(--mint);
}

.calc-disclaimer {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 1rem;
}

/* ---------- Comparison ---------- */

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.97rem;
}

.compare-table th,
.compare-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.compare-table thead th {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    border-bottom: none;
    padding-bottom: 1.25rem;
}

.compare-table tbody th {
    font-weight: 500;
    color: var(--ink);
}

.compare-table td {
    color: var(--ink-soft);
    text-align: center;
}

.compare-table .col-cove {
    background: var(--mint-soft);
    color: var(--ink);
    font-weight: 600;
}

.compare-table thead .col-cove {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    color: var(--teal);
    font-size: 1.05rem;
}

.compare-table tbody tr:last-child .col-cove {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .bi-check-circle-fill {
    color: var(--teal);
    font-size: 1.15rem;
}

.compare-table .bi-x-circle {
    color: #b7c4c2;
    font-size: 1.15rem;
}

/* ---------- Pricing ---------- */

.price-card {
    position: relative;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.is-featured {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.price-card.is-featured h3,
.price-card.is-featured .price-amount {
    color: #fff;
}

.price-card.is-featured .price-desc,
.price-card.is-featured .price-features li,
.price-card.is-featured .price-unit {
    color: rgba(255, 255, 255, 0.75);
}

.price-card.is-featured .price-features .bi {
    color: var(--mint);
}

.price-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--mint);
    color: var(--ink);
}

.price-tier {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}

.price-card.is-featured .price-tier {
    color: var(--mint);
}

.price-card h3 {
    font-size: 1.4rem;
    margin: 0.35rem 0 0.5rem;
}

.price-desc {
    color: var(--muted);
    font-size: 0.95rem;
    min-height: 3em;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
    margin: 1.25rem 0 0.25rem;
}

.price-unit {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.7rem;
}

.price-features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.price-features .bi {
    color: var(--teal);
    margin-top: 0.15rem;
}

.price-card .btn-home {
    margin-top: auto;
    justify-content: center;
}

/* ---------- FAQ ---------- */

.faq-list .accordion-item {
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.faq-list .accordion-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-list .accordion-button {
    padding: 1.4rem 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
}

.faq-list .accordion-button:not(.collapsed) {
    color: var(--teal);
    background: transparent;
    box-shadow: none;
}

.faq-list .accordion-button:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 2px;
}

.faq-list .accordion-body {
    padding: 0 2.5rem 1.5rem 0;
    color: var(--muted);
    line-height: 1.65;
}

.faq-help {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
}

/* ---------- Contact ---------- */

.contact-shell {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

.contact-aside {
    height: 100%;
    padding: 2.5rem;
    background:
        radial-gradient(circle at 0% 100%, rgba(95, 179, 179, 0.35), transparent 55%),
        var(--teal);
    color: #fff;
}

.contact-aside h2 {
    color: #fff;
    font-size: 2rem;
}

.contact-aside p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.25rem;
}

.contact-item .float-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-item a,
.contact-item span {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.contact-form {
    padding: 2.5rem;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.contact-form .form-control {
    border-radius: 12px;
    border-color: var(--line);
    padding: 0.75rem 1rem;
    background: var(--surface-soft);
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--mint-soft);
}

/* ---------- Final CTA ---------- */

.final-cta {
    padding: 0 0 96px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 4.5rem 3rem;
    background:
        radial-gradient(circle at 15% 0%, rgba(95, 179, 179, 0.45), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(26, 95, 95, 0.9), transparent 55%),
        var(--ink);
    color: #fff;
    isolation: isolate;
}

.cta-panel h2 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.08;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
}

.cta-art {
    position: absolute;
    right: -40px;
    bottom: -30px;
    width: 420px;
    max-width: 60%;
    z-index: -1;
    opacity: 0.25;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .section-pad {
        padding: 80px 0;
    }

    .hero {
        padding: 48px 0 72px;
    }

    .hero-visual {
        padding: 2.5rem 0.5rem 1rem;
        margin-top: 2rem;
    }

    .app-window {
        transform: none;
    }

    .float-savings {
        left: 0;
    }

    .float-doc {
        right: 0;
        top: 0;
    }

    .page-home .nav-glass .navbar-collapse {
        padding: 1rem 0;
    }

    .steps-stage {
        min-height: 400px;
        margin-top: 1.5rem;
    }

    .stats-band .col-6:nth-child(2) .stat {
        border-right: none;
    }

    .stats-band .col-6:nth-child(-n + 2) .stat {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 575.98px) {
    .app-body {
        grid-template-columns: 1fr;
    }

    .app-steps {
        display: none;
    }

    .float-agent {
        display: none;
    }

    .calc-input,
    .calc-result,
    .contact-aside,
    .contact-form {
        padding: 1.75rem;
    }

    .cta-panel {
        padding: 3rem 1.5rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 0.9rem 0.6rem;
        font-size: 0.88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home *,
    .page-home *::before,
    .page-home *::after {
        animation: none !important;
        transition: none !important;
    }

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

    html {
        scroll-behavior: auto;
    }
}

.price-amount .price-was {
    display: inline-block;
    font-size: 0.5em;
    font-weight: 500;
    opacity: 0.55;
    text-decoration: line-through;
    margin-right: 0.35rem;
    vertical-align: middle;
}

/* Free comp report section */
.comp-section { background: #eef5f5; }
.comp-points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.comp-points li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; color: #374151; }
.comp-points li i { color: #1a5f5f; font-size: 1.1rem; line-height: 1.4; flex: none; }
.comp-shot { margin: 0; }
.comp-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 20px 50px rgba(26,95,95,.18); }
.comp-shot figcaption { font-size: .8rem; color: #6b7280; margin-top: .6rem; text-align: center; }
