﻿/* ══════════════════════════════════════════════════════════════
   TallyHOA — style.css
   Every Vote Counts. Every Dollar Tracked.
   Foundation: tokens · base · nav · hero · scenes · primitives
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Brand palette (from official logo SVGs) */
    --navy:        #122441;
    --navy-700:    #1B3257;
    --navy-600:    #24426E;
    --navy-deep:   #0B1A33;
    --navy-900:    #081427;
    --teal:        #1F9AA6;
    --teal-bright: #36C2CE;
    --teal-soft:   rgba(31,154,166,0.10);
    --teal-glow:   rgba(31,154,166,0.40);
    --gold:        #C5A14F;
    --gold-bright: #E3C77E;
    --green:       #2EA66B;
    --green-bright:#3FD389;

    /* Surfaces */
    --bg-dark:     #0B1A33;
    --bg-light:    #F5F8FC;
    --bg-white:    #FFFFFF;
    --bg-tint:     #EDF3F9;
    --card:        #FFFFFF;

    /* Text */
    --text:        #122441;
    --text-dim:    #54657E;
    --text-muted:  #8595AB;
    --text-light:  #EAF1F8;
    --text-light-dim: rgba(234,241,248,0.62);

    /* Lines */
    --border:      rgba(18,36,65,0.10);
    --border-dark: rgba(255,255,255,0.09);

    --radius:    16px;
    --radius-sm: 10px;
    --radius-lg: 26px;
    --ease:      cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --section-gap: 110px;
    --maxw: 1200px;
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.1; color: var(--text); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Ambient particle canvas (sits behind content; visible through dark sections) */
.ambient-canvas { display: none; }

/* ── Sections + content above canvas ── */
.navbar, .hero, .section, .footer { position: relative; z-index: 1; }

.section {
    padding: var(--section-gap) 0;
    background: var(--bg-light);
    position: relative;
}
.section.alt   { background: var(--bg-white); }
.section.tint  { background: var(--bg-tint); }
.section.dark {
    background: linear-gradient(180deg, var(--navy-deep), var(--navy-900));
    color: var(--text-light);
}
.section.dark .section-title { color: #fff; }
.section.transparent-dark { background: transparent; color: var(--text-light); }

/* ── Section header primitives ── */
.section-header { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-label {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--teal); margin-bottom: 18px;
}
.section.dark .section-label, .transparent-dark .section-label { color: var(--teal-bright); }
.label-stroke {
    width: 22px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    display: inline-block; transform: skewX(-24deg);
}
.section-title {
    font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.section-desc {
    font-size: clamp(16px, 1.5vw, 18px); color: var(--text-dim); line-height: 1.7;
}
.section.dark .section-desc, .transparent-dark .section-desc { color: var(--text-light-dim); }

.gradient-text {
    background: linear-gradient(100deg, var(--teal), var(--teal-bright) 60%, var(--green));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.gold-text {
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Buttons ── */
.btn-primary, .btn-ghost, .btn-ghost-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
    padding: 14px 28px; border-radius: 999px; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    white-space: nowrap; will-change: transform;
}
.btn-primary {
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    color: #fff; box-shadow: 0 10px 26px rgba(31,154,166,0.34);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(31,154,166,0.5); transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255,255,255,0.04); color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.16);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--teal-bright); }
.section:not(.dark) .btn-ghost { color: var(--navy); border-color: var(--border); background: #fff; }
.section:not(.dark) .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-dark {
    background: var(--navy); color: #fff; border: 1px solid var(--navy-600);
}
.btn-ghost-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ════════════════════ REVEAL SYSTEM ════════════════════ */
[data-animate] { opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: transform, opacity; }
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-40px); }
[data-animate="fade-left"]  { transform: translateX(-44px); }
[data-animate="fade-right"] { transform: translateX(44px); }
[data-animate="zoom-in"]    { transform: scale(.92); }
[data-animate].visible { opacity: 1; transform: none; }

/* ════════════════════ NAVBAR ════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0; transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.navbar.scrolled {
    padding: 11px 0; background: rgba(250,251,253,0.86);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 24px rgba(18,36,65,0.08); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo .logo { height: 34px; width: auto; }
.nav-logo .logo-dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > li > a:not(.nav-cta):not(.nav-login) {
    font-size: 14.5px; font-weight: 500; color: var(--text-dim);
    transition: color .2s; position: relative;
}
.nav-links > li > a:not(.nav-cta):not(.nav-login):hover { color: var(--navy); }
.nav-login {
    display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500;
    color: var(--text-dim); padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--border); transition: all .2s;
}
.nav-login:hover { color: var(--teal); border-color: var(--teal); }
.nav-cta {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: #fff;
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    padding: 10px 22px; border-radius: 999px; box-shadow: 0 8px 22px rgba(31,154,166,0.32);
    transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31,154,166,0.5); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════ HERO ════════════════════ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 130px 0 70px; overflow: hidden; color: var(--text);
    background:
        radial-gradient(55% 50% at 84% 16%, rgba(31,154,166,0.08), transparent 62%),
        radial-gradient(46% 46% at 8% 86%, rgba(46,166,107,0.06), transparent 62%),
        radial-gradient(40% 36% at 62% 96%, rgba(197,161,79,0.06), transparent 62%),
        var(--bg-light);
}
/* Subtle "ledger paper" ruled lines — the open-ledger motif */
.hero-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.035) 0 1px, transparent 1px 39px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
}
/* keep dark glow available for dark sections (e.g. CTA) */
.hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(60% 50% at 78% 22%, rgba(31,154,166,0.20), transparent 60%),
        radial-gradient(50% 45% at 12% 78%, rgba(46,166,107,0.13), transparent 60%),
        radial-gradient(40% 40% at 60% 90%, rgba(197,161,79,0.10), transparent 60%);
}
.hero-grid-overlay {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
            mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.hero .container { position: relative; z-index: 2; }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.hero-pre {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 22px;
}
.pre-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(46,166,107,0.6); animation: ablink 2.4s ease-in-out infinite; }
.hero-title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 22px; }
.tally-word { position: relative; display: inline-block; color: var(--navy); }
.tally-stroke {
    position: absolute; left: -2%; right: -2%; bottom: 4px; height: 8px; border-radius: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-14deg) scaleX(0); transform-origin: left; box-shadow: 0 0 18px rgba(197,161,79,0.5);
    animation: tallyStroke 1s var(--ease-out) 1.1s forwards;
}
@keyframes tallyStroke { to { transform: skewX(-20deg) scaleX(1); } }
.hero-subtitle { font-size: clamp(15.5px, 1.6vw, 18.5px); color: var(--text-dim); max-width: 560px; margin-bottom: 30px; }
.hero-subtitle strong { color: var(--navy); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 560px; }
.hero-stat-number { font-family: 'Poppins', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--navy); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 7px; font-weight: 500; }
.hero-stat { position: relative; padding-left: 13px; }
.hero-stat::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--green)); }

.scroll-indicator {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 38px; background: rgba(18,36,65,0.14); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--teal); animation: scrollDown 2s var(--ease) infinite; }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }

/* ════════════════════ SCENE WRAP + TOGGLE ════════════════════ */
.hero-scene-wrap { position: relative; }
.scene-toggle {
    position: relative; display: flex; gap: 4px; width: max-content; margin: 0 auto 18px;
    padding: 5px; border-radius: 999px; background: var(--bg-white);
    border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(18,36,65,0.10); z-index: 6;
}
.scene-btn {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--text-dim); padding: 9px 18px; border-radius: 999px; transition: color .3s;
}
.scene-btn.active { color: #fff; }
.scene-toggle-pill {
    position: absolute; top: 5px; left: 5px; bottom: 5px; width: calc(50% - 5px);
    border-radius: 999px; background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 6px 18px rgba(31,154,166,0.4); transition: transform .42s var(--ease-out); z-index: 1;
}
.scene-toggle.show-hood .scene-toggle-pill { transform: translateX(100%); }

/* Navy "product canvas" framing the scene on the light page */
.scene-canvas {
    position: relative; border-radius: 28px; padding: 12px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 70%);
    border: 1px solid rgba(18,36,65,0.55);
    box-shadow: 0 46px 100px rgba(18,36,65,0.30), 0 8px 26px rgba(18,36,65,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.scene-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
    background: radial-gradient(70% 55% at 78% 16%, rgba(31,154,166,0.16), transparent 60%);
}
.scene-stage { position: relative; min-height: 430px; display: flex; align-items: flex-end; justify-content: center; transition: min-height .5s var(--ease-out); }
.hero-scene-wrap:has(.scene-tower.active) .scene-stage { min-height: 560px; }
.hero-scene-wrap:has(.scene-hood.active) .scene-stage { min-height: 430px; }
.scene-stage::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(180deg, rgba(54,194,206,0.06), transparent 46%); pointer-events: none; }
/* App-chrome topbar on the product canvas */
.scene-topbar { display: flex; align-items: center; gap: 10px; padding: 4px 12px 12px; position: relative; z-index: 8; }
.st-icon { width: 18px; height: 18px; opacity: .92; }
.st-title { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-light-dim); }
.st-dots { margin-left: auto; display: flex; gap: 6px; }
.st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }
/* Hero ghost button on light */
.hero .btn-ghost { background: var(--bg-white); color: var(--navy); border: 1px solid var(--border); }
.hero .btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--bg-white); }
.scene {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; transform: scale(.96); pointer-events: none;
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.scene.active { opacity: 1; transform: none; pointer-events: auto; }

/* Floating scene labels (shared) */
.scene-label {
    position: absolute; font-size: 10.5px; font-weight: 600; color: var(--text-light);
    background: rgba(11,26,51,0.86); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.09); border-radius: 7px; padding: 6px 11px;
    display: flex; align-items: center; gap: 6px; white-space: nowrap; opacity: 0; z-index: 7;
}
.scene.active .scene-label { animation: labelFadeIn .9s var(--ease-out) forwards; }
@keyframes labelFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.bl-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.bl-dot.teal { background: var(--teal-bright); box-shadow: 0 0 8px var(--teal-bright); }
.bl-dot.gold { background: var(--gold-bright); box-shadow: 0 0 8px var(--gold); }
.bl-dot.green { background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.bl-dot.blue { background: #54a8ff; box-shadow: 0 0 8px #54a8ff; }
.bl-dot.purple { background: #b07cf6; box-shadow: 0 0 8px #b07cf6; }

.sl-elevator { top: 9%; right: -30px; animation-delay: .8s; }
.sl-reserve  { top: 22%; left: -52px; animation-delay: 1.3s; }
.sl-gate     { top: 22%; left: -44px; animation-delay: .8s; }
.sl-arc      { top: 9%; right: -28px; animation-delay: 1.3s; }

/* ── Glass "live community" HUD (the system, running) ── */
.scene-hud {
    position: absolute; left: -14px; bottom: 8px; width: 270px; z-index: 9;
    background: linear-gradient(160deg, rgba(16,33,56,0.94), rgba(11,26,51,0.88));
    border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 16px 17px;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
    animation: hudFloat 7s ease-in-out infinite;
}
@keyframes hudFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hud-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hud-live { display: inline-flex; align-items: center; gap: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: var(--green-bright); }
.hud-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); animation: ablink 1.8s ease-in-out infinite; }
.hud-name { font-size: 12px; font-weight: 600; color: var(--text-light); }
.hud-dues-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--text-light-dim); margin-bottom: 9px; }
.hud-dues-top strong { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 14px; }
.hud-bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--green-bright)); box-shadow: 0 0 12px var(--teal-glow); animation: hudBar 1.6s var(--ease-out) .5s forwards; }
@keyframes hudBar { to { width: 89%; } }
.hud-rings { display: flex; justify-content: space-between; gap: 9px; margin-top: 16px; }
.hud-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.hud-cell label { font-size: 9.5px; color: var(--text-light-dim); text-align: center; line-height: 1.3; }
.hud-ring { --p: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--teal-bright) calc(var(--p) * 1%), rgba(255,255,255,0.10) 0);
    animation: ringGrow 1.5s var(--ease-out) .5s forwards; }
.hud-ring.gold { background: conic-gradient(var(--gold-bright) calc(var(--p) * 1%), rgba(255,255,255,0.10) 0); }
.hud-ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #0e2138; }
.hud-ring span { position: relative; z-index: 1; font-size: 12px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: #fff; }
.hud-paid { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--green-bright); background: rgba(46,166,107,0.14); border: 1px solid rgba(46,166,107,0.32); }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes ringGrow { from { --p: 0; } to { --p: var(--pp); } }

/* Ground reflection glow under the scene */
.scene-stage::after { content: ''; position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 300px; height: 44px; background: radial-gradient(ellipse, rgba(31,154,166,0.20), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none; }

/* ════════════════════ SCENE A — CONDO TOWER (recolored) ════════════════════ */
.bldg { position: relative; width: 300px; filter: drop-shadow(0 22px 60px rgba(0,0,0,0.6)); animation: bldgFloat 8s ease-in-out infinite; }
@keyframes bldgFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
.bldg-antenna { display:flex; flex-direction:column; align-items:center; margin-bottom:-1px; }
.antenna-pole { width:2px; height:30px; background:linear-gradient(180deg,rgba(255,255,255,0.4),rgba(255,255,255,0.08)); }
.antenna-blink { width:6px; height:6px; border-radius:50%; background:var(--teal-bright); box-shadow:0 0 10px var(--teal-bright),0 0 20px var(--teal-glow); animation:ablink 2s ease-in-out infinite; margin-top:-30px; }
@keyframes ablink { 0%,100%{opacity:1;} 50%{opacity:0.15;} }
.bldg-rooftop { height:14px; background:linear-gradient(180deg,#233a5c,#1a2f4e); border-radius:4px 4px 0 0; border:1px solid rgba(255,255,255,0.06); border-bottom:none; position:relative; }
.rooftop-rail { position:absolute; top:-4px; left:10%; right:10%; height:4px; border:1px solid rgba(255,255,255,0.08); border-bottom:none; border-radius:2px 2px 0 0; }
.bldg-tower { position:relative; display:flex; background:linear-gradient(180deg,#0e2038,#0a1729); border-left:4px solid #1c3252; border-right:4px solid #1c3252; }
.tower-col-l,.tower-col-r { width:6px; background:linear-gradient(180deg,#1c3252,#15263f); flex-shrink:0; }
.tower-body { flex:1; display:flex; flex-direction:column; }
.fl { display:flex; align-items:stretch; height:38px; gap:3px; padding:5px 4px; border-bottom:1px solid rgba(255,255,255,0.03); }
.w { flex:1; background:rgba(30,52,84,0.5); border:1px solid rgba(60,110,170,0.10); border-radius:1px; position:relative; }
.w::after { content:''; position:absolute; top:0; left:0; width:40%; height:100%; background:linear-gradient(90deg,rgba(255,255,255,0.03),transparent); }
.w.lit { background:linear-gradient(180deg,rgba(255,214,120,0.42),rgba(240,180,70,0.20)); box-shadow:0 0 10px rgba(255,200,90,0.10); animation:wGlow 10s ease-in-out infinite; }
.w.lit.d1{animation-delay:-2.5s;} .w.lit.d2{animation-delay:-5s;} .w.lit.d3{animation-delay:-7.5s;}
@keyframes wGlow { 0%,100%{opacity:1;} 30%{opacity:0.7;} 60%{opacity:1;} 80%{opacity:0.5;} }
.shaft-seg { width:20px; flex-shrink:0; background:rgba(31,154,166,0.04); border-left:1px solid rgba(31,154,166,0.14); border-right:1px solid rgba(31,154,166,0.14); }
.shaft-overlay { position:absolute; left:calc(6px + 4px + 42% - 10px); top:0; bottom:0; width:20px; pointer-events:none; z-index:5; }
.shaft-car { width:16px; height:18px; background:linear-gradient(180deg,var(--teal-bright),var(--teal)); border-radius:2px; position:absolute; left:2px; top:10px; box-shadow:0 0 14px var(--teal-glow),0 2px 6px rgba(0,0,0,0.4); animation:shaftRide 12s cubic-bezier(0.45,0,0.55,1) infinite; }
@keyframes shaftRide { 0%,4%{top:10px;} 12%,16%{top:76px;} 24%,28%{top:152px;} 36%,40%{top:228px;} 48%,52%{top:304px;} 60%,64%{top:380px;} 72%,76%{top:228px;} 84%,88%{top:114px;} 96%,100%{top:10px;} }
.bldg-lobby { height:56px; background:linear-gradient(180deg,#0f1d33,#132544); border-left:4px solid #1c3252; border-right:4px solid #1c3252; border-bottom:3px solid rgba(31,154,166,0.4); position:relative; overflow:visible; }
.lobby-canopy { position:absolute; top:-6px; left:-12px; right:-12px; height:6px; background:linear-gradient(180deg,#233a5c,#1a2f4e); border-radius:2px; box-shadow:0 2px 8px rgba(0,0,0,0.3); }
.lobby-inner { display:flex; align-items:flex-end; height:100%; padding:0 12px 8px; gap:8px; }
.lobby-desk-wrap { position:relative; width:40px; }
.lobby-counter { width:40px; height:16px; background:rgba(31,154,166,0.16); border:1px solid rgba(31,154,166,0.28); border-radius:3px 3px 0 0; }
.lobby-person-body { width:10px; height:14px; background:var(--teal); border-radius:3px 3px 0 0; position:absolute; bottom:16px; left:15px; opacity:0.85; }
.lobby-person-head { width:8px; height:8px; border-radius:50%; background:var(--teal-bright); position:absolute; bottom:30px; left:16px; opacity:0.9; }
.lobby-door-frame { width:24px; height:40px; border:2px solid rgba(31,154,166,0.28); border-bottom:none; border-radius:3px 3px 0 0; position:relative; }
.lobby-door-glass { position:absolute; inset:2px; inset-block-end:0; background:rgba(31,154,166,0.07); border-radius:2px 2px 0 0; }
.lobby-pkg-area { display:flex; flex-direction:column; align-items:center; gap:2px; position:relative; margin-left:auto; }
.pkg-box { width:14px; height:12px; background:rgba(84,168,255,0.42); border:1px solid rgba(84,168,255,0.5); border-radius:2px; animation:pkgP 5s ease-in-out infinite; }
.pkg-box.sm { width:10px; height:8px; animation-delay:-2s; }
@keyframes pkgP { 0%,100%{opacity:0.4;transform:scale(0.9);} 50%{opacity:1;transform:scale(1);} }
.pkg-pop { position:absolute; top:-20px; right:-8px; font-size:14px; animation:pkgB 5s ease-in-out infinite; }
@keyframes pkgB { 0%,100%{transform:translateY(0);opacity:0;} 15%{transform:translateY(-10px);opacity:1;} 45%{transform:translateY(-6px);opacity:1;} 70%{opacity:0;} }
.lobby-visitor-anim { position:absolute; bottom:10px; right:20px; }
.v-body { width:7px; height:14px; background:#b07cf6; border-radius:3px 3px 0 0; animation:vW 7s ease-in-out infinite; }
.v-head { width:7px; height:7px; border-radius:50%; background:#b07cf6; animation:vW 7s ease-in-out infinite; margin-bottom:-1px; }
@keyframes vW { 0%{transform:translateX(40px);opacity:0;} 10%{transform:translateX(30px);opacity:1;} 40%{transform:translateX(0);opacity:1;} 50%{transform:translateX(0);opacity:1;} 80%{transform:translateX(-40px);opacity:0.5;} 100%{transform:translateX(-40px);opacity:0;} }
.bldg-garage { height:48px; background:linear-gradient(180deg,#0c1626,#080f1c); border-left:4px solid #182842; border-right:4px solid #182842; border-radius:0 0 4px 4px; display:flex; align-items:center; overflow:hidden; }
.garage-label { font-size:8px; font-weight:700; color:rgba(255,255,255,0.1); width:18px; text-align:center; flex-shrink:0; }
.garage-inner { flex:1; display:flex; align-items:center; gap:6px; padding:0 8px; }
.g-gate { width:3px; height:26px; background:var(--gold); border-radius:1px; transform-origin:bottom; animation:gSw 8s ease-in-out infinite; flex-shrink:0; box-shadow:0 0 8px rgba(197,161,79,0.4); }
@keyframes gSw { 0%,100%{transform:rotate(0deg);} 12%{transform:rotate(-85deg);} 50%{transform:rotate(-85deg);} 62%{transform:rotate(0deg);} }
.g-car { height:14px; border-radius:5px 5px 2px 2px; flex-shrink:0; position:relative; }
.g-car::after { content:''; position:absolute; top:2px; left:25%; width:50%; height:5px; background:rgba(140,200,255,0.2); border-radius:2px; }
.gc1{width:28px;background:linear-gradient(180deg,#2f6fb0,#234f86);}
.gc2{width:24px;background:linear-gradient(180deg,#7c5ad6,#4f3aa0);}
.gc3{width:26px;background:linear-gradient(180deg,var(--teal),#15707a);}
.g-entering{animation:gDr 8s ease-in-out infinite;}
@keyframes gDr { 0%{transform:translateX(-70px);opacity:0;} 12%{transform:translateX(-20px);opacity:0.5;} 30%{transform:translateX(0);opacity:1;} 100%{transform:translateX(0);opacity:1;} }
.g-empty-spot { flex:1; height:16px; border:1px dashed rgba(255,255,255,0.05); border-radius:2px; }
.bldg-shadow { width:90%; height:8px; margin:0 auto; background:radial-gradient(ellipse,rgba(31,154,166,0.14) 0%,transparent 70%); border-radius:50%; }

/* ════════════════════ SCENE B — NEIGHBORHOOD (new) ════════════════════ */
.hood { position: relative; width: 360px; height: 360px; animation: hoodFloat 9s ease-in-out infinite; }
@keyframes hoodFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
.hood-sky { position:absolute; inset:0 0 70px 0; border-radius:14px;
    background: radial-gradient(120% 90% at 70% 10%, rgba(31,154,166,0.10), transparent 60%),
                linear-gradient(180deg, rgba(20,40,70,0.35), rgba(11,26,51,0.05)); }

/* Clubhouse + pool (top-right) */
.hood-clubhouse { position:absolute; top:14px; right:6px; width:96px; }
.club-roof { width:0; height:0; margin:0 auto; border-left:48px solid transparent; border-right:48px solid transparent; border-bottom:16px solid #284a6e; }
.club-body { height:30px; background:linear-gradient(180deg,#16304f,#102640); border:1px solid rgba(255,255,255,0.05); border-top:none; border-radius:0 0 3px 3px; position:relative; }
.club-body::after { content:''; position:absolute; inset:7px 10px; border:1px solid rgba(31,154,166,0.3); border-radius:2px; background:rgba(31,154,166,0.10); }
.pool { margin:5px auto 0; width:70px; height:18px; border-radius:9px; background:linear-gradient(180deg, rgba(31,154,166,0.5), rgba(31,154,166,0.25)); border:1px solid rgba(54,194,206,0.4); position:relative; overflow:hidden; }
.pool-shimmer { position:absolute; top:0; left:-40%; width:40%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.5),transparent); animation:poolShimmer 3.4s ease-in-out infinite; }
@keyframes poolShimmer { 0%{left:-40%;} 60%,100%{left:120%;} }

/* House row */
.hood-row { position:absolute; left:8px; right:8px; bottom:74px; display:flex; align-items:flex-end; justify-content:space-between; gap:6px; }
.house { position:relative; width:74px; display:flex; flex-direction:column; align-items:center; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45)); }
.roof { width:0; border-left:38px solid transparent; border-right:38px solid transparent; border-bottom:22px solid #294a6f; filter: drop-shadow(0 -1px 0 rgba(255,255,255,0.05)); }
.house.hb .roof, .house.hd .roof { border-bottom-color:#26456a; }
.chimney { position:absolute; top:-6px; right:16px; width:7px; height:14px; background:#1d3a5c; border-radius:2px 2px 0 0; }
.facade { width:64px; height:46px; background:linear-gradient(180deg,#14304f,#0f2541); border:1px solid rgba(255,255,255,0.05); border-top:none; border-radius:0 0 3px 3px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px; padding:8px; position:relative; }
.win { width:13px; height:13px; border-radius:2px; background:rgba(40,70,110,0.6); border:1px solid rgba(80,130,190,0.18); }
.win.lit { background:linear-gradient(180deg,rgba(255,214,120,0.5),rgba(240,180,70,0.25)); box-shadow:0 0 8px rgba(255,200,90,0.15); animation:wGlow 9s ease-in-out infinite; }
.win.lit.d1{animation-delay:-2s;} .win.lit.d2{animation-delay:-4s;} .win.lit.d3{animation-delay:-6s;}
.door { width:14px; height:20px; background:rgba(31,154,166,0.22); border:1px solid rgba(31,154,166,0.4); border-radius:3px 3px 0 0; align-self:flex-end; margin-top:2px; }
.lawn { width:70px; height:9px; margin-top:2px; border-radius:0 0 3px 3px; background:linear-gradient(180deg, rgba(46,166,107,0.5), rgba(46,166,107,0.22)); position:relative; }
.sprinkler { position:absolute; top:-2px; left:18px; width:4px; height:4px; }
.sprinkler::before, .sprinkler::after { content:''; position:absolute; left:0; bottom:0; width:10px; height:10px; border:1.5px solid rgba(54,194,206,0.5); border-radius:50% 50% 0 0; border-bottom:none; border-right:none; transform-origin:bottom left; opacity:0; animation:sprinkle 3s ease-in-out infinite; }
.sprinkler.s2::before, .sprinkler.s2::after { animation-delay:1.4s; }
.sprinkler::after { transform: scaleX(-1); }
@keyframes sprinkle { 0%,100%{ opacity:0; transform:scale(.4); } 40%,60%{ opacity:.8; transform:scale(1); } }

/* ARC review stamp on a house */
.house.arc-review { animation: arcGlow 5s ease-in-out infinite; }
@keyframes arcGlow { 0%,100%{ filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45)); } 50%{ filter: drop-shadow(0 0 16px rgba(197,161,79,0.5)) drop-shadow(0 10px 18px rgba(0,0,0,0.45)); } }
.arc-stamp { position:absolute; top:8px; left:50%; font-family:'Space Grotesk',sans-serif; font-size:9px; font-weight:700; letter-spacing:.5px; color:var(--gold-bright); border:1.5px solid var(--gold); border-radius:4px; padding:2px 5px; background:rgba(11,26,51,0.7); transform: translate(-50%,0) rotate(-8deg) scale(0); animation: arcStampPop 5s ease-in-out infinite; }
@keyframes arcStampPop { 0%,30%{ transform:translate(-50%,0) rotate(-8deg) scale(0); opacity:0; } 45%,85%{ transform:translate(-50%,0) rotate(-8deg) scale(1); opacity:1; } 100%{ opacity:0; transform:translate(-50%,0) rotate(-8deg) scale(1); } }

/* Street + vehicles */
.hood-street { position:absolute; left:0; right:0; bottom:34px; height:40px; background:linear-gradient(180deg,#11233d,#0b1a30); border-top:1px solid rgba(255,255,255,0.05); border-bottom:1px solid rgba(255,255,255,0.04); overflow:hidden; }
.street-dashes { position:absolute; top:50%; left:0; right:0; height:2px; transform:translateY(-50%);
    background:repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 14px, transparent 14px 30px); }
.mailbox-cluster { position:absolute; bottom:6px; left:62%; }
.mailbox { display:block; width:8px; height:14px; background:var(--teal); border-radius:2px 2px 0 0; position:relative; }
.mailbox::after { content:''; position:absolute; bottom:-6px; left:3px; width:2px; height:6px; background:#1d3a5c; }
.mail-flag { position:absolute; top:1px; left:8px; width:5px; height:4px; background:var(--gold); border-radius:0 2px 2px 0; }
.mail-pop { position:absolute; top:-18px; left:-4px; font-size:13px; opacity:0; animation:mailPop 7s ease-in-out infinite; }
@keyframes mailPop { 0%,40%,100%{ opacity:0; transform:translateY(4px) scale(.6);} 50%,72%{ opacity:1; transform:translateY(-6px) scale(1);} }
.van { position:absolute; bottom:8px; left:0; width:42px; height:20px; animation:vanDrive 7s ease-in-out infinite; }
.van-body { position:absolute; bottom:4px; left:0; width:30px; height:15px; background:linear-gradient(180deg,#eef3f8,#cdd8e6); border-radius:3px 2px 2px 3px; }
.van-cab { position:absolute; bottom:4px; left:27px; width:13px; height:11px; background:linear-gradient(180deg,var(--teal-bright),var(--teal)); border-radius:2px 4px 2px 2px; }
.van-cab::after { content:''; position:absolute; top:2px; right:2px; width:5px; height:5px; background:rgba(180,225,255,0.7); border-radius:1px; }
.van-wheel { position:absolute; bottom:0; width:7px; height:7px; border-radius:50%; background:#0a1320; border:1.5px solid #2a3a52; }
.vw1{ left:5px; } .vw2{ left:28px; }
@keyframes vanDrive { 0%{ transform:translateX(-60px); opacity:0; } 10%{ opacity:1; } 48%{ transform:translateX(150px); } 52%{ transform:translateX(160px); } 90%{ opacity:1; } 100%{ transform:translateX(380px); opacity:0; } }
.cart { position:absolute; bottom:9px; right:0; width:22px; height:16px; animation:cartDrive 11s linear infinite; }
.cart-body { position:absolute; bottom:4px; right:0; width:20px; height:10px; background:linear-gradient(180deg,#2EA66B,#1d7a4d); border-radius:4px 3px 2px 4px; }
.cart-body::before { content:''; position:absolute; top:-6px; left:3px; right:3px; height:6px; border:1.5px solid #2EA66B; border-bottom:none; border-radius:3px 3px 0 0; }
.cart-wheel { position:absolute; bottom:0; width:6px; height:6px; border-radius:50%; background:#0a1320; border:1.5px solid #2a3a52; right:2px; }
.cart-wheel.cw2 { right:13px; }
@keyframes cartDrive { 0%{ transform:translateX(40px); opacity:0; } 8%,92%{ opacity:1; } 100%{ transform:translateX(-340px); opacity:0; } }

/* Entrance gate (left) */
.hood-gate { position:absolute; bottom:74px; left:-6px; width:40px; height:40px; }
.gate-post { position:absolute; bottom:0; left:0; width:5px; height:34px; background:linear-gradient(180deg,#23415f,#16304f); border-radius:2px; }
.gate-post-r { left:30px; }
.gate-arm { position:absolute; bottom:26px; left:5px; width:28px; height:4px; background:repeating-linear-gradient(90deg,var(--gold) 0 6px,#0b1a33 6px 9px); border-radius:2px; transform-origin:left center; animation:gateArm 8s ease-in-out infinite; }
@keyframes gateArm { 0%,100%{ transform:rotate(0deg); } 14%{ transform:rotate(-72deg); } 52%{ transform:rotate(-72deg); } 64%{ transform:rotate(0deg); } }
.hood-shadow { position:absolute; bottom:28px; left:8%; right:8%; height:10px; background:radial-gradient(ellipse,rgba(31,154,166,0.13) 0%,transparent 70%); border-radius:50%; }

/* ════════════════════ PROBLEM → CLARITY ════════════════════ */
.problem-section { background: var(--bg-white); }
.chaos-clarity { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; max-width: 920px; margin: 0 auto; }
.chaos-side { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chaos-tag {
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    background: var(--bg-tint); border: 1px dashed var(--border); border-radius: 8px; padding: 8px 13px;
    transform: rotate(var(--r, 0deg)); transition: all .3s;
}
.chaos-side .chaos-tag:nth-child(2n) { --r: -2deg; }
.chaos-side .chaos-tag:nth-child(3n) { --r: 1.5deg; }
.chaos-side:hover .chaos-tag { opacity: .5; }
.clarity-arrow { color: var(--teal); opacity: .8; }
.clarity-side .clarity-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff;
    border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px rgba(18,36,65,0.28);
    border: 1px solid rgba(255,255,255,0.06);
}
.clarity-card-head { display: flex; align-items: center; gap: 9px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.clarity-card p { color: var(--text-light-dim); font-size: 14.5px; }

/* ════════════════════ CTA + FORM ════════════════════ */
.cta-section { overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cta-title { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin: 14px 0 18px; letter-spacing: -0.02em; }
.cta-desc { color: var(--text-light-dim); font-size: 16.5px; margin-bottom: 22px; }
.cta-checklist { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.cta-checklist li { display: flex; align-items: center; gap: 11px; color: var(--text-light); font-size: 15px; }
.cta-checklist .ck { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(46,166,107,0.18); color: var(--green-bright); font-size: 12px; flex-shrink: 0; }
.cta-info-cards { display: flex; flex-direction: column; gap: 12px; }
.cta-info-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); transition: all .25s; }
.cta-info-card:hover { background: rgba(255,255,255,0.07); border-color: var(--teal); transform: translateX(4px); }
.cta-info-icon { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(31,154,166,0.12); border-radius: 10px; flex-shrink: 0; }
.cta-info-label { font-size: 12px; color: var(--text-light-dim); }
.cta-info-value { font-size: 15px; font-weight: 600; color: #fff; }

.cta-form-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 70px rgba(0,0,0,0.4); position: relative; }
.cta-form-title { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.cta-form-subtitle { font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }
.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; }
.form-input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--bg-light); transition: border-color .2s, box-shadow .2s; }
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); background: #fff; }
.form-textarea { resize: vertical; min-height: 56px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2354657E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-submit { width: 100%; margin-top: 8px; padding: 15px; font-size: 16px; }
.form-disclaimer { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 20px 10px; }
.form-success.show { display: block; animation: fadeInUp .5s var(--ease-out); }
.form-success-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(46,166,107,0.12); color: var(--green); border-radius: 50%; font-size: 32px; }
.form-success-title { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.form-success-text { font-size: 14.5px; color: var(--text-dim); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ════════════════════ FOOTER ════════════════════ */
.footer { background: var(--navy-900); color: var(--text-light-dim); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand .logo { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 320px; margin-bottom: 12px; }
.footer-tagline { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--gold-bright) !important; font-size: 13.5px !important; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-contact a { display: flex; flex-direction: column; gap: 1px; }
.footer-contact-label { font-size: 11px; color: var(--text-muted); }
.footer-contact-value { font-size: 14px; color: var(--text-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; }
.footer-bottom strong { color: var(--teal-bright); }

/* ════════════════════ LIGHTBOX ════════════════════ */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,16,30,0.92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 40px; }
.lightbox.open { display: flex; animation: fadeInUp .3s var(--ease-out); }
.lightbox-img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-caption { color: var(--text-light-dim); font-size: 14px; }
.lightbox-close { position: absolute; top: 24px; right: 30px; font-size: 34px; color: #fff; line-height: 1; }

/* ════════════════════ SHARED CARD / GRID PRIMITIVES (used by injected sections) ════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(18,36,65,0.10); border-color: rgba(31,154,166,0.4); }
.section.dark .card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.section.dark .card:hover { background: rgba(255,255,255,0.05); }
.eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); }

/* ════════════════════ RESPONSIVE BASE ════════════════════ */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 30px; }
    .hero-text { text-align: center; }
    .hero-pre, .hero-ctas { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .cta-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
    :root { --section-gap: 80px; }
    .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; justify-content: center; gap: 26px; background: rgba(255,255,255,0.98); box-shadow: -20px 0 60px rgba(18,36,65,0.12); backdrop-filter: blur(20px); transform: translateX(100%); transition: transform .4s var(--ease-out); padding: 40px; }
    .nav-links.mobile-open { transform: translateX(0); }
    .nav-hamburger { display: flex; z-index: 101; }
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .chaos-clarity { grid-template-columns: 1fr; }
    .clarity-arrow { transform: rotate(90deg); margin: 0 auto; }
}
@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .scene-stage { min-height: 520px; transform: scale(.92); }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
    [data-animate] { opacity: 1 !important; transform: none !important; }
    .tally-stroke { transform: skewX(-20deg) scaleX(1) !important; }
}


/* ===================== SECTION STYLES (assembled) ===================== */

/* ---------- transparency ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — transparency.css  (prefix: tx)
   "See every dollar — in the open."  Dues donut + open ledger.
   ══════════════════════════════════════════════════════════════ */

.tx-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: center;
}

/* ──────────────── LEFT · DONUT ──────────────── */
.tx-left {
    position: relative;
    background: linear-gradient(165deg, var(--bg-white), var(--bg-tint));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 32px 30px;
    box-shadow: 0 22px 60px rgba(18,36,65,0.07);
}

.tx-allocation-head { margin-bottom: 6px; }
.tx-kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--teal);
}
.tx-tally { color: var(--navy); flex-shrink: 0; }
.tx-allocation-title {
    font-size: 19px; font-weight: 600; color: var(--navy); margin-top: 6px;
}

.tx-donut-wrap {
    display: flex; justify-content: center;
    padding: 18px 0 22px;
}

/* The donut: animated conic ring drawn via @property --tx-a sweep */
.tx-donut {
    position: relative;
    width: 230px; height: 230px;
    display: grid; place-items: center;
}
@property --tx-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.tx-donut-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    /* Operating 64% (teal) → Reserves 26% (gold) → Contingency 10% (green) */
    background: conic-gradient(
        from -90deg,
        var(--teal)        0deg,
        var(--teal-bright) var(--tx-stop-op),
        var(--gold)        var(--tx-stop-op),
        var(--gold-bright) var(--tx-stop-res),
        var(--green)       var(--tx-stop-res),
        var(--green-bright) var(--tx-stop-cont),
        rgba(18,36,65,0.06) var(--tx-stop-cont)
    );
    /* carve out the donut hole */
    -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
            mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
    --tx-stop-op:   calc(0.64 * var(--tx-a));
    --tx-stop-res:  calc(0.90 * var(--tx-a));
    --tx-stop-cont: calc(1.00 * var(--tx-a));
    box-shadow: 0 10px 34px rgba(31,154,166,0.16);
    animation: txSweep 1.5s var(--ease-out) 0.2s forwards;
}
@keyframes txSweep { to { --tx-a: 360deg; } }

/* segment divider ticks — subtle white seams */
.tx-donut::before {
    content: '';
    position: absolute; inset: 0; border-radius: 50%;
    background:
        conic-gradient(from -90deg,
            transparent 0 calc(64% - 1px), rgba(255,255,255,0.85) calc(64% - 1px) calc(64% + 1px), transparent calc(64% + 1px) calc(90% - 1px),
            rgba(255,255,255,0.85) calc(90% - 1px) calc(90% + 1px), transparent calc(90% + 1px) calc(100% - 1px),
            rgba(255,255,255,0.85) calc(100% - 1px) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61% 99%, transparent 100%);
            mask: radial-gradient(farthest-side, transparent 60%, #000 61% 99%, transparent 100%);
    opacity: 0; animation: txSeamIn .6s ease 1.5s forwards;
    pointer-events: none; z-index: 2;
}
@keyframes txSeamIn { to { opacity: 1; } }

/* center core */
.tx-donut-core {
    position: relative; z-index: 3;
    width: 60%; height: 60%; border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #fff, var(--bg-light));
    border: 1px solid var(--border);
    box-shadow: inset 0 2px 10px rgba(18,36,65,0.05), 0 6px 18px rgba(18,36,65,0.06);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1;
}
.tx-donut-amount {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    font-size: 38px; color: var(--navy); letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.tx-donut-unit {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: 13px; color: var(--teal); margin-top: 5px;
}
.tx-donut-sub {
    font-size: 11px; color: var(--text-muted); margin-top: 6px;
    letter-spacing: .3px;
}

/* legend */
.tx-legend {
    display: flex; flex-direction: column; gap: 4px;
    border-top: 1px solid var(--border); padding-top: 14px;
}
.tx-legend-row {
    display: grid;
    grid-template-columns: 14px minmax(86px, auto) 1fr auto;
    align-items: center; gap: 12px;
    padding: 10px 8px; border-radius: var(--radius-sm);
    transition: background .25s var(--ease);
}
.tx-legend-row:hover { background: var(--teal-soft); }
.tx-swatch {
    width: 14px; height: 14px; border-radius: 5px;
    box-shadow: 0 2px 6px rgba(18,36,65,0.12);
}
.tx-sw-op   { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.tx-sw-res  { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); }
.tx-sw-cont { background: linear-gradient(135deg, var(--green), var(--green-bright)); }
.tx-legend-name {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: 14.5px; color: var(--navy);
}
.tx-legend-note {
    font-size: 12.5px; color: var(--text-muted); line-height: 1.3;
}
.tx-legend-pct {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 17px; color: var(--navy); letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

/* ──────────────── RIGHT · OPEN LEDGER (navy product canvas) ──────────────── */
.tx-right { position: relative; }

/* Navy "product canvas" — matches the hero .scene-canvas treatment */
.tx-ledger-canvas {
    position: relative;
    border-radius: 24px; padding: 14px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 26px rgba(18,36,65,0.14),
                inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    transform-style: preserve-3d;
}
.tx-ledger-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 55% at 80% 12%, rgba(31,154,166,0.16), transparent 60%);
}

/* app topbar */
.tx-topbar {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 10px 12px; position: relative; z-index: 2;
}
.tx-st-icon { width: 18px; height: 18px; opacity: .92; flex-shrink: 0; }
.tx-st-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text-light-dim);
}
.tx-st-dots { margin-left: auto; display: flex; gap: 6px; }
.tx-st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }

/* ruled accounting-paper sheet inside the canvas */
.tx-ledger {
    position: relative; z-index: 1;
    border-radius: 16px;
    padding: 18px 20px 18px;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 44px),
        linear-gradient(180deg, rgba(16,33,56,0.6), rgba(11,26,51,0.5));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
/* gold tally-stroke accent on the sheet's top edge */
.tx-ledger::before {
    content: '';
    position: absolute; left: 20px; top: -1px; width: 54px; height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-20deg); transform-origin: left;
    box-shadow: 0 0 14px rgba(197,161,79,0.5);
}

.tx-ledger-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.tx-ledger-cols {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; flex: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--text-light-dim);
    padding-right: 40px;
}
.tx-lh-amt { text-align: right; }
.tx-ledger-live {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.6px; color: var(--green-bright);
    background: rgba(46,166,107,0.14); border: 1px solid rgba(46,166,107,0.30);
    padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.tx-ledger-live i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright);
    animation: txBlink 1.9s ease-in-out infinite;
}
@keyframes txBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ledger rows */
.tx-rows { display: flex; flex-direction: column; }
.tx-row {
    display: grid;
    grid-template-columns: 52px 1fr auto 26px;
    align-items: center; gap: 14px;
    padding: 13px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.tx-row:last-of-type { border-bottom: none; }
.tx-row::before {
    content: ''; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 3px;
    border-radius: 3px; background: var(--teal-bright); opacity: 0;
    transition: opacity .25s var(--ease);
}
.tx-row:hover { background: rgba(54,194,206,0.08); padding-left: 12px; }
.tx-row:hover::before { opacity: 1; }
.tx-row-reserve:hover { background: rgba(197,161,79,0.10); }
.tx-row-reserve::before { background: var(--gold-bright); }

.tx-row-date {
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600;
    color: var(--text-light-dim); letter-spacing: .3px;
    font-variant-numeric: tabular-nums;
}
.tx-row-payee {
    font-size: 14.5px; font-weight: 500; color: var(--text-light);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.tx-row-amt {
    font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 700;
    color: #fff; letter-spacing: -0.01em; text-align: right;
    font-variant-numeric: tabular-nums;
}
.tx-row-reserve .tx-row-amt { color: var(--gold-bright); }
.tx-row-check {
    display: inline-grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(46,166,107,0.18); color: var(--green-bright);
    font-size: 12px; font-weight: 700;
    box-shadow: 0 0 0 1px rgba(46,166,107,0.34) inset;
}

/* paid receipt chip */
.tx-receipt {
    display: flex; align-items: center; gap: 11px;
    margin-top: 14px; padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(120deg, rgba(46,166,107,0.18), rgba(63,211,137,0.07));
    border: 1px solid rgba(46,166,107,0.34);
}
.tx-receipt-check {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--green); color: #fff; font-size: 14px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(46,166,107,0.4);
}
.tx-receipt-text {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px;
    color: var(--green-bright);
}
.tx-receipt-id {
    margin-left: auto;
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--green-bright); letter-spacing: .4px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(46,166,107,0.30);
    padding: 4px 10px; border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* caption tying it together */
.tx-caption {
    font-size: 14.5px; color: var(--text-dim); line-height: 1.65;
    margin-top: 20px; padding-left: 2px;
}
.tx-caption-strong {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    color: var(--navy); white-space: nowrap;
}

/* ──────────────── RESPONSIVE ──────────────── */
@media (max-width: 980px) {
    .tx-layout { grid-template-columns: 1fr; gap: 34px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .tx-left { padding: 26px 20px 24px; }
    .tx-ledger-canvas { padding: 10px; }
    .tx-ledger { padding: 16px 14px; }
    .tx-donut { width: 200px; height: 200px; }
    .tx-donut-amount { font-size: 32px; }
    .tx-legend-row { grid-template-columns: 14px 1fr auto; gap: 10px; }
    .tx-legend-note { display: none; }
    .tx-ledger-cols { padding-right: 0; font-size: 9px; letter-spacing: 1px; }
    .tx-row { grid-template-columns: 44px 1fr auto 24px; gap: 8px; }
    .tx-row-date { font-size: 10.5px; }
    .tx-row-payee { font-size: 13.5px; }
    .tx-row-amt { font-size: 14px; }
    .tx-receipt { flex-wrap: wrap; }
    .tx-receipt-id { margin-left: 37px; }
    .tx-caption-strong { white-space: normal; }
}

/* Reduced motion: show donut fully drawn, no sweep */
@media (prefers-reduced-motion: reduce) {
    .tx-donut-ring { animation: none; --tx-a: 360deg; }
    .tx-donut::before { animation: none; opacity: 1; }
    .tx-ledger-live i { animation: none; }
}


/* ---------- pillars ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — pillars.css  (prefix: pl-)
   Six pillars · light "open-ledger" cards · accordion capabilities
   Section: .section.tint  ·  no shared primitive is redefined
   ══════════════════════════════════════════════════════════════ */

/* ── "Tap a pillar" rail hint, anchored by the tally-mark count ── */
.pl-railhint {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: -28px auto 48px; max-width: 760px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600;
    letter-spacing: 0.4px; color: var(--text-muted); text-align: center;
}
.pl-tally { display: inline-flex; align-items: center; line-height: 0; }
.pl-tally svg { display: block; }
.pl-tally svg line:last-child {
    stroke-dasharray: 42; stroke-dashoffset: 42;
    transform-origin: left center;
    filter: drop-shadow(0 0 5px rgba(197,161,79,0.35));
}
[data-animate].visible .pl-tally svg line:last-child,
.pl-railhint.visible .pl-tally svg line:last-child { animation: plTallyDraw 0.9s var(--ease-out) 0.3s forwards; }
@keyframes plTallyDraw { to { stroke-dashoffset: 0; } }

/* ── Card grid ── */
.pillars-grid.pl-card,            /* guard against collisions */
.pillars-grid { align-items: start; }

/* ── The pillar card (light / white, open-ledger) ── */
.pillar-card.pl-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px 26px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(18,36,65,0.06);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    cursor: pointer;
}
/* Faint ledger ruled lines as a card texture */
.pillar-card.pl-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    opacity: 0; transition: opacity .4s var(--ease);
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.05) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent 28%, #000 60%);
            mask-image: linear-gradient(180deg, transparent 28%, #000 60%);
}
.pillar-card.pl-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(18,36,65,0.12); border-color: rgba(31,154,166,0.45); }
.pillar-card.pl-card:hover::after,
.pillar-card.pl-card.active::after { opacity: 1; }

/* GOLD tally-stroke wipe along the top edge */
.pillar-card.pl-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-out);
    box-shadow: 0 0 14px rgba(197,161,79,0.45);
}
.pillar-card.pl-card:hover::before,
.pillar-card.pl-card.active::before { transform: scaleX(1); }

/* Keep inner content above the ledger texture */
.pillar-card.pl-card > * { position: relative; z-index: 1; }

/* Faint index numeral, top-right */
.pl-index {
    position: absolute; top: 18px; right: 22px; z-index: 1;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px;
    line-height: 1; letter-spacing: -1px;
    color: rgba(18,36,65,0.06);
    transition: color .35s var(--ease);
}
.pillar-card.pl-card:hover .pl-index,
.pillar-card.pl-card.active .pl-index { color: rgba(31,154,166,0.16); }

/* ── Navy rounded icon tile + teal icon (product-canvas mini-chip) ── */
.pillar-icon.pl-icon {
    width: 56px; height: 56px; border-radius: 15px;
    display: grid; place-items: center; margin-bottom: 20px;
    color: var(--teal-bright);
    background: linear-gradient(155deg, var(--navy-700), var(--navy-deep));
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 12px 26px rgba(18,36,65,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.pillar-icon.pl-icon::after {
    content: ''; position: absolute; inset: 0; border-radius: 15px; pointer-events: none;
    background: radial-gradient(80% 70% at 30% 18%, rgba(54,194,206,0.22), transparent 62%);
}
.pillar-card.pl-card:hover .pillar-icon.pl-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 36px rgba(18,36,65,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.pl-icon { position: relative; }
.pl-icon svg { position: relative; z-index: 1; }

/* AI pillar — subtle gold accent on its tile */
.pl-card--ai .pillar-icon.pl-icon { color: var(--gold-bright); }
.pl-card--ai .pillar-icon.pl-icon::after { background: radial-gradient(80% 70% at 30% 18%, rgba(227,199,126,0.22), transparent 62%); }

/* ── Titles / sub ── */
.pillar-title.pl-title {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px;
    color: var(--navy); letter-spacing: -0.01em; margin-bottom: 7px;
}
.pillar-sub.pl-sub {
    font-size: 14px; color: var(--text-dim); line-height: 1.55; margin-bottom: 18px;
    max-width: 26ch;
}

/* ── Toggle row (teal, with rotating chevron) ── */
.pillar-toggle.pl-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12.5px;
    letter-spacing: 0.5px; color: var(--teal);
    padding: 4px 0; user-select: none; transition: color .25s var(--ease);
}
.pillar-toggle.pl-toggle:hover { color: var(--teal-bright); }
.pillar-toggle.pl-toggle .arrow {
    display: inline-grid; place-items: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--teal-soft); color: var(--teal);
    font-size: 11px; line-height: 1;
    transition: transform .4s var(--ease-out), background .25s var(--ease), color .25s var(--ease);
}
.pillar-card.pl-card.active .pillar-toggle.pl-toggle { color: var(--teal-bright); }
.pillar-card.pl-card.active .pillar-toggle.pl-toggle .arrow {
    transform: rotate(180deg);
    background: linear-gradient(120deg, var(--teal), var(--teal-bright)); color: #fff;
}

/* ── Accordion: capabilities list (ledger rows) ── */
.pillar-features.pl-features {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .5s var(--ease), opacity .3s var(--ease);
}
.pillar-card.pl-card.active .pillar-features.pl-features { max-height: 430px; opacity: 1; }
.pillar-features.pl-features ul {
    margin-top: 16px; padding-top: 4px;
    border-top: 1px solid var(--border);
}
.pillar-features.pl-features li {
    position: relative;
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 0 9px 0;
    font-size: 13.5px; color: var(--text-dim); line-height: 1.45;
    border-bottom: 1px solid rgba(18,36,65,0.05);   /* ruled ledger line */
}
.pillar-features.pl-features li:last-child { border-bottom: none; }
/* gold check = "counted / included" */
.pillar-features.pl-features li::before {
    content: '✓'; flex-shrink: 0;
    display: inline-grid; place-items: center;
    width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
    font-size: 10px; font-weight: 700;
    color: var(--green); background: rgba(46,166,107,0.12);
    transition: transform .3s var(--ease);
}
.pillar-features.pl-features li:hover { color: var(--text); }
.pillar-features.pl-features li:hover::before { transform: scale(1.12); }
.pillar-features.pl-features em {
    font-style: normal; color: var(--text-muted); font-size: 12.5px;
}

/* ── Closing ledger footnote ── */
.pl-footnote {
    margin: 50px auto 0; max-width: 760px; text-align: center;
    font-size: 15.5px; color: var(--text-dim); line-height: 1.6;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.pl-footnote strong { color: var(--navy); font-weight: 700; }
.pl-footnote-check {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(197,161,79,0.14); color: var(--gold);
    font-size: 13px; font-weight: 700;
    box-shadow: 0 0 0 3px rgba(197,161,79,0.06);
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 860px) {
    .pillars-grid { gap: 22px; }
    .pillar-card.pl-card { padding: 26px 24px 24px; }
    .pl-railhint { margin: -18px auto 38px; }
    .pl-footnote { font-size: 14.5px; }
}
@media (max-width: 560px) {
    .pillar-card.pl-card { padding: 24px 22px 22px; }
    .pillar-icon.pl-icon { width: 50px; height: 50px; border-radius: 13px; }
    .pl-index { font-size: 26px; top: 16px; right: 18px; }
    .pillar-title.pl-title { font-size: 18px; }
    .pl-railhint { font-size: 11.5px; gap: 9px; }
    .pl-footnote { margin-top: 38px; padding-top: 26px; }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .pl-tally svg line:last-child { stroke-dashoffset: 0 !important; animation: none !important; }
    .pillar-card.pl-card::before { transition: none; }
}


/* ---------- features ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — features section  (prefix: ft)
   "Boards run it. Residents trust it." — 3 alternating blocks:
   copy  ·  navy product-canvas app UI (dashboard / phone / ARC).
   Light & airy open-ledger; navy canvas for any app UI.
   ══════════════════════════════════════════════════════════════ */

.ft-section { background: var(--bg-white); }

/* faint ledger ruling bleeding up from the bottom, very subtle */
.ft-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.028) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 88%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 30%, #000 88%, transparent);
}
.ft-section .container { position: relative; z-index: 1; }

/* ── Alternating block layout ───────────────────────────────── */
.ft-block {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 96px;
}
.ft-block:last-child { margin-bottom: 0; }
.ft-block.reverse .ft-copy   { order: 2; }
.ft-block.reverse .ft-canvas-wrap { order: 1; }

/* ── Copy side ──────────────────────────────────────────────── */
.ft-eyebrow {
    display: inline-flex; align-items: center; gap: 11px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--teal); margin-bottom: 16px;
}

/* tally-marks motif: four strokes + gold diagonal 5th */
.ft-tally {
    position: relative; display: inline-flex; align-items: center; gap: 3px;
    width: 26px; height: 16px; flex-shrink: 0;
}
.ft-tally i {
    width: 2px; height: 15px; border-radius: 2px;
    background: var(--navy); opacity: .55;
}
.ft-tally-5 {
    position: absolute; left: -3px; right: -3px; top: 50%;
    height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: translateY(-50%) skewX(-2deg) rotate(-18deg);
    box-shadow: 0 0 8px rgba(197,161,79,0.45);
}

.ft-h3 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -0.02em;
    color: var(--navy); line-height: 1.12; margin-bottom: 16px;
}
.ft-p {
    font-size: 16px; color: var(--text-dim); line-height: 1.7;
    max-width: 480px; margin-bottom: 26px;
}

/* green-check bullet list */
.ft-list { display: flex; flex-direction: column; gap: 13px; }
.ft-list li {
    display: flex; align-items: center; gap: 13px;
    font-size: 15px; font-weight: 500; color: var(--navy);
}
.ft-ck {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(46,166,107,0.12); color: var(--green);
    font-size: 12px; font-weight: 700;
    border: 1px solid rgba(46,166,107,0.22);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ft-list li:hover .ft-ck {
    transform: scale(1.12);
    box-shadow: 0 0 0 4px rgba(46,166,107,0.10);
}

/* ════════════════════════════════════════════════════════════
   NAVY PRODUCT-CANVAS  (matches the hero .scene-canvas treatment)
   ════════════════════════════════════════════════════════════ */
.ft-canvas-wrap { position: relative; }
.ft-canvas {
    position: relative;
    border-radius: 24px;
    padding: 14px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 24px rgba(18,36,65,0.12),
                inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
    transform-style: preserve-3d;
}
.ft-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 56% at 80% 12%, rgba(31,154,166,0.16), transparent 60%);
}
.ft-canvas-wrap:hover .ft-canvas {
    transform: translateY(-5px);
    box-shadow: 0 52px 110px rgba(18,36,65,0.34), 0 10px 28px rgba(18,36,65,0.16),
                inset 0 1px 0 rgba(255,255,255,0.08);
}

/* gold tally accent peeking out behind the canvas */
.ft-rule-accent {
    position: absolute; z-index: -1;
    width: 120px; height: 120px; border-radius: 20px;
    background:
        repeating-linear-gradient(0deg, rgba(197,161,79,0.5) 0 2px, transparent 2px 12px);
    opacity: .5;
}
.ft-block:not(.reverse) .ft-rule-accent { right: -22px; bottom: -22px; }
.ft-block.reverse .ft-rule-accent { left: -22px; bottom: -22px; }

/* app-chrome topbar */
.ft-topbar {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 8px 14px; position: relative; z-index: 2;
}
.ft-st-icon { width: 18px; height: 18px; opacity: .92; }
.ft-st-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text-light-dim);
}
.ft-st-dots { margin-left: auto; display: flex; gap: 6px; }
.ft-st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }

/* inner light surface for the mock */
.ft-dash, .ft-arc {
    position: relative; z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
}

/* ── BLOCK 1: dashboard mock ────────────────────────────────── */
.ft-viewtabs {
    display: inline-flex; gap: 3px; padding: 3px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px; margin-bottom: 14px;
}
.ft-vt {
    font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
    color: var(--text-light-dim); padding: 5px 14px; border-radius: 999px;
}
.ft-vt.active {
    color: #fff;
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 4px 12px rgba(31,154,166,0.4);
}

.ft-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ft-kpi {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 11px; padding: 11px 12px;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.ft-canvas-wrap:hover .ft-kpi { background: rgba(255,255,255,0.06); }
.ft-kpi-label {
    display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .4px;
    color: var(--text-light-dim); text-transform: uppercase; margin-bottom: 7px;
}
.ft-kpi-val {
    display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 22px; line-height: 1; color: #fff;
}
.ft-kpi-sub { display: block; font-size: 10px; color: var(--text-light-dim); margin-top: 6px; }
.ft-green { color: var(--green-bright); }
.ft-gold  { color: var(--gold-bright); }
.ft-teal  { color: var(--teal-bright); }
.ft-kpi-sub.ft-green { color: var(--green-bright); }

/* mini bar chart */
.ft-chart {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 11px; padding: 12px 13px 13px; margin-bottom: 14px;
}
.ft-chart-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 10.5px; color: var(--text-light-dim); margin-bottom: 11px;
}
.ft-chart-tag {
    font-family: 'Space Grotesk', sans-serif; font-size: 9px; font-weight: 600;
    color: var(--teal-bright); background: rgba(31,154,166,0.14);
    border-radius: 5px; padding: 2px 7px;
}
.ft-bars { display: flex; align-items: flex-end; gap: 9px; height: 64px; }
.ft-bar {
    flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, rgba(54,194,206,0.85), rgba(31,154,166,0.4));
    transform: scaleY(0); transform-origin: bottom;
}
.ft-bar-now {
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    box-shadow: 0 0 14px rgba(63,211,137,0.35);
}
/* bars rise when the canvas reveals */
.ft-canvas-wrap.visible .ft-bar { animation: ftBarRise .8s var(--ease-out) forwards; }
.ft-canvas-wrap.visible .ft-bar:nth-child(1) { animation-delay: .15s; }
.ft-canvas-wrap.visible .ft-bar:nth-child(2) { animation-delay: .24s; }
.ft-canvas-wrap.visible .ft-bar:nth-child(3) { animation-delay: .33s; }
.ft-canvas-wrap.visible .ft-bar:nth-child(4) { animation-delay: .42s; }
.ft-canvas-wrap.visible .ft-bar:nth-child(5) { animation-delay: .51s; }
.ft-canvas-wrap.visible .ft-bar:nth-child(6) { animation-delay: .60s; }
@keyframes ftBarRise { to { transform: scaleY(1); } }

/* status list — ledger ruled rows */
.ft-statuslist { display: flex; flex-direction: column; }
.ft-statuslist li {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: var(--text-light);
    padding: 9px 2px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.ft-statuslist li:first-child { border-top: none; }
.ft-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ft-d-green { background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.ft-d-teal  { background: var(--teal-bright);  box-shadow: 0 0 8px var(--teal-bright); }
.ft-d-gold  { background: var(--gold-bright);  box-shadow: 0 0 8px var(--gold); }
.ft-d-amber { background: var(--gold-bright);  box-shadow: 0 0 8px var(--gold); }
.ft-status {
    margin-left: auto; font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.ft-s-green { color: var(--green-bright); background: rgba(46,166,107,0.16); }
.ft-s-teal  { color: var(--teal-bright);  background: rgba(31,154,166,0.16); }
.ft-s-gold  { color: var(--gold-bright);  background: rgba(197,161,79,0.16); }
.ft-s-amber { color: var(--gold-bright);  background: rgba(197,161,79,0.16); }

/* ── BLOCK 2: phone frame holding app-mockup.png ────────────── */
.ft-phone-wrap { display: flex; justify-content: center; }
.ft-phone {
    position: relative; width: 270px; padding: 12px;
    border-radius: 40px;
    background: linear-gradient(168deg, #16304f 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.30), 0 8px 24px rgba(18,36,65,0.14),
                inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 0 2px rgba(255,255,255,0.04);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
    transform-style: preserve-3d;
}
.ft-phone-wrap:hover .ft-phone {
    transform: translateY(-5px);
    box-shadow: 0 52px 110px rgba(18,36,65,0.36), 0 10px 28px rgba(18,36,65,0.18),
                inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 0 2px rgba(255,255,255,0.05);
}
.ft-phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 86px; height: 20px; border-radius: 0 0 14px 14px;
    background: #07121f; z-index: 3;
}
.ft-phone-screen {
    position: relative; overflow: hidden;
    border-radius: 30px;
    background: #0e2138;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.ft-phone-img {
    width: 100%; height: auto; display: block; cursor: zoom-in;
    transition: transform .5s var(--ease-out);
}
.ft-phone-wrap:hover .ft-phone-img { transform: scale(1.02); }

/* floating chips around the phone */
.ft-chip {
    position: absolute; z-index: 5;
    display: flex; align-items: center; gap: 11px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 11px 14px;
    box-shadow: 0 18px 44px rgba(18,36,65,0.14);
    animation: ftChipFloat 6s ease-in-out infinite;
}
.ft-chip-body { display: flex; flex-direction: column; }
.ft-chip-top {
    font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600;
    color: var(--navy); line-height: 1.2;
}
.ft-chip-sub { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.ft-chip-ck {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(46,166,107,0.14); color: var(--green);
    font-size: 13px; font-weight: 700;
    border: 1px solid rgba(46,166,107,0.28);
}
.ft-chip-dot {
    width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal-bright), var(--gold-bright));
    box-shadow: 0 0 10px rgba(31,154,166,0.4);
}
.ft-chip-paid  { top: 26px; right: -26px; animation-delay: 0s; }
.ft-chip-where { bottom: 40px; left: -34px; animation-delay: -3s; max-width: 220px; }
@keyframes ftChipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── BLOCK 3: ARC request workflow mock ─────────────────────── */
.ft-req {
    position: relative;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 13px; padding: 15px 16px 18px; margin-bottom: 12px;
}
.ft-req-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.ft-req-id { display: flex; flex-direction: column; gap: 4px; }
.ft-req-tag {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1px; color: var(--teal-bright);
    background: rgba(31,154,166,0.14); border-radius: 5px; padding: 3px 8px; width: max-content;
}
.ft-req-lot { font-size: 10.5px; color: var(--text-light-dim); }

/* gold ARC stamp */
.ft-stamp {
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: .5px; color: var(--gold-bright);
    border: 1.5px solid var(--gold); border-radius: 6px; padding: 4px 9px;
    background: rgba(11,26,51,0.5);
    transform: rotate(-8deg) scale(0); transform-origin: center;
    box-shadow: 0 0 16px rgba(197,161,79,0.28);
}
.ft-canvas-wrap.visible .ft-stamp { animation: ftStampPop .7s var(--ease-out) 1s forwards; }
@keyframes ftStampPop {
    0%   { transform: rotate(-8deg) scale(0); opacity: 0; }
    60%  { transform: rotate(-8deg) scale(1.14); opacity: 1; }
    100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}

.ft-req-title {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
    color: #fff; margin-bottom: 4px;
}
.ft-req-by { font-size: 11px; color: var(--text-light-dim); margin-bottom: 18px; }

/* progress track Open → In review → Approved */
.ft-track { position: relative; }
.ft-track-line {
    position: absolute; top: 11px; left: 11px; right: 11px; height: 2px;
    background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden;
}
.ft-track-fill {
    display: block; height: 100%; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), var(--green-bright) 55%, var(--gold-bright));
    box-shadow: 0 0 10px rgba(63,211,137,0.4);
}
.ft-canvas-wrap.visible .ft-track-fill { animation: ftTrackFill 1.1s var(--ease-out) .3s forwards; }
@keyframes ftTrackFill { to { width: 100%; } }

.ft-steps { position: relative; display: flex; justify-content: space-between; }
.ft-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ft-step-node {
    display: grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%;
    font-size: 11px; font-weight: 700; color: var(--text-light-dim);
    background: #0e2138; border: 2px solid rgba(255,255,255,0.16);
    transition: all .3s var(--ease);
}
.ft-step.done .ft-step-node {
    color: #fff; background: var(--green); border-color: var(--green-bright);
    box-shadow: 0 0 12px rgba(46,166,107,0.5);
}
.ft-node-gold {
    color: var(--navy) !important;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold)) !important;
    border-color: var(--gold-bright) !important;
    box-shadow: 0 0 16px rgba(197,161,79,0.55) !important;
}
.ft-canvas-wrap.visible .ft-step-final .ft-step-node {
    animation: ftNodePop .5s var(--ease-out) 1.1s backwards;
}
@keyframes ftNodePop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.ft-step-label {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 600;
    color: var(--text-light-dim);
}
.ft-step.done .ft-step-label { color: var(--text-light); }
.ft-step-final .ft-step-label { color: var(--gold-bright); }

/* queued rows */
.ft-queue { display: flex; flex-direction: column; }
.ft-queue li {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: var(--text-light);
    padding: 10px 2px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.ft-q-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ft-q-stat {
    margin-left: auto; font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .ft-block { grid-template-columns: 1fr; gap: 38px; margin-bottom: 72px; }
    .ft-block.reverse .ft-copy { order: 1; }
    .ft-block.reverse .ft-canvas-wrap { order: 2; }
    .ft-copy { text-align: center; }
    .ft-eyebrow { justify-content: center; }
    .ft-p { margin-left: auto; margin-right: auto; }
    .ft-list { max-width: 360px; margin: 0 auto; }
    .ft-canvas-wrap { max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 560px) {
    .ft-block { margin-bottom: 60px; }
    .ft-list li { font-size: 14px; }
    .ft-kpis { gap: 7px; }
    .ft-kpi { padding: 9px 9px; }
    .ft-kpi-val { font-size: 18px; }
    .ft-kpi-label { font-size: 8.5px; }
    .ft-chip-where { left: -10px; bottom: 14px; max-width: 180px; }
    .ft-chip-paid { right: -8px; top: 14px; }
    .ft-chip { padding: 9px 11px; }
    .ft-rule-accent { display: none; }
    .ft-st-title { font-size: 11px; }
}

/* reduced motion — settle everything to final state */
@media (prefers-reduced-motion: reduce) {
    .ft-bar { transform: scaleY(1) !important; animation: none !important; }
    .ft-track-fill { width: 100% !important; animation: none !important; }
    .ft-stamp { transform: rotate(-8deg) scale(1) !important; opacity: 1 !important; animation: none !important; }
    .ft-chip { animation: none !important; }
}


/* ---------- experience ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — sections/experience.css
   LIVE DEMO — "the count, running in the open."
   Light & airy ledger section; ONE navy product canvas app window.
   All added classes / @keyframes namespaced with the "xp" prefix.
   Sim animations are GATED on .exp-panel.active so they replay
   each time a panel is shown (JS forces a reflow on switch).
   ══════════════════════════════════════════════════════════════ */

/* ░░░░░░░░░░░░░░░░ NAVY PRODUCT CANVAS (the whole app window) ░░░░░░░░░░░░░░░░ */
.xp-canvas {
    position: relative;
    border-radius: 24px;
    padding: 14px 14px 16px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 70%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow:
        0 40px 90px rgba(18,36,65,0.28),
        0 8px 26px rgba(18,36,65,0.14),
        inset 0 1px 0 rgba(255,255,255,0.06);
    color: var(--text-light);
    overflow: hidden;
}
.xp-canvas::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 56% at 80% 12%, rgba(31,154,166,0.16), transparent 60%);
    z-index: 0;
}
.xp-canvas > * { position: relative; z-index: 1; }

/* ── App topbar ── */
.xp-topbar {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 8px 14px;
}
.xp-icon { width: 19px; height: 19px; opacity: .94; flex-shrink: 0; }
.xp-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px; font-weight: 600; color: var(--text-light-dim);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xp-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
    color: var(--green-bright);
    padding: 3px 9px; border-radius: 999px;
    background: rgba(46,166,107,0.12); border: 1px solid rgba(46,166,107,0.28);
    margin-left: 4px;
}
.xp-live i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright);
    animation: xpBlink 1.8s ease-in-out infinite;
}
@keyframes xpBlink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.xp-dots { margin-left: auto; display: flex; gap: 6px; }
.xp-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.16); }

/* ░░░░░░░░░░░░░░░░ TABS = app nav ░░░░░░░░░░░░░░░░ */
.xp-tabs {
    display: flex; align-items: center; gap: 6px;
    padding: 6px; margin-bottom: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.18) transparent;
    -webkit-overflow-scrolling: touch;
}
.xp-tabs::-webkit-scrollbar { height: 5px; }
.xp-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 999px; }
.xp-tabs::-webkit-scrollbar-track { background: transparent; }

.exp-tab {
    position: relative;
    flex: 0 0 auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 600;
    color: var(--text-light-dim);
    padding: 9px 17px; border-radius: 999px;
    white-space: nowrap;
    transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.exp-tab:hover { color: var(--text-light); background: rgba(255,255,255,0.05); }
.exp-tab:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.exp-tab.active {
    color: #fff;
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 6px 18px rgba(31,154,166,0.4);
}

/* ░░░░░░░░░░░░░░░░ PANELS = viewport ░░░░░░░░░░░░░░░░ */
.xp-panels {
    position: relative;
    background: rgba(8,18,36,0.42);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 22px;
    min-height: 360px;
    overflow: hidden;
}

.exp-panel { display: none; }
.exp-panel.active {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 22px;
    align-items: stretch;
    animation: xpPanelIn .5s var(--ease-out) both;
}
@keyframes xpPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Stage (left, the live sim) ── */
.xp-stage {
    display: flex; flex-direction: column; gap: 18px;
    background: linear-gradient(165deg, rgba(31,154,166,0.06), rgba(8,18,36,0.05));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px;
    min-width: 0;
}
.xp-stage-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.xp-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 600; color: var(--text-light);
    line-height: 1.4;
}
.xp-pill {
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
    padding: 4px 11px; border-radius: 999px;
    white-space: nowrap;
}
.xp-pill-teal  { color: var(--teal-bright);  background: rgba(31,154,166,0.14); border: 1px solid rgba(31,154,166,0.30); }
.xp-pill-green { color: var(--green-bright); background: rgba(46,166,107,0.14); border: 1px solid rgba(46,166,107,0.30); }
.xp-pill-gold  { color: var(--gold-bright);  background: rgba(197,161,79,0.14); border: 1px solid rgba(197,161,79,0.32); }

/* ── Caption (the open-ledger one-liner) ── */
.xp-caption {
    display: flex; align-items: center; gap: 9px;
    margin-top: auto;
    font-size: 12.5px; color: var(--text-light-dim); line-height: 1.5;
    padding-top: 4px;
}

/* ── Checkmark pop ── */
.xp-chk {
    display: inline-grid; place-items: center;
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    font-size: 11px; font-weight: 700;
    color: var(--green-bright);
    background: rgba(46,166,107,0.18); border: 1px solid rgba(46,166,107,0.34);
}
.xp-chk.gold { color: var(--gold-bright); background: rgba(197,161,79,0.18); border-color: rgba(197,161,79,0.36); }
.exp-panel.active .xp-chk { animation: xpChkPop .5s var(--ease-out) .7s both; }
@keyframes xpChkPop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.18); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Gold tally-stroke motif (counting marks) ── */
.xp-tally {
    display: inline-flex; align-items: flex-end; gap: 3px;
    height: 14px; flex-shrink: 0;
}
.xp-tally i, .xp-tally b {
    display: inline-block; width: 2px; height: 14px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    transform: skewX(-14deg) scaleY(0); transform-origin: bottom;
    box-shadow: 0 0 8px rgba(197,161,79,0.4);
}
.xp-tally b {
    width: 22px; height: 2px; align-self: center;
    transform: rotate(-22deg) scaleX(0); transform-origin: center;
    margin-left: -16px;
}
.exp-panel.active .xp-tally i { animation: xpTallyUp .42s var(--ease-out) both; }
.exp-panel.active .xp-tally i:nth-child(1) { animation-delay: .25s; }
.exp-panel.active .xp-tally i:nth-child(2) { animation-delay: .35s; }
.exp-panel.active .xp-tally i:nth-child(3) { animation-delay: .45s; }
.exp-panel.active .xp-tally i:nth-child(4) { animation-delay: .55s; }
.exp-panel.active .xp-tally b { animation: xpTallySlash .42s var(--ease-out) .68s both; }
@keyframes xpTallyUp    { to { transform: skewX(-14deg) scaleY(1); } }
@keyframes xpTallySlash { to { transform: rotate(-22deg) scaleX(1); } }

/* ░░░░░░░░░░░░░░░░ SIDE PANEL (live list) ░░░░░░░░░░░░░░░░ */
.xp-side {
    display: flex; flex-direction: column; gap: 10px;
    background: rgba(8,18,36,0.4);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px 18px 20px;
    min-width: 0;
}
.xp-side-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--text-light-dim);
    padding-bottom: 6px; margin-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.xp-side-note {
    margin-top: auto; padding-top: 8px;
    font-size: 11.5px; color: var(--text-light-dim); line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.xp-row {
    display: flex; align-items: center; gap: 9px;
    font-size: 12.5px; color: var(--text-light);
    padding: 8px 10px; border-radius: 9px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}
.exp-panel.active .xp-row { animation: xpRowIn .5s var(--ease-out) both; }
.exp-panel.active .xp-row:nth-child(2) { animation-delay: .14s; }
.exp-panel.active .xp-row:nth-child(3) { animation-delay: .22s; }
.exp-panel.active .xp-row:nth-child(4) { animation-delay: .30s; }
.exp-panel.active .xp-row:nth-child(5) { animation-delay: .38s; }
.exp-panel.active .xp-row:nth-child(6) { animation-delay: .46s; }
@keyframes xpRowIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.xp-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.xp-dot.green { background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.xp-dot.teal  { background: var(--teal-bright);  box-shadow: 0 0 8px var(--teal-bright); }
.xp-dot.gold  { background: var(--gold-bright);  box-shadow: 0 0 8px var(--gold); }
.xp-dot.dim   { background: rgba(255,255,255,0.28); }

.xp-badge {
    margin-left: auto; flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .3px;
    padding: 3px 9px; border-radius: 999px;
    white-space: nowrap;
}
.xp-badge.green { color: var(--green-bright); background: rgba(46,166,107,0.16); }
.xp-badge.teal  { color: var(--teal-bright);  background: rgba(31,154,166,0.16); }
.xp-badge.gold  { color: var(--gold-bright);  background: rgba(197,161,79,0.16); }
.xp-badge.dim   { color: var(--text-light-dim); background: rgba(255,255,255,0.06); }

/* ── Shared horizontal "composite/SOA" bars (reserves + amenity + dues) ── */
.xp-comp { display: flex; flex-direction: column; gap: 11px; flex: 1; min-width: 0; }
.xp-comp-row {
    display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px;
    font-size: 12px; color: var(--text-light-dim);
}
.xp-comp-bar, .xp-soa-fill {
    height: 8px; border-radius: 6px;
    background: rgba(255,255,255,0.08); overflow: hidden;
}
.xp-comp-bar i, .xp-soa-fill i {
    display: block; height: 100%; width: var(--w, 0%); border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright));
    box-shadow: 0 0 10px var(--teal-glow);
    transform-origin: left;
}
.xp-soa-fill.gold i { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); box-shadow: 0 0 10px rgba(197,161,79,0.4); }
.exp-panel.active .xp-comp-bar i,
.exp-panel.active .xp-soa-fill i { animation: xpGrowW .9s var(--ease-out) .3s both; }
@keyframes xpGrowW { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ░░░░░░░░░░░░░░░░ SHARED RING (quorum + reserves gauge) ░░░░░░░░░░░░░░░░ */
.xp-ring {
    position: relative; width: 116px; height: 116px; flex-shrink: 0;
    display: grid; place-items: center;
}
.xp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.xp-ring-track {
    fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 7;
}
.xp-ring-fill {
    fill: none; stroke: var(--teal-bright); stroke-width: 7; stroke-linecap: round;
    /* r=34 → circumference ≈ 213.6 */
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    filter: drop-shadow(0 0 6px var(--teal-glow));
}
.xp-ring-fill.gold { stroke: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(197,161,79,0.5)); }
.exp-panel.active .xp-ring-fill {
    animation: xpRing 1.3s var(--ease-out) .35s both;
}
@keyframes xpRing {
    from { stroke-dashoffset: 213.6; }
    /* offset = 213.6 * (1 - p/100) ; --p set inline on .xp-ring */
    to   { stroke-dashoffset: calc(213.6 - 213.6 * (var(--p) / 100)); }
}
.xp-ring-num {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1px; text-align: center;
}
.xp-ring-num b {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px; font-weight: 700; color: #fff; line-height: 1;
}
.xp-ring-num small { font-size: 10px; color: var(--text-light-dim); letter-spacing: .3px; }

/* ═══════════════════════ 1. VOTING ═══════════════════════ */
.xp-vote {
    display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
}
.xp-vote-bars { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.xp-vbar-row {
    display: grid; grid-template-columns: 34px 1fr 46px; align-items: center; gap: 10px;
}
.xp-vbar-label { font-size: 12px; font-weight: 600; color: var(--text-light); }
.xp-vbar {
    height: 14px; border-radius: 8px;
    background: rgba(255,255,255,0.08); overflow: hidden;
}
.xp-vbar-fill {
    display: block; height: 100%; width: var(--w, 0%); border-radius: 8px;
    transform-origin: left;
}
.xp-vbar-fill.yes { background: linear-gradient(90deg, var(--green), var(--green-bright)); box-shadow: 0 0 12px rgba(46,166,107,0.4); }
.xp-vbar-fill.no  { background: linear-gradient(90deg, var(--navy-600), #3a5a86); }
.exp-panel.active .xp-vbar-fill { animation: xpGrowW 1s var(--ease-out) .3s both; }
.xp-vbar-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 700; color: #fff; text-align: right;
}

.xp-quorum { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.xp-quorum-met {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .4px;
    color: var(--green-bright);
    padding: 5px 12px; border-radius: 999px;
    background: rgba(46,166,107,0.14); border: 1px solid rgba(46,166,107,0.30);
}
.exp-panel.active .xp-quorum-met { animation: xpPopIn .5s var(--ease-out) 1.1s both; }
@keyframes xpPopIn {
    0% { transform: scale(.85); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.xp-quorum-met .xp-chk { width: 16px; height: 16px; font-size: 9px; }
.exp-panel.active .xp-quorum-met .xp-chk { animation: none; } /* parent already pops */

/* ═══════════════════════ 2. DUES ═══════════════════════ */
.xp-dues { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.xp-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 6vw, 48px); font-weight: 700; color: #fff; line-height: 1;
    letter-spacing: -0.02em;
}
.xp-amount-cents { font-size: .5em; color: var(--text-light-dim); }
.xp-amount-sub { font-size: 12px; color: var(--text-light-dim); margin-top: -8px; }

.xp-prog { width: 100%; max-width: 360px; }
.xp-prog-bar {
    height: 8px; border-radius: 6px; background: rgba(255,255,255,0.08);
    overflow: hidden; margin-bottom: 8px;
}
.xp-prog-fill {
    display: block; height: 100%; width: 100%; border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--green-bright));
    box-shadow: 0 0 12px var(--teal-glow);
    transform-origin: left;
}
.exp-panel.active .xp-prog-fill { animation: xpProgFill 1.4s var(--ease-out) .3s both; }
@keyframes xpProgFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.xp-prog-steps {
    display: flex; justify-content: space-between;
    font-size: 10.5px; color: var(--text-light-dim);
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}

/* ── Stamp (done / approved / paid) ── */
.xp-stamp {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
    padding: 7px 15px; border-radius: 8px;
    border: 2px solid currentColor;
}
.xp-stamp-green { color: var(--green-bright); background: rgba(46,166,107,0.10); }
.xp-stamp-gold  { color: var(--gold-bright);  background: rgba(197,161,79,0.10); }
.xp-stamp-teal  { color: var(--teal-bright);  background: rgba(31,154,166,0.10); }
.exp-panel.active .xp-stamp { animation: xpStamp .6s var(--ease-out) 1s both; }
@keyframes xpStamp {
    0%   { transform: rotate(-16deg) scale(2.2); opacity: 0; }
    55%  { transform: rotate(-7deg) scale(.92); opacity: 1; }
    75%  { transform: rotate(-7deg) scale(1.04); }
    100% { transform: rotate(-7deg) scale(1); opacity: 1; }
}
.xp-stamp-inline { margin-left: auto; font-size: 10px; padding: 4px 10px; transform: rotate(-7deg); }

.xp-soa { display: grid; grid-template-columns: 78px 1fr 36px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-light-dim); }
.xp-soa b { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #fff; text-align: right; }

/* ═══════════════════════ 3. RESERVES ═══════════════════════ */
.xp-reserves { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.xp-gauge { display: grid; place-items: center; }

/* ═══════════════════════ 4. ARC ═══════════════════════ */
.xp-arc { display: flex; justify-content: center; }
.xp-arc-card {
    width: 100%; max-width: 380px;
    display: flex; flex-direction: column; gap: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 18px;
}
.xp-arc-head { display: flex; align-items: center; gap: 13px; }
.xp-arc-thumb {
    width: 46px; height: 46px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 24px;
    border-radius: 11px;
    background: rgba(31,154,166,0.12); border: 1px solid rgba(31,154,166,0.26);
}
.xp-arc-title { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #fff; }
.xp-arc-meta { font-size: 11.5px; color: var(--text-light-dim); margin-top: 2px; }

.xp-flow { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.xp-flow-step {
    flex: 1; text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
    padding: 6px 4px; border-radius: 8px;
    color: var(--text-light-dim);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
    transition: all .3s var(--ease);
}
.xp-flow-arrow { color: var(--text-light-dim); font-size: 13px; flex-shrink: 0; }
.exp-panel.active .xp-flow-step.open   { animation: xpFlowLit .4s var(--ease-out) .35s both; }
.exp-panel.active .xp-flow-step.review { animation: xpFlowLit .4s var(--ease-out) .75s both; }
.exp-panel.active .xp-flow-step.done {
    color: var(--gold-bright);
    background: rgba(197,161,79,0.16); border-color: rgba(197,161,79,0.36);
    animation: xpFlowDone .5s var(--ease-out) 1.15s both;
}
@keyframes xpFlowLit {
    from { transform: translateY(6px); opacity: .4; }
    to   { color: var(--teal-bright); background: rgba(31,154,166,0.14); border-color: rgba(31,154,166,0.30); transform: none; opacity: 1; }
}
@keyframes xpFlowDone {
    0%   { transform: scale(.9); opacity: .4; }
    60%  { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════ 5. ESTOPPEL ═══════════════════════ */
.xp-estoppel { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.xp-countdown {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 18px 22px; border-radius: 14px;
    background: rgba(197,161,79,0.08); border: 1px solid rgba(197,161,79,0.24);
    flex-shrink: 0;
}
.xp-count-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px; font-weight: 700; color: var(--gold-bright); line-height: 1;
    text-shadow: 0 0 18px rgba(197,161,79,0.4);
}
.xp-count-lbl { font-size: 10.5px; color: var(--text-light-dim); text-align: center; line-height: 1.35; }
.exp-panel.active .xp-count-num { animation: xpCountPulse 1.2s var(--ease-out) both; }
@keyframes xpCountPulse {
    0%   { transform: scale(1.4); opacity: 0; }
    50%  { transform: scale(1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.xp-gen { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.xp-gen-btn {
    align-self: flex-start;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 600; color: #fff;
    padding: 10px 20px; border-radius: 999px;
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 8px 22px rgba(31,154,166,0.34);
    pointer-events: none;
}
.exp-panel.active .xp-gen-btn { animation: xpBtnPress .8s var(--ease-out) .4s both; }
@keyframes xpBtnPress {
    0%   { transform: translateY(0); }
    18%  { transform: translateY(0) scale(.94); box-shadow: 0 4px 12px rgba(31,154,166,0.5); }
    40%  { transform: translateY(-2px) scale(1); box-shadow: 0 12px 30px rgba(31,154,166,0.5); }
    100% { transform: none; }
}

.xp-doc {
    position: relative;
    display: flex; flex-direction: column; gap: 9px;
    padding: 16px; border-radius: 11px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.xp-doc-line {
    display: block; height: 7px; border-radius: 4px;
    background: rgba(255,255,255,0.16);
    transform-origin: left; transform: scaleX(0);
}
.xp-doc-line.l1 { width: 70%; }
.xp-doc-line.l2 { width: 92%; }
.xp-doc-line.l3 { width: 60%; }
.xp-doc-line.l4 { width: 80%; }
.exp-panel.active .xp-doc-line { animation: xpDocLine .5s var(--ease-out) both; }
.exp-panel.active .xp-doc-line.l1 { animation-delay: .9s; }
.exp-panel.active .xp-doc-line.l2 { animation-delay: 1.05s; }
.exp-panel.active .xp-doc-line.l3 { animation-delay: 1.2s; }
.exp-panel.active .xp-doc-line.l4 { animation-delay: 1.35s; }
@keyframes xpDocLine { to { transform: scaleX(1); } }
.xp-doc-issued {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px; font-weight: 700; color: var(--green-bright);
}
.exp-panel.active .xp-doc-issued { animation: xpPopIn .5s var(--ease-out) 1.6s both; }
.xp-doc-issued .xp-chk { width: 16px; height: 16px; font-size: 9px; }
.exp-panel.active .xp-doc-issued .xp-chk { animation: none; }

/* ═══════════════════════ 6. VISITOR ═══════════════════════ */
.xp-visitor { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.xp-qr {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 18px; border-radius: 14px;
    background: rgba(8,18,36,0.5); border: 1px solid rgba(31,154,166,0.20);
    position: relative; overflow: hidden; flex-shrink: 0;
}
.xp-qr svg { position: relative; z-index: 1; }
.xp-qr::after {
    content: ''; position: absolute; left: 0; right: 0; height: 30%;
    background: linear-gradient(180deg, transparent, rgba(54,194,206,0.35), transparent);
    z-index: 2; pointer-events: none;
}
.exp-panel.active .xp-qr::after { animation: xpScan 1.8s var(--ease) .3s infinite; }
@keyframes xpScan { 0% { top: -30%; } 100% { top: 100%; } }
.xp-qr-text { font-size: 11px; color: var(--text-light-dim); font-family: 'Space Grotesk', sans-serif; }
.xp-dots-load::after {
    content: '...';
    animation: xpDotsLoad 1.4s steps(4, end) infinite;
}
@keyframes xpDotsLoad { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%,100% { content: '...'; } }

.xp-vcard {
    display: flex; align-items: center; gap: 13px;
    padding: 14px 16px; border-radius: 13px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    min-width: 0;
}
.exp-panel.active .xp-vcard { animation: xpRowIn .55s var(--ease-out) .9s both; }
.xp-vcard-av {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(140deg, var(--teal), var(--teal-bright));
    box-shadow: 0 0 0 3px rgba(31,154,166,0.18);
}
.xp-vcard-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #fff; }
.xp-vcard-unit { font-size: 11.5px; color: var(--text-light-dim); margin-top: 1px; }
.xp-vcard-time { font-size: 10.5px; color: var(--text-light-dim); margin-top: 3px; opacity: .8; }

/* ═══════════════════════ 7. PARCEL ═══════════════════════ */
.xp-parcel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.xp-parcel-drop { font-size: 40px; line-height: 1; }
.exp-panel.active .xp-parcel-drop { animation: xpDrop .7s var(--ease-out) both; }
@keyframes xpDrop {
    0%   { transform: translateY(-28px) rotate(-8deg); opacity: 0; }
    60%  { transform: translateY(4px) rotate(2deg); opacity: 1; }
    100% { transform: translateY(0) rotate(0); opacity: 1; }
}

.xp-barcode {
    position: relative; width: 200px; max-width: 100%; height: 50px;
    border-radius: 8px; overflow: hidden;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
}
.xp-barcode-lines {
    position: absolute; inset: 8px 10px;
    background: repeating-linear-gradient(90deg,
        var(--text-light) 0 2px, transparent 2px 4px,
        var(--text-light) 4px 7px, transparent 7px 9px,
        var(--text-light) 9px 10px, transparent 10px 14px);
    opacity: .82;
}
.xp-barcode-sweep {
    position: absolute; top: 0; bottom: 0; width: 3px;
    background: var(--teal-bright);
    box-shadow: 0 0 14px 4px var(--teal-glow);
    left: -3px;
}
.exp-panel.active .xp-barcode-sweep { animation: xpSweep 1.3s var(--ease) .5s both; }
@keyframes xpSweep {
    0%   { left: -3px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.xp-parcel-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--text-light-dim);
}

.xp-parcel-result { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.xp-sig { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.xp-sig-svg { width: 200px; max-width: 60vw; height: 40px; }
.xp-sig-path {
    /* path length ≈ 230 */
    stroke-dasharray: 230;
    stroke-dashoffset: 230;
    filter: drop-shadow(0 0 4px rgba(63,211,137,0.4));
}
.exp-panel.active .xp-sig-path { animation: xpSign 1.2s var(--ease-out) .9s both; }
@keyframes xpSign { from { stroke-dashoffset: 230; } to { stroke-dashoffset: 0; } }
.xp-sig-lbl { font-size: 10.5px; color: var(--text-light-dim); }

/* ═══════════════════════ 8. AMENITY ═══════════════════════ */
.xp-amenity { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.xp-cal {
    display: flex; flex-direction: column; gap: 8px;
    padding: 16px; border-radius: 13px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.xp-cal-head {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700; color: #fff;
    padding-bottom: 6px; margin-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.xp-slot {
    font-size: 12px; font-weight: 500;
    padding: 9px 12px; border-radius: 9px;
}
.xp-slot.booked {
    color: var(--text-light-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: line-through; opacity: .7;
}
.xp-slot.open {
    color: var(--green-bright); font-weight: 600;
    background: rgba(46,166,107,0.12); border: 1px solid rgba(46,166,107,0.28);
}
.exp-panel.active .xp-slot-pick { animation: xpSlotPick 1s var(--ease-out) .6s both; }
@keyframes xpSlotPick {
    0%   { box-shadow: 0 0 0 0 rgba(46,166,107,0); }
    30%  { box-shadow: 0 0 0 4px rgba(46,166,107,0.28); transform: scale(1.03); }
    60%  { box-shadow: 0 0 0 0 rgba(46,166,107,0); transform: scale(1); }
    100% { box-shadow: 0 0 0 0 rgba(46,166,107,0); }
}

.xp-confirm {
    position: relative; overflow: visible;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center;
    padding: 20px 16px; border-radius: 13px;
    background: linear-gradient(160deg, rgba(46,166,107,0.12), rgba(31,154,166,0.06));
    border: 1px solid rgba(46,166,107,0.26);
}
.xp-confirm-icon {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 50%; font-size: 22px; font-weight: 700; color: #fff;
    background: linear-gradient(140deg, var(--green), var(--green-bright));
    box-shadow: 0 8px 22px rgba(46,166,107,0.4);
    margin-bottom: 4px;
}
.exp-panel.active .xp-confirm-icon { animation: xpChkPop .55s var(--ease-out) .8s both; }
.xp-confirm-title { font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: #fff; }
.xp-confirm-meta { font-size: 11px; color: var(--text-light-dim); }
.xp-confirm-status {
    margin-top: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    color: var(--green-bright);
    padding: 4px 12px; border-radius: 999px;
    background: rgba(46,166,107,0.16); border: 1px solid rgba(46,166,107,0.32);
}

/* Confetti sparks (data-celebrate panels add their own JS confetti; these are static decorative sparks) */
.xp-spark {
    position: absolute; width: 7px; height: 7px; border-radius: 2px;
    top: 50%; left: 50%; opacity: 0;
    pointer-events: none;
}
.xp-spark.s1 { background: var(--gold-bright); }
.xp-spark.s2 { background: var(--teal-bright); }
.xp-spark.s3 { background: var(--green-bright); }
.xp-spark.s4 { background: var(--gold-bright); }
.xp-spark.s5 { background: var(--teal-bright); }
.xp-spark.s6 { background: var(--green-bright); }
.exp-panel.active .xp-spark { animation: xpSpark 1s var(--ease-out) 1s both; }
.exp-panel.active .xp-spark.s1 { --dx: -56px; --dy: -42px; }
.exp-panel.active .xp-spark.s2 { --dx:  58px; --dy: -38px; animation-delay: 1.05s; }
.exp-panel.active .xp-spark.s3 { --dx: -64px; --dy:  30px; animation-delay: 1.1s; }
.exp-panel.active .xp-spark.s4 { --dx:  62px; --dy:  36px; animation-delay: .95s; }
.exp-panel.active .xp-spark.s5 { --dx: -20px; --dy: -58px; animation-delay: 1.12s; }
.exp-panel.active .xp-spark.s6 { --dx:  24px; --dy:  56px; animation-delay: 1.0s; }
@keyframes xpSpark {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
    25%  { opacity: 1; }
    100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(180deg); }
}

/* ░░░░░░░░░░░░░░░░ RESPONSIVE ░░░░░░░░░░░░░░░░ */
@media (max-width: 860px) {
    .xp-canvas { padding: 12px; border-radius: 20px; }
    .xp-panels { padding: 16px; }
    .exp-panel.active { grid-template-columns: 1fr; gap: 16px; }
    .xp-stage { padding: 16px; }
    .xp-vote { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
    .xp-vote-bars { width: 100%; }
    .xp-reserves { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
    .xp-estoppel { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
    .xp-visitor { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
    .xp-amenity { grid-template-columns: 1fr; }
    .xp-side { order: 2; }
}
@media (max-width: 560px) {
    .xp-canvas { padding: 9px; border-radius: 18px; }
    .xp-title { font-size: 11px; }
    .xp-tabs { padding: 5px; gap: 5px; }
    .exp-tab { padding: 8px 14px; font-size: 12px; }
    .xp-panels { padding: 12px; min-height: 0; }
    .xp-stage { padding: 14px; gap: 14px; }
    .xp-stage-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .xp-amount { font-size: 32px; }
    .xp-ring { width: 100px; height: 100px; }
    .xp-count-num { font-size: 38px; }
    .xp-parcel-result { flex-direction: column; gap: 12px; }
    .xp-comp-row { grid-template-columns: 56px 1fr; }
    .xp-soa { grid-template-columns: 70px 1fr 32px; }
}

/* ░░░░░░░░░░░░░░░░ REDUCED MOTION ░░░░░░░░░░░░░░░░ */
@media (prefers-reduced-motion: reduce) {
    .exp-panel.active *,
    .exp-panel.active *::before,
    .exp-panel.active *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
    .xp-vbar-fill, .xp-comp-bar i, .xp-soa-fill i, .xp-prog-fill { transform: scaleX(1) !important; }
    .xp-ring-fill { stroke-dashoffset: calc(213.6 - 213.6 * (var(--p) / 100)) !important; }
    .xp-sig-path { stroke-dashoffset: 0 !important; }
    .xp-doc-line { transform: scaleX(1) !important; }
    .xp-tally i { transform: skewX(-14deg) scaleY(1) !important; }
    .xp-tally b { transform: rotate(-22deg) scaleX(1) !important; }
    .xp-qr::after, .xp-barcode-sweep, .xp-spark { display: none !important; }
}


/* ---------- ai ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — sections/ai.css  ·  "Powered by AI"
   Light/airy open-ledger page · navy product-canvas for app UI
   Prefix: ai-  ·  keyframes: aiXxx
   ══════════════════════════════════════════════════════════════ */

#ai { position: relative; overflow: hidden; }

/* Faint ledger-ruled paper texture (open-ledger motif) */
.ai-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.04) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
}
#ai .container { position: relative; z-index: 1; }

/* ── The human creed line (tally-mark accent) ── */
.ai-creed {
    display: flex; align-items: center; justify-content: center; gap: 13px;
    max-width: 720px; margin: -28px auto 52px; text-align: center;
    font-family: 'Space Grotesk', sans-serif; font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600; color: var(--text-dim); letter-spacing: .2px;
}
.ai-creed-em { color: var(--navy); position: relative; white-space: nowrap; }
.ai-creed-em::after {
    content: ''; position: absolute; left: -3%; right: -3%; bottom: -2px; height: 7px; border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-14deg) scaleX(0); transform-origin: left;
    box-shadow: 0 0 14px rgba(197,161,79,0.45);
}
#ai .ai-creed[data-animate].visible .ai-creed-em::after { animation: aiCreedStroke .9s var(--ease-out) .35s forwards; }
@keyframes aiCreedStroke { to { transform: skewX(-18deg) scaleX(1); } }
/* Tally marks: four strokes + gold diagonal 5th */
.ai-creed-mark { position: relative; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; width: 30px; height: 18px; }
.ai-creed-mark i { width: 2px; height: 16px; border-radius: 2px; background: var(--navy); opacity: .55; }
.ai-creed-mark b {
    position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: translateY(-50%) rotate(-22deg); box-shadow: 0 0 8px rgba(197,161,79,0.55);
}

/* ════════════════════ TWO-COLUMN GRID ════════════════════ */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.ai-col { display: flex; flex-direction: column; gap: 16px; }

/* ── Navy "product canvas" (mirrors hero .scene-canvas) ── */
.ai-canvas {
    position: relative; border-radius: 24px; padding: 14px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 24px rgba(18,36,65,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.ai-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 54% at 80% 12%, rgba(31,154,166,0.16), transparent 60%);
}
.ai-col:hover .ai-canvas { box-shadow: 0 50px 110px rgba(18,36,65,0.34), 0 10px 28px rgba(18,36,65,0.16), inset 0 1px 0 rgba(255,255,255,0.08); }

/* App topbar on the canvas */
.ai-topbar { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; position: relative; z-index: 2; }
.ai-st-icon { width: 18px; height: 18px; opacity: .92; flex-shrink: 0; }
.ai-st-title { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-light); }
.ai-st-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 500; color: var(--text-light-dim);
}
.ai-st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); animation: aiBlink 1.9s ease-in-out infinite; }
.ai-st-badge {
    margin-left: auto; font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
    color: var(--navy-deep); background: linear-gradient(120deg, var(--teal-bright), var(--teal));
    padding: 3px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(31,154,166,0.4);
}
.ai-st-dots { margin-left: auto; display: flex; gap: 6px; }
.ai-st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }
@keyframes aiBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ════════════════════ CHAT SIM (inside canvas) ════════════════════ */
.chat-sim {
    position: relative; z-index: 2; border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg, rgba(8,18,34,0.55), rgba(8,18,34,0.2));
    border: 1px solid rgba(255,255,255,0.07);
}
.chat-sim-body {
    display: flex; flex-direction: column; gap: 14px; padding: 18px 16px;
    height: 500px; overflow: hidden; position: relative;
    /* faint ledger rules inside the dark chat */
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 42px);
}
.chat-sim-body::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(11,26,51,0.85));
}

/* Messages */
.chat-msg { display: flex; flex-direction: column; max-width: 86%; animation: aiMsgIn .5s var(--ease-out) both; }
.chat-msg.resident { align-self: flex-end; align-items: flex-end; }
.chat-msg.ai { align-self: flex-start; align-items: flex-start; }
.chat-msg-bubble {
    font-size: 13.5px; line-height: 1.55; padding: 11px 14px; border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.chat-msg.resident .chat-msg-bubble {
    color: #fff; border-bottom-right-radius: 5px;
    background: linear-gradient(135deg, var(--teal), var(--teal-bright));
    box-shadow: 0 8px 20px rgba(31,154,166,0.34);
}
.chat-msg.ai .chat-msg-bubble {
    color: var(--text-light); border-bottom-left-radius: 5px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.09);
}
.chat-msg-time {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 500;
    color: var(--text-light-dim); margin: 5px 3px 0;
}
@keyframes aiMsgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Reveal hook used by global JS (do not rename) */
.hidden-msg { opacity: 0; transform: translateY(8px); transition: .5s; animation: none; }
.hidden-msg.show { opacity: 1; transform: none; }

/* AI structured "card" inside a bubble (work order / receipt) */
.ai-card {
    display: flex; flex-direction: column; gap: 7px; margin: 11px 0 4px;
    padding: 12px; border-radius: 12px;
    background: rgba(8,18,34,0.5); border: 1px solid rgba(255,255,255,0.1);
}
.ai-card.paid { border-color: rgba(46,166,107,0.4); background: rgba(46,166,107,0.08); }
.ai-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ai-card-tag { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #fff; }
.ai-card-pill {
    font-family: 'Space Grotesk', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px;
}
.ai-card-pill.open { color: var(--gold-bright); background: rgba(197,161,79,0.16); border: 1px solid rgba(197,161,79,0.4); }
.ai-card-pill.paid { color: var(--green-bright); background: rgba(46,166,107,0.18); border: 1px solid rgba(46,166,107,0.42); }
.ai-card-line {
    display: flex; gap: 8px; font-size: 11.5px; color: var(--text-light-dim);
    padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.06);
}
.ai-card-line b { color: var(--text-light-dim); font-weight: 600; min-width: 52px; flex-shrink: 0; }
.ai-card-line i { color: var(--text-light); font-style: normal; }
.ai-receipt {
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600; color: var(--teal-bright);
    margin-top: 2px; transition: color .2s;
}
.ai-receipt:hover { color: var(--green-bright); }

/* Quick-reply chips */
.ai-quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.ai-quick {
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600; color: var(--text-light);
    padding: 7px 13px; border-radius: 999px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); cursor: pointer; transition: all .2s;
}
.ai-quick:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.ai-quick.yes {
    color: var(--navy-deep); background: linear-gradient(120deg, var(--green-bright), var(--green));
    border-color: transparent; box-shadow: 0 6px 16px rgba(46,166,107,0.34);
}
.ai-quick.yes:hover { box-shadow: 0 9px 22px rgba(46,166,107,0.46); }

/* Chat composer footer */
.chat-sim-foot {
    position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-top: 12px;
    padding: 10px 12px; border-radius: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
}
.ai-foot-input { flex: 1; font-size: 12.5px; color: var(--text-light-dim); }
.ai-foot-send {
    width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%;
    color: #fff; background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 6px 16px rgba(31,154,166,0.4);
}

/* Channel row under chat (light page) */
.ai-chan-row { display: flex; flex-wrap: wrap; gap: 18px; padding: 2px 4px; }
.ai-chan {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600; color: var(--text-dim);
}
.ai-chan-dot { width: 9px; height: 9px; border-radius: 50%; }
.ai-chan-dot.wa { background: var(--green); box-shadow: 0 0 8px rgba(46,166,107,0.5); }
.ai-chan-dot.em { background: var(--teal); box-shadow: 0 0 8px rgba(31,154,166,0.5); }
.ai-chan-dot.pt { background: var(--gold); box-shadow: 0 0 8px rgba(197,161,79,0.5); }

/* ════════════════════ TICKET PIPELINE (inside canvas) ════════════════════ */
.ai-livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 9px var(--green-bright); flex-shrink: 0; animation: aiBlink 1.8s ease-in-out infinite; }

.ai-pipe { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-lane {
    display: flex; flex-direction: column; gap: 9px;
    padding: 11px 10px; border-radius: 14px;
    background: rgba(8,18,34,0.42); border: 1px solid rgba(255,255,255,0.07);
}
.ai-lane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1px; }
.ai-lane-name { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--text-light); }
.ai-lane-count {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; color: var(--text-light-dim);
    min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px;
    background: rgba(255,255,255,0.08);
}
.ai-lane-count.done { color: var(--green-bright); background: rgba(46,166,107,0.16); }

.ai-ticket {
    padding: 10px; border-radius: 11px; cursor: default;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.ai-ticket:hover { transform: translateY(-2px); border-color: rgba(54,194,206,0.45); background: rgba(255,255,255,0.08); }
.ai-ticket.new { border-color: rgba(197,161,79,0.4); box-shadow: 0 0 0 1px rgba(197,161,79,0.18); animation: aiTicketPulse 3.2s ease-in-out infinite; }
.ai-ticket.working { border-color: rgba(31,154,166,0.42); }
.ai-ticket.done { opacity: .92; }
@keyframes aiTicketPulse { 0%,100% { box-shadow: 0 0 0 1px rgba(197,161,79,0.18); } 50% { box-shadow: 0 0 0 1px rgba(197,161,79,0.4), 0 6px 18px rgba(197,161,79,0.22); } }

.ai-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.ai-ticket-id { font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; font-weight: 700; color: var(--text-light-dim); }
.ai-ticket-prio {
    font-family: 'Space Grotesk', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    padding: 2px 6px; border-radius: 999px;
}
.ai-ticket-prio.high { color: #ff9d8a; background: rgba(255,120,90,0.16); }
.ai-ticket-prio.med { color: var(--gold-bright); background: rgba(197,161,79,0.16); }
.ai-ticket-check { color: var(--green-bright); font-size: 12px; font-weight: 700; }
.ai-ticket-name { font-size: 12.5px; font-weight: 600; color: var(--text-light); line-height: 1.3; margin-bottom: 5px; }
.ai-ticket-meta { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text-light-dim); }
.ai-ticket-ico { font-size: 11px; }
.ai-ticket-bar { margin-top: 8px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.ai-ticket-bar i { display: block; height: 100%; width: 58%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); box-shadow: 0 0 10px var(--teal-glow); animation: aiBarPulse 2.6s ease-in-out infinite; }
@keyframes aiBarPulse { 0%,100% { width: 52%; } 50% { width: 66%; } }

/* Pipeline stat row (light page) */
.ai-pipe-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 2px 4px; }
.ai-stat { position: relative; padding-left: 12px; }
.ai-stat::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--green)); }
.ai-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--navy); line-height: 1; display: flex; align-items: baseline; }
.ai-stat-unit { font-size: .6em; color: var(--teal); margin-left: 1px; }
.ai-stat-label { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ════════════════════ LIVE ACTIVITY FEED (full-width navy strip) ════════════════════ */
.live-feed-wrap {
    position: relative; margin-top: 36px; border-radius: 20px; padding: 18px 20px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 78%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 30px 70px rgba(18,36,65,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
}
.live-feed-wrap::before {
    content: ''; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
    background: radial-gradient(60% 80% at 6% 50%, rgba(31,154,166,0.14), transparent 55%);
}
.live-feed-head {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 14px;
}
.live-feed {
    position: relative; z-index: 1; display: flex; align-items: stretch; gap: 12px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent);
}

/* Glass pill toast (slides in) */
.feed-toast {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    padding: 9px 15px 9px 9px; border-radius: 999px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
    animation: aiToastIn .55s var(--ease-out) both;
}
@keyframes aiToastIn { from { opacity: 0; transform: translateX(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.feed-toast-icon {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
    display: grid; place-items: center; font-size: 14px; line-height: 1;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
/* TYPE variants */
.feed-toast-icon.payment     { background: rgba(31,154,166,0.18);  border-color: rgba(31,154,166,0.42); }
.feed-toast-icon.vote        { background: rgba(176,124,246,0.18); border-color: rgba(176,124,246,0.42); }
.feed-toast-icon.parcel      { background: rgba(84,168,255,0.18);  border-color: rgba(84,168,255,0.42); }
.feed-toast-icon.ticket      { background: rgba(46,166,107,0.2);   border-color: rgba(46,166,107,0.46); }
.feed-toast-icon.reserve     { background: rgba(197,161,79,0.2);   border-color: rgba(197,161,79,0.46); }
.feed-toast-icon.visitor     { background: rgba(54,194,206,0.18);  border-color: rgba(54,194,206,0.42); }
.feed-toast-icon.maintenance { background: rgba(63,211,137,0.18);  border-color: rgba(63,211,137,0.42); }
.feed-toast-text {
    font-size: 12.5px; font-weight: 500; color: var(--text-light); white-space: nowrap; line-height: 1.2;
}
.feed-toast-text strong { font-weight: 700; color: #fff; }
.feed-toast-time {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 500;
    color: var(--text-light-dim); white-space: nowrap; margin-top: 2px;
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 980px) {
    .ai-grid { grid-template-columns: 1fr; gap: 26px; }
    .chat-sim-body { height: 440px; }
}
@media (max-width: 860px) {
    .ai-creed { margin-top: -14px; }
}
@media (max-width: 560px) {
    .ai-creed { flex-direction: column; gap: 8px; margin: -6px auto 40px; line-height: 1.4; }
    .ai-canvas { padding: 11px; border-radius: 20px; }
    .ai-canvas::before, .ai-col:hover .ai-canvas { border-radius: 20px; }
    .ai-pipe { grid-template-columns: 1fr; }
    .ai-pipe-stats { gap: 10px; }
    .chat-msg { max-width: 92%; }
    .chat-sim-body { height: auto; max-height: 480px; overflow-y: auto; }
    .live-feed-wrap { padding: 16px 14px; }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .ai-creed-em::after { transform: skewX(-18deg) scaleX(1) !important; }
    .ai-st-dot, .ai-livedot, .ai-ticket.new, .ai-ticket-bar i, .chat-msg, .feed-toast { animation: none !important; }
    .hidden-msg { opacity: 1 !important; transform: none !important; }
}


/* ---------- howitworks ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — howitworks section  (prefix: hw)
   Three-phase journey, connected by a gold tally line that draws in.
   ══════════════════════════════════════════════════════════════ */

.hw-journey {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding-left: 92px;          /* gutter for the spine + numbers */
}

/* ── The vertical gold "tally" spine ─────────────────────────── */
.hw-spine {
    position: absolute;
    left: 35px;                  /* centered under the number rings */
    top: 26px;
    bottom: 26px;
    width: 3px;
    border-radius: 3px;
    background: rgba(18, 36, 65, 0.10);
    overflow: visible;           /* straight vertical rail aligned through every number */
}
/* the animated gold fill that "draws in" */
.hw-spine-fill {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background: linear-gradient(180deg,
        var(--teal) 0%,
        var(--gold) 22%,
        var(--gold-bright) 60%,
        var(--gold) 100%);
    box-shadow: 0 0 16px rgba(197, 161, 79, 0.4);
    transform: scaleY(0);
    transform-origin: top;
}
/* a soft travelling glow that runs down the spine as it draws */
.hw-spine-fill::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    height: 38px;
    border-radius: 6px;
    background: radial-gradient(ellipse at center, rgba(227, 199, 126, 0.55), transparent 70%);
    opacity: 0;
}
.hw-journey.visible .hw-spine-fill::after {
    animation: hwSpineGlow 1.6s var(--ease-out) 0.25s forwards;
}
@keyframes hwSpineGlow {
    0%   { top: -10%; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.hw-journey.visible .hw-spine-fill {
    animation: hwSpineDraw 1.6s var(--ease-out) 0.25s forwards;
}
@keyframes hwSpineDraw {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* little tally ticks crossing the spine */
.hw-spine-tick {
    position: absolute;
    left: -7px;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-bright);
    box-shadow: 0 0 8px rgba(197, 161, 79, 0.5);
    transform: skewX(-20deg) scaleX(0);
    transform-origin: left;
    opacity: 0;
}
.hw-tick-1 { top: 24%; }
.hw-tick-2 { top: 56%; }
.hw-tick-3 { top: 88%; }
.hw-journey.visible .hw-spine-tick {
    animation: hwTick 0.55s var(--ease-out) forwards;
}
.hw-journey.visible .hw-tick-1 { animation-delay: 0.65s; }
.hw-journey.visible .hw-tick-2 { animation-delay: 1.05s; }
.hw-journey.visible .hw-tick-3 { animation-delay: 1.5s;  }
@keyframes hwTick {
    to { transform: skewX(-20deg) scaleX(1); opacity: 1; }
}

/* ── Phase rows ──────────────────────────────────────────────── */
.hw-phase {
    position: relative;
    margin-bottom: 28px;
}
.hw-phase:last-child { margin-bottom: 0; }

/* big number + ring, sitting on the spine */
.hw-num-wrap {
    position: absolute;
    left: -92px;
    top: 4px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
}
.hw-num {
    position: relative;
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--teal);
    background: var(--bg-tint);
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(31, 154, 166, 0.22);
}
.hw-num-gold {
    color: var(--gold);
    background: var(--bg-tint);
    box-shadow: inset 0 0 0 1px rgba(197, 161, 79, 0.30);
}
.hw-num-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(31, 154, 166, 0.28);
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.hw-ring-gold { border-color: rgba(197, 161, 79, 0.40); }

/* a soft pulse on the final ring to mark "the count is done" */
.hw-num-spark {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--gold-bright);
    opacity: 0;
    pointer-events: none;
}
.hw-journey.visible .hw-num-spark {
    animation: hwSpark 2.6s var(--ease-out) 1.7s 2;
}
@keyframes hwSpark {
    0%   { transform: scale(0.7); opacity: 0.7; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ── Card ────────────────────────────────────────────────────── */
.hw-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: 0 10px 30px rgba(18, 36, 65, 0.05);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    position: relative;
    overflow: hidden;
}
/* a faint diagonal tally watermark inside each card */
.hw-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 120px;
    height: 100%;
    background: repeating-linear-gradient(
        -16deg,
        rgba(31, 154, 166, 0.05) 0 2px,
        transparent 2px 16px);
    pointer-events: none;
    opacity: .7;
}
.hw-card-final::after {
    background: repeating-linear-gradient(
        -16deg,
        rgba(197, 161, 79, 0.07) 0 2px,
        transparent 2px 16px);
}
.hw-phase:hover .hw-card {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(18, 36, 65, 0.12);
    border-color: rgba(31, 154, 166, 0.40);
}
.hw-phase-final:hover .hw-card {
    border-color: rgba(197, 161, 79, 0.45);
}
.hw-phase:hover .hw-num-ring {
    transform: scale(1.08);
    border-color: var(--teal);
}
.hw-phase:hover .hw-ring-gold {
    border-color: var(--gold);
}

.hw-phase-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}
.hw-label-gold { color: var(--gold); }

.hw-phase-title {
    font-size: clamp(20px, 2.4vw, 25px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.hw-phase-copy {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dim);
    max-width: 540px;
    position: relative;
    z-index: 1;
}

/* ── Mini bullet chips ───────────────────────────────────────── */
.hw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}
.hw-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-tint);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px 7px 12px;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.hw-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 154, 166, 0.40);
    background: var(--bg-white);
}
.hw-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hw-chip-dot.teal  { background: var(--teal-bright);  box-shadow: 0 0 7px rgba(54, 194, 206, 0.55); }
.hw-chip-dot.gold  { background: var(--gold-bright);  box-shadow: 0 0 7px rgba(197, 161, 79, 0.55); }
.hw-chip-dot.green { background: var(--green-bright); box-shadow: 0 0 7px rgba(63, 211, 137, 0.55); }

/* ── Final "Counted. Done." flag ─────────────────────────────── */
.hw-final-flag {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
.hw-flag-stroke {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 12px rgba(197, 161, 79, 0.5);
    transform: skewX(-18deg) scaleX(0);
    transform-origin: left;
}
.hw-journey.visible .hw-flag-stroke {
    animation: hwFlagStroke 0.7s var(--ease-out) 1.85s forwards;
}
@keyframes hwFlagStroke {
    to { transform: skewX(-18deg) scaleX(1); }
}
.hw-flag-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
    .hw-journey { padding-left: 74px; }
    .hw-spine   { left: 27px; }
    .hw-num-wrap { left: -74px; width: 60px; height: 60px; }
    .hw-num { width: 48px; height: 48px; font-size: 22px; }
    .hw-card { padding: 22px 22px; }
}

@media (max-width: 560px) {
    .hw-journey { padding-left: 0; }
    .hw-spine   { display: none; }
    .hw-phase   { margin-bottom: 20px; }
    .hw-num-wrap {
        position: static;
        width: auto;
        height: auto;
        justify-content: flex-start;
        margin-bottom: -22px;     /* tuck number partly behind the card top */
        padding-left: 8px;
    }
    .hw-num-ring, .hw-num-spark { display: none; }
    .hw-num {
        font-size: 18px;
        width: 42px;
        height: 42px;
        position: relative;
        z-index: 3;
        box-shadow: inset 0 0 0 1px rgba(31, 154, 166, 0.22),
                    0 6px 16px rgba(18, 36, 65, 0.12);
    }
    .hw-num-gold {
        box-shadow: inset 0 0 0 1px rgba(197, 161, 79, 0.30),
                    0 6px 16px rgba(18, 36, 65, 0.12);
    }
    .hw-card { padding: 30px 18px 22px; }
    .hw-card::after { display: none; }
    .hw-phase-copy { max-width: none; }
}


/* ---------- compliance ---------- */
/* ══════════════════════════════════════════════════════════════
   COMPLIANCE — "Florida, built in"  ·  prefix: cp-
   Light/airy open-ledger · two statute lanes · navy header strips
   ══════════════════════════════════════════════════════════════ */

#compliance { position: relative; overflow: hidden; }

/* Faint ledger-ruled paper texture behind the section */
.cp-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .8;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.045) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
#compliance .container { position: relative; z-index: 1; }

/* ── Two-lane layout with center seal ── */
.cp-lanes {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    align-items: stretch;
}

/* Center "FL" seal divider sitting on the split */
.cp-seal {
    position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    z-index: 3; pointer-events: none; padding: 64px 0 40px;
}
.cp-seal-line { flex: 1; width: 1px; background: linear-gradient(180deg, transparent, var(--border), transparent); }
.cp-seal-badge {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .5px;
    color: var(--navy); background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(18,36,65,0.12), inset 0 0 0 4px rgba(245,248,252,0.9);
}

/* ── Lane card (light, with navy header strip) ── */
.cp-lane {
    position: relative;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(18,36,65,0.08);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cp-lane:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 64px rgba(18,36,65,0.14);
}

/* Accent rail down the inner edge */
.cp-lane::after {
    content: ''; position: absolute; top: 86px; bottom: 22px; width: 3px; border-radius: 3px;
    opacity: .5; transition: opacity .35s var(--ease);
}
.cp-lane--condo::after { right: 0; background: linear-gradient(180deg, var(--teal), var(--teal-bright)); }
.cp-lane--hoa::after   { left: 0;  background: linear-gradient(180deg, var(--green), var(--green-bright)); }
.cp-lane:hover::after { opacity: 1; }

/* Navy header strip — the "product canvas" treatment for the lane head */
.cp-lane-head {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 20px 22px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 78%);
    border-bottom: 1px solid rgba(18,36,65,0.5);
}
.cp-lane-head::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(70% 120% at 14% 10%, rgba(255,255,255,0.05), transparent 60%);
}
.cp-lane-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center; position: relative; z-index: 1;
}
.cp-lane--condo .cp-lane-icon { color: var(--teal-bright); background: rgba(54,194,206,0.14); border: 1px solid rgba(54,194,206,0.26); }
.cp-lane--hoa   .cp-lane-icon { color: var(--green-bright); background: rgba(63,211,137,0.14); border: 1px solid rgba(63,211,137,0.26); }

.cp-lane-titles { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.cp-lane-kicker {
    font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; font-weight: 600;
    letter-spacing: 1.8px; text-transform: uppercase;
}
.cp-lane--condo .cp-lane-kicker { color: var(--teal-bright); }
.cp-lane--hoa   .cp-lane-kicker { color: var(--green-bright); }
.cp-lane-title { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }

.cp-chapter {
    margin-left: auto; position: relative; z-index: 1;
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .5px;
    color: var(--text-light); padding: 7px 13px; border-radius: 999px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}

/* ── Compliance rows (ledger-style list) ── */
.cp-list { padding: 8px 22px 10px; }
.cp-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
    transition: padding-left .3s var(--ease);
}
.cp-item:last-child { border-bottom: none; }
.cp-item:hover { padding-left: 8px; }

.cp-check {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; margin-top: 1px;
    color: var(--green); background: rgba(46,166,107,0.12);
    border: 1px solid rgba(46,166,107,0.24);
    transition: transform .3s var(--ease-out), background .3s var(--ease), box-shadow .3s var(--ease);
}
.cp-item:hover .cp-check {
    transform: scale(1.08);
    background: rgba(46,166,107,0.18);
    box-shadow: 0 0 0 4px rgba(46,166,107,0.08);
}
.cp-item-body { display: flex; flex-direction: column; gap: 2px; }
.cp-item-title { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.cp-item-sub { font-size: 13px; color: var(--text-dim); line-height: 1.45; }

/* ══════════════════════ EVERYONE — SHARED STRIP ══════════════════════ */
.cp-shared {
    position: relative; margin-top: 34px;
    background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 34px 34px 30px;
    overflow: hidden;
}
.cp-shared::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.04) 0 1px, transparent 1px 34px);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
            mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.cp-shared > * { position: relative; z-index: 1; }

.cp-shared-head { text-align: center; max-width: 560px; margin: 0 auto 26px; }
.cp-shared-label {
    display: inline-flex; align-items: center; gap: 11px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--navy);
    margin-bottom: 10px;
}

/* Tally-mark motif: four navy strokes + gold diagonal 5th */
.cp-tally { position: relative; display: inline-flex; align-items: center; gap: 4px; width: 30px; height: 18px; }
.cp-tally i { width: 2px; height: 16px; border-radius: 2px; background: var(--navy); opacity: .82; }
.cp-tally b {
    position: absolute; left: -3px; right: -3px; top: 50%; height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: translateY(-50%) rotate(-18deg);
    box-shadow: 0 0 8px rgba(197,161,79,0.5);
}
.cp-shared-desc { font-size: 15px; color: var(--text-dim); line-height: 1.6; }

/* Shared check chips */
.cp-shared-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cp-chip {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 17px;
    box-shadow: 0 8px 22px rgba(18,36,65,0.05);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cp-chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(18,36,65,0.10);
    border-color: rgba(46,166,107,0.4);
}
.cp-chip-tick {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
    display: grid; place-items: center; margin-top: 1px;
    color: var(--green); background: rgba(46,166,107,0.12);
    border: 1px solid rgba(46,166,107,0.22);
    transition: transform .3s var(--ease-out);
}
.cp-chip:hover .cp-chip-tick { transform: scale(1.1) rotate(-4deg); }
.cp-chip-body { display: flex; flex-direction: column; gap: 2px; }
.cp-chip-title { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.cp-chip-sub { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }

/* Footer affirmation line */
.cp-shared-foot {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 24px; text-align: center;
    font-size: 14.5px; color: var(--text-dim);
}
.cp-shared-foot strong { color: var(--navy); font-weight: 600; }
.cp-shared-foot-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: var(--green); box-shadow: 0 0 10px rgba(46,166,107,0.55);
    animation: cpBlink 2.4s ease-in-out infinite;
}
@keyframes cpBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 860px) {
    .cp-lanes { grid-template-columns: 1fr; gap: 22px; }
    .cp-seal { display: none; }
    .cp-lane--hoa::after { left: auto; right: 0; }
    .cp-shared-grid { grid-template-columns: 1fr 1fr; }
    .cp-shared { padding: 28px 22px 26px; }
}
@media (max-width: 560px) {
    .cp-lane-head { padding: 18px; gap: 12px; flex-wrap: wrap; }
    .cp-chapter { margin-left: auto; }
    .cp-lane-icon { width: 42px; height: 42px; }
    .cp-lane-title { font-size: 17.5px; }
    .cp-shared-grid { grid-template-columns: 1fr; }
    .cp-shared-foot { flex-direction: column; gap: 7px; }
}


/* ---------- payments ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — payments section  (prefix: pay)
   Owned payments: fee comparison + a settlement window you can see.
   Light / open-ledger aesthetic · navy product-canvas for the app UI.
   ══════════════════════════════════════════════════════════════ */

#payments { position: relative; overflow: hidden; }

/* Faint ledger-ruled paper behind the section (the open-ledger motif) */
.pay-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.04) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
#payments .container { position: relative; z-index: 1; }

/* ── Two-column layout ─────────────────────────────────────────── */
.pay-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

/* ════════════════════ LEFT — FEE COMPARISON ════════════════════ */
.pay-compare { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.pay-compare-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 26px;
}
.pay-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--navy);
}
.pay-compare-note {
    font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
    letter-spacing: .5px; color: var(--text-muted);
}

/* Tally-mark glyph: four teal strokes + a gold diagonal 5th */
.pay-tally {
    position: relative; display: inline-flex; align-items: flex-end; gap: 3px;
    width: 24px; height: 16px;
}
.pay-tally i {
    width: 2px; height: 14px; border-radius: 2px;
    background: var(--navy-700); opacity: .85;
}
.pay-tally b {
    position: absolute; left: -2px; top: 50%; width: 28px; height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: translateY(-50%) skewX(-8deg) rotate(-18deg);
    box-shadow: 0 0 8px rgba(197,161,79,0.45);
}

/* Bars */
.pay-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.pay-bar-col { display: flex; flex-direction: column; }
.pay-bar-track {
    position: relative; height: 220px;
    display: flex; align-items: flex-end; justify-content: center;
    border-bottom: 2px solid var(--border);
    /* faint ledger rules inside the chart well */
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.045) 0 1px, transparent 1px 36px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%);
            mask-image: linear-gradient(180deg, transparent, #000 12%);
}
.pay-bar-fill {
    position: relative; width: 72px; border-radius: 12px 12px 0 0;
    overflow: hidden; height: 0;
    display: flex; align-items: flex-start; justify-content: center;
    transition: height 1.1s var(--ease-out);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.pay-bar-fill--high {
    background: linear-gradient(180deg, #97A6BC, #6E8099);
    --target: 100%;
}
.pay-bar-fill--low {
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 0 22px rgba(46,166,107,0.30);
    --target: 17%;
}
/* draw-in once the section scrolls into view */
[data-animate].visible .pay-bar-fill--high,
.pay-compare.visible .pay-bar-fill--high { height: 100%; }
[data-animate].visible .pay-bar-fill--low,
.pay-compare.visible .pay-bar-fill--low { height: 17%; }

.pay-bar-cap {
    font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; font-weight: 700;
    letter-spacing: .5px; color: rgba(255,255,255,0.92); margin-top: 9px;
    text-transform: uppercase; white-space: nowrap;
}
.pay-bar-cap--check {
    font-size: 16px; line-height: 1; margin-top: 6px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}
.pay-bar-shimmer {
    position: absolute; top: -60%; left: 0; width: 100%; height: 50%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: payShimmer 3.6s ease-in-out infinite;
}
@keyframes payShimmer { 0% { top: -60%; } 60%, 100% { top: 130%; } }

.pay-bar-foot { margin-top: 16px; }
.pay-bar-name {
    display: flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600;
    color: var(--navy); line-height: 1.3;
}
.pay-bar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pay-dot-red { background: #8595AB; }
.pay-dot-green { background: var(--green); box-shadow: 0 0 8px rgba(46,166,107,0.5); }
.pay-bar-sub { font-size: 12px; color: var(--text-dim); line-height: 1.45; margin-top: 5px; }

/* Savings callout */
.pay-savings {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    margin-top: auto; padding-top: 22px; margin-top: 26px;
    border-top: 1px solid var(--border);
}
.pay-savings-num {
    font-family: 'Space Grotesk', sans-serif; font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1;
}
.pay-savings-num .gold-text { font-weight: 700; }
.pay-savings-copy { display: flex; flex-direction: column; }
.pay-savings-lead {
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--text-dim);
}
.pay-footnote { font-size: 11px; color: var(--text-muted); margin-top: 12px; }

/* ════════════════════ RIGHT — SETTLEMENT FLOW ════════════════════ */
.pay-canvas-wrap { display: flex; flex-direction: column; }
.pay-flow-head { margin-bottom: 16px; }
.pay-flow-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.pay-flow-title {
    font-size: clamp(20px, 2.2vw, 25px); font-weight: 700; color: var(--navy);
    letter-spacing: -0.015em; line-height: 1.25;
}

/* Navy "product canvas" — the dark app window on the light page */
.pay-canvas {
    position: relative; flex: 1; border-radius: 24px; padding: 14px 16px 16px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 24px rgba(18,36,65,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pay-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 50% at 82% 8%, rgba(31,154,166,0.16), transparent 60%);
}

/* App-chrome topbar */
.pay-topbar {
    display: flex; align-items: center; gap: 10px;
    padding: 2px 4px 14px; position: relative; z-index: 2;
}
.pay-st-icon { width: 18px; height: 18px; opacity: .92; }
.pay-st-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text-light-dim);
}
.pay-st-live {
    display: inline-flex; align-items: center; gap: 6px; margin-left: 8px;
    font-family: 'Space Grotesk', sans-serif; font-size: 9.5px; font-weight: 700;
    letter-spacing: 1.4px; color: var(--green-bright);
}
.pay-st-live i {
    width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright);
    box-shadow: 0 0 8px var(--green-bright); animation: payBlink 1.8s ease-in-out infinite;
}
@keyframes payBlink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.pay-st-dots { margin-left: auto; display: flex; gap: 6px; }
.pay-st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }

/* The flow / timeline inside the canvas */
.pay-flow { position: relative; z-index: 2; padding: 6px 4px 4px; }
.pay-flow-line {
    position: absolute; left: 22px; top: 22px; bottom: 30px; width: 2px;
    background: rgba(255,255,255,0.10); border-radius: 2px; overflow: hidden;
}
.pay-flow-line-fill {
    position: absolute; inset: 0; border-radius: 2px; transform: scaleY(0); transform-origin: top;
    background: linear-gradient(180deg, var(--teal-bright) 0%, var(--teal) 40%, var(--gold) 80%, var(--green-bright) 100%);
    box-shadow: 0 0 14px rgba(54,194,206,0.5);
    transition: transform 1.5s var(--ease-out) .2s;
}
.pay-canvas-wrap.visible .pay-flow-line-fill,
[data-animate].visible .pay-flow-line-fill { transform: scaleY(1); }

.pay-step {
    position: relative; display: grid;
    grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
    padding: 13px 12px; border-radius: 14px;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
    opacity: 0; transform: translateY(14px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .25s, border-color .25s;
    transition-delay: var(--d, 0s);
}
.pay-step:last-child { margin-bottom: 0; }
.pay-canvas-wrap.visible .pay-step,
[data-animate].visible .pay-step { opacity: 1; transform: translateY(0); }
.pay-step:hover { background: rgba(255,255,255,0.055); border-color: rgba(54,194,206,0.28); }

.pay-step-node {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    color: var(--teal-bright); background: rgba(31,154,166,0.14);
    border: 1px solid rgba(54,194,206,0.32);
    box-shadow: 0 0 0 4px rgba(11,26,51,0.6);
    position: relative; z-index: 1;
}
.pay-step-node--hold {
    color: var(--gold-bright); background: rgba(197,161,79,0.14);
    border-color: rgba(197,161,79,0.34);
}
.pay-step-node--hold::after {
    content: ''; position: absolute; inset: -1px; border-radius: 13px;
    border: 1px solid rgba(227,199,126,0.5);
    animation: payHoldPulse 2.4s ease-in-out infinite;
}
@keyframes payHoldPulse { 0%,100% { opacity: 0; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.pay-step-node--done {
    color: var(--navy-deep); background: linear-gradient(135deg, var(--green-bright), var(--green));
    border-color: rgba(63,211,137,0.5); box-shadow: 0 0 0 4px rgba(11,26,51,0.6), 0 0 18px rgba(46,166,107,0.45);
}

.pay-step-stage {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-light-dim);
}
.pay-step-stage--gold { color: var(--gold-bright); }
.pay-step-title { font-size: 14.5px; font-weight: 600; color: var(--text-light); margin: 3px 0 4px; }
.pay-step-text { font-size: 12.5px; color: var(--text-light-dim); line-height: 1.45; }

.pay-step-tag {
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 700;
    padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}
.pay-tag-teal { color: var(--teal-bright); background: rgba(31,154,166,0.16); border: 1px solid rgba(54,194,206,0.28); }
.pay-tag-gold { color: var(--gold-bright); background: rgba(197,161,79,0.14); border: 1px solid rgba(197,161,79,0.3); }
.pay-tag-green { color: var(--green-bright); background: rgba(46,166,107,0.16); border: 1px solid rgba(63,211,137,0.32); }

.pay-canvas-foot {
    display: flex; align-items: center; gap: 9px; position: relative; z-index: 2;
    margin-top: 14px; padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 12px; color: var(--text-light-dim);
}
.pay-foot-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
    background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright);
}

/* ════════════════════ BENEFIT CHIPS ════════════════════ */
.pay-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-chip {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 22px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pay-chip:hover {
    transform: translateY(-4px); box-shadow: 0 18px 44px rgba(18,36,65,0.10);
    border-color: rgba(31,154,166,0.4);
}
.pay-chip-icon {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center;
}
.pay-ic-teal { color: var(--teal); background: var(--teal-soft); }
.pay-ic-gold { color: var(--gold); background: rgba(197,161,79,0.12); }
.pay-ic-green { color: var(--green); background: rgba(46,166,107,0.12); }
.pay-chip-title { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.pay-chip-text { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 860px) {
    .pay-layout { grid-template-columns: 1fr; gap: 26px; }
    .pay-chips { grid-template-columns: 1fr; gap: 14px; }
    .pay-bar-track { height: 180px; }
}
@media (max-width: 560px) {
    .pay-compare { padding: 24px 20px 22px; }
    .pay-bars { gap: 16px; }
    .pay-bar-fill { width: 56px; }
    .pay-bar-track { height: 160px; }
    .pay-step { grid-template-columns: 40px 1fr; }
    .pay-step-tag { grid-column: 2; justify-self: start; margin-top: 4px; }
    .pay-step-node { width: 40px; height: 40px; }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .pay-bar-fill--high { height: 100%; }
    .pay-bar-fill--low { height: 17%; }
    .pay-flow-line-fill { transform: scaleY(1); }
    .pay-step { opacity: 1; transform: none; }
    .pay-bar-shimmer { display: none; }
}


/* ---------- compare ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — compare.css  ·  WHY TALLYHOA
   Prefix: .cmp   ·   Section: .section.tint#compare (light/airy)
   A comparison matrix inside a navy "product canvas".
   TallyHOA column highlighted (teal border + gold glow + tally accent).
   Checks/crosses tally up on reveal, staggered by row.
   ══════════════════════════════════════════════════════════════ */

#compare { position: relative; overflow: hidden; }
#compare .container { position: relative; z-index: 2; }

/* ── Faint ledger-ruled paper behind the section (open-ledger motif) ── */
.cmp-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.04) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

/* Lead stat in the description — gold tally underline */
.cmp-lead-stat {
    position: relative; color: var(--navy); font-weight: 700; white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
}
.cmp-lead-stat::after {
    content: ''; position: absolute; left: -3%; right: -3%; bottom: 1px; height: 6px;
    border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-14deg); opacity: .85; z-index: -1;
    box-shadow: 0 0 14px rgba(197,161,79,0.4);
}

/* ════════════════════ NAVY PRODUCT CANVAS ════════════════════ */
.cmp-canvas {
    position: relative; max-width: 1000px; margin: 0 auto;
    border-radius: 24px; padding: 14px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 26px rgba(18,36,65,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cmp-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(72% 50% at 82% 8%, rgba(31,154,166,0.16), transparent 60%);
}

/* App-chrome topbar */
.cmp-topbar { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; position: relative; z-index: 3; }
.cmp-st-icon { width: 18px; height: 18px; opacity: .92; }
.cmp-st-title { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-light-dim); }
.cmp-st-dots { margin-left: auto; display: flex; gap: 6px; }
.cmp-st-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }

/* ════════════════════ TABLE ════════════════════ */
.cmp-table {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.7fr 1fr 1fr;
    border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.015);
}

.cmp-head, .cmp-row { display: contents; }

.cmp-cell {
    display: flex; align-items: center;
    padding: 17px 22px; min-height: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
}
/* Feature column = ledger row lines (counted list) */
.cmp-cell-feature {
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
}
.cmp-cell-them, .cmp-cell-us { justify-content: center; }

/* last row: no bottom border */
.cmp-row:last-child .cmp-cell { border-bottom: none; }

/* zebra ledger tint on feature + them columns for readability */
.cmp-row:nth-child(odd) .cmp-cell-feature,
.cmp-row:nth-child(odd) .cmp-cell-them { background: rgba(255,255,255,0.018); }

/* ── Header row ── */
.cmp-head .cmp-cell {
    min-height: 78px; align-items: flex-end; padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cmp-head .cmp-cell-feature { flex-direction: row; align-items: center; gap: 11px; }
.cmp-head-label {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light-dim);
}
.cmp-them-name {
    text-align: center; width: 100%;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
    line-height: 1.32; color: rgba(234,241,248,0.7);
}

/* ── Tally-marks accent (4 strokes + gold 5th = the count is complete) ── */
.cmp-tally { display: inline-flex; align-items: flex-end; gap: 3px; height: 17px; position: relative; flex-shrink: 0; }
.cmp-tally i { width: 2px; height: 16px; border-radius: 2px; background: rgba(234,241,248,0.55); }
.cmp-tally b {
    position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: translateY(-50%) rotate(-20deg); box-shadow: 0 0 8px rgba(197,161,79,0.55);
}

/* ════════════════════ FEATURE NAMES ════════════════════ */
.cmp-feat-name { font-size: 14.5px; font-weight: 600; color: var(--text-light); line-height: 1.3; }
.cmp-feat-sub  { font-size: 12px; color: var(--text-light-dim); line-height: 1.35; }

/* ════════════════════ MARKS (✓ / ✕ / Partial) ════════════════════ */
.cmp-cell-them, .cmp-cell-us { flex-direction: column; gap: 6px; }
.cmp-mark {
    display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    /* hidden state — tally up on reveal */
    transform: scale(0) rotate(-30deg); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .4s var(--ease-out);
}
.cmp-mark svg { width: 16px; height: 16px; }

.cmp-check { background: rgba(46,166,107,0.16); color: var(--green-bright); border: 1px solid rgba(46,166,107,0.34); }
.cmp-cross { background: rgba(255,255,255,0.05); color: rgba(234,241,248,0.34); border: 1px solid rgba(255,255,255,0.10); }
.cmp-partial { background: rgba(197,161,79,0.12); color: var(--gold-bright); border: 1px solid rgba(197,161,79,0.28); }
.cmp-partial-tag {
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 600;
    letter-spacing: .4px; color: rgba(227,199,126,0.85);
    opacity: 0; transform: translateY(4px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}

/* Reveal: when canvas becomes visible, marks "tally up" with per-row stagger */
.cmp-canvas.visible .cmp-mark { transform: scale(1) rotate(0deg); opacity: 1; }
.cmp-canvas.visible .cmp-partial-tag { opacity: 1; transform: translateY(0); }
.cmp-canvas.visible .cmp-row .cmp-mark,
.cmp-canvas.visible .cmp-row .cmp-partial-tag {
    transition-delay: calc(var(--i, 0) * 95ms + 250ms);
}
.cmp-check { transition-property: transform, opacity, box-shadow; }
.cmp-canvas.visible .cmp-check { box-shadow: 0 0 0 0 rgba(63,211,137,0); }

/* ════════════════════ HIGHLIGHTED TALLYHOA COLUMN ════════════════════
   A white card inset over the navy canvas — teal border + gold glow.
   Spans the whole right column via the header + every row cell. */
.cmp-cell-us {
    background: linear-gradient(180deg, #ffffff, #f4f9fc) !important;
    position: relative; z-index: 2;
    box-shadow: inset 1px 0 0 rgba(31,154,166,0.45), inset -1px 0 0 rgba(31,154,166,0.45);
    border-bottom-color: rgba(18,36,65,0.07);
}
.cmp-cell-us .cmp-feat-name { color: var(--navy); }
/* Check marks inside the white column read on light */
.cmp-cell-us .cmp-check {
    background: rgba(46,166,107,0.12); color: var(--green);
    border-color: rgba(46,166,107,0.32);
}

/* Header cell of the highlighted column */
.cmp-head .cmp-cell-us {
    flex-direction: column; gap: 6px; justify-content: flex-end;
    border-top: 2px solid var(--teal); border-bottom-color: rgba(18,36,65,0.10);
    border-radius: 14px 14px 0 0;
    box-shadow:
        inset 1px 0 0 rgba(31,154,166,0.45), inset -1px 0 0 rgba(31,154,166,0.45),
        0 -10px 34px rgba(197,161,79,0.22);
}
/* last row cell of the column — rounded + outer glow band */
.cmp-row:last-child .cmp-cell-us {
    border-radius: 0 0 14px 14px;
    box-shadow:
        inset 1px 0 0 rgba(31,154,166,0.45), inset -1px 0 0 rgba(31,154,166,0.45),
        inset 0 -1px 0 rgba(31,154,166,0.45);
}

.cmp-us-glow {
    position: absolute; inset: -2px -1px; border-radius: 16px 16px 0 0; pointer-events: none;
    background: radial-gradient(80% 90% at 50% 0%, rgba(197,161,79,0.20), transparent 70%);
    z-index: -1;
}
.cmp-us-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em; color: var(--navy);
}
.cmp-us-ic {
    width: 17px; height: 17px; padding: 3px; border-radius: 6px;
    background: linear-gradient(120deg, var(--teal), var(--teal-bright));
    box-shadow: 0 4px 12px rgba(31,154,166,0.4);
}
.cmp-us-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; font-weight: 600;
    letter-spacing: .3px; color: var(--teal);
    background: var(--teal-soft); border: 1px solid rgba(31,154,166,0.22);
    padding: 3px 9px; border-radius: 999px;
}

/* hover lift on the whole highlighted column (driven from each cell) */
.cmp-cell-us { transition: background .3s var(--ease); }
.cmp-table:hover .cmp-cell-us { background: linear-gradient(180deg, #ffffff, #eef6fb) !important; }

/* row hover — gently lift feature label */
.cmp-row .cmp-cell-feature { transition: padding-left .25s var(--ease); }
.cmp-row:hover .cmp-cell-feature { padding-left: 26px; }
.cmp-row:hover .cmp-cell-feature::before {
    content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px;
    background: linear-gradient(180deg, var(--teal-bright), var(--green-bright));
}

/* ════════════════════ CLOSING LINE ════════════════════ */
.cmp-closing {
    display: flex; align-items: center; justify-content: center; gap: 13px;
    max-width: 720px; margin: 44px auto 0; text-align: center;
    font-family: 'Poppins', sans-serif; font-size: clamp(17px, 2vw, 21px);
    font-weight: 600; color: var(--navy); line-height: 1.4;
}
.cmp-closing-check {
    flex-shrink: 0; display: inline-grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(46,166,107,0.12); color: var(--green); font-size: 16px;
    border: 1px solid rgba(46,166,107,0.3);
    box-shadow: 0 6px 18px rgba(46,166,107,0.18);
}
.cmp-closing-em { color: var(--text-dim); font-weight: 500; }
.cmp-strike { position: relative; color: var(--text-muted); white-space: nowrap; }
.cmp-strike::after {
    content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-12deg) scaleX(0); transform-origin: left;
    transition: transform .7s var(--ease-out) .4s; box-shadow: 0 0 10px rgba(197,161,79,0.5);
}
.cmp-closing.visible .cmp-strike::after { transform: skewX(-12deg) scaleX(1); }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 860px) {
    .cmp-canvas { padding: 12px; }
    .cmp-cell { padding: 14px 16px; }
    .cmp-feat-name { font-size: 13.5px; }
    .cmp-feat-sub { font-size: 11px; }
    .cmp-them-name { font-size: 11.5px; }
    .cmp-us-badge { font-size: 13.5px; }
    .cmp-us-tag { font-size: 9.5px; padding: 2px 7px; }
    .cmp-table { grid-template-columns: 1.5fr 0.85fr 0.95fr; }
}
@media (max-width: 560px) {
    .cmp-canvas { padding: 9px; border-radius: 18px; }
    .cmp-canvas::before, .cmp-us-glow { border-radius: 18px 18px 0 0; }
    .cmp-table { grid-template-columns: 1.6fr 0.7fr 0.8fr; }
    .cmp-cell { padding: 12px 10px; min-height: 56px; }
    .cmp-head .cmp-cell { min-height: 70px; }
    .cmp-feat-sub { display: none; }                 /* keep rows tight on phones */
    .cmp-mark { width: 26px; height: 26px; }
    .cmp-mark svg { width: 14px; height: 14px; }
    .cmp-partial-tag { display: none; }
    .cmp-us-ic { width: 14px; height: 14px; }
    .cmp-us-badge { font-size: 12px; gap: 5px; }
    .cmp-them-name { font-size: 10.5px; }
    .cmp-head-label { font-size: 10px; letter-spacing: 1.5px; }
    .cmp-closing { gap: 10px; margin-top: 32px; }
    .cmp-closing-check { width: 30px; height: 30px; font-size: 14px; }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .cmp-mark { transform: none !important; opacity: 1 !important; }
    .cmp-partial-tag { opacity: 1 !important; transform: none !important; }
    .cmp-strike::after { transform: skewX(-12deg) scaleX(1) !important; }
}


/* ---------- stats ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — stats.css  ·  BY THE NUMBERS
   Prefix: .st   ·   Section: .section.dark#stats
   ONE allowed dark emphasis band — navy gradient, light text,
   matched to the hero scene-canvas (NOT neon).
   Two rows of big Space-Grotesk numbers; each draws a GOLD
   tally-stroke underline on reveal. Tally-mark + ledger motifs.
   ══════════════════════════════════════════════════════════════ */

#stats { overflow: hidden; }
#stats .container { position: relative; z-index: 2; }

/* Reuse the shared .hero-glow inside this dark band, but soften it
   so the band reads navy/calm, not neon. */
#stats .hero-glow {
    opacity: .55;
    background:
        radial-gradient(54% 46% at 16% 14%, rgba(31,154,166,0.16), transparent 60%),
        radial-gradient(46% 44% at 88% 28%, rgba(46,166,107,0.10), transparent 62%),
        radial-gradient(40% 40% at 72% 98%, rgba(197,161,79,0.08), transparent 62%);
}

/* Faint accounting-ledger ruled lines across the whole band (the open-ledger motif) */
.st-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

/* ════════════════════ ROW HEADER (tally-mark + ledger rule) ════════════════════ */
.st-rowhead {
    display: flex; align-items: center; gap: 16px;
    margin: 8px 0 26px;
}
.st-rowhead:nth-of-type(n+2) { margin-top: 0; } /* second row spacing handled by grid below */

/* Four strokes + a gold diagonal 5th = "the count is complete" */
.st-tally {
    position: relative; display: inline-flex; align-items: flex-end; gap: 4px;
    height: 22px; flex-shrink: 0;
}
.st-tally i {
    width: 2px; height: 20px; border-radius: 2px;
    background: rgba(234,241,248,0.55);
}
.st-tally b {
    position: absolute; left: -3px; right: -3px; top: 50%; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 12px rgba(197,161,79,0.55);
    transform: translateY(-50%) rotate(-22deg);
}
.st-rowlabel {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light-dim);
    white-space: nowrap; flex-shrink: 0;
}
.st-rule {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
}

/* ════════════════════ SHARED NUMBER + GOLD TALLY-STROKE ════════════════════ */
/* Wrapper so the [data-count] element can be rewritten by JS (textContent)
   without ever clobbering the stroke span. Stroke is a SIBLING, not a child. */
.st-numwrap {
    position: relative; display: inline-block;
    padding-bottom: 16px; /* room for the stroke under the digits */
}
.st-num {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    line-height: 0.95; letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
    background: linear-gradient(180deg, #ffffff 28%, #cfe0f1 130%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* Gold tally-stroke — sits under the number, draws in on reveal (signature motif) */
.st-stroke {
    position: absolute; left: 0; bottom: 2px;
    width: 100%; max-width: 64px; height: 5px; border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 16px rgba(197,161,79,0.45);
    transform: skewX(-14deg) scaleX(0); transform-origin: left;
    transition: transform .9s var(--ease-out) .25s;
}
.st-stroke--gold { box-shadow: 0 0 22px rgba(227,199,126,0.6); }

/* When the cell reveals (data-animate visible), draw the stroke under its number */
.st-cell.visible .st-stroke {
    transform: skewX(-18deg) scaleX(1);
}

.st-label {
    font-size: 13.5px; line-height: 1.45; color: var(--text-light-dim);
    margin-top: 16px; font-weight: 500; max-width: 230px;
}

/* ════════════════════ IMPACT ROW (4 big stats) ════════════════════ */
.st-impact {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: linear-gradient(160deg, rgba(20,38,64,0.72), rgba(11,26,51,0.55));
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    padding: 40px 12px;
    box-shadow: 0 34px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}
/* Teal→green hairline along the top edge (product-canvas accent) */
.st-impact::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-bright) 30%, var(--green-bright) 70%, transparent);
    opacity: .7;
}
.st-impact .st-num { font-size: clamp(40px, 5vw, 60px); }

/* ════════════════════ PLATFORM ROW (4 platform stats) ════════════════════ */
.st-platform {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}

/* ════════════════════ CELLS ════════════════════ */
.st-cell {
    position: relative; padding: 6px 28px;
    transition: transform .35s var(--ease);
}
/* Vertical ledger divider between impact cells */
.st-impact .st-cell:not(:last-child)::after {
    content: ''; position: absolute; top: 6px; bottom: 6px; right: 0; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}
.st-cell:hover { transform: translateY(-3px); }
.st-cell:hover .st-stroke { box-shadow: 0 0 24px rgba(227,199,126,0.7); }

/* Platform cells are framed as small product cards on the navy band */
.st-cell--alt {
    padding: 24px 22px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}
.st-cell--alt::before {
    content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--teal-bright), var(--green-bright));
    opacity: 0; transform: scaleY(.4); transform-origin: center;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.st-cell--alt:hover {
    transform: translateY(-4px); background: rgba(255,255,255,0.055);
    border-color: rgba(31,154,166,0.4);
}
.st-cell--alt:hover::before { opacity: 1; transform: scaleY(1); }
.st-platform .st-num { font-size: clamp(30px, 3.4vw, 42px); }
.st-platform .st-stroke { max-width: 44px; height: 4px; }

/* Florida-statute chip */
.st-chip {
    display: inline-block; margin-left: 6px;
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 600;
    letter-spacing: .4px; color: var(--gold-bright);
    background: rgba(197,161,79,0.12); border: 1px solid rgba(197,161,79,0.3);
    padding: 2px 7px; border-radius: 6px; white-space: nowrap; vertical-align: middle;
}

/* ════════════════════ FOOTNOTE + TAGLINE ════════════════════ */
.st-footnote {
    display: inline-flex; align-items: center; gap: 7px; margin: 22px 0 56px 28px;
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 500;
    letter-spacing: .3px; color: var(--text-muted);
}
.st-footnote svg { color: var(--teal-bright); opacity: .8; flex-shrink: 0; }

.st-tagline {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
    font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600;
    letter-spacing: .2px; color: var(--text-light);
}
.st-check {
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    font-size: 14px; color: var(--green-bright);
    background: rgba(46,166,107,0.16); border: 1px solid rgba(46,166,107,0.35);
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 980px) {
    .st-platform { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .st-impact { grid-template-columns: 1fr 1fr; row-gap: 32px; padding: 32px 14px; }
    .st-impact .st-cell:nth-child(2)::after,
    .st-impact .st-cell:last-child::after { display: none; }
    .st-impact .st-cell:nth-child(odd)  { padding-left: 18px; }
    .st-impact .st-cell:nth-child(even) { padding-right: 18px; }
    .st-footnote { margin-left: 18px; }
}
@media (max-width: 560px) {
    .st-impact { grid-template-columns: 1fr; row-gap: 0; padding: 26px 22px; }
    .st-impact .st-cell {
        padding: 22px 0 22px !important;
    }
    .st-impact .st-cell::after { display: none !important; }
    .st-impact .st-cell:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .st-impact .st-num { font-size: 48px; }
    .st-label { max-width: none; }
    .st-platform { grid-template-columns: 1fr; }
    .st-rowlabel { font-size: 11px; letter-spacing: 2px; }
    .st-footnote { margin-left: 0; }
}

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .st-stroke { transform: skewX(-18deg) scaleX(1) !important; }
}


/* ---------- onboarding ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — onboarding / implementation section  (prefix: ob)
   "Live in weeks, not years." — a 4-step horizontal timeline
   connected by an animated GOLD tally line. Light / open-ledger.
   ══════════════════════════════════════════════════════════════ */

.ob-section {
    position: relative;
    overflow: hidden;
}
/* Faint ledger-ruled paper behind the timeline (the open-ledger motif) */
.ob-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .6;
    background-image: repeating-linear-gradient(0deg,
        rgba(18, 36, 65, 0.045) 0 1px, transparent 1px 39px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 80%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 24%, #000 80%, transparent);
}
.ob-section > .container { position: relative; z-index: 1; }

/* ── Meta strip (days / steps / lines of code) ──────────────── */
.ob-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    max-width: 640px;
    margin: -22px auto 56px;
    padding: 18px 30px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(18, 36, 65, 0.07);
}
.ob-meta-item {
    display: flex;
    align-items: baseline;
    gap: 9px;
    white-space: nowrap;
}
.ob-meta-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--navy);
    line-height: 1;
}
.ob-meta-gold {
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ob-meta-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
}
.ob-meta-div {
    width: 1px;
    height: 26px;
    background: var(--border);
}

/* ════════════════════ 4-STEP TIMELINE ════════════════════ */
.ob-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding-top: 64px;             /* room for the badges + node row */
    max-width: 1080px;
    margin: 0 auto;
}

/* ── The connecting rail + animated gold "tally" line ───────── */
.ob-rail {
    position: absolute;
    top: 90px;                     /* aligned with the node centers */
    left: 11%;
    right: 11%;
    height: 3px;
    border-radius: 3px;
    background: rgba(18, 36, 65, 0.10);
    overflow: visible;
    transform: skewX(-9deg);       /* subtle tally lean */
    transform-origin: left;
    z-index: 0;
}
.ob-rail-fill {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background: linear-gradient(90deg,
        var(--teal) 0%,
        var(--teal) 14%,
        var(--gold) 70%,
        var(--gold-bright) 100%);
    box-shadow: 0 0 16px rgba(197, 161, 79, 0.40);
    transform: scaleX(0);
    transform-origin: left;
}
.ob-timeline.visible .ob-rail-fill {
    animation: obRailDraw 1.9s var(--ease-out) 0.35s forwards;
}
@keyframes obRailDraw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ── Each step (badge → node → card) ─────────────────────────── */
.ob-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

/* Week badge — sits above the node */
.ob-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-soft);
    border: 1px solid rgba(31, 154, 166, 0.22);
    border-radius: 999px;
    padding: 6px 15px;
    margin-bottom: 18px;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.ob-badge-live {
    color: var(--gold);
    background: rgba(197, 161, 79, 0.12);
    border-color: rgba(197, 161, 79, 0.32);
}

/* Node on the rail */
.ob-node {
    position: relative;
    width: 22px;
    height: 22px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: 0 0 0 4px var(--bg-white), 0 6px 16px rgba(18, 36, 65, 0.12);
    z-index: 2;
}
.ob-node-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-bright));
    box-shadow: 0 0 0 1px rgba(31, 154, 166, 0.30);
    transition: transform .3s var(--ease);
}
.ob-node-live .ob-node-dot {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 0 1px rgba(197, 161, 79, 0.45);
}
.ob-node-ping {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--gold-bright);
    opacity: 0;
    pointer-events: none;
}
.ob-timeline.visible .ob-node-ping {
    animation: obPing 2.4s var(--ease-out) 2s infinite;
}
@keyframes obPing {
    0%   { transform: scale(0.7); opacity: 0.75; }
    70%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* ── Card ────────────────────────────────────────────────────── */
.ob-card {
    position: relative;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px 26px;
    text-align: left;
    box-shadow: 0 12px 32px rgba(18, 36, 65, 0.06);
    overflow: hidden;
    transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
/* faint diagonal tally watermark inside each card */
.ob-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -36px;
    width: 110px;
    height: 100%;
    background: repeating-linear-gradient(-16deg,
        rgba(31, 154, 166, 0.05) 0 2px, transparent 2px 16px);
    pointer-events: none;
    opacity: .7;
}
.ob-step:hover .ob-card {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px rgba(18, 36, 65, 0.13);
    border-color: rgba(31, 154, 166, 0.40);
}
.ob-step:hover .ob-node-dot { transform: scale(1.12); }
.ob-step:hover .ob-badge { transform: translateY(-2px); }

/* The final "Go live" card glows gold */
.ob-card-live { border-color: rgba(197, 161, 79, 0.34); }
.ob-card-live::after {
    background: repeating-linear-gradient(-16deg,
        rgba(197, 161, 79, 0.07) 0 2px, transparent 2px 16px);
}
.ob-step-live:hover .ob-card { border-color: rgba(197, 161, 79, 0.50); }
.ob-step-live:hover .ob-node-dot { transform: scale(1.12); }
/* gold tally-stroke that draws across the top of the final card */
.ob-card-stroke {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 12px rgba(197, 161, 79, 0.5);
    transform: skewX(-18deg) scaleX(0);
    transform-origin: left;
}
.ob-timeline.visible .ob-card-stroke {
    animation: obCardStroke 0.8s var(--ease-out) 2s forwards;
}
@keyframes obCardStroke {
    to { transform: skewX(-18deg) scaleX(1); }
}

/* ── Icon ────────────────────────────────────────────────────── */
.ob-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    margin-bottom: 16px;
    color: var(--teal);
    background: var(--teal-soft);
    border: 1px solid rgba(31, 154, 166, 0.18);
    position: relative;
    z-index: 1;
    transition: transform .32s var(--ease);
}
.ob-step:hover .ob-icon { transform: scale(1.06) rotate(-3deg); }
/* per-step tints (kept in the teal family; live step goes gold) */
.ob-icon-setup     { color: var(--teal); }
.ob-icon-train     { color: var(--navy-600); background: rgba(36, 66, 110, 0.10); border-color: rgba(36, 66, 110, 0.20); }
.ob-icon-residents { color: var(--green); background: rgba(46, 166, 107, 0.10); border-color: rgba(46, 166, 107, 0.22); }
.ob-icon-live {
    color: var(--gold);
    background: rgba(197, 161, 79, 0.12);
    border-color: rgba(197, 161, 79, 0.28);
}

/* ── Text ────────────────────────────────────────────────────── */
.ob-step-title {
    font-size: 18.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 9px;
    position: relative;
    z-index: 1;
}
.ob-step-copy {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

/* ── Mini ledger list (ruled rows) ───────────────────────────── */
.ob-list {
    margin-top: 16px;
    position: relative;
    z-index: 1;
}
.ob-list li {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 4px 8px 22px;
    border-top: 1px solid var(--border);
    transition: color .2s var(--ease);
}
.ob-list li:last-child { border-bottom: 1px solid var(--border); }
/* gold check ✓ — the "counted / done" reward */
.ob-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    width: 11px;
    height: 6px;
    margin-top: -4px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
}
.ob-card-live .ob-list li::before {
    border-color: var(--gold);
}
.ob-step:hover .ob-list li { color: var(--navy); }

/* ── Final "Counted. Done." flag ─────────────────────────────── */
.ob-live-flag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ob-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--green-bright);
    box-shadow: 0 0 9px rgba(63, 211, 137, 0.6);
    animation: obBlink 2.2s ease-in-out infinite;
}
@keyframes obBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ── Footer line ─────────────────────────────────────────────── */
.ob-foot {
    text-align: center;
    margin-top: 50px;
    font-size: 15px;
    color: var(--text-dim);
}
.ob-foot strong {
    color: var(--navy);
    font-weight: 600;
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1024px) {
    .ob-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px 26px;
        padding-top: 0;
        max-width: 720px;
    }
    /* horizontal rail doesn't span a 2-col wrap cleanly — hide it */
    .ob-rail { display: none; }
    .ob-step { padding-top: 8px; }
    .ob-node { margin-bottom: 18px; }
}

@media (max-width: 560px) {
    .ob-meta {
        gap: 12px;
        padding: 16px 18px;
        margin-bottom: 44px;
    }
    .ob-meta-num { font-size: 22px; }
    .ob-meta-label { font-size: 12px; }
    .ob-meta-div { height: 22px; }

    .ob-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 420px;
    }
    .ob-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
    }
    /* badge + node become a left spine */
    .ob-badge {
        order: 2;
        margin-bottom: 0;
        align-self: flex-start;
    }
    .ob-node {
        order: 1;
        margin-bottom: 0;
        margin-top: 4px;
        flex-shrink: 0;
    }
    .ob-card { order: 3; flex: 1; padding: 20px 18px 22px; }
    .ob-card::after { display: none; }
    /* stack badge above the card on the right column */
    .ob-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "node  badge"
            "node  card";
        column-gap: 16px;
        row-gap: 10px;
    }
    .ob-node { grid-area: node; }
    .ob-badge { grid-area: badge; }
    .ob-card { grid-area: card; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ob-rail-fill { transform: scaleX(1) !important; }
    .ob-card-stroke { transform: skewX(-18deg) scaleX(1) !important; }
    .ob-node-ping, .ob-live-dot { animation: none !important; }
}


/* ---------- industries ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — industries.css  (#industries · prefix: ind-)
   "Who it's for" — six community-type cards on the light/airy
   open-ledger tint section. Reuses .card / .grid-3 / .tilt-card.
   ══════════════════════════════════════════════════════════════ */

#industries { position: relative; overflow: hidden; }

/* Faint ledger-ruled paper behind the grid — the open-ledger motif */
#industries::before {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.04) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
}
#industries > .container { position: relative; z-index: 1; }

/* ── Grid ───────────────────────────────────────────────── */
.ind-grid { margin-top: 10px; }

/* ── Card ───────────────────────────────────────────────── */
.ind-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px 26px;
    overflow: hidden;
    isolation: isolate;
}
/* gold ledger accent that draws across the top edge on hover */
.ind-card::after {
    content: '';
    position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright) 55%, var(--gold-bright));
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-out);
    z-index: 2;
}
.ind-card:hover::after { transform: scaleX(1); }

.ind-card > * { position: relative; z-index: 1; }

/* Corner statute / role stamp */
.ind-stamp {
    position: absolute; top: 22px; right: 22px; z-index: 3;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--gold); white-space: nowrap;
    padding: 4px 9px; border-radius: 999px;
    background: rgba(197,161,79,0.09);
    border: 1px solid rgba(197,161,79,0.32);
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.ind-stamp-teal {
    color: var(--teal);
    background: var(--teal-soft);
    border-color: rgba(31,154,166,0.28);
}
.ind-card:hover .ind-stamp { background: rgba(197,161,79,0.18); border-color: rgba(197,161,79,0.5); transform: translateY(-2px); }
.ind-card:hover .ind-stamp-teal { background: rgba(31,154,166,0.16); border-color: rgba(31,154,166,0.5); }

/* Navy rounded icon tile (the "product canvas" cue) with teal stroke */
.ind-icon-wrap {
    position: relative; width: 56px; height: 56px; margin-bottom: 22px;
    border-radius: 15px;
    background: linear-gradient(168deg, #16304f 0%, var(--navy-deep) 80%);
    border: 1px solid rgba(255,255,255,0.07);
    display: grid; place-items: center;
    box-shadow: 0 12px 26px rgba(18,36,65,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.ind-icon-glow {
    position: absolute; inset: 0; border-radius: 15px; pointer-events: none;
    background: radial-gradient(75% 60% at 70% 18%, rgba(54,194,206,0.30), transparent 65%);
    opacity: .7; transition: opacity .4s var(--ease);
}
.ind-icon {
    position: relative; z-index: 1; width: 26px; height: 26px;
    color: var(--teal-bright);
    transition: color .35s var(--ease), transform .45s var(--ease-out);
}
.ind-card:hover .ind-icon-wrap {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(18,36,65,0.30), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ind-card:hover .ind-icon-glow { opacity: 1; }
.ind-card:hover .ind-icon { transform: scale(1.06); }

/* ── Copy ───────────────────────────────────────────────── */
.ind-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px; font-weight: 600; line-height: 1.25;
    color: var(--navy); margin-bottom: 10px;
    letter-spacing: -0.01em;
    padding-right: 8px;
}
.ind-desc {
    font-size: 14.5px; line-height: 1.62; color: var(--text-dim);
    margin-bottom: 18px;
}

/* Thin ledger rule above the footnote — accounting-paper divider */
.ind-line {
    display: block; width: 100%; height: 1px; margin-top: auto;
    background: linear-gradient(90deg, var(--border), rgba(18,36,65,0.02));
}

/* Footnote = "counted / done" reward with gold/green check */
.ind-foot {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 13px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
    color: var(--navy-700);
    transition: color .3s var(--ease);
}
.ind-card:hover .ind-foot { color: var(--teal); }
.ind-foot-check {
    display: inline-grid; place-items: center;
    width: 18px; height: 18px; border-radius: 50%;
    font-size: 11px; line-height: 1;
    color: var(--green);
    background: rgba(46,166,107,0.12);
    border: 1px solid rgba(46,166,107,0.26);
    transition: background .3s var(--ease), transform .3s var(--ease-out);
}
.ind-card:hover .ind-foot-check {
    background: rgba(46,166,107,0.20);
    transform: scale(1.08);
}

/* ── Closing tagline with the gold tally-mark motif ──────── */
.ind-tagline {
    margin: 46px auto 0;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(15px, 1.7vw, 18px); font-weight: 600;
    color: var(--navy); text-align: center;
}
/* Tally marks: four navy strokes + a gold diagonal 5th = "the count is complete" */
.ind-tally {
    position: relative; display: inline-flex; align-items: center; gap: 5px;
    width: 36px; height: 22px; flex-shrink: 0;
}
.ind-tally i {
    width: 2.5px; height: 20px; border-radius: 2px;
    background: var(--navy-700); display: block;
    transform: scaleY(0); transform-origin: bottom;
}
.ind-tally b {
    position: absolute; left: -3px; top: 50%; width: 42px; height: 3px;
    border-radius: 3px; transform-origin: left center;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 12px rgba(197,161,79,0.45);
    transform: translateY(-50%) skewX(-10deg) rotate(-19deg) scaleX(0);
}
/* Animate the tally on reveal (parent gets .visible from the global reveal system) */
.ind-tagline.visible .ind-tally i { animation: indTallyMark .42s var(--ease-out) forwards; }
.ind-tagline.visible .ind-tally i:nth-child(1) { animation-delay: .05s; }
.ind-tagline.visible .ind-tally i:nth-child(2) { animation-delay: .15s; }
.ind-tagline.visible .ind-tally i:nth-child(3) { animation-delay: .25s; }
.ind-tagline.visible .ind-tally i:nth-child(4) { animation-delay: .35s; }
.ind-tagline.visible .ind-tally b { animation: indTallyCross .5s var(--ease-out) .5s forwards; }
@keyframes indTallyMark { to { transform: scaleY(1); } }
@keyframes indTallyCross { to { transform: translateY(-50%) skewX(-10deg) rotate(-19deg) scaleX(1); } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
    .ind-card { padding: 26px 24px 24px; }
    .ind-stamp { top: 20px; right: 20px; }
    .ind-icon-wrap { width: 52px; height: 52px; margin-bottom: 18px; }
    .ind-icon { width: 25px; height: 25px; }
    .ind-title { font-size: 18px; }
    .ind-tagline { margin-top: 40px; }
}
@media (max-width: 560px) {
    .ind-card { padding: 24px 22px 22px; }
    .ind-icon-wrap { width: 50px; height: 50px; }
    .ind-tagline { margin-top: 38px; gap: 11px; }
}

/* ── Reduced motion: show tally fully + top accent, no draw ── */
@media (prefers-reduced-motion: reduce) {
    .ind-card::after { transform: scaleX(1); }
    .ind-tally i { transform: scaleY(1); }
    .ind-tally b { transform: translateY(-50%) skewX(-10deg) rotate(-19deg) scaleX(1); }
}


/* ---------- founders ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — founders.css  (prefix: .fd)
   "Made by people who run real communities." — light/airy section
   Navy product-canvas holds the live operations record.
   ══════════════════════════════════════════════════════════════ */

#founders { position: relative; overflow: hidden; }

/* soft ambient teal/gold wash so the white section gets depth */
#founders::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(46% 60% at 90% 6%, rgba(31,154,166,0.07), transparent 62%),
        radial-gradient(40% 55% at 4% 96%, rgba(197,161,79,0.05), transparent 60%);
}
/* faint ledger ruled lines — the open-ledger motif, masked top/bottom */
#founders::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.035) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
}
#founders > .container { position: relative; z-index: 1; }

.fd-layout {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 34px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

/* ─────────────── LEFT: narrative column (navy text on white) ─────────────── */
.fd-story {
    display: flex;
    flex-direction: column;
}

.fd-eyebrow {
    display: inline-flex; align-items: center; gap: 11px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 18px;
}
.fd-tally { display: inline-flex; line-height: 0; }
.fd-tally svg { display: block; }

.fd-narrative {
    font-size: 16px; line-height: 1.74; color: var(--text-dim);
    margin-bottom: 16px;
}
.fd-narrative strong { color: var(--navy); font-weight: 600; }

/* ledger-ruled "what we know" list */
.fd-ledger {
    margin: 8px 0 28px;
    border-top: 1px solid var(--border);
}
.fd-ledger-row {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px; color: var(--text);
    transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.fd-ledger-row:hover { padding-left: 10px; color: var(--navy); }
.fd-check {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 50%;
    font-size: 12px; font-weight: 700; line-height: 1;
    color: var(--green);
    background: rgba(46,166,107,0.12);
    border: 1px solid rgba(46,166,107,0.26);
}

/* founder chips */
.fd-founders {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: auto;
}
.fd-chip {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 20px 8px 8px;
    box-shadow: 0 6px 18px rgba(18,36,65,0.06);
    transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.fd-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(31,154,166,0.4);
    box-shadow: 0 16px 36px rgba(18,36,65,0.12);
}
.fd-avatar {
    width: 38px; height: 38px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--teal-bright));
    box-shadow: 0 6px 16px rgba(31,154,166,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.fd-avatar-alt {
    background: linear-gradient(135deg, var(--navy-600), var(--teal));
    box-shadow: 0 6px 16px rgba(18,36,65,0.22), inset 0 1px 0 rgba(255,255,255,0.2);
}
.fd-chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.fd-chip-name {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--navy);
}
.fd-chip-role { font-size: 11.5px; color: var(--text-dim); }

/* ─────────────── RIGHT: NAVY PRODUCT CANVAS ─────────────── */
.fd-canvas-wrap { position: relative; perspective: 1200px; }
.fd-canvas-glow {
    position: absolute; inset: 14px 14px -18px; z-index: 0; pointer-events: none;
    border-radius: 26px;
    background: radial-gradient(60% 60% at 50% 100%, rgba(31,154,166,0.22), transparent 70%);
    filter: blur(14px);
}
.fd-canvas {
    position: relative; z-index: 1;
    height: 100%;
    border-radius: 24px; padding: 14px;
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.5);
    box-shadow: 0 40px 90px rgba(18,36,65,0.28), 0 8px 24px rgba(18,36,65,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fd-canvas::before {
    content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
    background: radial-gradient(70% 55% at 80% 14%, rgba(31,154,166,0.16), transparent 60%);
}
.fd-canvas:hover { box-shadow: 0 48px 100px rgba(18,36,65,0.34), 0 8px 24px rgba(18,36,65,0.14), inset 0 1px 0 rgba(255,255,255,0.08); }

/* app topbar */
.fd-topbar {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 8px 14px; position: relative; z-index: 2;
}
.fd-topbar-icon { width: 18px; height: 18px; opacity: .92; }
.fd-topbar-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text-light-dim);
}
.fd-dots { margin-left: auto; display: flex; gap: 6px; }
.fd-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }

.fd-canvas-body {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 22px 22px 20px;
}

.fd-canvas-head {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    margin-bottom: 20px;
}
.fd-live {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
    color: var(--green-bright);
}
.fd-live i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 0 0 rgba(63,211,137,0.55);
    animation: fdPulse 2.2s ease-out infinite;
}
@keyframes fdPulse {
    0%   { box-shadow: 0 0 0 0 rgba(63,211,137,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(63,211,137,0); }
    100% { box-shadow: 0 0 0 0 rgba(63,211,137,0); }
}
.fd-canvas-sub { font-size: 11.5px; color: var(--text-light-dim); }

/* trust stats inside the canvas */
.fd-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fd-stat:nth-child(3) { grid-column: 1 / -1; }
.fd-stat {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 13px;
    padding: 17px 18px;
    transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.fd-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(54,194,206,0.45);
    background: rgba(255,255,255,0.06);
}
.fd-stat-num {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: clamp(30px, 3.4vw, 38px);
    color: #fff;
    letter-spacing: -0.01em; line-height: 1;
}
.fd-stat-label {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: 12.5px; color: var(--text-light-dim);
    margin-top: 8px; line-height: 1.35;
}
/* tiny gold tally stroke — the "count is done" motif */
.fd-stat-stroke {
    position: absolute; right: 16px; top: 18px;
    width: 26px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-20deg) scaleX(0); transform-origin: right;
    box-shadow: 0 0 12px rgba(197,161,79,0.4);
    transition: transform .45s var(--ease-out);
}
.fd-stat:hover .fd-stat-stroke { transform: skewX(-20deg) scaleX(1); }

/* ledger rule divider */
.fd-canvas-rule {
    height: 1px; margin: 18px 0 16px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 6px, transparent 6px 12px);
}

/* live ticker rows */
.fd-ticker { display: flex; flex-direction: column; gap: 11px; }
.fd-ticker-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px; color: var(--text-light-dim);
}
.fd-tdot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.fd-tdot.green { background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.fd-tdot.teal  { background: var(--teal-bright); box-shadow: 0 0 8px var(--teal-bright); }
.fd-tdot.gold  { background: var(--gold-bright); box-shadow: 0 0 8px var(--gold); }

/* ─────────────── CLOSING LINE ─────────────── */
.fd-closer {
    text-align: center;
    max-width: 640px; margin: 52px auto 0;
    font-family: 'Poppins', sans-serif; font-weight: 600;
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--navy); line-height: 1.4;
}
.fd-closer-word { position: relative; display: inline-block; color: var(--navy); }
.fd-closer-stroke {
    position: absolute; left: -2%; right: -2%; bottom: 2px; height: 7px; border-radius: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-14deg) scaleX(0); transform-origin: left;
    box-shadow: 0 0 16px rgba(197,161,79,0.45);
    transition: transform .9s var(--ease-out);
}
.fd-closer[data-animate].visible .fd-closer-stroke { transform: skewX(-18deg) scaleX(1); }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 860px) {
    .fd-layout { grid-template-columns: 1fr; gap: 28px; max-width: 620px; }
    .fd-canvas-glow { inset: 14px 14px -12px; }
}
@media (max-width: 560px) {
    .fd-founders { flex-direction: column; align-items: stretch; }
    .fd-chip { justify-content: flex-start; }
    .fd-canvas-body { padding: 18px 16px 16px; }
    .fd-stats { grid-template-columns: 1fr; }
    .fd-stat:nth-child(3) { grid-column: auto; }
    .fd-closer { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .fd-closer-stroke,
    .fd-stat-stroke { transform: skewX(-18deg) scaleX(1) !important; }
}


/* ---------- changelog ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — changelog.css  (prefix: cl)
   Public changelog · vertical ledger timeline
   "A company this transparent shows its work."
   ══════════════════════════════════════════════════════════════ */

.cl-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Ledger header strip ── */
.cl-ledger-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 4px 22px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.cl-ledger-meta {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    color: var(--text-dim);
}
/* Tally-mark brand accent (four strokes + gold 5th) */
.cl-tally {
    display: inline-flex;
    line-height: 0;
    margin-right: -2px;
}
.cl-tally svg line:last-child {
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
    animation: clTallyDraw 1s var(--ease-out) .35s forwards;
}
@keyframes clTallyDraw { to { stroke-dashoffset: 0; } }
.cl-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--green);
}
.cl-pulse i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 9px var(--green-bright);
    animation: clBlink 1.9s ease-in-out infinite;
}
@keyframes clBlink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.cl-ledger-sep { color: var(--text-muted); }
.cl-ledger-note { color: var(--text-muted); font-weight: 500; }

.cl-rss {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-light);
    transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.cl-rss svg { color: var(--teal); transition: color .22s var(--ease); }
.cl-rss:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: var(--teal-soft);
    transform: translateY(-1px);
}
.cl-rss:hover svg { color: var(--teal-bright); }

/* ── Timeline shell ── */
.cl-timeline {
    position: relative;
    padding: 30px 0 6px;
}
/* Faint accounting-ledger ruled lines behind the timeline (the open-ledger motif) */
.cl-timeline::before {
    content: '';
    position: absolute;
    inset: 30px 0 26px;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.045) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 100%);
            mask-image: linear-gradient(90deg, transparent, #000 22%, #000 100%);
}

/* The vertical spine — sits under the nodes, left rail */
.cl-spine {
    position: absolute;
    z-index: 1;
    top: 8px;
    bottom: 26px;
    left: 11px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg,
        var(--teal) 0%,
        rgba(31,154,166,0.45) 40%,
        var(--border) 100%);
}
.cl-spine::after {
    /* gold tally accent that draws down the top of the spine */
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 46px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 12px rgba(197,161,79,0.45);
    transform-origin: top;
    animation: clSpineDraw 1.1s var(--ease-out) .2s both;
}
@keyframes clSpineDraw { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* ── Timeline item ── */
.cl-item {
    position: relative;
    z-index: 1;
    padding-left: 46px;
    padding-bottom: 26px;
}
.cl-item:last-of-type { padding-bottom: 0; }

/* Node on the spine */
.cl-node {
    position: absolute;
    left: 4px;
    top: 22px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--teal);
    box-shadow: 0 0 0 4px var(--bg-white);
    z-index: 2;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cl-node::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0;
    transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}
.cl-node-feature { border-color: var(--teal); color: var(--teal); }
.cl-node-improve { border-color: var(--gold);  color: var(--gold); }
.cl-node-fix     { border-color: var(--green); color: var(--green); }

/* ── Card ── */
.cl-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}
/* Left accent rail inside card — color set per tag context below */
.cl-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--teal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease-out);
}
/* Connector notch pointing back to the spine */
.cl-card::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: var(--card);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
    transition: border-color .3s var(--ease);
}

.cl-item:hover .cl-card {
    transform: translateX(4px);
    box-shadow: 0 18px 44px rgba(18,36,65,0.10);
    border-color: rgba(31,154,166,0.40);
}
.cl-item:hover .cl-card::before { transform: scaleY(1); }
.cl-item:hover .cl-node { transform: scale(1.12); }
.cl-item:hover .cl-node::after { opacity: .5; transform: scale(1.55); }

/* Tag-driven accent colors cascade to the card rail + arrow border */
.cl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

/* ── Tags ── */
.cl-tag {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 7px;
    line-height: 1;
}
.cl-tag-feature {
    color: var(--teal);
    background: var(--teal-soft);
    border: 1px solid rgba(31,154,166,0.30);
}
.cl-tag-improve {
    color: #9a7b2e;
    background: rgba(197,161,79,0.12);
    border: 1px solid rgba(197,161,79,0.34);
}
.cl-tag-fix {
    color: var(--green);
    background: rgba(46,166,107,0.10);
    border: 1px solid rgba(46,166,107,0.30);
}

/* Per-type card rail color (scoped via the item's node sibling type) */
.cl-item:has(.cl-tag-feature) .cl-card::before { background: var(--teal); }
.cl-item:has(.cl-tag-improve) .cl-card::before { background: var(--gold); }
.cl-item:has(.cl-tag-fix)     .cl-card::before { background: var(--green); }

/* ── Meta date ── */
.cl-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}
.cl-meta .cl-dot { color: var(--text-muted); margin: 0 2px; }

/* ── Text ── */
.cl-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 8px;
}
.cl-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

/* ── Footer link ── */
.cl-foot {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}
.cl-full-link {
    gap: 9px;
}
.cl-full-link svg {
    transition: transform .25s var(--ease);
}
.cl-full-link:hover svg { transform: translateX(4px); }

/* ── Responsive ── */
@media (max-width: 560px) {
    .cl-ledger-head { gap: 12px; }
    .cl-ledger-meta { gap: 9px; }
    .cl-tally { display: none; }
    .cl-ledger-sep, .cl-ledger-note { display: none; }
    .cl-item { padding-left: 40px; }
    .cl-card { padding: 20px 18px; }
    .cl-card-top { flex-wrap: wrap; gap: 8px; }
    .cl-headline { font-size: 16px; }
    .cl-rss { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .cl-tally svg line:last-child { stroke-dashoffset: 0 !important; }
    .cl-spine::after { transform: none !important; opacity: 1 !important; }
}


/* ---------- pricing ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — pricing.css   (namespace: pr-)
   Transparent, public pricing · light & airy open-ledger
   ══════════════════════════════════════════════════════════════ */

#pricing { position: relative; overflow: hidden; }

/* Faint ledger-ruled paper behind the cards (the open-ledger motif) */
.pr-ledger {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.045) 0 1px, transparent 1px 38px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
}
#pricing .container { position: relative; z-index: 1; }

/* ── Cards grid ── */
.pr-grid {
    display: grid; grid-template-columns: 1.06fr 1fr; gap: 28px;
    max-width: 940px; margin: 0 auto; align-items: stretch;
}

.pr-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 34px 32px 32px;
    box-shadow: 0 18px 44px rgba(18,36,65,0.08);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pr-card:hover { box-shadow: 0 30px 70px rgba(18,36,65,0.14); }

/* Featured "Community" — teal border + lift + gold ribbon */
.pr-card--feature {
    border: 1.5px solid rgba(31,154,166,0.45);
    box-shadow: 0 30px 72px rgba(18,36,65,0.13), 0 0 0 4px rgba(31,154,166,0.06);
    transform: translateY(-8px);
}
.pr-card--feature::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none;
    background: radial-gradient(120% 70% at 50% -10%, rgba(31,154,166,0.07), transparent 60%);
}
.pr-card--feature:hover { transform: translateY(-12px); box-shadow: 0 40px 90px rgba(18,36,65,0.18), 0 0 0 4px rgba(31,154,166,0.08); }
.pr-card--alt:hover { transform: translateY(-5px); border-color: rgba(31,154,166,0.35); }

/* "Most popular" ribbon with a tally-mark stamp */
.pr-ribbon {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 700;
    letter-spacing: 1.4px; text-transform: uppercase; color: var(--navy);
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    padding: 8px 18px; border-radius: 999px;
    box-shadow: 0 10px 26px rgba(197,161,79,0.42), inset 0 1px 0 rgba(255,255,255,0.45);
    z-index: 3;
}
.pr-ribbon-tally { width: 26px; height: 15px; color: var(--navy); flex-shrink: 0; }
.pr-ribbon-cross { color: var(--navy-deep); }

.pr-card-top { margin-bottom: 22px; }
.pr-plan-eyebrow {
    display: inline-block; font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
    color: var(--teal); margin-bottom: 10px;
}
.pr-card--feature .pr-plan-eyebrow { color: var(--teal); }
.pr-plan-name { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); letter-spacing: -0.02em; margin-bottom: 6px; }
.pr-plan-tag { font-size: 14.5px; color: var(--text-dim); line-height: 1.5; }

/* ── Price block (directional, no dollars) ── */
.pr-price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.pr-price-amount {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(22px, 2.5vw, 27px);
    color: var(--navy); line-height: 1.15; letter-spacing: -0.01em;
}
.pr-price-unit {
    position: relative; width: max-content;
    font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dim);
}
/* Gold tally-stroke that draws in under "per community" */
.pr-price-stroke {
    position: absolute; left: -2px; right: -3px; bottom: 1px; height: 7px; border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(-14deg) scaleX(0); transform-origin: left;
    box-shadow: 0 0 14px rgba(197,161,79,0.45); opacity: .85; z-index: -1;
}
.pr-card--feature.visible .pr-price-stroke,
[data-animate].visible .pr-price-stroke { animation: prStroke .85s var(--ease-out) .35s forwards; }
@keyframes prStroke { to { transform: skewX(-18deg) scaleX(1); } }

.pr-price--alt .pr-price-amount { color: var(--navy-700); }
.pr-price-note { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 22px; }

/* ── CTA button ── */
.pr-cta { width: 100%; padding: 15px 24px; font-size: 15px; }
.pr-cta svg { transition: transform .25s var(--ease); }
.pr-cta:hover svg { transform: translateX(3px); }
.pr-cta--alt:hover svg { transform: translateX(0) scale(1.06); }

/* ── Divider with ledger-style label ── */
.pr-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 26px 0 20px; color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; font-weight: 600;
    letter-spacing: 1.8px; text-transform: uppercase; white-space: nowrap;
}
.pr-divider::before, .pr-divider::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(18,36,65,0.14), transparent);
}
.pr-divider span { flex-shrink: 0; }

/* ── Feature list — ledger rows with gold checks ── */
.pr-list { display: flex; flex-direction: column; margin-top: auto; }
.pr-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 14.5px; color: var(--text); line-height: 1.45;
    padding: 11px 2px; border-bottom: 1px solid rgba(18,36,65,0.06);
}
.pr-list li:last-child { border-bottom: none; }
.pr-list li strong { color: var(--navy); font-weight: 600; }
.pr-list li span:last-child { padding-top: 1px; }

.pr-check {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 21px; height: 21px; border-radius: 50%;
    font-size: 11px; font-weight: 700; line-height: 1;
    color: var(--green); background: rgba(46,166,107,0.14);
    transition: transform .25s var(--ease);
}
.pr-card:hover .pr-check { transform: scale(1.08); }
/* Featured uses the gold "counted / reward" check */
.pr-check--star {
    color: var(--gold); background: rgba(197,161,79,0.16);
}
.pr-check-teal { color: var(--teal); background: var(--teal-soft); }

/* ── Reassurance strip ── */
.pr-reassure {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 14px 18px; max-width: 940px; margin: 40px auto 0;
    padding: 18px 26px; border-radius: var(--radius);
    background: var(--bg-white); border: 1px solid var(--border);
    box-shadow: 0 14px 36px rgba(18,36,65,0.06);
}
.pr-reassure-item {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy);
}
.pr-mini-check {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 18px; height: 18px; border-radius: 50%;
    font-size: 10px; font-weight: 700; line-height: 1;
    color: var(--green); background: rgba(46,166,107,0.14);
}
.pr-reassure-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(18,36,65,0.18); }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 860px) {
    .pr-grid { grid-template-columns: 1fr; gap: 32px; max-width: 480px; }
    .pr-card--feature { transform: translateY(0); order: -1; }
    .pr-card--feature:hover { transform: translateY(-6px); }
    .pr-reassure { max-width: 480px; gap: 12px 16px; }
}
@media (max-width: 560px) {
    .pr-card { padding: 30px 22px 26px; }
    .pr-reassure { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; }
    .pr-reassure-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-price-stroke { transform: skewX(-18deg) scaleX(1) !important; }
    .pr-card, .pr-card--feature { transform: none !important; }
}


/* ---------- security ---------- */
/* ══════════════════════════════════════════════════════════════
   SECURITY & TRUST — #security  (prefix: .sec-)
   White (alt) section · light/airy open-ledger · navy icon tiles
   tally-mark badge · ledger ruled texture · gold "counted" check
   ══════════════════════════════════════════════════════════════ */

#security { position: relative; overflow: hidden; }

/* Faint engineering grid + corner glows — keeps the white section from
   feeling flat without competing with the cards (navy-led, teal hint). */
#security::before {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(18,36,65,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,36,65,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(circle at 50% 24%, #000, transparent 72%);
            mask-image: radial-gradient(circle at 50% 24%, #000, transparent 72%);
}
#security::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(46% 40% at 88% 6%, rgba(31,154,166,0.07), transparent 60%),
        radial-gradient(40% 38% at 6% 96%, rgba(197,161,79,0.05), transparent 60%);
}
#security .container { position: relative; z-index: 1; }

/* ── Grid ── */
#security .sec-grid { margin-bottom: 40px; }

/* ── Card ── */
#security .sec-item {
    position: relative;
    display: flex; flex-direction: column;
    padding: 30px 28px 26px;
    overflow: hidden;
    isolation: isolate;
}
/* Faint accounting-ledger ruled texture inside each card (open-ledger motif) */
#security .sec-item::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background-image: repeating-linear-gradient(0deg, rgba(18,36,65,0.035) 0 1px, transparent 1px 34px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 100%);
            mask-image: linear-gradient(180deg, transparent, #000 30%, #000 100%);
    opacity: .5;
}
/* Teal accent rule sweeping in along the top edge on hover */
#security .sec-rule {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright) 60%, var(--green));
    transform: scaleX(0); transform-origin: left;
    transition: transform .55s var(--ease-out);
    z-index: 2;
}
#security .sec-item:hover .sec-rule { transform: scaleX(1); }

/* ── Navy "product canvas" icon tile (matches the hero scene-canvas) ── */
#security .sec-tile {
    position: relative;
    width: 60px; height: 60px;
    border-radius: 16px;
    display: grid; place-items: center;
    margin-bottom: 22px;
    color: var(--teal-bright);
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18,36,65,0.55);
    box-shadow: 0 16px 34px rgba(18,36,65,0.22),
                inset 0 1px 0 rgba(255,255,255,0.07);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
}
/* Teal glow bloom in the tile corner (same treatment as scene-canvas::before) */
#security .sec-tile::after {
    content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
    background: radial-gradient(78% 70% at 76% 18%, rgba(54,194,206,0.22), transparent 62%);
}
#security .sec-tile svg { width: 26px; height: 26px; position: relative; z-index: 1; transition: transform .4s var(--ease-out); }
#security .sec-item:hover .sec-tile {
    color: #fff;
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 0 22px 46px rgba(18,36,65,0.30),
                inset 0 1px 0 rgba(255,255,255,0.10);
}
#security .sec-item:hover .sec-tile svg { transform: rotate(3deg); }

/* ── Tally-mark badge over the tile (4 strokes + gold 5th = "the count is complete") ── */
#security .sec-tally {
    position: absolute; top: -7px; right: -7px;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    gap: 2.5px;
    z-index: 3;
    border-radius: 9px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: 0 5px 14px rgba(18,36,65,0.14);
}
#security .sec-tally i {
    width: 2px; height: 13px; border-radius: 2px;
    background: var(--navy);
    opacity: 0; transform: scaleY(.3); transform-origin: bottom;
}
#security .sec-tally b {
    position: absolute; width: 22px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: skewX(0deg) scaleX(0); transform-origin: center;
    box-shadow: 0 0 8px rgba(197,161,79,0.5);
}
/* Tally strokes count in when the card reveals */
#security .sec-item.visible .sec-tally i { animation: secTallyIn .4s var(--ease-out) forwards; }
#security .sec-item.visible .sec-tally i:nth-child(1) { animation-delay: .15s; }
#security .sec-item.visible .sec-tally i:nth-child(2) { animation-delay: .25s; }
#security .sec-item.visible .sec-tally i:nth-child(3) { animation-delay: .35s; }
#security .sec-item.visible .sec-tally i:nth-child(4) { animation-delay: .45s; }
#security .sec-item.visible .sec-tally b { animation: secTallyCross .5s var(--ease-out) .55s forwards; }
@keyframes secTallyIn    { to { opacity: 1; transform: scaleY(1); } }
@keyframes secTallyCross { to { transform: skewX(-18deg) scaleX(1); } }

/* ── Text ── */
#security .sec-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
    color: var(--navy); margin-bottom: 10px; line-height: 1.28;
}
#security .sec-desc {
    font-size: 14.5px; line-height: 1.62; color: var(--text-dim);
    margin-bottom: 18px;
    flex: 1;
}

/* ── Gold-check tag (the "counted / done" reward) ── */
#security .sec-tag {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.3px;
    color: var(--text-dim);
    padding: 7px 13px 7px 9px; border-radius: 999px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
#security .sec-check {
    display: inline-grid; place-items: center;
    width: 17px; height: 17px; border-radius: 50%;
    font-size: 10px; font-style: normal; font-weight: 700; line-height: 1;
    color: var(--green);
    background: rgba(46,166,107,0.14);
    transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
#security .sec-item:hover .sec-tag {
    background: var(--teal-soft);
    border-color: rgba(31,154,166,0.30);
    color: var(--navy);
}
#security .sec-item:hover .sec-check {
    color: #fff; background: var(--green); transform: scale(1.08);
}

/* ── Reassurance strip ── */
#security .sec-strip {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 12px 26px;
    padding: 20px 28px;
    border-radius: var(--radius);
    background: linear-gradient(150deg, rgba(18,36,65,0.035), rgba(31,154,166,0.04));
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(18,36,65,0.05);
}
#security .sec-strip-item { display: inline-flex; align-items: center; gap: 10px; }
#security .sec-strip-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13.5px; font-weight: 600; letter-spacing: .2px;
    color: var(--navy);
}
#security .sec-strip-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 0 4px rgba(46,166,107,0.12);
    flex-shrink: 0;
    animation: secPulse 2.6s ease-in-out infinite;
}
#security .sec-strip-dot.gold {
    background: var(--gold-bright);
    box-shadow: 0 0 0 4px rgba(197,161,79,0.14);
    animation-delay: 1.1s;
}
@keyframes secPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(46,166,107,0.12); }
    50%      { box-shadow: 0 0 0 7px rgba(46,166,107,0.04); }
}
#security .sec-strip-div {
    width: 1px; height: 22px;
    background: var(--border);
}

/* ── Responsive ── */
@media (max-width: 860px) {
    #security .sec-item { padding: 26px 24px 24px; }
    #security .sec-strip { gap: 12px 20px; }
    #security .sec-strip-div { display: none; }
}
@media (max-width: 560px) {
    #security .sec-item { padding: 24px 22px 22px; }
    #security .sec-tile { width: 54px; height: 54px; margin-bottom: 18px; }
    #security .sec-tile svg { width: 24px; height: 24px; }
    #security .sec-title { font-size: 17px; }
    #security .sec-strip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; }
}

/* ── Reduced motion: never hide content ── */
@media (prefers-reduced-motion: reduce) {
    #security .sec-rule { transform: scaleX(1) !important; }
    #security .sec-tally i { opacity: 1 !important; transform: scaleY(1) !important; animation: none !important; }
    #security .sec-tally b { transform: skewX(-18deg) scaleX(1) !important; animation: none !important; }
    #security .sec-strip-dot { animation: none; }
}


/* ---------- scalability ---------- */
/* ══════════════════════════════════════════════════════════════
   TallyHOA — sections/scalability.css
   "Light & airy open ledger." — 3-step scale journey on .section.tint
   Honors: gold tally-rail that draws in · navy/teal step numbers ·
   white soft-shadow cards · green ✓ footnote.
   All custom classes/keyframes are namespaced  sc*  /  scXxx.
   Relies on style.css tokens & primitives — never redefines them.
   ══════════════════════════════════════════════════════════════ */

/* ── Track: holds the connecting rail + the three steps ── */
.sc-track {
    position: relative;
    margin-top: 8px;
}

/* ── The animated GOLD tally rail (ledger spine) ──
   A pale ruled base with a gold fill that draws across on reveal. */
.sc-line {
    position: absolute;
    top: 46px;                 /* aligns with the step nodes */
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 3px;
    background: var(--border); /* faint ruled baseline */
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
/* tiny notch ticks along the rail — a tally/ledger texture */
.sc-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(18, 36, 65, 0.10) 0 1px,
        transparent 1px 26px
    );
    opacity: .55;
}
.sc-line-fill {
    position: absolute;
    inset: 0;
    transform-origin: left center;
    transform: scaleX(0);
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 14px rgba(197, 161, 79, 0.45);
    z-index: 1;
}
/* draws in once the track is revealed (parent steps carry data-animate) */
.sc-track:has(.sc-step.visible) .sc-line-fill {
    animation: scRailDraw 1.5s var(--ease-out) .15s forwards;
}
@keyframes scRailDraw {
    to { transform: scaleX(1); }
}

/* ── The three-step grid ── */
.sc-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.sc-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 34px;         /* room for the node sitting on the rail */
}

/* ── Node: the gold "count point" pinned on the rail ── */
.sc-node {
    position: relative;
    width: 26px;
    height: 26px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
}
.sc-node-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg-tint);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 5px var(--bg-tint), 0 4px 12px rgba(197, 161, 79, 0.28);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.sc-node-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 10px rgba(197, 161, 79, 0.55);
}
/* final node = the "count complete" green check */
.sc-node-final .sc-node-ring {
    border-color: var(--green);
    box-shadow: 0 0 0 5px var(--bg-tint), 0 4px 14px rgba(46, 166, 107, 0.30);
}
.sc-node-check {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--green);
}

/* ── Step card (white, soft shadow, ledger feel) ── */
.sc-card {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px 26px;
    box-shadow: 0 18px 44px rgba(18, 36, 65, 0.08);
    transition: transform .35s var(--ease-out),
                box-shadow .35s var(--ease-out),
                border-color .35s var(--ease-out);
}
.sc-step:hover .sc-card {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(18, 36, 65, 0.14);
    border-color: rgba(197, 161, 79, 0.45);   /* gold lift on hover */
}
.sc-step:hover .sc-node-ring {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px var(--bg-tint), 0 6px 18px rgba(197, 161, 79, 0.40);
}

/* faint ruled "ledger paper" lines behind each card's content */
.sc-rules {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .6;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(18, 36, 65, 0.030) 0 1px,
        transparent 1px 34px
    );
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 90%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 22%, #000 90%, transparent);
}
/* keep real content above the rules layer */
.sc-card > *:not(.sc-rules) { position: relative; z-index: 1; }

/* ── Number row: big step number + tally SVG ── */
.sc-num-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.sc-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 46px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--navy);
    /* gold-tinted ledger numeral */
    background: linear-gradient(140deg, var(--navy) 30%, var(--gold) 130%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.sc-tally {
    flex-shrink: 0;
    display: block;
}

/* ── Card copy ── */
.sc-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 10px;
}
.sc-copy {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-dim);
    margin-bottom: 18px;
}

/* ── Feature chips ── */
.sc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.sc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg-tint);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 13px;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.sc-step:hover .sc-chip {
    transform: translateY(-1px);
}
.sc-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sc-chip-dot.teal  { background: var(--teal);  box-shadow: 0 0 7px rgba(31, 154, 166, 0.55); }
.sc-chip-dot.green { background: var(--green); box-shadow: 0 0 7px rgba(46, 166, 107, 0.55); }
.sc-chip-dot.gold  { background: var(--gold);  box-shadow: 0 0 7px rgba(197, 161, 79, 0.55); }

/* ══════════════════════════════════════════════════════════════
   STEP 03 — navy "product canvas" card
   ══════════════════════════════════════════════════════════════ */
.sc-card-canvas {
    background: linear-gradient(168deg, #102542 0%, #0B1A33 72%);
    border: 1px solid rgba(18, 36, 65, 0.55);
    box-shadow: 0 30px 70px rgba(18, 36, 65, 0.26),
                0 6px 20px rgba(18, 36, 65, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 0 0 22px;
}
.sc-card-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    background: radial-gradient(70% 55% at 80% 14%, rgba(31, 154, 166, 0.16), transparent 60%);
}
.sc-step:hover .sc-card-canvas {
    border-color: rgba(227, 199, 126, 0.45);
    box-shadow: 0 40px 84px rgba(18, 36, 65, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* App-chrome topbar */
.sc-canvas-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-dark);
}
.sc-canvas-icon {
    width: 18px;
    height: 18px;
    opacity: .92;
}
.sc-canvas-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light-dim);
}
.sc-canvas-dots {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
.sc-canvas-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

/* dark variants of the shared blocks inside the canvas */
.sc-num-row-dark {
    padding: 20px 24px 0;
    margin-bottom: 14px;
}
.sc-num-light {
    background: linear-gradient(140deg, var(--text-light) 25%, var(--gold-bright) 130%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.sc-title-light {
    color: #fff;
    padding: 0 24px;
}
.sc-copy-light {
    color: var(--text-light-dim);
    padding: 0 24px;
    margin-bottom: 18px;
}

/* ── Mini portfolio dashboard inside the canvas ── */
.sc-portfolio {
    margin: 0 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 14px 15px 15px;
    backdrop-filter: blur(4px);
}
.sc-portfolio-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.sc-port-managed {
    font-size: 12.5px;
    color: var(--text-light-dim);
}
.sc-port-managed span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--gold-bright);
}
.sc-port-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--green-bright);
}
.sc-port-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 8px var(--green-bright);
    animation: scLiveBlink 1.8s ease-in-out infinite;
}
@keyframes scLiveBlink { 0%, 100% { opacity: 1; } 50% { opacity: .18; } }

.sc-port-rows {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.sc-port-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr auto;
    align-items: center;
    gap: 10px;
}
.sc-port-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-port-bar {
    position: relative;
    height: 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.sc-port-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--green-bright));
    box-shadow: 0 0 10px var(--teal-glow);
}
/* fill the collection bars when the canvas card reveals */
.sc-step-final.visible .sc-port-bar i {
    animation: scBarFill 1.3s var(--ease-out) .45s forwards;
}
@keyframes scBarFill { to { width: var(--w, 100%); } }

.sc-port-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    min-width: 34px;
    text-align: right;
}

/* "+ N more" / per-community view row */
.sc-port-row-more {
    grid-template-columns: 1fr auto;
    margin-top: 3px;
    padding-top: 11px;
    border-top: 1px solid var(--border-dark);
}
.sc-port-row-more .sc-port-name {
    color: var(--text-light-dim);
    font-weight: 500;
}
.sc-port-view {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--teal-bright);
    white-space: nowrap;
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.sc-card-canvas:hover .sc-port-view {
    color: var(--gold-bright);
    transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════════════
   Footnote — green ✓ "count complete"
   ══════════════════════════════════════════════════════════════ */
.sc-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 48px;
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-dim);
}
.sc-footnote strong {
    color: var(--navy);
    font-weight: 600;
}
.sc-check {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(46, 166, 107, 0.14);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
    /* stack the steps vertically; the rail becomes a vertical spine */
    .sc-steps {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 520px;
        margin: 0 auto;
        padding-left: 8px;
    }
    .sc-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
        padding-top: 0;
    }
    .sc-node {
        margin-bottom: 0;
        margin-top: 4px;
        flex-shrink: 0;
    }
    .sc-card { flex: 1; }

    /* re-orient the rail to run down the node column */
    .sc-line {
        top: 8px;
        bottom: 8px;
        left: 21px;
        right: auto;
        width: 3px;
        height: auto;
    }
    .sc-line::after {
        background: repeating-linear-gradient(
            180deg,
            rgba(18, 36, 65, 0.10) 0 1px,
            transparent 1px 26px
        );
    }
    .sc-line-fill {
        transform-origin: top center;
        transform: scaleY(0);
    }
    .sc-track:has(.sc-step.visible) .sc-line-fill {
        animation: scRailDrawV 1.5s var(--ease-out) .15s forwards;
    }
    @keyframes scRailDrawV { to { transform: scaleY(1); } }

    /* hover-lift becomes a sideways nudge on touch layouts */
    .sc-step:hover .sc-card { transform: translateY(-3px); }
}

@media (max-width: 560px) {
    .sc-steps {
        gap: 24px;
        padding-left: 0;
    }
    /* hide the rail/nodes on the narrowest screens — keep it clean */
    .sc-line { display: none; }
    .sc-step {
        flex-direction: column;
        gap: 0;
    }
    .sc-node { display: none; }
    .sc-card { padding: 24px 20px; }
    .sc-card-canvas { padding: 0 0 20px; }
    .sc-num-row-dark { padding: 18px 18px 0; }
    .sc-title-light, .sc-copy-light { padding: 0 18px; }
    .sc-portfolio { margin: 0 14px; }
    .sc-num { font-size: 38px; }
    .sc-footnote { margin-top: 36px; }
    .sc-port-row { grid-template-columns: 1fr 1fr auto; }
}

/* ── Reduced motion: rails/bars settle to final state ── */
@media (prefers-reduced-motion: reduce) {
    .sc-line-fill { transform: scaleX(1) !important; animation: none !important; }
    .sc-port-bar i { width: var(--w, 100%) !important; animation: none !important; }
    .sc-port-live i { animation: none !important; }
}


