:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-soft: #EEF2FF;
  --violet: #7C3AED;
  --accent: #F97316;
  --teal: #0F766E;
  --sky: #0EA5E9;
  --tradie: #EA580C;
  --amber: #F59E0B;
  --success: #16A34A;
  --danger: #DC2626;
  --text: #0F172A;
  --muted: #64748B;
  --subtle: #94A3B8;
  --border: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F5F6FA;
  --dark: #0B1026;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 40px); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* Motion-ready: hide reveal targets only when JS animation is available */
.motion-ready [data-reveal] { opacity: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 999px; padding: 12px 22px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(79, 70, 229, .45); }
.btn-ghost { background: #fff; color: var(--primary-dark); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 20px rgba(15, 23, 42, .05); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { color: var(--accent); }
.brand-mark { width: 38px; height: 38px; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { font-weight: 600; color: #334155; font-size: .95rem; position: relative; }
.nav-menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--primary); transition: right .25s; }
.nav-menu a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 500px at 80% -10%, #EEF2FF, transparent 60%), radial-gradient(800px 400px at -10% 30%, #FFF7ED, transparent 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; }
.b1 { width: 380px; height: 380px; background: #C7D2FE; top: -80px; right: 8%; animation: float 14s ease-in-out infinite; }
.b2 { width: 300px; height: 300px; background: #FED7AA; bottom: -60px; left: -60px; animation: float 18s ease-in-out infinite reverse; }
.b3 { width: 240px; height: 240px; background: #99F6E4; top: 40%; right: -60px; animation: float 16s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(30px, -30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--primary-dark); box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-top: 18px; }
.grad-text { background: linear-gradient(120deg, var(--primary), var(--violet) 45%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #475569; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 30px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof b { font-size: 1.9rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.hero-proof span { color: var(--muted); font-size: .9rem; }
.hero-svg { width: 100%; height: auto; overflow: visible; }
.hero-svg .link { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -30; } }
.hero-svg .drip { animation: drip 2.2s ease-in infinite; transform-box: fill-box; }
@keyframes drip { 0% { transform: translateY(-8px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.hero-svg .sun { animation: sun 6s ease-in-out infinite; transform-origin: 440px 70px; }
@keyframes sun { 50% { transform: scale(1.12); } }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--border); background: #fff; }
.strip-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px 0; }
.strip-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #334155; }
.strip-item svg { width: 26px; height: 26px; color: var(--primary); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: radial-gradient(900px 500px at 20% 0%, #1E1B4B, transparent 70%), var(--dark); color: #E2E8F0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #94A3B8; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; }
.kicker-light { background: rgba(129, 140, 248, .15); color: #A5B4FC; }
.footnote { text-align: center; font-size: .82rem; color: var(--subtle); margin-top: 22px; }

/* ---------- Explainer ---------- */
.explainer { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.explainer-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.explainer-steps button { width: 100%; text-align: left; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--border); transition: border-color .25s, box-shadow .25s, transform .25s; }
.explainer-steps button:hover { transform: translateX(4px); }
.explainer-steps button[aria-selected="true"] { border-color: var(--primary); box-shadow: 0 10px 30px rgba(79, 70, 229, .15); }
.explainer-steps .num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--primary-soft); color: var(--primary); transition: background .25s, color .25s; }
.explainer-steps button[aria-selected="true"] .num { background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff; }
.explainer-steps b { display: block; }
.explainer-steps small { color: var(--muted); }
.explainer-stage { position: relative; background: linear-gradient(160deg, #fff, #F8FAFF); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 30px 30px 80px; min-height: 440px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stage-progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary-soft); }
.stage-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.scene { margin: 0; display: none; }
.scene.is-active { display: block; }
.scene svg { width: 100%; max-height: 300px; }
.scene figcaption { margin-top: 18px; color: #475569; font-size: 1.02rem; max-width: 620px; }
.scene figcaption b { color: var(--text); }
.stage-controls { position: absolute; right: 22px; bottom: 20px; display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--border); color: var(--primary-dark); transition: border-color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--primary); transform: scale(1.06); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .i-play { display: none; }
.icon-btn.paused .i-play { display: block; }
.icon-btn.paused .i-pause { display: none; }

/* ---------- Roles ---------- */
.roles-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.role-tab { padding: 12px 22px; border-radius: 999px; font-weight: 700; background: #fff; border: 1.5px solid var(--border); color: #334155; transition: all .25s; }
.role-tab:hover { border-color: var(--subtle); }
.role-tab[aria-selected="true"] { color: #fff; border-color: transparent; }
.t-tenant[aria-selected="true"] { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.t-manager[aria-selected="true"] { background: linear-gradient(135deg, #0F766E, #0EA5E9); }
.t-tradie[aria-selected="true"] { background: linear-gradient(135deg, #EA580C, #F59E0B); }
.t-landlord[aria-selected="true"] { background: linear-gradient(135deg, #6D28D9, #DB2777); }
.role-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.role-panel[hidden] { display: none; }
.role-copy h3 { font-size: 1.7rem; }
.role-copy > p { color: var(--muted); font-size: 1.05rem; }
.role-art svg { width: 100%; }
.role-art .pulse { animation: pulse 1.8s ease-in-out infinite; transform-origin: 230px 70px; }
@keyframes pulse { 50% { transform: scale(1.18); } }
.role-art .spin-wrench { animation: wrench 2.4s ease-in-out infinite; transform-origin: 200px 150px; }
@keyframes wrench { 50% { transform: rotate(-20deg); } }
.role-art .shield { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.r-manager .bar { transform-box: fill-box; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.r-manager .bar:nth-child(3) { animation-delay: .08s; } .r-manager .bar:nth-child(4) { animation-delay: .16s; } .r-manager .bar:nth-child(5) { animation-delay: .24s; } .r-manager .bar:nth-child(6) { animation-delay: .32s; } .r-manager .bar:nth-child(7) { animation-delay: .4s; }
@keyframes grow { from { transform: scaleY(0); } }

.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%234F46E5' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .82rem; }
.badge-free { background: #DCFCE7; color: #15803D; }
.badge-launch { background: #FFF7ED; color: #C2410C; }

/* ---------- Workflow ---------- */
.workflow { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.workflow-board { background: #fff; border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); }
.workflow-svg { width: 100%; height: auto; }
.wf-node circle { transition: r .3s; }
.wf-node { opacity: .35; transition: opacity .35s; }
.wf-node.done { opacity: 1; }
.wf-node.current circle { stroke: #fff; stroke-width: 5; filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .3)); }
#wf-token { filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .25)); }
.workflow-side { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.wf-status-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--subtle); }
.wf-status strong { display: block; font-size: 1.5rem; color: var(--primary-dark); }
.wf-status p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.wf-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 150px; max-height: 210px; overflow: auto; }
.wf-feed li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); }
.wf-feed li i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.wf-controls { display: flex; gap: 8px; }
.wf-controls .btn { flex: 1; }

/* ---------- Lifecycle ---------- */
.lifecycle { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.lc-ring { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.lc-node { cursor: pointer; }
.lc-node circle { transition: r .25s, stroke-width .25s; stroke: var(--dark); stroke-width: 4; }
.lc-node text { pointer-events: none; }
.lc-node:hover circle, .lc-node.active circle { r: 22; stroke: #fff; }
.lc-node:focus-visible { outline: none; }
.lc-node:focus-visible circle { stroke: var(--accent); stroke-width: 5; }
.lc-detail h3 { font-size: 2rem; color: #fff; }
.lc-detail > p { color: #CBD5E1; font-size: 1.08rem; min-height: 3.4em; }
.lc-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0 28px; font-size: .9rem; color: #CBD5E1; }
.lc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.priority-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pc { border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pc b { display: block; margin-bottom: 4px; }
.pc span { font-size: .82rem; color: #94A3B8; }
.pc-emergency b { color: #FCA5A5; } .pc-urgent b { color: #FCD34D; } .pc-standard b { color: #86EFAC; }

/* ---------- Charts ---------- */
.charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.chart-card { margin: 0; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.chart-card figcaption { margin-bottom: 18px; }
.chart-card figcaption b { display: block; font-size: 1.1rem; }
.chart-card figcaption span { color: var(--muted); font-size: .88rem; }
.bar-chart { display: flex; justify-content: space-around; align-items: flex-end; height: 190px; border-bottom: 2px solid var(--border); gap: 10px; }
.bc-group { display: flex; flex-direction: column; align-items: center; height: 100%; flex: 1; }
.bc-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; width: 100%; justify-content: center; }
.bc-bar { width: 26px; height: var(--v); border-radius: 8px 8px 0 0; transform-origin: bottom; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.bc-bar.old { background: #CBD5E1; }
.bc-bar.new { background: linear-gradient(180deg, var(--primary), var(--violet)); }
.motion-ready .bar-chart:not(.in) .bc-bar { transform: scaleY(0); }
.bc-label { font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 8px; position: relative; top: 30px; }
.chart-legend { display: flex; gap: 16px; margin-top: 40px; font-size: .85rem; color: var(--muted); }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.chart-legend i.old { background: #CBD5E1; } .chart-legend i.new { background: var(--primary); }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex: 1; }
.donut { width: 170px; flex: none; }
.donut-seg { transition: stroke-dasharray 1.4s cubic-bezier(.2, .8, .2, 1); }
.motion-ready .donut:not(.in) .donut-seg { stroke-dasharray: 0 100; }
.donut-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.donut-list b { color: var(--text); font-size: 1.2rem; display: block; }
.line-chart { width: 100%; flex: 1; }
.line-chart .line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s ease; }
.motion-ready .line-chart:not(.in) .line { stroke-dashoffset: 1; }
.line-chart .area { transition: opacity 1.2s ease .8s; }
.motion-ready .line-chart:not(.in) .area { opacity: 0; }

/* ---------- Heatmap ---------- */
.heatmap { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.hm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hm-filters button { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 1.5px solid var(--border); background: #fff; transition: all .2s; }
.hm-filters button[aria-checked="true"] { background: linear-gradient(135deg, var(--tradie), var(--amber)); color: #fff; border-color: transparent; }
.hm-body { display: grid; grid-template-columns: 1fr 280px; gap: 24px; }
.hm-map-wrap { position: relative; display: grid; grid-template-columns: 54px 1fr; }
.hm-ocean { border-radius: 14px 0 0 14px; background: repeating-linear-gradient(135deg, #E0F2FE 0 10px, #F0F9FF 10px 20px); display: grid; place-items: center; }
.hm-ocean span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .78rem; font-weight: 700; color: #0369A1; letter-spacing: .12em; text-transform: uppercase; }
.hm-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: minmax(58px, auto); gap: 6px; padding: 6px; background: #F8FAFC; border-radius: 0 14px 14px 0; }
.hm-cell { border-radius: 10px; padding: 6px 8px; font-size: .72rem; font-weight: 700; color: #fff; display: flex; flex-direction: column; justify-content: space-between; text-align: left; transition: background-color .5s, transform .2s, box-shadow .2s; position: relative; min-width: 0; }
.hm-cell span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-cell small { font-size: .7rem; opacity: .9; font-weight: 600; }
.hm-cell.light { color: #7C2D12; }
.hm-cell:hover, .hm-cell.active { transform: scale(1.07); z-index: 2; box-shadow: 0 10px 24px rgba(15, 23, 42, .25); }
.hm-empty { visibility: hidden; }
.hm-side { display: flex; flex-direction: column; gap: 18px; }
.hm-tip { background: var(--bg-alt); border-radius: 16px; padding: 20px; }
.hm-tip-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--subtle); }
.hm-tip strong { display: block; font-size: 1.35rem; margin: 2px 0 12px; }
.hm-tip dl { margin: 0; display: grid; gap: 8px; }
.hm-tip dl div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.hm-tip dt { color: var(--muted); font-size: .9rem; }
.hm-tip dd { margin: 0; font-weight: 800; }
.hm-scale { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.hm-scale i { flex: 1; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #FFEDD5, #FDBA74, #F97316, #C2410C, #7C2D12); }
.hm-side .footnote { text-align: left; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard { margin: 0; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { color: var(--amber); letter-spacing: 2px; }
.tcard blockquote { margin: 0; color: #334155; flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard figcaption b { display: block; }
.tcard figcaption small { color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.a-tenant { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.a-manager { background: linear-gradient(135deg, #0F766E, #0EA5E9); }
.a-tradie { background: linear-gradient(135deg, #EA580C, #F59E0B); }
.a-landlord { background: linear-gradient(135deg, #6D28D9, #DB2777); }

/* ---------- Pricing ---------- */
.price-toggle { position: relative; display: flex; width: max-content; margin: 0 auto 40px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 5px; }
.price-toggle button { position: relative; z-index: 1; padding: 10px 26px; font-weight: 700; border-radius: 999px; transition: color .3s; }
.price-toggle button[aria-checked="true"] { color: #fff; }
.toggle-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--violet)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.price-toggle[data-period="year2"] .toggle-pill { transform: translateX(100%); }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 24px 50px rgba(79, 70, 229, .2); }
.price-card h3 { font-size: 1.15rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; display: inline-block; }
.price .per { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: .88rem; min-height: 2.6em; }
.price-card .ticks { flex: 1; font-size: .95rem; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--amber)); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--primary); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 100px; }
.cta-inner { background: linear-gradient(135deg, #312E81, #4F46E5 50%, #7C3AED); color: #fff; border-radius: 32px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .45), transparent 70%); right: -100px; top: -140px; }
.cta-inner > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: #C7D2FE; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #0F172A; color: #fff; padding: 10px 18px; border-radius: 14px; font-weight: 700; transition: transform .2s; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: .68rem; font-weight: 500; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #94A3B8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.brand-light { color: #fff; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: .88rem; }
.footer-base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pricing, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .charts { grid-template-columns: 1fr 1fr; }
  .charts .chart-card:last-child { grid-column: 1 / -1; }
  .workflow { grid-template-columns: 1fr; }
  .hm-body { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu li a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-menu li .btn { margin-top: 16px; width: 100%; }
  .hero { padding-top: 40px; }
  .hero-grid, .explainer, .role-panel, .lifecycle { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .explainer-steps { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .explainer-steps li { flex: 0 0 72%; scroll-snap-align: start; }
  .role-panel { padding: 28px; gap: 24px; }
  .role-art { order: -1; max-width: 360px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .pricing, .testimonials, .charts { grid-template-columns: 1fr; }
  .testimonials { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .tcard { scroll-snap-align: center; }
  .hero-proof { gap: 20px; }
  .hero-proof b { font-size: 1.5rem; }
  .explainer-stage { padding: 22px 18px 76px; min-height: 0; }
  .priority-cards { grid-template-columns: 1fr; }
  .hm-grid { grid-auto-rows: minmax(48px, auto); gap: 4px; }
  .hm-cell { font-size: .6rem; padding: 4px 5px; }
  .hm-cell small { display: none; }
  .hm-map-wrap { grid-template-columns: 28px 1fr; }
  .hm-ocean span { font-size: .6rem; }
  .heatmap { padding: 18px; }
  .cta-inner { padding: 36px 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 8px; }
  .donut-wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
