/*
 * Nezdoo — nezdoo.com home page
 *
 * The palette is the app's (src/theme/tokens.ts), the same values styles.css
 * carries for the document pages. Keep both in step with the app by hand.
 * Every animation stops under prefers-reduced-motion (bottom of this file).
 */

:root {
  --coral: #f0674a;
  --coral-pressed: #d9573c;
  --coral-soft: #fdebe6;
  --coral-border: #f7c9bc;
  --peach: #f7b8a2;
  --navy: #16233d;
  --navy-pressed: #0f1930;
  --text-2: #7a7f8c;
  --text-3: #9aa0ac;
  --bg: #fdf8f4;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --warm: #f6f0ea;
  --photo: #f5e8dc;
  --avatar: #f3e3d6;
  --avatar-text: #8a6a57;
  --border: rgba(22, 35, 61, 0.11);
  --divider: rgba(22, 35, 61, 0.08);
  --success: #1e9e62;
  --success-soft: #e6f5ec;
  --amber: #c98a12;
  --amber-soft: #fdf3e0;
  --info: #2a6fd6;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-lg: 0 30px 80px -24px rgba(22, 35, 61, 0.28), 0 12px 28px -12px rgba(22, 35, 61, 0.16);
  --shadow-md: 0 14px 34px -14px rgba(22, 35, 61, 0.22);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  color: var(--coral-pressed);
}

button {
  font: inherit;
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

:focus-visible {
  outline: 2.5px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h2 em,
h1 em {
  font-style: normal;
  color: var(--coral);
}

/* A detail only the owner of the site can fill in — loud on purpose. */
.fill {
  background: #fff3cd;
  color: var(--navy);
  border-bottom: 2px dotted var(--coral);
  padding: 0 4px;
  font-weight: 500;
}

/* ================= progress + nav ================= */

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--coral), var(--peach));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px var(--gutter);
  transition: padding 0.4s var(--ease);
}

.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  padding-top: 10px;
}

.nav.scrolled .nav-in {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(22, 35, 61, 0.07);
  box-shadow: 0 10px 30px -18px rgba(22, 35, 61, 0.3);
}

.brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 15.5px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}

.nav-links a:hover {
  background: var(--coral-soft);
  color: var(--coral-pressed);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background 0.25s;
}

.nav-cta:hover {
  color: #fff;
  background: var(--navy-pressed);
}

.dot-live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  flex: none;
}

.dot-live::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--coral);
  animation: ping 1.8s var(--ease) infinite;
}

@keyframes ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease);
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 24px;
}

.nav.open .burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.open .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ================= buttons ================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16.5px;
  transition: background 0.25s, color 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
  will-change: transform;
}

.btn svg {
  font-size: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(240, 103, 74, 0.7);
}

.btn-coral:hover {
  background: var(--coral-pressed);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(240, 103, 74, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border: 1.5px solid rgba(22, 35, 61, 0.16);
}

.btn-ghost:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: #fff;
}

.btn-ghost.light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost.light:hover {
  background: #fff;
  color: var(--navy);
}

.mini-btn {
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  transition: background 0.2s, transform 0.2s var(--spring), opacity 0.2s;
}

.mini-btn:hover {
  background: var(--navy-pressed);
}

.mini-btn:active {
  transform: scale(0.94);
}

.mini-btn.ghost {
  background: var(--surface);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(22, 35, 61, 0.16);
}

.mini-btn.ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.mini-btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

/* ================= hero ================= */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--gutter) 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.6;
  animation: drift 18s ease-in-out infinite alternate;
}

.b1 {
  width: 560px;
  height: 560px;
  background: #fbd3c4;
  top: -160px;
  right: -120px;
}

.b2 {
  width: 420px;
  height: 420px;
  background: #fde6d8;
  bottom: -140px;
  left: -120px;
  animation-delay: -6s;
}

.b3 {
  width: 300px;
  height: 300px;
  background: #ffd9b8;
  top: 40%;
  left: 45%;
  opacity: 0.35;
  animation-delay: -11s;
}

@keyframes drift {
  to {
    transform: translate(40px, 30px) scale(1.12);
  }
}

.hero-in {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--coral-border);
  color: var(--coral-pressed);
  border-radius: 999px;
  padding: 8px 16px 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(52px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 26px 0 26px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero-title .w {
  display: inline-block;
  transform: translateY(105%);
  animation: rise-in 1s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--d) * 0.09s);
}

.hero-title .accent {
  color: var(--coral);
  position: relative;
}

.scribble {
  position: absolute;
  left: 0;
  bottom: -0.02em;
  width: 100%;
  height: 0.22em;
  stroke: var(--coral);
  stroke-width: 5;
  overflow: visible;
}

.scribble path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s var(--ease) 1.05s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes rise-in {
  to {
    transform: none;
  }
}

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.9s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--d) * 0.09s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-2);
  max-width: 33em;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  list-style: none;
  padding: 0;
  margin: 38px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-2);
  font-size: 14.5px;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  color: var(--coral);
  font-size: 18px;
}

/* stage */

.hero-stage {
  position: relative;
  height: min(720px, 82vh);
  min-height: 600px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.hero-art {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(640px, 112%);
  translate: -50% -48%;
  z-index: 0;
  opacity: 0;
  animation: art-in 1.6s var(--ease) 0.2s forwards;
}

.hero-art img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

@keyframes art-in {
  from {
    opacity: 0;
    scale: 0.92;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.tilt {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  opacity: 0;
  animation: phone-in 1.3s var(--ease) 0.45s forwards;
}

@keyframes phone-in {
  from {
    opacity: 0;
    translate: 0 60px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  transform: translateZ(60px);
  opacity: 0;
  animation: pop 0.8s var(--spring) forwards, bob 6s ease-in-out infinite;
}

.float b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.float small {
  color: var(--text-2);
  font-size: 12.5px;
}

.fi {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.fi.green {
  background: var(--success-soft);
  color: var(--success);
}

.fi.coral {
  background: var(--coral);
  color: #fff;
  stroke-width: 2.4;
}

.fi.navy {
  background: var(--navy);
  color: #fff;
}

.f1 {
  top: 9%;
  right: -56%;
  animation-delay: 1.3s, 2.1s;
}

.f2 {
  top: 56%;
  right: -58%;
  animation-delay: 1.75s, 2.6s;
}

.f3 {
  bottom: 8%;
  left: -50%;
  animation-delay: 2.2s, 3.1s;
}

@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(22, 35, 61, 0.25);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--coral);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  60% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ================= phone ================= */

.phone-wrap {
  --s: 1;
  width: calc(300px * var(--s));
  height: calc(624px * var(--s));
  position: relative;
}

.phone {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 624px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  border-radius: 48px;
  background: var(--navy);
  padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3a58;
}

.phone::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 150px;
  width: 3px;
  height: 64px;
  border-radius: 0 3px 3px 0;
  background: #22314f;
}

.island {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 20px;
  background: #0b1120;
  z-index: 5;
}

.screen {
  position: absolute;
  inset: 10px;
  border-radius: 38px;
  background: #fff;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  color: var(--navy);
}

.screen b {
  font-weight: 600;
}

.screen small {
  display: block;
  color: var(--text-2);
  font-size: 10.5px;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 4px 26px 0 30px;
  font-size: 12.5px;
  font-weight: 600;
}

.status.light {
  color: #fff;
}

.sb {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.sb i {
  width: 3px;
  background: currentColor;
  border-radius: 1px;
}

.sb i:nth-child(1) {
  height: 5px;
}

.sb i:nth-child(2) {
  height: 8px;
}

.sb i:nth-child(3) {
  height: 11px;
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.icon-btn em {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 7px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--divider);
  box-shadow: 0 8px 24px -10px rgba(22, 35, 61, 0.25);
}

.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9.5px;
  color: var(--text-2);
}

.tabbar svg {
  font-size: 18px;
}

.tabbar .on {
  color: var(--coral);
}

.sc-head {
  padding: 4px 18px 12px;
}

.sc-head b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  height: 46px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
}

/* hero phone: tenant home */

.ah-top {
  display: flex;
  justify-content: space-between;
  padding: 2px 18px 0;
}

.ah-title {
  font-size: 25px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ah-title b {
  color: var(--coral);
  font-weight: 700;
}

.ah-title u {
  color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ah-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 0;
  font-size: 11.5px;
  font-weight: 500;
}

.ah-loc svg {
  color: var(--coral);
}

.ah-loc span {
  margin-left: auto;
  color: var(--coral);
  font-weight: 600;
}

.ah-search {
  margin: 12px 14px 0;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--text-3);
  font-size: 12px;
  box-shadow: 0 6px 18px -12px rgba(22, 35, 61, 0.3);
}

.ah-search.typing {
  color: var(--navy);
}

.caret {
  width: 1.5px;
  height: 14px;
  background: var(--coral);
  margin-left: -6px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.ah-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 10px;
}

.ah-sec b {
  font-size: 14px;
}

.round {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
}

.ah-rail {
  display: flex;
  gap: 10px;
  padding-left: 14px;
  animation: rail 9s var(--ease) 2.5s infinite;
}

@keyframes rail {
  0%,
  40% {
    transform: none;
  }
  50%,
  90% {
    transform: translateX(-118px);
  }
}

.pg-card {
  width: 160px;
  flex: none;
}

.pg-ph {
  position: relative;
  height: 118px;
  border-radius: 14px;
  background: var(--photo) center / cover;
  margin-bottom: 7px;
}

.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fff;
  color: var(--coral);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
}

.hrt {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.pg-card > b {
  font-size: 12.5px;
}

.pg-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
}

.price {
  color: var(--coral);
  font-weight: 600;
}

.rate {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  font-size: 11px;
}

.rate svg {
  fill: #f2a93b;
  stroke: #f2a93b;
}

.rate small {
  display: inline;
  font-weight: 400;
}

/* ================= marquee ================= */

.marquee {
  padding: 26px 0;
  border-block: 1px solid var(--divider);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mq-row {
  display: flex;
  width: max-content;
}

.mq-track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  animation: mq 38s linear infinite;
}

.mq-row.rev .mq-track {
  animation-direction: reverse;
  animation-duration: 44s;
}

.mq-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}

.mq-track svg {
  color: var(--coral);
  font-size: 20px;
}

@keyframes mq {
  to {
    transform: translateX(-100%);
  }
}

/* ================= section heads ================= */

.sec-head {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.sec-head.left {
  text-align: left;
  margin: 0;
}

.sec-head h2,
.owners-head h2,
.final h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.sec-head p {
  color: var(--text-2);
  margin-top: 18px;
}

.kicker {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}

.kicker.light {
  color: var(--peach);
}

/* ================= tenants story ================= */

.tenants {
  padding: 130px var(--gutter) 60px;
}

.story {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.story-stage {
  position: sticky;
  top: calc(50vh - 330px);
  height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.story-stage::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbd3c4 0%, rgba(253, 248, 244, 0) 70%);
  z-index: -1;
}

.story-dots {
  display: flex;
  gap: 8px;
}

.story-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.15);
  transition: width 0.5s var(--ease), background 0.3s;
}

.story-dots i.on {
  width: 26px;
  background: var(--coral);
}

.sc {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), visibility 0s 0.6s;
}

.sc.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), visibility 0s;
}

.story-steps {
  padding: 18vh 0 22vh;
}

.step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease);
}

.step.on {
  opacity: 1;
}

.step-n {
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.step h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.step p {
  color: var(--text-2);
  margin: 0;
  max-width: 30em;
}

.step .try {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--coral-pressed);
  font-weight: 500;
  font-size: 15px;
}

/* map screen */

.map {
  position: relative;
  margin: 0 14px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

.map-svg {
  display: block;
  color: #fff;
  width: 100%;
  height: 100%;
  stroke-width: 1;
}

.mp-road {
  stroke: #fff;
  stroke-width: 3;
}

.mp-road.big {
  stroke-width: 7;
}

.mp-water {
  stroke: #cfe0f2;
  stroke-width: 16;
}

.mp-park {
  fill: #e2ecd6;
  stroke: none;
}

.radius {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--r, 3) * 58px);
  height: calc(var(--r, 3) * 58px);
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(240, 103, 74, 0.13);
  border: 2px solid var(--coral);
  transition: width 0.45s var(--spring), height 0.45s var(--spring);
}

.anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.pin {
  position: absolute;
  translate: -50% -100%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: #c3c7cf;
  border: 2px solid #fff;
  transition: background 0.35s, scale 0.35s var(--spring);
  z-index: 1;
}

.pin.in {
  background: var(--coral);
  scale: 1.12;
}

.map-card {
  margin: 12px 14px 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.mc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mc-row b {
  font-size: 15px;
  font-weight: 700;
}

.mc-row span {
  color: var(--text-2);
  font-size: 11.5px;
}

.mc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-3);
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  margin: 4px 0 0;
  cursor: grab;
}

input[type='range']::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--coral) var(--fill, 50%), rgba(22, 35, 61, 0.1) var(--fill, 50%));
}

input[type='range']::-moz-range-track {
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--coral) var(--fill, 50%), rgba(22, 35, 61, 0.1) var(--fill, 50%));
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8.5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--coral);
  box-shadow: 0 3px 10px rgba(240, 103, 74, 0.4);
}

input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--coral);
}

/* pg detail screen */

.pd-photo {
  height: 210px;
  background: var(--photo) center / cover;
  position: relative;
}

.pd-photo::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 70px;
  background: linear-gradient(rgba(22, 35, 61, 0.45), rgba(22, 35, 61, 0));
}

.pd-photo .status {
  position: relative;
}

.pd-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(22, 35, 61, 0.6);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
}

.pd-body {
  padding: 14px 16px;
  margin-top: -16px;
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
}

.pd-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-title b {
  font-size: 17px;
  font-weight: 700;
}

.muted {
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.muted svg {
  color: var(--coral);
}

.pd-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 14px 0 6px;
}

.room-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  margin-bottom: 6px;
}

.room-row > div:first-child {
  flex: 1;
}

.room-row > span {
  font-weight: 700;
  font-size: 13px;
}

.room-row.hi {
  border-color: var(--coral-border);
  background: var(--coral-soft);
}

.beds {
  display: flex;
  gap: 3px;
}

.beds i {
  width: 9px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid var(--success);
  background: var(--success-soft);
}

.beds i.t {
  border-color: #c3c7cf;
  background: #e6e8ec;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-alt);
}

.chips svg {
  color: var(--coral);
}

/* booking screen */

.bk-card {
  margin: 0 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}

.bk-top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}

.bk-th {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: center / cover;
  flex: none;
}

.timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  opacity: 0.35;
  transition: opacity 0.5s;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--divider);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c3c7cf;
  background: #fff;
  flex: none;
  position: relative;
  transition: background 0.4s, border-color 0.4s;
}

.timeline li.lit {
  opacity: 1;
}

.timeline li.lit i {
  border-color: var(--success);
  background: var(--success);
}

.timeline li.lit i::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
}

.timeline li.acc.lit b {
  color: var(--success);
}

.bk-note {
  margin: 14px;
  display: flex;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--text-2);
  font-size: 11.5px;
}

.bk-note svg {
  font-size: 16px;
  color: var(--coral);
  margin-top: 1px;
}

/* my pg screen */

.meal {
  margin: 0 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.meal-ph {
  height: 150px;
  background: center / cover;
  position: relative;
}

.meal-ph span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.meal-q {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.meal-q b {
  font-size: 12.5px;
}

.yn {
  display: flex;
  gap: 6px;
}

.yn button {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.25s var(--spring);
}

.yn button.on[data-v='yes'] {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
  transform: scale(1.06);
}

.yn button.on[data-v='no'] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: scale(1.06);
}

.rows {
  margin: 12px 14px 0;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.row + .row {
  border-top: 1px solid var(--divider);
}

.row > div {
  flex: 1;
}

.row b {
  font-size: 12.5px;
}

.ri {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.ri.green {
  background: var(--success-soft);
  color: var(--success);
}

.chev {
  color: var(--text-3);
}

.pill-paid {
  font-size: 10px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ================= photo band ================= */

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 140px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
  align-items: center;
}

.band-card {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow-md);
  background: var(--photo);
}

.band-card.tall {
  height: 540px;
}

.band-img {
  position: absolute;
  inset: -12% 0;
}

.band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease);
}

.band-card:hover .band-img img {
  scale: 1.06;
}

.band-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 80px 26px 24px;
  background: linear-gradient(rgba(22, 35, 61, 0), rgba(22, 35, 61, 0.82));
  color: #fff;
}

.band-card figcaption span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--coral);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.band-card figcaption b {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ================= owners ================= */

.owners {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 140px var(--gutter) 140px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 48px 48px 0 0;
}

.owners-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  z-index: -1;
}

.owners-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.owners-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 35, 61, 0.35) 0%, rgba(22, 35, 61, 0.7) 50%, var(--navy) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(240, 103, 74, 0.28), transparent 60%);
}

.owners-in {
  max-width: var(--max);
  margin: 0 auto;
}

.owners-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 90px;
}

.owners-head em {
  color: var(--peach);
}

.owners-head p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  max-width: 28em;
  margin: 24px 0 0;
}

.owner-phone {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.owner-phone .phone {
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #3a4a6b;
  background: #0b1120;
}

.illus {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* dashboard screen */

.collect {
  margin: 0 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}

.collect > small {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  font-size: 9.5px;
  font-weight: 600;
}

.col-num {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 4px 0 8px;
}

.col-num b {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.col-num > span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.col-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.col-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 6px;
  background: var(--coral);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease), width 0.8s var(--ease);
}

.in .col-bar i,
.col-bar.go i {
  transform: none;
}

.col-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.col-stats b {
  font-size: 15px;
  font-weight: 700;
}

.col-stats small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
}

.att-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 18px 8px;
}

.att-h b {
  font-size: 14px;
}

.att {
  margin: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.att > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.att > div + div {
  border-top: 1px solid var(--divider);
}

.att > div > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.att i.c {
  background: var(--coral);
}

.att i.a {
  background: #f2a93b;
}

.att i.b {
  background: var(--info);
}

.att b {
  font-size: 12px;
}

/* bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}

.tile:hover {
  border-color: rgba(247, 184, 162, 0.4);
  transform: translateY(-4px);
}

.tile.wide {
  grid-column: span 2;
}

.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(240, 103, 74, 0.16), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.spot:hover::before {
  opacity: 1;
}

.t-head {
  display: flex;
  gap: 16px;
}

.t-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(240, 103, 74, 0.16);
  color: var(--peach);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: none;
}

.tile h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
}

.tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.5px;
  line-height: 1.55;
}

.demo {
  margin-top: auto;
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 16px;
  font-size: 14px;
  position: relative;
}

.demo small {
  display: block;
  color: var(--text-2);
  font-size: 12.5px;
}

.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--avatar);
  color: var(--avatar-text);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  flex: none;
}

/* accept */

.req {
  display: flex;
  gap: 10px;
  align-items: center;
}

.room-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-alt);
}

.rlab {
  font-size: 12.5px;
  font-weight: 600;
  margin-right: auto;
}

.room-grid i {
  width: 26px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid var(--success);
  background: var(--success-soft);
  transition: all 0.45s var(--spring);
}

.room-grid i.pick {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 0 0 3px rgba(240, 103, 74, 0.18);
}

.room-grid i.taken {
  border-color: #c3c7cf;
  background: #e6e8ec;
}

.accept.done .room-grid i.pick {
  background: var(--coral);
  transform: translateY(-3px);
  box-shadow: none;
}

.acc-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acc-msg {
  font-size: 13px;
  color: var(--success);
  font-weight: 500;
}

/* ledger */

.lg-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.lg-row + .lg-row {
  border-top: 1px solid var(--divider);
}

.amt {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.st {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  min-width: 70px;
  text-align: center;
  transition: all 0.35s;
}

.st.over {
  color: #c0392b;
  background: #fdecec;
}

.st.due {
  color: var(--amber);
  background: var(--amber-soft);
}

.st.paid {
  color: var(--success);
  background: var(--success-soft);
  animation: pop 0.5s var(--spring);
}

.lg-modes {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px;
  font-size: 13px;
  color: var(--text-2);
}

.lg-modes span {
  margin-right: 4px;
}

.lg-modes button {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s;
}

.lg-modes button.on {
  border-color: var(--coral-border);
  background: var(--coral-soft);
  color: var(--coral-pressed);
}

.lg-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}

.lg-total b {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.lg-total .col-bar {
  grid-column: 1 / -1;
}

/* chart — single series, one hue; bars grow from the baseline */

.ch-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  border-bottom: 1px solid var(--divider);
}

.bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  cursor: default;
}

.bar i {
  width: 100%;
  max-width: 30px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--coral);
  opacity: 0.55;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1s var(--ease), opacity 0.2s;
  transition-delay: calc(var(--i) * 70ms), 0s;
}

.bar.last i,
.bar:hover i {
  opacity: 1;
}

.in .bar i {
  transform: none;
}

.bar span {
  position: absolute;
  bottom: -20px;
  font-size: 11px;
  color: var(--text-2);
}

.bar .val {
  font-style: normal;
  position: absolute;
  bottom: calc(var(--h) + 4px);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

.chart {
  padding-bottom: 30px;
}

.ch-tip {
  position: absolute;
  pointer-events: none;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  translate: -50% -100%;
  transition: opacity 0.15s;
}

.ch-tip.show {
  opacity: 1;
}

/* menu */

.bubble {
  background: #e9f7ee;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  font-size: 14px;
}

.bubble b {
  display: block;
  margin: 2px 0 4px;
  font-weight: 600;
}

.bubble .link {
  color: var(--info);
  font-size: 13px;
  text-decoration: underline;
}

.head-count {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.head-count b {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.head-count b.bump {
  animation: bump 0.4s var(--spring);
}

@keyframes bump {
  50% {
    transform: scale(1.3);
    color: var(--coral);
  }
}

.hc-btns {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

/* code */

.code {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 12px;
  perspective: 400px;
}

.code span {
  width: 44px;
  height: 56px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.code span.flip {
  animation: flip 0.5s var(--ease);
}

@keyframes flip {
  0% {
    transform: rotateX(0);
  }
  50% {
    transform: rotateX(90deg);
    background: var(--coral-soft);
  }
  100% {
    transform: rotateX(0);
  }
}

/* ticket */

.tk {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tk-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.tk-track i {
  flex: 1;
  height: 2px;
  background: var(--divider);
  position: relative;
  overflow: hidden;
}

.tk-track i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--success);
  transform: scaleX(var(--f, 0));
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}

.tk-track .s {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-3);
  white-space: nowrap;
  transition: all 0.4s;
}

.tk-track .s.on {
  background: var(--success-soft);
  color: var(--success);
}

/* ticks */

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.ticks svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(30, 158, 98, 0.2);
  color: #6fd3a0;
  stroke-width: 2.4;
}

/* ================= trust ================= */

.trust {
  padding: 140px var(--gutter);
}

.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.promise {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.promise:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.promise .big {
  font-size: 68px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--coral);
  margin-bottom: 16px;
}

.promise .big small {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.promise h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

.promise p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

/* ================= faq ================= */

.faq {
  padding: 40px var(--gutter) 140px;
}

.faq-in {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq .sec-head {
  position: sticky;
  top: 110px;
}

.qa details {
  border-bottom: 1px solid var(--border);
}

.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:hover {
  color: var(--coral-pressed);
}

.qa summary svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  transition: transform 0.4s var(--ease), background 0.3s;
}

.qa details[open] summary svg {
  transform: rotate(180deg);
  background: var(--coral);
  color: #fff;
}

.qa details p {
  margin: 0;
  padding: 0 60px 24px 4px;
  color: var(--text-2);
}

.qa details[open] p {
  animation: fade-up 0.5s var(--ease);
}

/* ================= final ================= */

.final {
  padding: 0 var(--gutter) 120px;
}

.final-card {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--coral) 0%, #e8573b 55%, #d9573c 100%);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  isolation: isolate;
}

.final-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.25), transparent 50%);
  z-index: -1;
}

.final-copy {
  padding: 70px 0 70px 64px;
}

.final h2 em {
  color: var(--navy);
}

.final p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  margin: 20px 0 30px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 10px 20px 10px 14px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
}

.store svg {
  font-size: 26px;
}

.store small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.final-art {
  align-self: end;
  justify-self: end;
}

.final-art img {
  width: min(480px, 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  animation: bob 7s ease-in-out infinite;
}

/* ================= footer ================= */

.foot {
  padding: 50px var(--gutter) 60px;
  border-top: 1px solid var(--divider);
  color: var(--text-3);
  font-size: 14.5px;
}

.foot-in {
  max-width: var(--max);
  margin: 0 auto;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.foot-links a {
  color: var(--text-2);
  font-weight: 500;
}

.foot-links a:hover {
  color: var(--coral);
}

.fine {
  margin: 26px 0 0;
  max-width: 50em;
}

.fine.credit {
  margin-top: 8px;
  font-size: 13px;
}

/* ================= reveal ================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ================= responsive ================= */

@media (max-width: 1100px) {
  .f1 {
    right: -40%;
  }
  .f2 {
    right: -20%;
  }
  .f3 {
    left: -14%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(253, 248, 244, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
    z-index: -1;
  }
  .nav-links a {
    font-size: 30px;
    font-weight: 600;
    padding: 10px 24px;
  }
  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease);
  }
  .nav.open .nav-in {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
    backdrop-filter: none;
  }
  .burger {
    display: block;
  }
  .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 110px;
  }
  .hero-in {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-copy {
    text-align: center;
  }
  .lead {
    margin-inline: auto;
  }
  .hero-ctas,
  .hero-proof {
    justify-content: center;
  }
  .hero-stage {
    height: 640px;
    min-height: 0;
  }
  .f1 {
    right: -30%;
  }
  .f2 {
    right: -18%;
  }
  .f3 {
    left: -10%;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .story-stage {
    position: relative;
    top: 0;
    height: auto;
  }
  .story-steps {
    padding: 28px 0 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .story-steps::-webkit-scrollbar {
    display: none;
  }
  .step {
    min-height: 0;
    flex: 0 0 min(86%, 420px);
    scroll-snap-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    opacity: 0.55;
  }
  .step h3 {
    font-size: 24px;
  }

  .band {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }
  .band-card,
  .band-card.tall {
    height: 380px;
  }

  .owners {
    border-radius: 32px 32px 0 0;
    padding-top: 100px;
  }
  .owners-head {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .owners-head p {
    margin-inline: auto;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .faq-in {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq .sec-head {
    position: static;
  }

  .final-card {
    grid-template-columns: 1fr;
  }
  .final-copy {
    padding: 50px 32px 10px;
    text-align: center;
  }
  .stores {
    justify-content: center;
  }
  .final-art {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .nav-cta {
    display: none;
  }
  .burger {
    margin-left: auto;
  }
  .hero-title {
    font-size: clamp(46px, 14vw, 64px);
  }
  .hero-stage {
    height: 560px;
  }
  .hero-stage .phone-wrap,
  .story-stage .phone-wrap,
  .owner-phone .phone-wrap {
    --s: 0.82;
  }
  .float {
    padding: 9px 14px 9px 9px;
    gap: 9px;
  }
  .fi {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .float b {
    font-size: 13.5px;
  }
  .float small {
    font-size: 11.5px;
  }
  .f1 {
    display: none;
  }
  .f2 {
    top: 50%;
    right: -4%;
  }
  .f3 {
    bottom: 6%;
    left: 0;
  }
  .hero-proof {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .sec-head {
    margin-bottom: 40px;
  }
  .tenants,
  .trust {
    padding-block: 90px;
  }
  .bento,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .tile.wide {
    grid-column: auto;
  }
  .tile {
    padding: 22px;
  }
  .lg-row {
    grid-template-columns: auto 1fr auto;
  }
  .lg-row .amt {
    display: none;
  }
  .lg-row .mini-btn {
    grid-column: 2 / -1;
    justify-self: end;
  }
  .lg-row .st {
    grid-column: 3;
    grid-row: 1;
  }
  .tk-track .s {
    font-size: 11px;
    padding: 5px 8px;
  }
  .head-count {
    flex-wrap: wrap;
  }
  .qa summary {
    font-size: 17.5px;
  }
  .qa details p {
    padding-right: 10px;
  }
  .final-copy {
    padding: 44px 22px 0;
  }
  .final-card {
    border-radius: 30px;
  }
  .promise .big {
    font-size: 56px;
  }
}

@media (max-width: 380px) {
  .hero-stage .phone-wrap {
    --s: 0.74;
  }
  .float small {
    display: none;
  }
}

/* ================= reduced motion ================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .mq-track {
    animation: none !important;
  }
  .marquee {
    overflow-x: auto;
  }
}
