:root {
  color-scheme: light;
  --paper: #fffdfc;
  --white: #fff;
  --ink: #271f22;
  --body: #66595d;
  --muted: #76666a;
  --red: #c42037;
  --red-dark: #9e142a;
  --blush: #faeeec;
  --line: #ecdfde;
  --edge: #e9d9d8;
  --green: #2f6d54;
  --display: "Manrope", "Segoe UI", sans-serif;
  --text: "DM Sans", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--text); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: progress; opacity: .63; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ae5059; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: .65rem; left: .65rem; z-index: 20; transform: translateY(-180%); padding: .6rem 1rem; border-radius: .55rem; background: var(--ink); color: white; }
.skip:focus { transform: none; }
.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.section { padding-block: 5.5rem; }
.site-header { background: #fffcfb; border-bottom: 1px solid #efdfdd; }
.header-layout { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font: 800 1.33rem/1 var(--display); white-space: nowrap; letter-spacing: -.055em; }
.brand-mark { width: 2.2rem; height: 2.2rem; display: inline-grid; place-items: center; border-radius: .66rem; background: var(--red); color: white; flex: none; }
.brand-mark svg { width: 1.33rem; height: 1.33rem; stroke-width: 1.85; }
.brand-sector { color: var(--red); }
.site-nav { display: flex; gap: clamp(1.2rem, 3.2vw, 2.65rem); align-items: center; color: #55474b; font-size: .925rem; font-weight: 600; }
.site-nav a:hover, .footer-layout > a:last-child:hover { color: var(--red); }
.button { display: inline-flex; min-height: 3.1rem; padding: .62rem 1.13rem; border: 1px solid transparent; border-radius: .65rem; align-items: center; justify-content: center; gap: .55rem; font-size: .93rem; line-height: 1.22; font-weight: 700; text-align: center; transition: background-color .18s, border-color .18s, color .18s; }
.button-primary { background: var(--red); color: white; box-shadow: 0 3px 6px #9a39451a; }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { background: transparent; color: var(--ink); border-color: #dfcbc9; }
.button-quiet:hover { background: var(--blush); border-color: #d7b6b7; }
.header-cta { min-height: 2.65rem; }
.icon-button { min-width: 2.35rem; min-height: 2.35rem; padding: .32rem; display: inline-grid; place-items: center; border: 0; border-radius: .55rem; background: transparent; }
.icon-button:hover { background: var(--blush); }
.menu-toggle { display: none; }
.hero { background: radial-gradient(ellipse at 86% 30%, #f6e1de 0, transparent 53%), linear-gradient(112deg, #fff8f5, #fffaf8 54%, #f8ebe7 100%); }
.hero-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-block: 4.45rem 4.65rem; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: .43rem; color: var(--red); font-size: .8125rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 800; }
.eyebrow { border: 1px solid #e8c8c8; background: #fffcfbba; padding: .34rem .65rem; border-radius: 2rem; }
.hero h1 { margin-top: 1.05rem; font-size: clamp(3.2rem, 6vw, 5.35rem); line-height: 1; letter-spacing: -.076em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-content > p { margin-top: 1.4rem; max-width: 27rem; font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--body); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.65rem; }
.hero-note { display: flex; align-items: center; gap: .48rem; margin-top: 1.24rem; color: var(--muted); font-size: .84rem; font-weight: 600; }
.hero-note svg { color: var(--red); }
.hero-picture { position: relative; isolation: isolate; min-height: 29rem; height: 100%; max-height: 35rem; border-radius: 1.3rem; background: #bf8273; box-shadow: 0 22px 65px #6c332528, 0 0 0 1px #772d3430; overflow: hidden; }
.hero-picture img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 61% center; }
.hero-picture::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(180deg, #38232216, transparent 35%, #37231f51 100%); }
.hero-picture img { z-index: -2; }
.picture-location { position: absolute; top: 1.1rem; right: 1.1rem; padding: .38rem .63rem; background: #382723b8; color: #fff; display: flex; gap: .35rem; align-items: center; border-radius: 2rem; font-size: .8rem; font-weight: 600; }
.hero-agent { position: absolute; padding: .98rem 1.15rem .98rem .95rem; bottom: 1.25rem; left: 1.25rem; max-width: calc(100% - 2.5rem); display: flex; gap: .7rem; align-items: flex-start; background: #fffdfbf7; border: 1px solid white; box-shadow: 0 12px 32px #2b191b3f; border-radius: .9rem; }
.hero-agent:hover { background: #fff; }
.agent-mark { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .65rem; background: #f7e1df; color: var(--red); flex: none; }
.agent-mark svg { width: 1.28rem; height: 1.28rem; }
.hero-agent-content { display: grid; gap: .08rem; line-height: 1.35; }
.hero-agent-label { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: var(--red); font-size: .79rem; font-weight: 800; }
.state-chip { display: inline-flex; align-items: center; border-radius: 2rem; padding: .18rem .48rem; background: #f8e9df; color: #7d5038; font-size: .75rem; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.hero-agent strong { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.025em; }
.hero-agent small { color: var(--body); font-size: .8rem; }
.feature-strip { background: #fbefed; border-block: 1px solid #efdddb; }
.feature-strip-layout { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 4.75rem; }
.feature-strip a { display: flex; justify-content: center; align-items: center; gap: .58rem; padding: .75rem .45rem; color: #553d42; font-size: .925rem; font-weight: 700; }
.feature-strip a + a { border-left: 1px solid #eedcda; }
.feature-strip a:hover { background: #f7e6e3; }
.feature-strip svg { color: var(--red); width: 1.28rem; height: 1.28rem; }
.section-heading h2 { font-size: clamp(2.15rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.075; letter-spacing: -.072em; margin-top: .48rem; }
.section-heading p { max-width: 37rem; margin-top: .85rem; color: var(--body); font-size: 1.05rem; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.centered p { margin-inline: auto; }
.workspace { margin-top: 2.1rem; background: white; border: 1px solid var(--edge); border-radius: 1.12rem; box-shadow: 0 14px 45px #80505215; overflow: clip; }
.workspace-head, .workspace-foot { display: flex; align-items: center; justify-content: space-between; gap: .85rem; padding: .85rem 1.15rem; }
.workspace-head { border-bottom: 1px solid var(--line); }
.workspace-brand { display: flex; align-items: center; gap: .62rem; color: var(--muted); font-size: .82rem; }
.workspace-brand .brand-mark { width: 1.85rem; height: 1.85rem; border-radius: .49rem; }
.workspace-brand .brand-mark svg { width: 1.1rem; height: 1.1rem; }
.workspace-brand strong { color: var(--ink); font: 800 1.05rem var(--display); letter-spacing: -.04em; }
.workspace-divider { width: 1px; height: 1.1rem; background: var(--line); }
.demo-label { display: inline-flex; gap: .36rem; align-items: center; font-size: .79rem; font-weight: 700; color: #4b5c53; white-space: nowrap; }
.demo-label i { width: .43rem; height: .43rem; border-radius: 50%; background: #54856d; }
.workspace-body { display: grid; grid-template-columns: 10.1rem minmax(0, 1fr) 18.4rem; min-height: 28rem; }
.workspace-nav { display: flex; flex-direction: column; gap: .25rem; padding: .9rem .65rem; border-right: 1px solid var(--line); background: #fdf9f8; }
.workspace-nav button { display: flex; gap: .46rem; align-items: center; padding: .56rem .53rem; border-radius: .47rem; border: 0; background: transparent; text-align: left; font-size: .845rem; font-weight: 650; color: #65565a; white-space: nowrap; }
.workspace-nav button:is(:hover,[aria-current="true"]) { color: var(--red-dark); background: #f8e8e7; }
.workspace-main { padding: 1.2rem; min-width: 0; }
.module-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin-bottom: 1rem; }
.module-heading h3 { font-size: 1.35rem; letter-spacing: -.05em; }
.module-heading p { color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.button-small { min-height: 2.25rem; padding: .42rem .66rem; font-size: .82rem; border-radius: .48rem; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-bottom: 1rem; }
.metric { border: 1px solid var(--line); background: #fffafa; border-radius: .6rem; padding: .68rem; display: grid; gap: .19rem; min-width: 0; }
.metric span { color: var(--body); font-size: .79rem; }
.metric strong { font: 800 clamp(1rem, 2vw, 1.48rem)/1.15 var(--display); letter-spacing: -.06em; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .57rem; }
.table-tools { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .65rem; }
.search-field { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--edge); border-radius: .48rem; color: var(--muted); padding: .35rem .49rem; font-size: .83rem; }
.search-field input { border: 0; min-width: 0; width: 10rem; color: var(--ink); background: transparent; }
.subheading { font-size: .94rem; font-weight: 800; margin: .95rem 0 .45rem; }
.record-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
.record-table th { background: #fbf5f4; color: var(--body); font-size: .77rem; font-weight: 700; }
.record-table td, .record-table th { padding: .62rem .63rem; vertical-align: middle; }
.record-table td { border-top: 1px solid var(--line); }
.record-table td:first-child { font-weight: 700; }
.record-table small { display: block; color: var(--muted); font-weight: 500; font-size: .77rem; white-space: nowrap; }
.record-table .table-action { padding: .18rem .25rem; color: var(--red-dark); font-size: .78rem; font-weight: 750; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .16em; }
.record-table .table-empty { color: var(--muted); font-weight: 500; }
.record-table .status-positive, .status-positive { background: #e8f2ea; color: #316447; }
.record-table .status-neutral { background: #f4edee; color: #645054; }
.record-table .status-alert { background: #fae7e6; color: #943d45; }
.agent-panel { padding: 1rem .85rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; background: #fff9f8; }
.agent-heading { display: flex; gap: .58rem; align-items: center; }
.agent-heading h3 { font-size: 1rem; letter-spacing: -.03em; }
.agent-heading div > span { display: block; font-size: .75rem; color: var(--muted); }
.agent-steps { display: flex; margin: .86rem 0 .72rem; gap: .23rem; padding: 0; list-style: none; }
.agent-steps li { flex: 1; text-align: center; padding: .24rem .12rem; border-bottom: 2px solid #eddddc; color: var(--muted); font-size: .75rem; }
.agent-steps .is-complete { border-color: #c97b81; color: var(--red-dark); }
.agent-steps .is-current { border-color: var(--red); color: var(--red-dark); font-weight: 800; }
.agent-response { padding: .7rem; border: 1px solid var(--line); border-radius: .57rem; background: white; font-size: .86rem; color: var(--body); overflow-wrap: anywhere; }
.agent-response strong { display: block; color: var(--ink); margin-bottom: .21rem; }
.agent-response ul { padding-left: 1.05rem; margin: .35rem 0 .55rem; }
.agent-response .agent-summary { color: var(--ink); font-weight: 600; }
.proposal-actions { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; margin-top: .65rem; }
.agent-suggestions { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .34rem; margin-block: .66rem .8rem; }
.agent-suggestions button { border: 1px solid #ecd7d6; border-radius: 2rem; background: white; color: #74494e; padding: .24rem .49rem; font-size: .765rem; }
.agent-suggestions button:hover { border-color: #ca8589; background: #f9eeed; }
.agent-input { display: flex; align-items: center; border: 1px solid #e9d2d1; background: white; padding: .23rem; border-radius: .63rem; gap: .15rem; margin-top: auto; }
.agent-input input { min-width: 0; width: 100%; border: 0; padding: .39rem .37rem; font-size: .83rem; color: var(--ink); background: transparent; }
.agent-input .icon-button { min-width: 2rem; min-height: 2rem; background: var(--red); color: white; }
.agent-input .icon-button:hover { background: var(--red-dark); }
.agent-input svg { width: 1rem; height: 1rem; }
.agent-input .voice-button { background: #faeeec; color: var(--red-dark); }
.agent-input .voice-button:is(:hover, [aria-pressed="true"]) { background: #f0d7d6; color: var(--red-dark); }
.voice-status { color: var(--muted); font-size: .79rem; margin-top: .32rem; }
.workspace-foot { background: #fdf9f8; border-top: 1px solid var(--line); font-size: .77rem; color: var(--muted); }
.workspace-foot button { border: 0; background: none; color: var(--red-dark); font-weight: 750; text-align: right; padding: .2rem; }
.workspace-foot button:hover { text-decoration: underline; }
.agent-section { color: #fff6f4; background: radial-gradient(ellipse at 95% 14%, #63383d, transparent 67%), #382328; }
.agent-launch { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.agent-section .kicker { color: #ffc0bb; }
.agent-section .section-heading p { color: #ecd4d3; }
.agent-launch-copy .button { margin-top: 1.35rem; background: #f5ceca; color: #512830; }
.agent-section .button:hover { background: #fff0ed; }
.agent-points { padding: 0; margin: 1.15rem 0 0; list-style: none; display: grid; gap: .45rem; color: #f4dcdb; font-size: .95rem; }
.agent-points li { display: flex; align-items: flex-start; gap: .55rem; }
.agent-points svg { color: #ffbcb9; margin-top: .18rem; }
.mock { min-width: 0; border-radius: 1.12rem; overflow: clip; }
.agent-mock { border: 1px solid #ffffff30; background: #321f24; box-shadow: 0 18px 70px #1f101648; }
.mock-top, .mock-app, .mock-bottom { display: flex; align-items: center; gap: .6rem; }
.mock-top, .mock-bottom { padding: .77rem 1rem; justify-content: space-between; }
.mock-top strong { font: 800 1rem/1.26 var(--display); letter-spacing: -.022em; }
.mock-note { color: var(--muted); font-size: .8rem; }
.agent-mock .mock-note { color: #e8bfc1; }
.mock-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .37rem; padding: 0 1rem .7rem; }
.mock-tab { min-height: 2.15rem; display: inline-flex; align-items: center; border: 1px solid var(--edge); border-radius: .45rem; padding: .32rem .62rem; background: white; color: #614d53; font-size: .84rem; font-weight: 700; line-height: 1.2; text-align: left; }
.mock-tab:hover { background: #fff3f1; color: var(--red-dark); border-color: #e3bdbd; }
.mock-tab[aria-pressed="true"] { background: #fae5e3; color: var(--red-dark); border-color: #d7a8a9; }
.agent-mock .mock-tab { color: #f1d0d0; border-color: #ffffff30; background: #ffffff0b; }
.agent-mock .mock-tab:hover { background: #ffffff19; }
.agent-mock .mock-tab[aria-pressed="true"] { background: #723d45; color: #fff0ed; border-color: #bf7a82; }
.agent-mock :focus-visible { outline-color: #ffc0bb; }
.agent-mock-body { padding: .87rem 1rem .62rem; border-top: 1px solid #ffffff25; background: radial-gradient(ellipse at 100% 0, #63323955, transparent 65%), #2b1d22; }
.mock-message { margin-left: auto; width: fit-content; max-width: 92%; padding: .55rem .7rem; border-radius: .65rem .65rem .1rem .65rem; background: #694047; color: #fff5f2; font-size: .9rem; }
.mock-proposal { margin-top: .65rem; width: min(94%, 28rem); padding: .7rem; border-radius: .25rem .7rem .7rem; background: #fffaf8; color: var(--ink); }
.mock-proposal-title { display: flex; align-items: center; gap: .5rem; }
.mock-tile { width: 2rem; height: 2rem; flex: none; display: inline-grid; place-items: center; border-radius: .48rem; background: #f7e4e0; color: var(--red); font-size: .94rem; }
.mock-proposal-title strong, .mock-proposal-title small { display: block; }
.mock-proposal-title small { color: var(--muted); font-size: .8rem; }
.mock-kv { margin: .55rem 0 0; display: grid; gap: .3rem; padding: .55rem 0 0; border-top: 1px solid var(--line); font-size: .83rem; }
.mock-kv > div { display: flex; justify-content: space-between; gap: .5rem; }
.mock-kv dt { color: var(--body); }
.mock-kv dd { margin: 0; font-weight: 700; text-align: right; }
.mock-steps { padding: .65rem 0 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem 1.05rem; font-size: .8rem; color: #e0bdbf; }
.mock-steps li { display: flex; align-items: center; gap: .31rem; }
.mock-steps li span { width: .44rem; height: .44rem; border-radius: 50%; border: 1px solid #d5a5a9; }
.mock-steps li:nth-child(-n+2) span, [data-approved] .mock-steps li:last-child span { background: #f2a4ad; border-color: #f2a4ad; }
.mock-bottom { min-height: 3.65rem; color: #f4d0d2; font-size: .8rem; border-top: 1px solid #ffffff25; }
.mock-approve { min-height: 2rem; color: #592a30; background: #f5ceca; border: 0; }
.mock-approve:disabled { opacity: 1; cursor: default; background: #dae9df; color: #315343; }

.tour-intro { margin-bottom: clamp(1.7rem, 4vw, 3.5rem); }
.tour-story { min-width: 0; display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(2rem, 7vw, 6.5rem); padding-block: clamp(2.15rem, 4.65vw, 4.4rem); border-top: 1px solid var(--line); }
.tour-story:last-child { padding-bottom: 0; }
.tour-copy h3 { margin: .48rem 0 0; font-size: clamp(2rem, 3.75vw, 3.25rem); letter-spacing: -.065em; line-height: 1.11; font-weight: 800; }
.tour-copy p { margin-top: .75rem; color: var(--body); font-size: 1.04rem; max-width: 28rem; }
.tour-copy .button { margin-top: 1.16rem; }
.tour-mock { background: linear-gradient(145deg, #fffdfa, #fbf0ee); color: var(--ink); border: 1px solid var(--edge); box-shadow: 0 14px 36px #69413c14; }
.crm-mock { background: linear-gradient(145deg, #f8faf8, #eaf3ed); border-color: #dce8df; }
.crm-mock .mock-tile { background: #e5eee7; color: var(--green); }
.operations-mock { background: linear-gradient(145deg, #fffdfa, #f6efea); border-color: #e9dcd4; }
.finance-mock { background: linear-gradient(145deg, #fffafb, #f6e5e9); }
.tour-mock-inner { min-height: 15.2rem; padding: .84rem 1rem 1rem; border-top: 1px solid #54474a17; background: #ffffff88; }
.property-sheet { display: grid; grid-template-columns: 1.27fr .73fr; gap: .8rem; background: white; padding: .45rem; border-radius: .68rem; border: 1px solid var(--line); }
.property-sheet img { width: 100%; height: auto; min-height: 8.6rem; max-height: 11rem; object-fit: cover; border-radius: .47rem; }
.property-sheet-copy { padding: .32rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: .22rem; }
.property-sheet-copy > strong { font: 800 1.03rem/1.2 var(--display); letter-spacing: -.033em; }
.property-sheet-copy > span:not(.state-chip) { font-size: .79rem; color: var(--muted); }
.property-sheet-copy .property-price { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--red-dark); }
.property-details { display: flex; flex-wrap: wrap; gap: .28rem .48rem; font-size: .75rem; color: var(--body); padding-top: .15rem; }
.preview-tail { display: flex; gap: .42rem .85rem; flex-wrap: wrap; margin-top: .65rem; font-size: .8rem; color: var(--body); }
.preview-tail span { display: flex; align-items: center; gap: .32rem; }
.preview-tail svg { color: var(--red); }
.property-pipeline, .calendar-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
.property-pipeline > div, .calendar-preview > div { padding: .55rem .44rem; min-height: 9.5rem; min-width: 0; border-radius: .57rem; background: #fcf6f5; border: 1px solid var(--line); }
.property-pipeline h4, .calendar-preview h4 { display: flex; gap: .2rem; align-items: center; justify-content: space-between; margin: 0 0 .52rem; color: #644d51; font: 800 .85rem/1.15 var(--display); }
.property-pipeline h4 span { flex: none; border-radius: 100%; background: #f4e3e1; color: #865057; font: 700 .73rem var(--text); padding: .12rem .32rem; }
.pipeline-card, .calendar-event { display: grid; gap: .15rem; padding: .42rem; background: white; border-radius: .38rem; border-left: 2px solid #c4777d; font-size: .81rem; overflow-wrap: anywhere; }
.pipeline-card small, .calendar-event small { color: var(--muted); font-size: .76rem; }
.pipeline-card > span { color: var(--red-dark); font-weight: 700; }
.crm-overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: .52rem; }
.crm-contact, .crm-demand { display: grid; align-content: center; align-items: center; column-gap: .55rem; padding: .65rem; border: 1px solid #e0e9e2; border-radius: .58rem; background: white; }
.crm-contact { grid-template-columns: max-content 1fr; }
.crm-contact .preview-avatar { grid-row: span 2; display: inline-grid; place-items: center; width: 2.32rem; height: 2.32rem; border-radius: 50%; background: #e5eee7; color: var(--green); font-weight: 800; }
.crm-contact > span:nth-child(3), .crm-demand > span { color: var(--body); font-size: .78rem; }
.crm-contact .state-chip { grid-column: 2; justify-self: start; margin-top: .3rem; }
.crm-demand strong { font: 800 .91rem/1.28 var(--display); }
.crm-demand strong + span { margin-top: .34rem; }
.crm-timeline { display: grid; gap: .36rem; margin-top: .49rem; }
.crm-timeline > div, .document-preview > div { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; gap: .53rem; align-items: center; padding: .45rem .53rem; background: white; border: 1px solid #e0e9e2; border-radius: .48rem; font-size: .88rem; }
.crm-timeline small, .document-preview small { display: block; color: var(--muted); font-size: .79rem; }
.timeline-dot { width: .52rem; height: .52rem; border-radius: 50%; background: #6b997e; margin-inline: .15rem; }
.calendar-preview > div { background: #f6f9f6; border-color: #e0e9e2; }
.calendar-preview h4 { color: #465e51; }
.calendar-empty { font-size: .8rem; color: var(--muted); }
.calendar-event { border-color: #69a284; }
.calendar-event-alt { border-color: #be8186; }
.calendar-event > span { color: var(--green); font-weight: 700; }
.deal-summary, .cash-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; background: white; border: 1px solid var(--line); border-radius: .55rem; padding: .65rem; }
.deal-summary div, .cash-summary div { display: grid; gap: .12rem; }
.deal-summary div > span, .cash-summary div > span { color: var(--body); font-size: .8rem; }
.deal-summary strong, .cash-summary strong { font: 800 clamp(1rem, 2.05vw, 1.48rem)/1.14 var(--display); letter-spacing: -.047em; }
.deal-track { list-style: none; padding: 0; margin: .9rem 0; display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.deal-track li { display: grid; justify-items: center; align-content: start; gap: .35rem; position: relative; isolation: isolate; color: #6f5d61; font-size: .81rem; }
.deal-track li:not(:last-child)::after { content: ""; z-index: -1; height: 1px; background: #e7d0cd; width: 100%; position: absolute; top: .96rem; left: 50%; }
.deal-track li span { width: 1.95rem; height: 1.95rem; border-radius: 50%; display: grid; place-items: center; background: #f8f0ee; border: 1px solid #ecdad8; }
.deal-track .deal-done span { background: #e8f2ea; color: var(--green); border-color: #d5e5db; }
.deal-track .deal-current { font-weight: 800; color: var(--red-dark); }
.deal-track .deal-current span { background: var(--red); color: white; border-color: var(--red); }
.document-preview { display: grid; gap: .43rem; }
.document-preview > div { border-color: var(--line); }
.cash-chart { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(.55rem, 2vw, 1.3rem); padding: 0 .73rem; margin: .65rem 0 0; list-style: none; height: 8.5rem; background: repeating-linear-gradient(to top, #ecd9de 0 1px, transparent 1px 21%); background-size: 100% calc(100% - 1.3rem); background-repeat: no-repeat; }
.cash-chart li { display: grid; grid-template-rows: 1fr 1.3rem; justify-items: center; align-items: end; }
.cash-chart li span { display: block; height: var(--bar); width: min(100%, 2.55rem); border-radius: .32rem .32rem 0 0; background: linear-gradient(180deg, #cb7982, #edb8bb); transform-origin: bottom; }
.cash-chart li:last-child span { background: linear-gradient(180deg, #9b3846, #cf7782); }
.cash-chart small { color: var(--body); font-size: .77rem; }
.journal-label { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .36rem; margin-bottom: .57rem; font-size: .9rem; }
.finance-mock .record-table { background: white; }
.finance-mock tfoot :is(th,td) { background: #f8ebed; font-weight: 800; }
.platform { border-block: 1px solid #efdfdd; background: #fff8f6; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: .65rem; padding: .9rem .25rem; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--red); }
.faq-list [open] summary svg { transform: rotate(180deg); }
.faq-list p { color: var(--body); padding: 0 .25rem 1rem; }
.site-footer { background: #faf0ee; border-top: 1px solid var(--line); color: var(--body); }
.footer-layout { min-height: 5.4rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; font-size: .86rem; }
.footer-layout .brand { color: var(--ink); }
.footer-layout > a:last-child { color: var(--red-dark); font-weight: 750; }
dialog { padding: 0; width: min(100% - 2rem, 32rem); border: 1px solid var(--edge); border-radius: .9rem; background: white; color: var(--ink); box-shadow: 0 16px 70px #31212745; }
dialog::backdrop { background: #2c202469; }
dialog form { padding: 1.15rem; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .65rem; }
.dialog-head h2 { font-size: 1.35rem; letter-spacing: -.045em; }
.dialog-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .66rem; }
.dialog-fields label { display: flex; flex-direction: column; gap: .18rem; font-size: .85rem; font-weight: 700; }
.dialog-fields :is(input, select) { width: 100%; min-width: 0; border: 1px solid var(--edge); padding: .48rem .59rem; background: #fffaf9; border-radius: .45rem; color: var(--ink); min-height: 2.45rem; }
.dialog-fields select { appearance: none; padding-right: 1.55rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%2376666a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: .85rem; background-position: right .4rem center; }
.dialog-actions { margin-top: .9rem; display: flex; gap: .55rem; justify-content: flex-end; }
dialog p { color: var(--body); }
.toast { position: fixed; bottom: 1rem; right: 1rem; max-width: calc(100% - 2rem); z-index: 5; border-radius: .55rem; padding: .7rem .91rem; background: #473034; color: white; box-shadow: 0 8px 35px #49323742; font-size: .9rem; }
@media (max-width: 64rem) {
  .shell { width: min(100% - 3.1rem, 76rem); }
  .workspace-body { grid-template-columns: 8.45rem minmax(0,1fr) 15.65rem; }
  .workspace-nav { padding-inline: .42rem; }
  .workspace-main { padding: .86rem; }
  .agent-panel { padding-inline: .65rem; }
}
@media (max-width: 51rem) {
  .shell { width: min(100% - 2.25rem, 76rem); }
  .section { padding-block: 4rem; }
  .hero-layout { padding-block: 3rem; gap: 1.25rem; }
  .hero h1 { font-size: clamp(2.55rem, 6.1vw, 4rem); }
  .hero-picture { min-height: 24rem; }
  .workspace-body { grid-template-columns: minmax(0,1fr) 15.35rem; min-height: auto; }
  .workspace-nav { flex-direction: row; flex-wrap: wrap; grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding: .48rem .59rem; }
  .workspace-main { min-height: 24rem; }
  .tour-story { gap: 1.6rem; }
}
@media (max-width: 39rem) {
  .shell { width: calc(100% - 1.8rem); }
  .header-layout { min-height: 3.85rem; gap: .55rem; position: relative; }
  .menu-toggle { display: inline-grid; order: 3; }
  .brand { font-size: 1.15rem; gap: .43rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; border-radius: .5rem; }
  .header-cta { margin-left: auto; min-height: 2.15rem; padding: .37rem .49rem; font-size: .79rem; }
  .site-nav { display: none; position: absolute; z-index: 4; left: 0; right: 0; top: calc(100% + .28rem); padding: .5rem; border-radius: .62rem; background: white; border: 1px solid var(--edge); box-shadow: 0 12px 45px #59373b2b; }
  .site-nav.is-open { display: grid; gap: .1rem; }
  .site-nav a { padding: .53rem .65rem; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 2.2rem 1.8rem; gap: 1.55rem; }
  .hero h1 { font-size: clamp(2.75rem, 12.6vw, 4.55rem); margin-top: .78rem; }
  .hero-content > p { margin-top: .95rem; font-size: 1.04rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-note { margin-top: .8rem; }
  .hero-picture { min-height: 18rem; height: auto; border-radius: .95rem; }
  .hero-agent { left: .72rem; bottom: .7rem; max-width: calc(100% - 1.44rem); padding: .62rem; }
  .picture-location { top: .65rem; right: .65rem; }
  .section { padding-block: 3.2rem; }
  .feature-strip-layout { grid-template-columns: repeat(2,1fr); }
  .feature-strip a { padding: .63rem .32rem; font-size: .81rem; gap: .34rem; }
  .feature-strip svg { width: 1.05rem; height: 1.05rem; }
  .feature-strip a:nth-child(3) { border-left: 0; }
  .feature-strip a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workspace { margin-top: 1.45rem; }
  .workspace-body { grid-template-columns: minmax(0,1fr); }
  .workspace-head, .workspace-foot { padding-inline: .65rem; }
  .workspace-main { min-height: 0; }
  .agent-panel { padding: .86rem; border-left: 0; border-top: 1px solid var(--line); }
  .agent-launch, .tour-story, .faq-layout { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .tour-story, .tour-story:last-child { padding-block: 1.85rem 2rem; }
  .tour-story:last-child { padding-bottom: 0; }
  .tour-mock-inner { min-height: 0; }
  .mock-controls, .mock-top, .mock-bottom, .tour-mock-inner, .agent-mock-body { padding-inline: .65rem; }
  .mock-tab { padding-inline: .46rem; font-size: .79rem; }
  .footer-layout { flex-wrap: wrap; padding-block: .9rem; }
  .footer-layout > span { order: 3; width: 100%; }
}
@media (max-width: 22rem) {
  .workspace-brand .workspace-divider, .workspace-brand > span:last-child { display: none; }
  .dialog-fields { grid-template-columns: 1fr; }
  .property-sheet { gap: .52rem; }
  .crm-timeline > div, .document-preview > div { gap: .34rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
