/* =========================================================
   RentScope — Shared Theme (L2 Fog Blue‑Gray × Decision Teal)
   Version: 2026-01-12
   Principle:
   - Bright, clean, premium tech
   - Teal = decision / completion / primary action
   - Minimal ornament; clarity first
   ========================================================= */

/* -----------------------------
   0) Tokens
------------------------------ */
:root {
    /* Canvas */
    --bg: #EEF3F6;
    /* L2 Fog Blue-Gray */
    --surface: rgba(255, 255, 255, .78);
    --surface2: rgba(255, 255, 255, .92);

    /* Ink */
    --ink: rgba(12, 16, 20, .92);
    --muted: rgba(12, 16, 20, .62);
    --muted2: rgba(12, 16, 20, .46);

    /* Lines */
    --line: rgba(12, 16, 20, .10);
    --line2: rgba(12, 16, 20, .14);

    /* Decision Teal (G2-B vibe) */
    --teal: #31D2BC;
    --tealLine: rgba(49, 210, 188, .50);
    --tealWash: rgba(49, 210, 188, .16);
    --tealWash2: rgba(49, 210, 188, .10);

    /* Elevation (restrained) */
    --shadow: 0 18px 50px rgba(0, 0, 0, .10);
    --shadow2: 0 10px 26px rgba(0, 0, 0, .08);

    /* Geometry */
    --radius: 22px;
    --max: 1120px;
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* Type */
    --font: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

/* -----------------------------
   1) Base
------------------------------ */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.2px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    user-select: none;
}

/* Layout helpers */
.section {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 18px 54px;
    /* tighter vertical rhythm */
    /* top space for nav */
    position: relative;
    overflow: hidden;
}

/* On mid-size displays (e.g., Surface Pro) let sections sit closer together instead of full-height blocks */
@media (max-width: 1366px) {
    .section {
        min-height: auto;
    }
}

/* Flow section reads better slightly lower than true center (header + diagram) */
.section.flow {
    padding-top: 92px;
    padding-bottom: 92px;
}

/* Early access form sits high due to shorter content; give it balanced padding */
.section.access {
    padding-top: 92px;
    padding-bottom: 92px;
}

@media (max-width: 640px) {
    .section {
        padding: 48px 14px 36px;
        min-height: auto;
    }

    /* Keep hero a full screen section on mobile */
    .section.hero {
        min-height: 100svh;
        padding-bottom: 120px;
        /* space for fixed floating CTA */
    }

    .section.flow {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section.access {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* Mobile nav: give the brand more left breathing room */
    .nav-inner {
        padding-left: calc(26px + env(safe-area-inset-left));
        padding-right: calc(18px + env(safe-area-inset-right));
    }
}

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
}

/* Let the flow diagram breathe wider, but keep its header aligned like others */
.flow .wrap {
    max-width: 1400px;
}

.flow .flow-head {
    max-width: var(--max);
    margin: 0 auto;
}

/* -----------------------------
   2) Top nav (bright, premium)
------------------------------ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(238, 243, 246, .86);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 3px solid var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16)
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 820;
    letter-spacing: -0.2px;
    font-size: 30px;
    margin-left: 0;
    color: var(--teal);
}

/* Logo mark — matches your screenshot style:
   dark ring + calm teal dot (friendly, not "scope crosshair") */
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(12, 16, 20, .20);
    background: rgba(12, 16, 20, .06);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    position: relative;
    display: grid;
    place-items: center;
}

.brand-mark::after {
    /* inner ring */
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    border: 1px solid rgba(12, 16, 20, .14);
}

.brand-mark__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--teal);
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 56px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    max-width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 2px;
    border-radius: 999px;
    background: var(--teal);
    opacity: 0;
    transform: translateX(-50%) scaleX(0.65);
    transform-origin: center;
    transition: opacity .2s var(--ease), transform .22s var(--ease), background .18s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    background: var(--teal);
}

.nav-links a.active::after {
    background: var(--teal);
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.nav-links::-webkit-scrollbar {
    display: none;
}

/* Desktop: show underline on hover only (hide active line) */
@media (min-width: 921px) {
    .nav-links a:hover::after,
    .nav-links a:focus-visible::after {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
        background: var(--teal);
    }

    /* On desktop keep active underline hidden unless hovering */
    .nav-links a.active::after {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.65);
    }

    /* If the active link is hovered, show the underline */
    .nav-links a.active:hover::after,
    .nav-links a.active:focus-visible::after {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

.nav-spacer {
    width: 110px;
    /* balance with brand width to keep links visually centered */
}

/* -----------------------------
   3) Buttons (Teal = decision)
------------------------------ */
.btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .88);
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 740;
    font-size: 13px;
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow2);
    background: rgba(255, 255, 255, 1);
    border-color: var(--line2);
}

.btn:focus-visible {
    outline: 2px solid rgba(49, 210, 188, .60);
    outline-offset: 2px;
}

/* Primary action = Teal (decision) */
.btn-primary {
    background: linear-gradient(180deg, rgba(49, 210, 188, .28), rgba(49, 210, 188, .14));
    border-color: rgba(49, 210, 188, .62);
    color: rgba(10, 14, 18, .92);
}

.btn-primary:hover {
    border-color: rgba(49, 210, 188, .90);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .12);
}

.btn-hero-access {
    padding: 23px;
    font-size: 28px;
    font-weight: 800;
}

.btn-hero-works {
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 780;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--teal);
    color: var(--ink);
}

.floating-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 0);
    padding: 13px 20px;
    background: transparent;
    border: 1.5px solid var(--teal);
    color: var(--ink);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
    z-index: 80;
    animation: cta-bob 2.8s ease-in-out infinite;
    transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.floating-cta:hover {
    animation-play-state: paused;
    transform: translate(-50%, -4px);
    border-color: rgba(49, 210, 188, .90);
}

.floating-cta::after {
    content: "↓";
    font-size: 16px;
    font-weight: 900;
    transform: translateY(-3px);
    transition: transform .18s var(--ease);
}

.floating-cta:hover::after {
    transform: translateY(-3px);
}

.floating-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px);
    animation-play-state: paused;
}

@keyframes cta-bob {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

/* -----------------------------
   4) Type scale
------------------------------ */
.kicker {
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 14px;
}

.h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 5.4vw, 72px);
    line-height: 1.05;
    /* loosen to prevent descender clipping */
    letter-spacing: -1.3px;
    font-weight: 820;
    max-width: none;
    /* allow full hero title width */
}

.lead {
    margin: 0;
    font-size: clamp(16px, 1.7vw, 21px);
    line-height: 1.55;
    color: var(--muted);
    max-width: 90ch;
}

.hero-lead .hero-line {
    white-space: nowrap;
}

.lead-spaced {
    word-spacing: normal;
}

.dot-sep {
    display: inline-block;
    font-size: 1.25em;
    line-height: 1;
    transform: translateY(-0.05em);
    margin: 0 0.45em;
}

.why-line {
    white-space: nowrap;
}

/* Why list: inline on desktop, bullets on mobile/tablet */
.why-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.why-list li {
    position: relative;
    font-weight: inherit;
}

.why-list li:not(:last-child)::after {
    content: "·";
    margin-left: 12px;
    margin-right: 0;
    color: var(--muted);
    font-weight: 900;
    display: inline-block;
}

@media (max-width: 1024px) {
    .why-list {
        display: block;
        list-style: disc;
        list-style-position: outside;
        padding-left: 20px;
        gap: 0;
    }

    .why-list li {
        margin: 6px 0;
        display: list-item;
    }

    .why-list li::after {
        content: none;
    }
}

.fine {
    color: var(--muted2);
    font-size: 13px;
    line-height: 1.4;
}

/* -----------------------------
   5) Hero visuals (subtle, light)
------------------------------ */
.hero {
    background: transparent;
}

.hero-subtext {
    text-align: center;
    margin-left: 8px;
    margin-right: 0;
}

.hero::before {
    content: none;
    /* remove hero overlay for seamless background into next section */
}


.h1 {
    position: relative;
}

.hero-title .h1-line {
    display: block;
    white-space: nowrap;
    /* font-size: 65px; */
}

.hero-title .line2 {
    font-size: 50px;
}

/* Medium desktops: allow hero title to wrap so it never clips */
@media (max-width: 1320px) and (min-width: 921px) {
    .hero-title .h1-line {
        white-space: normal;
    }

    .h1 {
        max-width: 28ch;
    }
}

.nowrap-line {
    white-space: nowrap;
}

.hero-title .type-line {
    display: block;
    padding-bottom: 4px;
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

.hero-title .line1 {
    animation:
        type-reveal 1.1s steps(28, end) 0.1s forwards;
}

.hero-title .line2 {
    animation:
        type-reveal 1.1s steps(32, end) 1.3s forwards;
}

@keyframes type-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 -10px 0 0);
        /* small over-reveal to avoid end-character clipping */
    }
}

.h1::after {
    content: "";
    display: block;
    width: 200px;
    height: 3px;
    border-radius: 999px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--teal), rgba(49, 210, 188, .20));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: end;
    margin-top: 18px;
}

/* Statement stack */
.stack {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 64ch;
}

.stack .line {
    font-size: 15.5px;
    color: rgba(12, 16, 20, .82);
}

.stack .line strong {
    color: rgba(12, 16, 20, .95);
    font-weight: 850;
}

/* Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Right side spec */
.spec {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .76));
    box-shadow: var(--shadow2);
}

.spec h3 {
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: -0.2px;
    font-weight: 860;
}

.spec ul {
    margin: 0;
    padding-left: 16px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.spec li {
    margin: 8px 0;
}

/* -----------------------------
   6) Flow / Panels (clean cards)
------------------------------ */
.flow,
.diff,
.access {
    background: transparent;
    animation: flowFade 320ms var(--ease) 40ms both;
}

/* Base card style (shared across pages) */
.card {
    background: linear-gradient(180deg, var(--surface2), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow2);
    padding: 18px 18px 16px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow2);
    background: rgba(255, 255, 255, 1);
    border-color: var(--line2);
}

.flow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(12, 16, 20, .03) 60%, transparent 100%);
    pointer-events: none;
    opacity: .7;
}

.flow-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.flow-desc {
    margin-top: 8px;
    font-size: 19.5px;
    margin-bottom: 20px;
}

.flow-last {
    font-size: 20px;
}

.h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.9px;
    font-weight: 820;
    max-width: 24ch;
}

.h2-one-line {
    white-space: nowrap;
    max-width: none;
}

.flow-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow2);
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 180px at 15% 10%, rgba(49, 210, 188, .08), transparent 55%);
    opacity: .55;
    pointer-events: none;
}

@keyframes flowFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel>* {
    position: relative;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(12, 16, 20, .66);
    margin-bottom: 12px;
    font-weight: 850;
}

.tag .mini {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(49, 210, 188, .95);
}

.panel h4 {
    margin: 0 0 10px;
    font-size: 16px;
    letter-spacing: -0.4px;
    font-weight: 880;
}

.panel ul {
    margin: 0;
    padding-left: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.panel li {
    margin: 8px 0;
}

.keyline {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .60);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.keyline strong {
    font-weight: 920;
    letter-spacing: -0.4px;
}

/* -----------------------------
   7) Differentiation
------------------------------ */
.diff-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.compare {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow2);
}

.compare h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 920;
    letter-spacing: -0.3px;
}

.compare p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* -----------------------------
   8) Forms
------------------------------ */
.form-wrap {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    padding: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
    max-width: 720px;
}

form {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

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

label {
    display: block;
    font-size: 12.5px;
    color: rgba(12, 16, 20, .66);
    margin-bottom: 6px;
    font-weight: 720;
}

input,
select {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(12, 16, 20, .14);
    outline: none;
    font-size: 14px;
    font-family: var(--font);
    transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
    background: #fff;
}

/* Match placeholder tone (including the default "Select" option) */
input::placeholder {
    color: rgba(12, 16, 20, .46);
}

select:invalid {
    color: rgba(12, 16, 20, .46);
}

select option[value=""] {
    color: rgba(12, 16, 20, .46);
}

select:not(:invalid) {
    color: rgba(12, 16, 20, .92);
}

select option {
    font-family: var(--font);
}

input:focus,
select:focus {
    border-color: rgba(49, 210, 188, .65);
    box-shadow: 0 0 0 5px rgba(49, 210, 188, .14);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.status {
    display: none;
    margin-top: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .70);
    border: 1px solid var(--line);
    color: rgba(12, 16, 20, .84);
    font-size: 13.5px;
}

/* -----------------------------
   9) Footer
------------------------------ */
.footer {
    padding: 26px 18px 36px;
    border-top: 1px solid var(--line);
    color: var(--muted2);
    font-size: 12.5px;
    background: rgba(255, 255, 255, .30);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-inner>* {
    text-align: center;
}

/* -----------------------------
   10) Reveal-on-scroll
------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.on {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------
   11) Responsive
------------------------------ */
@media (max-width: 920px) {
    .nav-inner {
        display: flex;
    }

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

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

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

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

    .nav-inner {
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
        gap: 16px;
        font-size: 14px;
        width: auto;
        justify-content: flex-end;
        order: initial;
        flex: 0 0 auto;
        margin-left: auto;
        padding-right: 0;
        text-align: right;
        overflow-x: auto;
    }

    .h1 {
        max-width: 32ch;
    }

    /* Let hero title wrap on tablets to avoid clipping */
    .hero-title .h1-line {
        white-space: normal;
    }

    /* Align brand with hero content edge on tablets */
    .brand {
        margin-left: 0;
    }

    .nav-spacer {
        width: 8px;
    }

    /* Mobile/tablet: smaller teal underline for active section */
    .nav-links a::after {
        background: var(--teal);
        width: 30px;
        height: 2px;
        bottom: -2px;
    }

    .nav-links a.active::after {
        background: var(--teal);
        width: 36px;
        height: 2px;
        bottom: -2px;
        transform: translateX(-50%) scaleX(1);
    }
}

@media (max-width: 1024px) {

    /* Reduce vertical whitespace between sections on tablets */
    .section {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .section.flow,
    .section.access {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 600px) {
    .floating-cta {
        bottom: 12px;
        padding: 12px 16px;
        font-size: 13px;
        width: calc(100% - 32px);
        max-width: 420px;
    }
}

/* Tablet / small desktop: keep section headers clear of the fixed nav */
@media (min-width: 641px) and (max-width: 1100px) {
    .section {
        scroll-margin-top: 110px;
        padding-top: 96px;
    }

    .section.hero {
        padding-top: 140px;
    }
}

/* Large tablet to mid-desktop: add extra breathing room below nav */
@media (min-width: 1101px) and (max-width: 1366px) {
    .section {
        scroll-margin-top: 120px;
        padding-top: 110px;
    }

    .section.hero {
        padding-top: 160px;
    }

    .nav-inner {
        padding-left: 12px;
        padding-right: 18px;
    }

    /* Keep workflow cards aligned at the same width on mid screens */
    .workflow .node,
    .workflow .node.center,
    .workflow .node.landlord {
        max-width: 220px;
        width: 100%;
    }

    .workflow .node.center {
        min-height: 170px;
    }

    .workflow .node.landlord {
        padding: 12px 10px;
        gap: 8px;
    }

    .workflow .node.landlord .divider {
        width: 70%;
        margin: 8px auto;
    }

    .workflow .node.landlord .cta {
        font-size: 22px;
    }
}

/* Desktop (1367px+): trim left padding slightly to align with content edge */
@media (min-width: 1367px) {
    .nav-inner {
        padding-left: 12px;
        padding-right: 18px;
    }
}

/* All sub-desktop: tighten landlord text spacing */
@media (max-width: 1366px) {
    .workflow .node.landlord h3 {
        margin-bottom: 6px;
    }

    .workflow .node.landlord p {
        margin: 4px 0 0;
        line-height: 1.25;
    }

    .workflow .node.landlord .cta {
        margin-top: 4px;
    }
}

@media (max-width: 640px) {

    /* Prevent nav from covering top content/anchors on small screens */
    .section {
        scroll-margin-top: 90px;
    }

    .section.hero {
        padding-top: 120px;
    }

    .nav-inner {
        gap: 8px;
        padding-left: calc(12px + env(safe-area-inset-left));
        padding-right: calc(12px + env(safe-area-inset-right));
        justify-content: space-between;
    }

    .hero-title .h1-line {
        white-space: nowrap;
        font-size: clamp(30px, 9vw, 46px);
    }

    .hero-title .line2 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .h1 {
        font-size: clamp(30px, 9vw, 46px);
        max-width: none;
    }

    .h2-one-line {
        white-space: normal;
    }

    .nowrap-line {
        white-space: normal;
    }

    /* Mobile hero copy should wrap */
    .hero-lead .hero-line {
        white-space: normal;
    }

    /* Flow copy reads better slightly smaller on mobile */
    .flow-desc {
        font-size: 17px;
    }

    /* Keep nav links from overflowing on mobile */
    .nav-links {
        gap: 8px;
        font-size: 11.5px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 0;
        padding: 0 4px 0 6px;
        margin-left: auto;
        padding-right: 12px;
        flex: 0 0 auto;
        text-align: right;
        max-width: 100%;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-spacer {
        width: 6px;
    }
}

/* Allow hero title to wrap and shrink on small/medium screens */
@media (max-width: 900px) {
    .h1 {
        font-size: clamp(28px, 5.5vw, 56px);
    }

    .h2-one-line,
    .nowrap-line,
    .lead,
    .flow-desc,
    .flow-head .h2 {
        white-space: normal;
    }
}

@media (max-width: 540px) {
    .h1 {
        font-size: clamp(26px, 8vw, 44px);
        line-height: 1.08;
        max-width: 100%;
    }

    .lead,
    .flow-desc,
    .flow-head .h2,
    .nowrap-line {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    .hero .wrap {
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Extra small: let the hero title wrap and align brand with hero content */
@media (max-width: 640px) {
    .hero-title .h1-line {
        white-space: normal;
    }

    .nav-inner {
        padding-left: calc(12px + env(safe-area-inset-left));
        padding-right: calc(12px + env(safe-area-inset-right));
    }

    .brand {
        margin-left: 0;
    }
}

@media (max-width: 760px) {

    .workflow .node,
    .workflow .node.center,
    .workflow .node.landlord {
        max-width: 180px;
    }

    .workflow .node {
        min-height: 140px;
        padding: 20px 14px 16px;
    }

    .workflow .node.center {
        max-width: 260px;
    }

    .workflow .node.landlord {
        max-width: 200px;
        min-height: 240px;
    }
}

/* Section: new flow layout */
.workflow {
    position: relative;
    margin-top: 50px;
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    --flow-node-h: 160px;
    --flow-row-gap: 6px;
    display: grid;
    grid-template-columns: 220px 70px 1fr 80px 220px;
    grid-template-rows: auto auto;
    grid-template-areas:
        "tenant arrowT center arrowL landlord"
        "vendor arrowV center arrowL landlord";
    align-items: center;
    justify-items: center;
    justify-content: center;
    column-gap: 0;
    row-gap: var(--flow-row-gap);
}

.workflow .node {
    width: 100%;
    max-width: 220px;
    min-height: var(--flow-node-h);
    background: linear-gradient(180deg, var(--surface2), var(--surface));
    border: 1.5px solid var(--line2);
    border-radius: 18px;
    box-shadow: var(--shadow2);
    padding: 26px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.workflow .node h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 780;
    letter-spacing: -0.38px;
}

.workflow .node p {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: var(--muted);
}

.workflow .node.center {
    grid-area: center;
    width: 100%;
    max-width: 360px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--tealLine);
    border-radius: 20px;
    box-shadow:
        0 18px 46px rgba(0, 0, 0, .10),
        inset 0 0 0 1px rgba(49, 210, 188, .10);
}

.workflow .node.center .brand {
    color: var(--teal);
    font-size: 44px;
    font-weight: 820;
}

.workflow .node.center .subhead {
    margin-top: 4px;
    font-weight: 740;
    font-size: 18px;
    color: var(--ink);
}

.workflow .node.center .muted {
    color: var(--muted);
    margin-top: 6px;
    font-size: 16px;
}

.workflow .node.landlord {
    grid-area: landlord;
    grid-row: 1 / span 2;
    align-self: stretch;
    height: 100%;
    width: 100%;
    max-width: 240px;
    border-radius: 26px;
    padding: 32px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.workflow .node.landlord .divider {
    height: 1px;
    background: var(--ink);
    opacity: 0.55;
    margin: 12px 0;
    width: 100%;
}

.workflow .node.landlord .cta {
    color: var(--teal);
    font-weight: 760;
    font-size: 24px;
    margin: 0;
}

.workflow .node.tenant {
    grid-area: tenant;
    max-width: 220px;
}

.workflow .node.vendor {
    grid-area: vendor;
    max-width: 220px;
}

.workflow .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: rgba(12, 16, 20, 0.82);
    text-shadow: 0 0 1px rgba(12, 16, 20, 0.6);
    line-height: 1;
    width: 100%;
}

.workflow .arrow-tenant {
    grid-area: arrowT;
}

.workflow .arrow-vendor {
    grid-area: arrowV;
}

.workflow .arrow-landlord {
    grid-area: arrowL;
    grid-row: 1 / span 2;
    margin-left: -20px;
}

.workflow .arrow-tenant,
.workflow .arrow-vendor,
.workflow .arrow-landlord {
    align-self: center;
    justify-self: center;
}

@media (max-width: 1100px) {
    .workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "vendor tenant"
            "arrowV arrowT"
            "center center"
            "arrowL arrowL"
            "landlord landlord";
        justify-items: center;
        row-gap: 6px;
        column-gap: 2px;
        transform: none;
        max-width: 760px;
        margin: 0 auto;
    }

    /* Keep tenant/vendor compact, let RentScope + landlord span both columns */
    .workflow .node {
        max-width: 220px;
        width: 100%;
        height: auto;
        padding: 14px 12px;
    }

    .workflow .node.center,
    .workflow .node.landlord {
        max-width: 460px;
        width: 100%;
    }

    .workflow .node.vendor {
        grid-area: vendor;
    }

    .workflow .node.tenant {
        grid-area: tenant;
    }

    .workflow .node.center {
        grid-area: center;
    }

    .workflow .node.landlord {
        grid-area: landlord;
        min-height: 90px;
        padding: 14px 12px;
        gap: 6px;
    }

    .workflow .node.landlord .divider {
        width: 60%;
        margin: 6px auto;
    }

    .workflow .node.landlord p {
        margin: 2px 0 0;
        line-height: 1.18;
    }

    .workflow .arrow {
        display: flex;
    }

    .workflow .arrow-vendor {
        grid-area: arrowV;
        transform: rotate(90deg);
    }

    .workflow .arrow-tenant {
        grid-area: arrowT;
        transform: rotate(90deg);
    }

    .workflow .arrow-landlord {
        grid-area: arrowL;
        transform: rotate(90deg);
    }
}

@media (max-width: 360px) {

    .nav-links {
        display: flex;
        gap: 6px;
        font-size: 10px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 0;
        padding: 0 4px;
        margin-left: auto;
        padding-right: 8px;
        flex: 0 0 auto;
        text-align: right;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-spacer {
        width: 4px;
    }

    .nav-inner {
        justify-content: space-between;
        gap: 6px;
    }

    /* Stack workflow cards and keep tenant/vendor equal */
    .workflow {
        grid-template-columns: 1fr;
        grid-template-areas:
            "tenant"
            "vendor"
            "center"
            "landlord";
        row-gap: 12px;
        column-gap: 0;
    }

    .workflow .node,
    .workflow .node.center,
    .workflow .node.landlord {
        max-width: 100%;
        width: 100%;
        padding: 14px 12px;
        min-height: 150px;
    }

    .workflow .node.vendor,
    .workflow .node.tenant {
        min-height: 190px;
    }

    .workflow .node h3 {
        font-size: 20px;
    }

    .workflow .node p {
        font-size: 14px;
        line-height: 1.3;
        word-break: normal;
        white-space: normal;
        max-width: 180px;
        margin-left: auto;
        margin-right: auto;
    }

    .workflow .arrow {
        display: none;
    }

    .workflow .node.center {
        padding: 14px 12px 16px;
        min-height: 150px;
    }

    .workflow .node.center .brand {
        font-size: 30px;
        line-height: 1.05;
        word-break: normal;
        text-align: center;
    }

    .workflow .node.center .subhead {
        font-size: 16px;
    }

    .workflow .node.center .muted {
        font-size: 14px;
        line-height: 1.3;
    }

    .workflow .node.landlord {
        min-height: 70px;
        padding: 4px 6px;
        gap: 4px;
    }

    .workflow .node.landlord .divider {
        width: 60%;
        margin: 4px auto;
    }

    .workflow .node.landlord p {
        margin: 2px 0 0;
        line-height: 1.16;
    }

    .workflow .node.landlord h3 {
        margin-bottom: 2px;
        font-size: 20px;
        line-height: 1.04;
        word-break: break-word;
    }
}

@media (max-width: 720px) {
    .workflow {
        gap: 16px;
    }

    .workflow .node {
        padding: 14px 12px;
    }

    .workflow .node h3 {
        font-size: 24px;
    }

    .workflow .node p {
        font-size: 16px;
    }

    .workflow .node.landlord {
        min-height: 90px;
        padding: 14px 12px;
        gap: 6px;
    }

    .workflow .node.landlord h3 {
        margin-bottom: 4px;
        font-size: 22px;
        line-height: 1.05;
        word-break: break-word;
    }

    .workflow .node.landlord p {
        margin: 2px 0 0;
        line-height: 1.14;
    }
}

@media (max-width: 760px) {
    .workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "vendor tenant"
            "arrowV arrowT"
            "center center"
            "arrowL arrowL"
            "landlord landlord";
        justify-items: center;
        row-gap: 12px;
        column-gap: 2px;
    }

    /* Keep tenant/vendor compact, let RentScope + landlord span both columns */
    .workflow .node {
        max-width: 220px;
        width: 100%;
    }

    .workflow .node.center,
    .workflow .node.landlord {
        max-width: 460px;
        width: 100%;
    }

    .workflow .node.vendor {
        grid-area: vendor;
    }

    .workflow .node.tenant {
        grid-area: tenant;
    }

    .workflow .node.center {
        grid-area: center;
    }

    .workflow .node.landlord {
        grid-area: landlord;
    }

    .workflow .arrow {
        display: flex;
    }

    .workflow .arrow-vendor {
        grid-area: arrowV;
        transform: rotate(90deg);
    }

    .workflow .arrow-tenant {
        grid-area: arrowT;
        transform: rotate(90deg);
    }

    .workflow .arrow-landlord {
        grid-area: arrowL;
        transform: rotate(90deg);
    }
}
