/* Celestine Estates: soft pastel, rounded, airy. Midnight navy on pearl lilac. */
@view-transition { navigation: auto; }
:root {
  --ground: #F5F3FA;
  --surface: #FFFFFF;
  --ink: #161C3D;
  --primary: #26306B;
  --primary-2: #3A4590;
  --accent: #E8B4A0;
  --accent-ink: #8A4B36;
  --muted: #575E80;
  --lav: #E6E4F5;
  --sky: #DCE8F6;
  --blush: #F7E4DC;
  --mint: #DDF0E9;
  --line: rgba(22, 28, 61, .1);
  --r-xl: 40px; --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 24px 60px -34px rgba(38, 48, 107, .38), 0 2px 8px -4px rgba(38, 48, 107, .08);
  --shadow-lg: 0 40px 90px -40px rgba(38, 48, 107, .5);
  --head: "Tenor Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
@media (max-width: 640px) { body { font-size: 16px; } }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.14; letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: 16px; top: -80px; background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 9999; }
.skip:focus { top: 60px; }
:focus-visible { outline: 3px solid var(--primary-2); outline-offset: 3px; border-radius: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-lg { width: 44px; height: 44px; }
/* two-tone icon set: the blob takes a pastel tint */
.ci .b { fill: rgba(232, 180, 160, .42); stroke: none; }
.ci { overflow: visible; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--primary); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; box-shadow: 0 14px 30px -16px rgba(38, 48, 107, .7); white-space: nowrap; }
.btn:hover { color: #fff; background: var(--primary-2); transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn-soft:hover { background: var(--lav); color: var(--ink); }
.btn-peach { background: var(--accent); color: var(--ink); box-shadow: 0 14px 30px -16px rgba(138, 75, 54, .6); }
.btn-peach:hover { background: #EDC2B1; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22, 28, 61, .25); }
.btn-line:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--lav); color: var(--ink); font-size: .9rem; font-weight: 600; }
.chip.mint { background: var(--mint); } .chip.blush { background: var(--blush); } .chip.sky { background: var(--sky); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.av { background: #4FA987; } .dot.re { background: #D99060; } .dot.so { background: #8E8AB0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary-2)); }

/* Header: floating pill, split nav, centred monogram */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px 16px 0; transition: padding .4s var(--ease); pointer-events: none; }
.hdr-in { pointer-events: auto; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 10px 12px 10px 24px; border-radius: 999px; background: rgba(255, 255, 255, .74); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 18px 50px -30px rgba(38, 48, 107, .45); border: 1px solid rgba(255, 255, 255, .8); transition: padding .4s var(--ease), box-shadow .4s; }
.hdr.is-small { padding-top: 8px; }
.hdr.is-small .hdr-in { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 18px 50px -24px rgba(38, 48, 107, .55); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav-r { justify-content: flex-end; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; transition: background .25s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--lav); color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); justify-self: center; }
.logo svg { width: 42px; height: 42px; }
.logo span { font-family: var(--head); font-size: 1.15rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }
.logo small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .3em; color: var(--muted); margin-top: 5px; }
.hdr-tools { display: none; align-items: center; gap: 8px; justify-self: end; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lav); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--sky); color: var(--ink); }
.lang { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--lav); }
.lang button { min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font: 600 .85rem var(--body); color: var(--ink); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 4px 12px -6px rgba(38, 48, 107, .4); }
.lang-note { font-size: .78rem; color: var(--muted); }
@media (max-width: 1200px) {
  .hdr-in { grid-template-columns: auto 1fr; padding-left: 16px; }
  .nav { display: none; }
  .logo { justify-self: start; }
  .hdr-tools { display: flex; }
}
@media (min-width: 1201px) { .nav-r .lang { margin-left: 6px; } }
@media (max-width: 420px) { .logo span { font-size: 1rem; letter-spacing: .12em; } .logo small { display: none; } .hdr-tools .lang { display: none; } }

/* Phone bottom bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 55; left: 10px; right: 10px; bottom: 10px; padding: 6px; border-radius: 26px; background: rgba(22, 28, 61, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(22, 28, 61, .7); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 20px; color: #E9E8F6; text-decoration: none; font-size: .74rem; font-weight: 600; }
  .tabbar a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; }
  .tabbar .ico { width: 21px; height: 21px; }
  body { padding-bottom: 84px; }
}

/* Overlay menu */
.menu { position: fixed; inset: 0; z-index: 80; background: radial-gradient(120% 80% at 10% 0%, #EDE7FB 0%, transparent 60%), radial-gradient(90% 70% at 100% 100%, #FBE3D8 0%, transparent 60%), var(--ground); padding: 70px 22px 40px; overflow-y: auto; display: none; }
.menu.open { display: block; animation: menuIn .5s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--head); font-size: clamp(1.7rem, 7vw, 2.4rem); color: var(--ink); text-decoration: none; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.menu nav a small { font-family: var(--body); font-size: .85rem; color: var(--muted); }
.menu-foot { margin-top: 28px; display: grid; gap: 14px; }

/* Ribbon spacing: header is fixed so content starts lower */
main { display: block; padding-top: 96px; }

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec-tight { padding: clamp(48px, 7vw, 84px) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; gap: 16px; } }
.tint { background: linear-gradient(180deg, transparent, var(--lav) 18%, var(--lav) 82%, transparent); }
.soft-panel { border-radius: var(--r-xl); background: linear-gradient(140deg, #FFFFFF 0%, #F1EEFB 55%, #FBEDE7 100%); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .65; pointer-events: none; z-index: 0; }
.blob.a { background: #D9D3F7; } .blob.b { background: #F8D5C6; } .blob.c { background: #CFE6F7; } .blob.d { background: #CDEBDD; }
.rel { position: relative; z-index: 1; }

/* Hero: the 3D estate tour */
.hero { padding: 0 12px; }
.stage { position: relative; max-width: 1400px; margin: 0 auto; height: clamp(620px, calc(100vh - 160px), 860px); border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, #CFD6F4 0%, #E9E2F6 38%, #FBE6DC 74%, #F7EFE9 100%); box-shadow: var(--shadow-lg); isolation: isolate; view-transition-name: hero; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; z-index: 1; touch-action: pan-y; }
.stage-still { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; transition: opacity 1.2s var(--ease); }
.stage-still svg { width: 118%; max-width: none; height: auto; transform: perspective(1200px) rotateX(52deg) rotateZ(-26deg) translateY(4%); transform-origin: 50% 55%; filter: drop-shadow(0 40px 40px rgba(38, 48, 107, .25)); }
.stage.is-3d .stage-still { opacity: 0; }
.stage-sun { position: absolute; width: 340px; height: 340px; right: 12%; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 214, .95), rgba(255, 236, 214, 0) 68%); z-index: 0; }
.hero-copy { position: absolute; z-index: 3; left: clamp(16px, 3vw, 44px); bottom: clamp(16px, 3vw, 44px); width: min(540px, 40vw); padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .9); }
.hero-copy h1 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); margin-bottom: 14px; }
.hero-copy .lede { font-size: 1.08rem; margin-bottom: 22px; }
.plotcard { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); top: clamp(80px, 9vw, 110px); width: 300px; padding: 20px 22px; border-radius: 26px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); }
.plotcard .pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.plotcard .pc-id { font-family: var(--head); font-size: 1.5rem; }
.plotcard .pc-price { font-family: var(--head); font-size: 1.9rem; color: var(--primary); margin: 6px 0 4px; }
.plotcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 12px 0 16px; font-size: .92rem; }
.plotcard dt { color: var(--muted); font-size: .8rem; }
.plotcard dd { margin: 0; font-weight: 600; }
.plotcard .hint { font-size: .82rem; color: var(--muted); }
.tour-nav { position: absolute; z-index: 3; left: calc(clamp(16px, 3vw, 44px) + min(540px, 40vw) + 28px); bottom: clamp(16px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 8px; max-width: 430px; }
@media (max-width: 1180px) and (min-width: 901px) { .tour-nav { left: clamp(16px, 3vw, 44px); bottom: auto; top: 140px; max-width: 520px; } }
.tour-nav button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .8); backdrop-filter: blur(12px); color: var(--ink); font: 600 .92rem var(--body); cursor: pointer; box-shadow: 0 10px 24px -16px rgba(38, 48, 107, .6); transition: background .25s, transform .3s var(--ease); }
.tour-nav button:hover { transform: translateY(-2px); }
.tour-nav button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.legend { position: absolute; z-index: 3; left: clamp(16px, 3vw, 44px); top: clamp(80px, 9vw, 110px); display: flex; gap: 8px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); font-size: .85rem; font-weight: 600; backdrop-filter: blur(10px); }
.tour-alt { margin-top: 10px; }
@media (max-width: 900px) {
  .stage { height: 64vh; min-height: 470px; border-radius: 32px; }
  .plotcard { top: auto; bottom: 74px; right: 14px; left: 14px; width: auto; padding: 14px 16px; border-radius: 22px; }
  .plotcard dl { grid-template-columns: repeat(4, auto); gap: 4px 12px; margin: 8px 0 0; font-size: .85rem; }
  .plotcard .pc-price { font-size: 1.45rem; margin: 2px 0; }
  .plotcard .pc-act, .plotcard .hint, .plotcard dl div:nth-child(n+3) { display: none; }
  .plotcard dl { display: flex; gap: 14px; margin: 2px 0 0; }
  .plotcard dl dt { display: none; }
  .plotcard .pc-id { font-size: 1.2rem; }
  .plotcard .pc-top { margin-bottom: 0; }
  .legend span { min-height: 30px; font-size: .78rem; padding: 0 10px; }
  .tour-nav { left: 14px; right: 14px; bottom: 14px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; max-width: none; scrollbar-width: none; }
  .tour-nav button { flex: none; }
  .legend { top: 70px; left: 14px; }
  .hero-copy { position: relative; left: auto; bottom: auto; width: auto; margin: -30px 10px 0; z-index: 4; }
  .tour-nav { left: 14px; }
}

/* Live strip */
.live { max-width: 1400px; margin: 18px auto 0; padding: 0 12px; }
.live-in { display: flex; align-items: center; gap: 18px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; white-space: nowrap; color: var(--ink); }
.live-tag i { width: 9px; height: 9px; border-radius: 50%; background: #3E9C79; box-shadow: 0 0 0 0 rgba(62, 156, 121, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 156, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 156, 121, 0); } }
.live-items { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.live-items::-webkit-scrollbar { display: none; }
.live-items span { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--ground); font-size: .92rem; }
.live-items b { font-weight: 700; }
.live-src { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .live-in { border-radius: 26px; flex-wrap: wrap; padding: 14px; gap: 10px; } .live-src { white-space: normal; } }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; position: relative; overflow: hidden; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card.pastel { background: linear-gradient(150deg, #fff, var(--lav)); }
.card.peach { background: linear-gradient(150deg, #fff, var(--blush)); }
.card.skyc { background: linear-gradient(150deg, #fff, var(--sky)); }
.card.mintc { background: linear-gradient(150deg, #fff, var(--mint)); }
.card .ci { width: 52px; height: 52px; margin-bottom: 18px; }
.ph { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #DAD6F1, #F3DCD2); aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .86); font-size: .85rem; font-weight: 600; color: var(--ink); }
.ph.r-sky { background: linear-gradient(135deg, #CFE0F4, #E7E3F6); }
.ph.r-mint { background: linear-gradient(135deg, #CDE8DC, #E4EEF6); }
.ph.r-peach { background: linear-gradient(135deg, #F5D7CA, #E9E1F5); }
.tilt { transition: transform .6s var(--ease), box-shadow .6s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* Estate bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.bento > * { grid-column: span 4; }
.bento .wide { grid-column: span 8; }
.bento .tall { grid-row: span 2; }
@media (max-width: 980px) { .bento > *, .bento .wide { grid-column: span 6; } .bento .tall { grid-row: auto; } }
@media (max-width: 640px) { .bento > *, .bento .wide { grid-column: 1 / -1; } }
.estate-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.estate-card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.estate-card .ec-body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.estate-card .ec-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.estate-card:hover { color: var(--ink); }
.estate-card .from { font-family: var(--head); font-size: 1.35rem; color: var(--primary); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-xl); background: var(--primary); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats > div { padding: clamp(26px, 4vw, 48px) clamp(18px, 3vw, 36px); border-right: 1px solid rgba(255, 255, 255, .14); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; margin-bottom: 10px; color: #fff; }
.stats span { color: #D9DCF3; font-size: .98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); } }

/* Journey: numbered steps on a drawn path */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.journey svg.path { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 60px; z-index: 0; }
.journey svg.path path { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-dasharray: 6 10; }
.journey li { list-style: none; position: relative; z-index: 1; }
.journey .num { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); font-family: var(--head); font-size: 1.5rem; color: var(--primary); margin-bottom: 18px; }
.journey h3 { font-size: 1.2rem; margin-bottom: 8px; }
.journey p { color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .journey { grid-template-columns: 1fr; gap: 12px; } .journey svg.path { display: none; } .journey li { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: start; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, .6); } .journey .num { margin: 0; } }
ol.clean, ul.clean { margin: 0; padding: 0; }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 30px; }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .96rem var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--primary); color: #fff; }
.tabpanel[hidden] { display: none; }
.home-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .home-split { grid-template-columns: 1fr; } }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.spec div { padding: 14px 16px; border-radius: 18px; background: var(--ground); }
.spec dt { font-size: .8rem; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-family: var(--head); font-size: 1.25rem; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr 1fr; } }

/* Ticks and numbered list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--mint); color: #24634D; }
.nlist { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nlist li { counter-increment: n; display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.nlist li::before { content: counter(n, decimal-leading-zero); width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--lav), var(--blush)); display: grid; place-items: center; font-family: var(--head); font-size: 1.2rem; color: var(--primary); }
.nlist h3 { font-size: 1.15rem; margin-bottom: 6px; }
.nlist p { color: var(--muted); }

/* Quote carousel */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; background: var(--surface); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 18px; align-content: space-between; }
.quote blockquote { margin: 0; font-family: var(--head); font-size: 1.24rem; line-height: 1.45; }
.quote footer { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; }
.quote footer i { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--lav)); display: grid; place-items: center; font-style: normal; font-family: var(--head); color: var(--ink); }
.stars { color: var(--accent-ink); letter-spacing: 3px; }

/* AI phone line card */
.aiphone { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: radial-gradient(120% 140% at 0% 0%, #3A4590 0%, #26306B 45%, #161C3D 100%); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.aiphone h2, .aiphone h3 { color: #fff; }
.aiphone p { color: #D9DCF3; }
.aiphone .wave { display: flex; gap: 5px; align-items: center; height: 70px; }
.aiphone .wave i { width: 6px; border-radius: 6px; background: linear-gradient(180deg, var(--accent), #C9C4F2); animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 14px; } 50% { height: 62px; } }
.aiphone .num { font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) { .aiphone { grid-template-columns: 1fr; } }

/* Page hero for inner pages */
.phero { padding: clamp(30px, 5vw, 60px) 0 clamp(30px, 5vw, 50px); position: relative; overflow: hidden; }
.phero-card { position: relative; border-radius: var(--r-xl); padding: clamp(30px, 5vw, 70px); background: radial-gradient(90% 120% at 100% 0%, #FBE3D8 0%, transparent 55%), radial-gradient(80% 120% at 0% 100%, #DCE6F8 0%, transparent 60%), linear-gradient(140deg, #FFFFFF, #EFECFA); box-shadow: var(--shadow); overflow: hidden; view-transition-name: hero; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; position: relative; z-index: 1; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-top: 6px; }
.phero .lede { margin-top: 0; }
.phero-media { margin-top: 28px; display: grid; grid-template-columns: 2fr 1fr; gap: 18px; position: relative; z-index: 1; }
.phero-media .ph { aspect-ratio: 16 / 9; }
.phero-media .ph:last-child { aspect-ratio: auto; }
.phero .spec { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.phero .spec div { background: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; gap: 18px; } .phero-media { grid-template-columns: 1fr; } .phero-media .ph:last-child { display: none; } .phero .spec { grid-template-columns: 1fr 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: #353B5E; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* Accordion */
.acc { display: grid; gap: 12px; }
.acc-item { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; min-height: 64px; padding: 16px 22px; border: 0; background: none; font: 600 1.05rem/1.35 var(--body); color: var(--ink); cursor: pointer; }
.acc-btn .ico { transition: transform .35s var(--ease); width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--lav); }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.acc-panel { padding: 0 22px 22px; color: var(--muted); }

/* Tables */
.tbl-wrap { overflow-x: auto; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #FAF9FD; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.tbl-cards td { white-space: normal; }
@media (max-width: 640px) {
  .tbl-cards thead { display: none; }
  .tbl-cards tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl-cards td { border: 0; padding: 2px 0; }
  .tbl-cards td::before { content: attr(data-th); display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .tbl-cards td.num { text-align: left; }
}

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(22, 28, 61, .16); background: #fff; font: 400 16px/1.4 var(--body); color: var(--ink); transition: border .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(58, 69, 144, .14); }
input[type="range"] { padding: 0; min-height: 44px; border: 0; background: transparent; accent-color: var(--primary); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--primary); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.hint { font-size: .86rem; color: var(--muted); }
.err { display: none; font-size: .86rem; color: #A3292E; font-weight: 600; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #A3292E; }
.thanks { display: none; text-align: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(150deg, #fff, var(--mint)); }
.thanks.show { display: block; animation: menuIn .6s var(--ease); }
.thanks .ci { width: 70px; height: 70px; margin: 0 auto 16px; }
.thanks h3 { margin-bottom: 10px; }
.form-card { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px); }

/* Wizard */
.steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ground); font-size: .9rem; font-weight: 600; color: var(--muted); }
.steps span.on { background: var(--primary); color: #fff; }
.steps span.done { background: var(--mint); color: #1E5743; }
.wstep[hidden] { display: none; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt span { display: grid; gap: 4px; padding: 18px; border-radius: 20px; background: var(--ground); border: 2px solid transparent; min-height: 84px; }
.opt span b { font-weight: 700; }
.opt span small { color: var(--muted); }
.opt input:checked + span { border-color: var(--primary); background: #fff; box-shadow: var(--shadow); }
.opt input:focus-visible + span { outline: 3px solid var(--primary-2); outline-offset: 2px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: .78rem; color: var(--muted); text-align: center; padding: 4px 0; }
.cal button { min-height: 48px; border-radius: 14px; border: 0; background: var(--ground); font: 600 .98rem var(--body); color: var(--ink); cursor: pointer; }
.cal button[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.cal button.few { background: var(--blush); }
.cal button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.slots button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(22, 28, 61, .2); background: #fff; font: 600 .92rem var(--body); cursor: pointer; color: var(--ink); }
.slots button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.summary { display: grid; gap: 10px; padding: 22px; border-radius: 22px; background: var(--ground); }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .tot { font-family: var(--head); font-size: 1.4rem; border-top: 1px solid var(--line); padding-top: 12px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.calc-in { padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.calc-out { padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, var(--primary), #161C3D); color: #fff; display: grid; gap: 16px; align-content: start; }
.calc-out h3, .calc-out b { color: #fff; }
.calc-out .big { font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.calc-out p, .calc-out li { color: #D9DCF3; }
.calc-out .rows { display: grid; gap: 10px; }
.calc-out .rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.rangeval { display: flex; justify-content: space-between; align-items: baseline; }
.rangeval output { font-family: var(--head); font-size: 1.3rem; color: var(--primary); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(232, 180, 160, .35)); border-radius: 6px 6px 2px 2px; transition: height .5s var(--ease); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* Plot finder */
.finder { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 980px) { .finder { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 120px; display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 980px) { .filters { position: static; } }
.planmap { border-radius: var(--r-lg); background: linear-gradient(160deg, #F2F0FB, #EAF3EF); box-shadow: var(--shadow); padding: 14px; margin-bottom: 20px; }
.planmap svg { width: 100%; height: auto; display: block; }
.planmap .plot { cursor: pointer; transition: opacity .25s; }
.planmap .plot:hover, .planmap .plot.sel { stroke: #161C3D; stroke-width: .6; }
.planmap .plot.dim { opacity: .18; }
.plot-list { display: grid; gap: 10px; }
.plot-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.plot-row b.id { font-family: var(--head); font-size: 1.15rem; font-weight: 400; }
.plot-row .pr { font-weight: 700; color: var(--primary); white-space: nowrap; }
@media (max-width: 560px) { .plot-row { grid-template-columns: 1fr auto; } .plot-row .mid { grid-column: 1 / -1; order: 3; } }
.count-line { margin: 0 0 14px; color: var(--muted); }

/* Timeline */
.tline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 22px; }
.tline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--lav)); border-radius: 2px; }
.tline li { position: relative; }
.tline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.tline li.done::before { background: var(--accent); }
.tline li.now::before { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 6px rgba(38, 48, 107, .15); }
.tline time, .tline .when { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tline h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.tline p { color: var(--muted); font-size: .97rem; }
.progress { height: 12px; border-radius: 999px; background: var(--lav); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary-2), var(--accent)); }

/* Gallery and lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery button { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, #DAD6F1, #F3DCD2); position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .w2 { grid-column: span 2; } .gallery .h2 { grid-row: span 2; }
.gallery button span { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: .82rem; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery .w2 { grid-column: span 2; } }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(22, 28, 61, .9); display: none; place-items: center; padding: 70px 16px 40px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox .lb-img { width: 100%; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #3A4590, #8A6C8F); }
.lightbox .lb-img img { width: 100%; height: 100%; object-fit: cover; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; }
.lightbox .lb-x { position: absolute; top: 60px; right: 16px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }

/* Marquee */
.marquee { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: mq 40s linear infinite; }
.marquee-track span { font-family: var(--head); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Comparison table */
.compare td:first-child { font-weight: 600; }
.yes { color: #1E5743; font-weight: 700; }

/* CTA band */
.cta { padding: clamp(60px, 8vw, 100px) 0; }
.cta-in { border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); background: radial-gradient(80% 120% at 0% 0%, #3A4590, transparent 60%), radial-gradient(80% 120% at 100% 100%, #8A4B6E, transparent 65%), #1E2656; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-in h2 { color: #fff; }
.cta-in p { color: #DCDDF2; }
.cta-in .row-btns { justify-content: flex-end; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } .cta-in .row-btns { justify-content: flex-start; } }

/* Footer */
.ftr { padding: 0 12px 24px; }
.ftr-in { max-width: 1400px; margin: 0 auto; border-radius: var(--r-xl); background: linear-gradient(170deg, #1E2656 0%, #161C3D 100%); color: #D9DCF3; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px) 28px; position: relative; overflow: hidden; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; color: #fff; }
.ftr h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); max-width: 16ch; }
.ftr-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 36px 0; }
.ftr-cols h3 { color: #fff; font-size: 1rem; font-family: var(--body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ftr-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ftr-cols li a { display: inline-flex; min-height: 40px; align-items: center; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.ftr .lang { background: rgba(255, 255, 255, .1); }
.ftr .lang button { color: #fff; }
.ftr .lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 999px; padding: 0 16px 0 8px; font: 600 .9rem var(--body); cursor: pointer; }
.toggle i { width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .25); position: relative; transition: background .25s; }
.toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle[aria-pressed="true"] i { background: var(--accent); }
.toggle[aria-pressed="true"] i::after { transform: translateX(16px); }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr; } .ftr-cols { grid-template-columns: 1fr 1fr; } }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 200px; background: rgba(255, 255, 255, .95); }

/* Chat widget: Vablus Sales & Assist */
.vb-launch { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 10px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); cursor: pointer; font: 600 .95rem var(--body); }
.vb-launch .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-2), var(--accent)); color: #fff; }
.vb-launch .av .ico { width: 20px; height: 20px; }
@media (max-width: 760px) { .vb-launch { bottom: 94px; right: 12px; padding: 0 10px; min-height: 52px; } .vb-launch .lbl-t { display: none; } }
.vb { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 90px)); display: none; flex-direction: column; border-radius: 30px; background: var(--surface); box-shadow: 0 40px 100px -30px rgba(22, 28, 61, .55); overflow: hidden; }
.vb.open { display: flex; animation: menuIn .45s var(--ease); }
@media (max-width: 760px) { .vb { right: 12px; left: 12px; width: auto; bottom: 12px; height: calc(100vh - 80px); height: calc(100dvh - 80px); } }
.vb-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: linear-gradient(135deg, var(--primary), #161C3D); color: #fff; }
.vb-head b { display: block; font-size: 1rem; }
.vb-head small { color: #D9DCF3; font-size: .8rem; }
.vb-head .icon-btn { margin-left: auto; background: rgba(255, 255, 255, .14); color: #fff; }
.vb-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #F8F7FC, #fff); }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: .96rem; line-height: 1.5; }
.msg.bot { background: var(--lav); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--primary); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg .q { display: grid; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 14px; background: #fff; }
.msg .q div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.msg .q .t { font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(38, 48, 107, .25); background: #fff; color: var(--primary); font: 600 .88rem var(--body); cursor: pointer; }
.chips button:hover { background: var(--lav); }
.vb-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.vb-form input { min-height: 48px; border-radius: 999px; }
.vb-form .btn { min-height: 48px; padding: 0 18px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bob 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-5px); opacity: .5; } }

/* Receivly modal */
.modal { position: fixed; inset: 0; z-index: 130; background: rgba(22, 28, 61, .55); backdrop-filter: blur(6px); display: none; place-items: center; padding: 60px 14px 20px; overflow-y: auto; }
.modal.open { display: grid; }
.modal-box { width: min(480px, 100%); background: var(--surface); border-radius: 30px; box-shadow: 0 40px 100px -30px rgba(22, 28, 61, .6); overflow: hidden; animation: menuIn .4s var(--ease); }
.rv-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #0F1530; color: #fff; }
.rv-head .rv-logo { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #6EE7C8, #5A7BF0); display: grid; place-items: center; font-weight: 800; color: #0F1530; }
.rv-head b { display: block; }
.rv-head small { color: #C4C8E6; }
.rv-head .icon-btn { margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; }
.rv-body { padding: 22px; display: grid; gap: 16px; }
.rv-amt { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-radius: 18px; background: var(--ground); }
.rv-amt b { font-family: var(--head); font-size: 1.7rem; font-weight: 400; }
.rv-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: var(--ground); }
.rv-tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 600 .95rem var(--body); cursor: pointer; color: var(--ink); }
.rv-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 6px 16px -8px rgba(22, 28, 61, .4); }
.rv-pane[hidden] { display: none; }
.rv-pane .form { grid-template-columns: 1fr 1fr; }
.bank { padding: 16px; border-radius: 18px; border: 1.5px dashed rgba(22, 28, 61, .2); display: grid; gap: 8px; }
.bank div { display: flex; justify-content: space-between; gap: 10px; }
.rv-note { font-size: .82rem; color: var(--muted); text-align: center; }
.spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--lav); border-top-color: var(--primary); animation: sp 0.9s linear infinite; margin: 20px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.receipt { display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: linear-gradient(160deg, #fff, var(--mint)); border: 1px solid rgba(30, 87, 67, .15); }
.receipt div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.receipt .ok { display: flex; align-items: center; gap: 10px; justify-content: flex-start; font-weight: 700; color: #1E5743; }

/* Customer area */
.acct-gate { max-width: 520px; margin: 0 auto; }
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.dash-nav { position: sticky; top: 120px; display: grid; gap: 4px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.dash-nav button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 16px; background: transparent; font: 600 .97rem var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.dash-nav button[aria-selected="true"] { background: var(--lav); }
.dash-main { display: grid; gap: 22px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.kpi small { color: var(--muted); display: block; font-size: .85rem; }
.kpi b { font-family: var(--head); font-weight: 400; font-size: 1.6rem; display: block; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.st-ok { background: var(--mint); color: #1E5743; }
.st-wait { background: var(--blush); color: #7A3F2B; }
.st-info { background: var(--sky); color: #24406B; }
.st-off { background: var(--lav); color: #3D4370; }
.thread { display: grid; gap: 10px; max-height: 360px; overflow-y: auto; padding: 4px; }
@media (max-width: 980px) { .dash { grid-template-columns: 1fr; } .dash-nav { position: static; grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; } .kpis { grid-template-columns: 1fr 1fr; } }

/* Growth report charts */
.chart { width: 100%; height: auto; display: block; }
.chart .gl { stroke: rgba(22, 28, 61, .08); }
.chart text { font: 600 11px var(--body); fill: var(--muted); }
.chart .ln { fill: none; stroke: var(--primary-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .ar { fill: url(#gA); }
.chart .br { fill: var(--accent); }
.chart .br2 { fill: var(--primary-2); }
.example-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--blush); color: #7A3F2B; font-size: .8rem; font-weight: 700; }

/* Receipt page (printable) */
.paper { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 56px); }
.paper .ph-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
@media print { .hdr, .ftr, .vb-launch, .tabbar, #covorn-ribbon, #covorn-ribbon-space, .noprint { display: none !important; } main { padding: 0; } .paper { box-shadow: none; } }

/* Reveal motion (enabled by JS) */
.js .rv { opacity: 0; transform: translateY(26px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.lowdata .blob, .lowdata .marquee-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
.lowdata .js .rv, .lowdata.js .rv { opacity: 1; transform: none; }
.offline-art { width: 220px; margin: 0 auto 20px; }

.stage:not(.is-3d) .tour-nav { display: none; }

.sec-head > .eyebrow { justify-self: start; }
.sec-head.center > .eyebrow { justify-self: center; }
.sec-head.split > div > .eyebrow { margin-bottom: 18px; }
.quote { margin: 0; }
.bento .tall { display: flex; flex-direction: column; }
.bento .tall .ph { aspect-ratio: auto !important; flex: 1; min-height: 340px; }
.ftr .lang-note { color: #B9BCE0; }
.werr { font-size: .86rem; color: #A3292E; font-weight: 600; margin-top: 10px; }
.werr[hidden] { display: none; }
