:root {
  --navy: #071b2d;
  --navy-2: #0b2942;
  --ink: #102235;
  --muted: #617285;
  --sky: #8bd7f4;
  --cyan: #36bdeb;
  --ice: #e9f8fd;
  --white: #ffffff;
  --paper: #f7fafc;
  --amber: #f8b84e;
  --line: #dce6ed;
  --shadow: 0 28px 70px rgba(5, 30, 50, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.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-link { position: fixed; z-index: 999; left: 16px; top: -80px; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; color: var(--white); }
.nav-shell { width: min(1240px, calc(100% - 48px)); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: .12em; }
.brand-mark { width: 41px; height: 41px; border-radius: 12px; overflow: hidden; background: #303030; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { font-size: 1.08rem; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .92rem; font-weight: 600; }
.site-nav > a:not(.nav-login) { color: rgba(255,255,255,.76); transition: color .2s; }
.site-nav > a:hover { color: var(--white); }
.nav-login { padding: 10px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; width: 22px; margin: 4px 0; background: white; border-radius: 2px; }

.hero { position: relative; min-height: 800px; padding: 178px 0 108px; color: var(--white); background: radial-gradient(circle at 75% 20%, #123c5d 0, transparent 32%), linear-gradient(135deg, #061725 0%, #071e32 55%, #0b2c48 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); }
.glow-one { width: 380px; height: 380px; right: -120px; top: 280px; background: rgba(52,189,235,.15); }
.glow-two { width: 280px; height: 280px; left: 35%; bottom: -180px; background: rgba(248,184,78,.1); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--sky); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #168fbd; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.4vw, 6rem); letter-spacing: -.06em; }
h1 em { color: var(--sky); font-style: normal; }
.hero-lead { max-width: 610px; margin: 0 0 36px; color: rgba(255,255,255,.72); font-size: 1.12rem; line-height: 1.7; }
.hero-actions, .platform-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 25px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--sky); box-shadow: 0 14px 28px rgba(54,189,235,.2); }
.button-primary:hover { background: #b1e8fa; box-shadow: 0 18px 34px rgba(54,189,235,.28); }
.button-ghost { border: 1px solid rgba(255,255,255,.22); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { margin-bottom: 4px; font-size: .9rem; }
.hero-proof span { color: rgba(255,255,255,.48); font-size: .76rem; line-height: 1.35; }

.hero-product { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(139,215,244,.14); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 390px; height: 390px; }
.phone-card { position: relative; z-index: 2; width: 300px; height: 520px; padding: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 40px; background: #f3f7fa; box-shadow: 0 40px 90px rgba(0,0,0,.38); transform: rotate(3deg); color: var(--ink); }
.phone-card::before { content: ""; position: absolute; z-index: 4; top: 10px; left: 50%; width: 84px; height: 19px; transform: translateX(-50%); background: #0c1821; border-radius: 0 0 14px 14px; }
.phone-top { height: 74px; padding: 24px 11px 10px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #e1e9ef; }
.phone-avatar { width: 35px; height: 35px; overflow: hidden; border-radius: 10px; }
.phone-top > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; }
.phone-top strong { font-size: .79rem; }
.phone-top small { color: #2ea96d; font-size: .65rem; }
.phone-menu { margin-left: auto; letter-spacing: 2px; color: #8091a1; }
.chat-body { padding: 14px 7px; }
.chat-date { margin: 0 auto 14px; width: max-content; padding: 3px 9px; border-radius: 20px; background: #e3ebf0; color: #718292; font-size: .59rem; }
.message { max-width: 82%; margin-bottom: 9px; padding: 9px 11px; border-radius: 12px; font-size: .67rem; line-height: 1.45; box-shadow: 0 4px 12px rgba(15,41,61,.05); }
.incoming { background: white; border-bottom-left-radius: 3px; }
.outgoing { margin-left: auto; color: #06314b; background: #bfeefa; border-bottom-right-radius: 3px; }
.quick-actions { display: grid; gap: 6px; width: 86%; margin: 10px 0 15px auto; }
.quick-actions span { padding: 7px 9px; border: 1px solid #9bdcf2; border-radius: 9px; color: #157ba3; background: #f5fcfe; font-size: .62rem; text-align: center; }
.chat-input { position: absolute; bottom: 18px; left: 18px; right: 18px; height: 39px; padding: 0 8px 0 13px; border: 1px solid #dfe8ed; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; background: white; color: #8c9ba8; font-size: .64rem; }
.chat-input b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-2); color: white; font-size: .65rem; }
.float-card { position: absolute; z-index: 3; min-width: 195px; padding: 13px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(9,32,51,.86); box-shadow: 0 18px 40px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.float-card > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.float-card small { color: rgba(255,255,255,.48); font-size: .66rem; }
.float-card strong { color: var(--white); font-size: .75rem; }
.float-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #071b2d; background: var(--amber); font-weight: 800; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #52db93; box-shadow: 0 0 0 6px rgba(82,219,147,.14); }
.float-finance { top: 86px; left: 6px; }
.float-service { right: -22px; bottom: 94px; }
.hero-ribbon { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; height: 55px; padding: 0 30px; display: flex; align-items: center; justify-content: center; gap: 28px; overflow: hidden; white-space: nowrap; color: #7a4b00; background: var(--amber); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; font-weight: 700; }
.hero-ribbon i { width: 4px; height: 4px; border-radius: 50%; background: rgba(122,75,0,.45); }

.section { padding: 124px 0; }
.section-heading h2, .platform h2, .values h2, .contact h2 { margin-bottom: 22px; font-size: clamp(2.4rem, 4vw, 4.15rem); letter-spacing: -.045em; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.split-heading p:last-child { max-width: 490px; margin: 0 0 10px; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 425px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-7px); border-color: #b9dce9; box-shadow: var(--shadow); }
.service-card.featured { color: white; border-color: var(--navy); background: var(--navy); }
.service-number { position: absolute; right: 24px; top: 22px; color: #a8b7c3; font-family: "Manrope", sans-serif; font-size: .72rem; }
.featured .service-number { color: rgba(255,255,255,.35); }
.service-icon { width: 51px; height: 51px; display: grid; place-items: center; margin-bottom: 62px; border-radius: 15px; color: #0879a4; background: var(--ice); font-size: 1.45rem; font-weight: 700; }
.featured .service-icon { color: var(--navy); background: var(--sky); }
.service-card h3 { margin-bottom: 16px; font-size: 1.45rem; letter-spacing: -.025em; }
.service-card p { min-height: 78px; margin-bottom: 23px; color: var(--muted); font-size: .93rem; }
.featured p { color: rgba(255,255,255,.62); }
.service-card ul { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.featured ul { border-color: rgba(255,255,255,.12); }
.service-card li { position: relative; padding: 5px 0 5px 18px; font-size: .83rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.platform { color: white; background: var(--navy); overflow: hidden; }
.platform-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 85px; align-items: center; }
.platform-visual { position: relative; }
.platform-visual::before { content: ""; position: absolute; width: 500px; height: 500px; left: -150px; top: -120px; border-radius: 50%; background: rgba(54,189,235,.08); filter: blur(10px); }
.dashboard { position: relative; z-index: 2; min-height: 430px; display: grid; grid-template-columns: 63px 1fr; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: #eff4f7; box-shadow: 0 40px 80px rgba(0,0,0,.28); transform: perspective(1200px) rotateY(4deg) rotateX(1deg); overflow: hidden; color: var(--ink); }
.dash-sidebar { padding: 19px 13px; display: flex; flex-direction: column; align-items: center; gap: 27px; background: #0c2b44; }
.mini-brand { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; margin-bottom: 12px; }
.side-dot { width: 20px; height: 5px; border-radius: 6px; background: rgba(255,255,255,.18); }
.side-dot.active { height: 20px; background: var(--sky); }
.dash-main { padding: 25px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dash-head > span:first-child { display: flex; flex-direction: column; }
.dash-head small { color: #7b8c9b; font-size: .63rem; }
.dash-head strong { font-size: .98rem; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #d6e7ef; color: #27617b; font-size: .58rem; font-weight: 700; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-row > div { height: 104px; padding: 13px; display: flex; flex-direction: column; border-radius: 12px; background: white; box-shadow: 0 5px 16px rgba(28,54,75,.05); }
.metric-row small, .metric-note { color: #8494a1; font-size: .57rem; }
.metric-row strong { margin: 3px 0 4px; font-size: 1.22rem; }
.meter { height: 4px; margin-top: auto; border-radius: 4px; background: #e7eef2; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--cyan); }
.dash-lower { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; margin-top: 10px; }
.chart-card, .activity-card { height: 212px; padding: 15px; border-radius: 12px; background: white; }
.card-title { display: flex; justify-content: space-between; align-items: center; }
.card-title strong, .activity-card > strong { font-size: .66rem; }
.card-title small { color: #91a0ab; font-size: .48rem; }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 9px; padding-top: 14px; border-bottom: 1px solid #e6edf1; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: #d7e9f0; }
.bars i.current { background: var(--cyan); }
.bar-labels { display: flex; justify-content: space-around; padding-top: 6px; color: #91a0ab; font-size: .46rem; }
.activity-card p { margin: 17px 0; display: flex; align-items: flex-start; gap: 8px; }
.activity { flex: 0 0 6px; width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; }
.activity.blue { background: var(--cyan); }.activity.amber { background: var(--amber); }.activity.green { background: #51c990; }
.activity-card p span { display: flex; flex-direction: column; font-size: .55rem; line-height: 1.3; }
.activity-card p small { color: #97a4ae; font-size: .46rem; }
.platform-copy > p:not(.eyebrow) { margin-bottom: 32px; color: rgba(255,255,255,.62); font-size: 1rem; }
.feature-list { margin-bottom: 34px; }
.feature-list > div { padding: 15px 0; display: grid; grid-template-columns: 42px 1fr; border-bottom: 1px solid rgba(255,255,255,.1); }
.feature-list > div > span { color: var(--sky); font-family: "Manrope",sans-serif; font-size: .7rem; font-weight: 700; }
.feature-list p { margin: 0; display: flex; flex-direction: column; }
.feature-list strong { margin-bottom: 3px; font-size: .93rem; }
.feature-list small { color: rgba(255,255,255,.48); font-size: .79rem; }
.button-light { color: var(--navy); background: white; }
.text-link { color: var(--sky); font-size: .88rem; font-weight: 700; }
.module-scope { margin-top: 96px; padding-top: 72px; border-top: 1px solid rgba(255,255,255,.12); }
.module-scope-head { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.module-scope-head h3 { max-width: 660px; margin: 0; font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -.04em; }
.module-scope-head > p { max-width: 480px; margin: 0 0 5px; color: rgba(255,255,255,.56); }
.module-groups { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; }
.module-groups article { position: relative; min-height: 315px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.035); }
.module-group-number { position: absolute; top: 25px; right: 27px; color: rgba(255,255,255,.3); font-size: .7rem; font-weight: 700; }
.module-groups h4 { margin: 0 0 25px; padding-right: 32px; color: var(--sky); font-family: "Manrope",sans-serif; font-size: 1rem; }
.module-groups ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; list-style: none; }
.module-groups article:not(:first-child) ul { grid-template-columns: 1fr; }
.module-groups li { position: relative; padding: 8px 8px 8px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72); font-size: .86rem; }
.module-groups li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 2px; background: var(--cyan); }

.resident-chat { background: #f4f9fb; }
.resident-chat-grid { display: grid; grid-template-columns: 1fr .83fr; gap: 80px; align-items: center; }
.resident-chat h2 { max-width: 650px; font-size: clamp(2.4rem, 4vw, 4.15rem); letter-spacing: -.045em; }
.resident-chat-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.06rem; }
.resident-chat-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 31px 0 20px; }
.resident-chat-actions .button { background: var(--navy); color: white; box-shadow: 0 16px 30px rgba(7,27,45,.15); }
.resident-chat-actions .button:hover { background: var(--navy-2); }
.resident-chat-actions .text-link { color: #0879a4; }
.resident-chat-copy .resident-chat-note { font-size: .86rem !important; line-height: 1.5; }
.resident-chat-card { padding: 38px; color: white; background: var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.resident-chat-tag { color: var(--sky); font-size: .72rem; letter-spacing: .16em; font-weight: 800; }
.resident-chat-card h3 { margin: 15px 0 25px; font-size: 1.9rem; }
.resident-chat-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.resident-chat-card li { display: grid; gap: 3px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.13); }
.resident-chat-card li strong { font-size: .93rem; }
.resident-chat-card li span { color: rgba(255,255,255,.65); font-size: .84rem; }
.assistant-demo { background: linear-gradient(180deg, #f7fafc 0%, #edf7fb 100%); }
.demo-heading { align-items: center; }
.demo-heading h2 { max-width: 760px; margin-bottom: 0; }
.demo-shell { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 24px; align-items: stretch; }
.demo-player { position: relative; min-width: 0; padding: 12px; border: 1px solid #c9dbe5; border-radius: 24px; background: #061725; box-shadow: 0 30px 70px rgba(5,30,50,.18); overflow: hidden; }
.demo-player video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 15px; background: #071b2d; }
.demo-now { position: absolute; left: 28px; bottom: 28px; display: grid; gap: 1px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: white; background: rgba(4,19,31,.86); backdrop-filter: blur(8px); pointer-events: none; }
.demo-now span { color: var(--sky); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.demo-now strong { font-size: .84rem; }
.demo-chapters { display: grid; gap: 8px; }
.demo-chapter { width: 100%; min-height: 92px; padding: 15px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 2px 10px; align-content: center; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.8); text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.demo-chapter:hover { transform: translateX(4px); border-color: #93cada; background: white; }
.demo-chapter:focus-visible { outline: 3px solid rgba(54,189,235,.4); outline-offset: 2px; }
.demo-chapter.active { border-color: #53bfe6; background: white; box-shadow: 0 11px 25px rgba(15,112,147,.1); }
.demo-chapter > span { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #167fa7; background: var(--ice); font-size: .7rem; font-weight: 800; }
.demo-chapter.active > span { color: var(--navy); background: var(--sky); }
.demo-chapter strong { font-family: "Manrope",sans-serif; font-size: .92rem; line-height: 1.25; }
.demo-chapter small { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.demo-proof { margin-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 17px; background: white; overflow: hidden; }
.demo-proof p { margin: 0; padding: 20px 24px; display: grid; gap: 3px; }
.demo-proof p + p { border-left: 1px solid var(--line); }
.demo-proof strong { color: var(--navy); font-family: "Manrope",sans-serif; }
.demo-proof span { color: var(--muted); font-size: .82rem; }

.process { background: var(--paper); }
.centered { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered > p:last-child { max-width: 620px; margin: 0 auto; color: var(--muted); }
.process-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.process-line::before { content: ""; position: absolute; top: 52px; left: 7%; right: 7%; height: 1px; background: #cfdde5; }
.process-line article { position: relative; z-index: 1; padding-top: 8px; text-align: center; }
.step { position: absolute; top: 4px; right: 24%; color: #93a5b3; font-size: .67rem; font-weight: 700; }
.process-icon { width: 88px; height: 88px; margin: 0 auto 27px; display: grid; place-items: center; border: 12px solid var(--paper); border-radius: 50%; color: #0b7299; background: var(--ice); font-size: 1.4rem; font-weight: 800; }
.process-line h3 { margin-bottom: 12px; font-size: 1.1rem; }
.process-line p { margin: 0; color: var(--muted); font-size: .86rem; }

.values { padding: 120px 0; color: white; background: linear-gradient(135deg, #071b2d, #0b2d49); }
.values-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.values-copy > p:last-child { max-width: 410px; color: rgba(255,255,255,.58); }
.value-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.value-cards article { min-height: 210px; padding: 30px; background: #0b2840; }
.value-cards span { color: var(--sky); font-size: .67rem; font-weight: 700; }
.value-cards h3 { margin: 31px 0 10px; font-size: 1.1rem; }
.value-cards p { margin: 0; color: rgba(255,255,255,.5); font-size: .83rem; }

.contact { padding: 110px 0; background: var(--sky); }
.contact .eyebrow { color: #0b6688; }
.contact h2 { margin: 0; color: var(--navy); }
.contact-shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.contact-actions { display: grid; gap: 10px; }
.contact-card { min-height: 82px; padding: 16px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid rgba(7,27,45,.16); border-radius: 14px; background: rgba(255,255,255,.35); transition: background .2s, transform .2s; }
.contact-card:hover { transform: translateX(5px); background: rgba(255,255,255,.62); }
.contact-card > span { grid-column: 1; color: #35667b; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { grid-column: 1; font-size: .97rem; }
.contact-card i { grid-column: 2; grid-row: 1/3; font-style: normal; font-size: 1.2rem; }

footer { padding: 76px 0 25px; color: white; background: #04131f; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .7fr 1fr .8fr; gap: 55px; padding-bottom: 55px; }
.footer-brand p { max-width: 300px; margin-top: 22px; color: rgba(255,255,255,.43); font-size: .84rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div > strong { margin-bottom: 12px; color: rgba(255,255,255,.9); font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div > a, .footer-grid > div > span { color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-grid > div > a:hover { color: var(--sky); }
.footer-bottom { padding-top: 23px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.35); font-size: .72rem; }
.footer-bottom a { color: rgba(255,255,255,.58); }
.footer-bottom a:hover { color: var(--sky); }

.legal-header { position: relative; color: var(--white); background: var(--navy); }
.legal-header .nav-shell { height: 86px; }
.legal-header .site-nav { gap: 20px; }
.legal-main { min-height: 70vh; padding: 150px 0 105px; background: var(--paper); }
.legal-shell { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.legal-heading { margin-bottom: 54px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { max-width: none; margin: 0 0 18px; color: var(--navy); font-size: clamp(2.8rem, 6vw, 5.2rem); }
.legal-heading > p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.legal-meta { display: inline-flex; margin-top: 23px; padding: 7px 12px; border-radius: 999px; color: #0b6688; background: var(--ice); font-size: .78rem; font-weight: 700; }
.legal-content { display: grid; gap: 42px; }
.legal-content section { scroll-margin-top: 30px; }
.legal-content h2 { margin: 0 0 15px; color: var(--navy); font-size: 1.55rem; letter-spacing: -.025em; }
.legal-content p { margin: 0 0 13px; color: #405466; }
.legal-content ul { margin: 12px 0 0; padding-left: 22px; color: #405466; }
.legal-content li { margin: 8px 0; padding-left: 5px; }
.legal-content a { color: #0879a4; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { padding: 27px 30px; border: 1px solid #b9dce9; border-radius: 18px; background: var(--ice); }
.legal-contact h2 { margin-bottom: 10px; }
.legal-contact p:last-child { margin-bottom: 0; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-grid { gap: 24px; }
  .hero-product { transform: scale(.88); }
  .float-finance { left: -30px; }
  .platform-grid { gap: 45px; }
  .dashboard { min-height: 390px; }
  .dash-main { padding: 18px; }
  .values-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 820px) {
  .container, .nav-shell { width: min(100% - 32px, 700px); }
  .site-header { position: absolute; }
  .nav-shell { height: 78px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; z-index: -1; padding: 120px 30px 40px; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(4,19,31,.98); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .site-nav.open { z-index: 20; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 10px; font-size: 1.1rem; }
  .nav-login { margin-top: 18px; text-align: center; }
  .menu-toggle { position: relative; z-index: 30; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { position: relative; z-index: 5; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-proof { text-align: left; }
  .hero-product { min-height: 540px; margin-top: 30px; }
  .phone-card { transform: rotate(1.5deg); }
  .split-heading, .platform-grid, .values-grid, .contact-shell, .resident-chat-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-chapters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .demo-chapter:last-child { grid-column: 1 / -1; }
  .module-scope-head { grid-template-columns: 1fr; gap: 20px; }
  .module-groups { grid-template-columns: 1fr; }
  .module-groups article { min-height: auto; }
  .module-groups article:not(:first-child) ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 35px; }
  .service-card p { min-height: 0; }
  .platform-copy { order: -1; }
  .process-line { grid-template-columns: repeat(2,1fr); gap: 50px 28px; }
  .process-line::before { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-grid > div:nth-child(3) { display: none; }
  .legal-header .site-nav { position: static; z-index: auto; padding: 0; flex-direction: row; opacity: 1; visibility: visible; background: transparent; }
  .legal-main { padding-top: 125px; }
  .legal-shell { width: min(100% - 32px, 700px); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container, .nav-shell { width: calc(100% - 28px); }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .section { padding: 88px 0; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 13px; }
  .hero-proof div { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-product { transform: scale(.82); margin: -15px -40px -35px; }
  .float-finance { left: -6px; }
  .float-service { right: -12px; }
  .hero-ribbon { justify-content: flex-start; }
  .split-heading { margin-bottom: 38px; }
  .service-card { padding: 28px; }
  .dashboard { min-height: 345px; grid-template-columns: 48px 1fr; transform: none; }
  .dash-sidebar { padding: 14px 8px; }
  .dash-main { padding: 14px; }
  .metric-row > div { height: 86px; padding: 9px; }
  .metric-row strong { font-size: .94rem; }
  .dash-lower { grid-template-columns: 1fr; }
  .activity-card { display: none; }
  .chart-card { height: 170px; }
  .bars { height: 90px; }
  .platform-actions { align-items: flex-start; flex-direction: column; }
  .resident-chat-card { padding: 28px; }
  .resident-chat-actions { align-items: flex-start; flex-direction: column; }
  .demo-player { padding: 7px; border-radius: 16px; }
  .demo-player video { border-radius: 11px; }
  .demo-now { left: 17px; bottom: 17px; padding: 7px 10px; }
  .demo-chapters { grid-template-columns: 1fr; }
  .demo-chapter:last-child { grid-column: auto; }
  .demo-proof { grid-template-columns: 1fr; }
  .demo-proof p + p { border-left: 0; border-top: 1px solid var(--line); }
  .module-scope { margin-top: 70px; padding-top: 55px; }
  .module-groups ul, .module-groups article:not(:first-child) ul { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr; }
  .process-line article { max-width: 320px; margin: 0 auto; }
  .step { right: 28%; }
  .value-cards { grid-template-columns: 1fr; }
  .contact h2 { font-size: 2.45rem; }
  .contact-card strong { font-size: .86rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(2) { display: none; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .legal-header .site-nav { display: none; }
  .legal-shell { width: calc(100% - 28px); }
  .legal-main { padding: 112px 0 78px; }
  .legal-heading { margin-bottom: 42px; }
  .legal-heading h1 { font-size: 2.65rem; }
  .legal-contact { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
