:root {
  --navy: #323351;
  --navy-deep: #26273F;
  --blue: #3DA5C9;
  --blue-soft: rgba(61, 165, 201, .14);
  --tint: #F1F6FA;
  --ink: #323351;
  --muted: #6B6D88;
  --line: #E3E8EF;
  --shadow: 0 18px 50px rgba(17, 18, 32, .22);
  --shadow-soft: 0 8px 24px rgba(17, 18, 32, .10);
  --font: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --pad: clamp(28px, 4.2vw, 64px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--navy); overscroll-behavior: none; }
body {
  font: 18px/1.5 var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
.icon { width: 24px; height: 24px; flex: none; }
.hidden { display: none !important; }

#app { position: fixed; inset: 0; }
.boot { display: grid; place-items: center; }
.boot-logo { width: min(420px, 60vw); opacity: .9; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.pill .icon { width: 18px; height: 18px; }
.pill.warn { background: #fff; color: var(--navy); }
.pill.good .icon { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 16px;
  font-size: 19px; font-weight: 700;
  transition: transform .12s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
a.btn { text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(61, 165, 201, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-line { border: 2px solid var(--line); color: var(--navy); background: #fff; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- setup ---------- */
.setup {
  position: absolute; inset: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center; padding: calc(var(--safe-t) + 30px) 24px calc(var(--safe-b) + 30px);
}
.setup-card { width: min(460px, 100%); text-align: center; }
.setup-logo { width: 300px; margin: 0 auto 36px; }
.setup h1 { font-size: 32px; margin-bottom: 10px; }
.setup p { color: #CDCFE0; font-size: 18px; }
.code-boxes { display: flex; justify-content: center; gap: 10px; margin: 30px 0 24px; }
.code-boxes span {
  width: 52px; height: 64px; border-radius: 14px; display: grid; place-items: center;
  font-size: 30px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .15);
}
.code-boxes span.on { border-color: var(--blue); }
.setup .error { color: #fff; background: rgba(61, 165, 201, .25); border-radius: 12px; padding: 10px 14px; margin-top: 16px; }

/* ---------- keypad (setup and appraisal) ---------- */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.key {
  height: clamp(60px, 8.6vh, 82px); border-radius: 18px;
  font-size: clamp(26px, 2.7vw, 34px); font-weight: 600;
  display: grid; place-items: center;
  transition: transform .08s ease, background .15s;
}
.key:active { transform: scale(.95); }
.key .icon { width: 32px; height: 32px; }
.setup .key { background: rgba(255, 255, 255, .08); color: #fff; }
.setup .key:active { background: rgba(61, 165, 201, .45); }

/* ---------- today ---------- */
.today {
  position: absolute; inset: 0; background: var(--navy); color: #fff;
  display: flex; flex-direction: column;
}
.today-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(var(--safe-t) + 22px) calc(var(--pad) + var(--safe-r)) 18px calc(var(--pad) + var(--safe-l));
}
.today-top .logo { height: 46px; width: auto; }
.today-status { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.today-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 18px calc(var(--pad) + var(--safe-r)) 30px calc(var(--pad) + var(--safe-l));
}
.today-date { font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1.1; }
.today-hello { color: #CDCFE0; font-size: 20px; margin-top: 6px; }
.list-title { margin: 34px 0 14px; }
.appts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.appt {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: #fff; color: var(--ink); border-radius: 22px; padding: 22px 22px 22px 26px;
  box-shadow: var(--shadow);
}
.appt-time { font-size: 30px; font-weight: 700; color: var(--navy); min-width: 92px; }
.appt-name { font-size: 23px; font-weight: 700; }
.appt-addr { color: var(--muted); font-size: 18px; }
.appt-note { margin-top: 8px; font-size: 16px; color: var(--navy); background: var(--tint); border-radius: 10px; padding: 6px 12px; display: inline-block; }
.appt-flag { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--blue); }
.appt-flag .icon { width: 18px; height: 18px; }
.today-tip { margin-top: 14px; display: inline-block; font-size: 16px; color: #fff; background: rgba(61, 165, 201, .2); border-radius: 12px; padding: 8px 14px; }
.appt-side { display: flex; align-items: center; gap: 14px; }
.appt-done { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 17px; }
.appt-done .icon { color: var(--blue); }
.appt.small { grid-template-columns: auto 1fr auto; padding: 16px 20px; box-shadow: none; background: rgba(255, 255, 255, .07); color: #fff; }
.appt.small .appt-time { color: #fff; font-size: 18px; min-width: 150px; }
.appt.small .appt-name { font-size: 19px; }
.appt.small .appt-addr { color: #CDCFE0; font-size: 16px; }
.appt.small .btn { min-height: 46px; font-size: 17px; padding: 0 18px; }
.empty {
  background: rgba(255, 255, 255, .07); border-radius: 22px; padding: 30px; font-size: 20px; color: #CDCFE0;
}
.today-foot {
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
  padding: 16px calc(var(--pad) + var(--safe-r)) calc(var(--safe-b) + 18px) calc(var(--pad) + var(--safe-l));
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.today-foot .btn { min-height: 50px; font-size: 17px; }
.foot-note { color: #A9ABC2; font-size: 15px; }

/* ---------- presentation ---------- */
/* clip, not just hidden: a hidden box can still be scrolled sideways by focus, which shifts the whole deck */
.present { position: absolute; inset: 0; overflow: hidden; overflow: clip; background: var(--navy); }
.deck { position: absolute; inset: 0; display: flex; transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.slide {
  position: relative; flex: 0 0 100%; height: 100%; overflow: hidden;
  padding: calc(var(--safe-t) + 92px) calc(var(--pad) + var(--safe-r)) calc(var(--safe-b) + 96px) calc(var(--pad) + var(--safe-l));
  display: flex; flex-direction: column; justify-content: center;
}
.theme-navy { background: var(--navy); color: #fff; }
.theme-light { background: #fff; color: var(--ink); }
.theme-tint { background: var(--tint); color: var(--ink); }
.slide h2 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
.slide .lead { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; }
.theme-navy .lead { color: #DADCE8; }

/* entrance animation, staggered with --d */
.rise { opacity: 0; transform: translateY(18px); }
.slide.active .rise { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* chrome */
.chrome {
  position: absolute; left: 0; right: 0; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(var(--safe-t) + 18px) calc(var(--pad) + var(--safe-r)) 0 calc(var(--pad) + var(--safe-l));
  pointer-events: none;
}
.chrome > * { pointer-events: auto; }
.chrome-logo { height: 38px; width: auto; transition: opacity .3s; }
.chrome-btns { display: flex; gap: 10px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 14px;
  font-size: 16px; font-weight: 600; background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px);
}
.chip-btn .icon { width: 20px; height: 20px; }
.present.on-light .chip-btn { background: var(--tint); color: var(--navy); }
.present.on-tint .chip-btn, .present.on-tint .nav-btn.prev { background: #fff; color: var(--navy); box-shadow: var(--shadow-soft); }
.navbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 calc(var(--pad) + var(--safe-r)) calc(var(--safe-b) + 22px) calc(var(--pad) + var(--safe-l));
  pointer-events: none;
}
.navbar > * { pointer-events: auto; }
.nav-btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff; transition: opacity .25s, transform .1s;
}
.nav-btn:active { transform: scale(.92); }
.nav-btn .icon { width: 28px; height: 28px; }
.nav-btn.next { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(61, 165, 201, .35); }
.present.on-light .nav-btn.prev { background: var(--tint); color: var(--navy); }
.nav-btn.off { opacity: 0; pointer-events: none; }
.dots { display: flex; gap: 8px; align-items: center; }
.dot { width: 34px; height: 34px; display: grid; place-items: center; }
.dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: all .25s; }
.present.on-light .dot::after { background: rgba(50, 51, 81, .2); }
.dot.on::after { width: 26px; border-radius: 6px; background: var(--blue) !important; }

/* sections menu */
.menu {
  position: absolute; inset: 0; z-index: 20; background: rgba(38, 39, 63, .96); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--safe-t) + 40px) calc(var(--pad) + var(--safe-r)) calc(var(--safe-b) + 40px) calc(var(--pad) + var(--safe-l));
  animation: fade .2s ease both;
}
@keyframes fade { from { opacity: 0; } }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.menu-head h2 { font-size: 30px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.menu-item {
  text-align: left; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .08);
  font-size: 21px; font-weight: 600; display: flex; gap: 14px; align-items: center;
}
.menu-item span { color: var(--blue); font-weight: 700; min-width: 28px; }
.menu-item.on { background: var(--blue); }
.menu-item.on span { color: #fff; }

/* ---------- slide: welcome ---------- */
.welcome { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.welcome h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.015em; margin: 14px 0 18px; }
.welcome .addr { font-size: clamp(21px, 2.2vw, 30px); color: var(--blue); font-weight: 600; }
.welcome .when { margin-top: 26px; color: #CDCFE0; font-size: clamp(17px, 1.6vw, 21px); }
.presenter { text-align: center; }
.presenter img {
  width: clamp(200px, 23vw, 300px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 auto 20px;
  border: 5px solid var(--blue); box-shadow: 0 26px 60px rgba(17, 18, 32, .5);
}
.presenter strong { display: block; font-size: clamp(21px, 2vw, 27px); }
.presenter span { color: var(--blue); font-size: clamp(16px, 1.5vw, 19px); }
.welcome-rule { margin-top: 30px; height: 3px; width: 120px; background: var(--blue); border-radius: 3px; }

.centered { text-align: center; max-width: 900px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; }

/* ---------- slide: listing ---------- */
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 8px; }
.listing-price { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; color: var(--blue); white-space: nowrap; }
.listing-sub { color: var(--muted); font-size: clamp(18px, 1.8vw, 23px); margin-bottom: clamp(16px, 2.4vh, 26px); }
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * (var(--pad) + var(--safe-r))) 0 calc(-1 * (var(--pad) + var(--safe-l)));
  padding: 4px calc(var(--pad) + var(--safe-r)) 8px calc(var(--pad) + var(--safe-l));
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: none; height: clamp(300px, 46vh, 460px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px;
  scroll-snap-align: start; box-shadow: var(--shadow-soft);
}
.gallery-hint { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin-top: 10px; }
.gallery-hint .icon { width: 18px; height: 18px; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--tint); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); }

/* ---------- slide: video ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; height: 100%; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; }
.ticks .icon { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.theme-navy .ticks li { color: #EDEEF5; }
.phone {
  position: relative; justify-self: center;
  height: min(64vh, 640px); aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 12px;
  background: #111220; box-shadow: 0 34px 80px rgba(17, 18, 32, .6), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #000; display: block; }
.sound-btn {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px;
  background: rgba(17, 18, 32, .72); color: #fff; font-weight: 600; font-size: 16px; white-space: nowrap;
}
.sound-btn .icon { width: 20px; height: 20px; }
.video-caption { margin-top: 22px; color: #A9ABC2; font-size: 16px; }

/* ---------- slide: sneak peek ---------- */
.split-rev { grid-template-columns: 1fr 1.25fr; }
.sneak-big { font-size: clamp(48px, 5.8vw, 80px); line-height: .98; color: var(--blue); letter-spacing: -.02em; margin-top: 6px; }
.sneak-sub { font-size: clamp(22px, 2.5vw, 34px); font-weight: 700; color: var(--blue); margin: 6px 0 14px; }
.sneak-points { list-style: none; padding: 0; margin: clamp(16px, 2.6vh, 26px) 0 0; display: grid; gap: 12px; }
.sneak-points li { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: 16px; padding: 14px 16px; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.4; }
.sneak-points .icon { width: 30px; height: 30px; color: var(--blue); }
.phone.social { display: flex; flex-direction: column; background: #fff; padding: 0; overflow: hidden; border: 11px solid #111220; height: min(70vh, 680px); }
.social-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.social-head img { width: 38px; height: 38px; border-radius: 50%; }
.social-head strong { display: block; font-size: 15px; line-height: 1.2; color: var(--ink); }
.social-head span { font-size: 13px; color: var(--muted); }
.social-caption {
  font-size: 13px; line-height: 1.42; color: var(--ink); margin: 0 14px 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.social-video { position: relative; flex: 1; min-height: 0; background: #000; }
.social-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* ---------- slide: comparables ---------- */
.comp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(14px, 2.4vh, 24px); }
.comp-pages {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin: 0 calc(-1 * (var(--pad) + var(--safe-r))) 0 calc(-1 * (var(--pad) + var(--safe-l)));
  padding: 6px calc(var(--pad) + var(--safe-r)) 10px calc(var(--pad) + var(--safe-l));
}
.comp-pages::-webkit-scrollbar { display: none; }
.comp-page { flex: none; scroll-snap-align: start; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.comp-page img { height: clamp(260px, 44vh, 440px); width: auto; }
.near { color: var(--blue); font-size: .62em; }
.viewer { position: absolute; inset: 0; z-index: 35; background: rgba(38, 39, 63, .97); display: flex; flex-direction: column; animation: fade .2s both; }
.viewer-bar {
  display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 600;
  padding: calc(var(--safe-t) + 16px) calc(var(--pad) + var(--safe-r)) 14px calc(var(--pad) + var(--safe-l));
}
.viewer-btns { display: flex; gap: 10px; }
.viewer-btns .chip-btn[disabled] { opacity: .3; }
.viewer-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 var(--pad) calc(var(--safe-b) + 30px); }
.viewer-scroll img { width: min(100%, 980px); margin: 0 auto; border-radius: 6px; background: #fff; }
.viewer-scroll.zoomed { overflow: auto; }
.viewer-scroll.zoomed img { width: 190%; max-width: none; }
.comp-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(12px, 2vh, 20px); }
.comp-stats div { background: var(--tint); border-radius: 14px; padding: 10px 16px; display: grid; }
.comp-stats strong { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.2; color: var(--navy); }
.comp-stats span { font-size: 14px; color: var(--muted); }

/* ---------- slide: market position ---------- */
.market { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.rank { font-size: clamp(110px, 14vw, 190px); font-weight: 800; line-height: .85; color: var(--blue); letter-spacing: -.04em; margin: 8px 0 12px; }
.rank span { font-size: .38em; letter-spacing: 0; margin-right: 4px; }
.market h2 { margin-bottom: 12px; }
.market .source { margin-top: 18px; color: #A9ABC2; font-size: 15px; }
.market .btn { margin-top: 20px; }
.bars { display: grid; gap: clamp(12px, 2vh, 18px); }
.bar-row { display: grid; grid-template-columns: minmax(110px, 190px) 1fr 52px; gap: 14px; align-items: center; color: #CDCFE0; font-size: clamp(16px, 1.6vw, 20px); }
.bar-track { height: clamp(22px, 3.2vh, 30px); border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar-row.us { color: #fff; font-weight: 700; }
.bar-row.us .bar-fill { background: var(--blue); box-shadow: 0 0 24px rgba(61, 165, 201, .45); }
.bar-val { text-align: right; font-weight: 700; }
.example-ribbon {
  position: absolute; left: 50%; top: calc(var(--safe-t) + 74px); transform: translateX(-50%); z-index: 2;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 999px; white-space: nowrap;
}

/* ---------- slide: process ---------- */
.steps { list-style: none; padding: 0; margin: clamp(18px, 3vh, 34px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; border-radius: 22px; padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  opacity: .14; transform: scale(.97); transition: opacity .45s ease, transform .45s ease, background .45s;
}
.step.shown { opacity: 1; transform: none; }
.step.current { background: rgba(61, 165, 201, .18); border-color: rgba(61, 165, 201, .6); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.step-top .icon { width: 42px; height: 42px; color: var(--blue); }
.step-n { font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.step h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 6px; }
.step p { font-size: clamp(15px, 1.4vw, 18px); color: #DADCE8; line-height: 1.42; }

/* ---------- slide: reviews ---------- */
.rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 clamp(14px, 2.4vh, 26px); }
.rating-n { font-size: clamp(54px, 6vw, 84px); font-weight: 800; line-height: .9; color: var(--navy); }
.stars { display: inline-flex; gap: 4px; color: var(--blue); }
.stars svg { width: clamp(30px, 3vw, 40px); height: clamp(30px, 3vw, 40px); }
.stars.small svg { width: 22px; height: 22px; }
.rating-label { font-size: clamp(19px, 1.9vw, 24px); color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { background: #fff; border-radius: 22px; padding: clamp(18px, 2vw, 26px); box-shadow: var(--shadow-soft); display: grid; gap: 10px; align-content: start; }
.review .quote { font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; line-height: 1.32; color: var(--navy); }
.review .full { font-size: clamp(14px, 1.25vw, 16px); color: var(--muted); line-height: 1.45; }
.review cite { font-style: normal; font-weight: 700; font-size: 15px; color: var(--blue); }

/* ---------- slide: team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vh, 26px) clamp(16px, 2vw, 28px); margin-top: clamp(22px, 4vh, 40px); }
.member {
  margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: clamp(14px, 1.6vw, 22px);
  background: var(--tint); border-radius: 999px 24px 24px 999px; padding: 10px 18px 10px 10px;
}
.member img { grid-row: 1 / span 2; width: clamp(96px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid var(--blue); box-shadow: var(--shadow-soft); }
.member strong { align-self: end; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.2; }
.member span { align-self: start; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.3; margin-top: 4px; }

/* ---------- slide: propertymark ---------- */
.pm { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pm .claim { margin-top: 22px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; color: var(--blue); }
.pm .ticks li { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 16px 18px; margin: 0; }
.pm .ticks { margin: 0; gap: 12px; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 4vh, 40px); }
.logos span { background: #fff; border-radius: 12px; padding: 10px 16px; display: flex; align-items: center; }
.logos img { height: clamp(30px, 3.4vw, 42px); width: auto; }

/* ---------- slide: appraisal ---------- */
.slide-appraise { padding-top: calc(var(--safe-t) + 84px); }
.appraise { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 44px); height: 100%; align-items: stretch; }
.ap-panel {
  background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: clamp(12px, 2vh, 18px); box-shadow: var(--shadow);
}
.ap-panel h2 { font-size: clamp(28px, 3vw, 40px); }
.ap-panel .addr { color: var(--blue); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; margin-top: -6px; }
.field {
  width: 100%; text-align: left; border-radius: 20px; padding: clamp(14px, 2vh, 20px) 22px;
  background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12);
  display: grid; gap: 2px; transition: border-color .2s, background .2s;
}
.field.active { border-color: var(--blue); background: rgba(61, 165, 201, .14); }
.field-label { font-size: 15px; font-weight: 600; color: #CDCFE0; display: flex; justify-content: space-between; }
.field-label em { font-style: normal; color: var(--blue); }
.field-value { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.field-figure .field-value { font-size: clamp(44px, 5.4vw, 74px); }
.field-value.placeholder { color: rgba(255, 255, 255, .3); }
.sendto { margin-top: auto; display: flex; align-items: center; gap: 10px; color: #CDCFE0; font-size: 16px; word-break: break-all; }
.sendto .icon { width: 20px; height: 20px; color: var(--blue); }
.ap-pad { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ap-pad .key { background: var(--tint); color: var(--navy); }
.ap-pad .key:active { background: rgba(61, 165, 201, .3); }
.ap-pad .btn { min-height: clamp(62px, 8.6vh, 76px); font-size: clamp(20px, 2vw, 23px); border-radius: 20px; }

/* ---------- modal and result ---------- */
.modal-back { position: absolute; inset: 0; z-index: 30; background: rgba(17, 18, 32, .55); display: grid; place-items: center; padding: 24px; animation: fade .2s both; }
.modal { width: min(560px, 100%); background: #fff; color: var(--ink); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); animation: pop .25s cubic-bezier(.2, .8, .2, 1.2) both; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal h3 { font-size: 28px; margin-bottom: 10px; }
.modal .big { font-size: 46px; font-weight: 800; color: var(--navy); margin: 8px 0; }
.modal p { color: var(--muted); font-size: 18px; }
.modal-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin-top: 26px; }
.result {
  position: absolute; inset: 0; z-index: 25; background: var(--navy); color: #fff;
  display: grid; place-items: center; text-align: center; padding: 40px; animation: fade .3s both;
}
.result-tick { width: 120px; height: 120px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto 28px; animation: pop .4s .1s both; }
.result-tick .icon { width: 64px; height: 64px; color: #fff; stroke-width: 2.6; }
.result h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 12px; }
.result p { color: #CDCFE0; font-size: 21px; max-width: 640px; margin: 0 auto 30px; }

/* ---------- toast ---------- */
.toast {
  position: absolute; left: 50%; top: calc(var(--safe-t) + 20px); transform: translateX(-50%); z-index: 40;
  background: #fff; color: var(--navy); font-weight: 600; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow);
  animation: pop .25s both;
}

/* ---------- portrait ---------- */
@media (orientation: portrait) {
  .welcome, .split, .split-rev, .pm, .appraise, .market { grid-template-columns: 1fr; }
  .welcome .presenter { display: none; }
  .split .phone { height: min(42vh, 520px); }
  .split-rev .phone { order: 2; }
  .sneak-points li:nth-child(n + 2) { display: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .reviews .review:nth-child(n + 3) { display: none; }
  .appraise { grid-template-rows: auto 1fr; }
}
