/* Hommie landing page. Brand: Inter, indigo #4F46E5, ink #111827, mint, coral, lilac. */
:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-soft: #eef0fe;
  --lilac: #b5abfc;
  --coral: #ff7a70;
  --mint: #34d399;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e7e9f3;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 28px;
  --max: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--indigo);
}
.section { padding: 110px 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); max-width: 620px; margin-top: 14px; }
.section-head p { max-width: 380px; font-size: 16px; }
.center-head { text-align: center; margin-bottom: 56px; }
.center-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 14px auto 0; max-width: 700px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 'Inter', sans-serif; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.7); }
.btn-primary:hover { background: var(--indigo-dark); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cfd3e6; }
.btn svg { width: 18px; height: 18px; }

/* store badges: dark App Store + light Google Play, as on the reference */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px 0 16px; border-radius: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.1; opacity: 0.85; }
.store strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.store-dark { background: #0b0b10; color: #fff; }
.store-light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 20px -10px rgba(17, 24, 39, 0.25); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-inner { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(880px, calc(100% - 32px)); height: 60px; margin: 0 auto; padding: 0 9px 0 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); border: 1px solid rgba(79, 70, 229, 0.12); box-shadow: 0 10px 30px -14px rgba(31, 27, 90, 0.28); transition: box-shadow 0.3s, background 0.3s; }
.nav.scrolled .nav-inner { background: rgba(255, 255, 255, 0.9); box-shadow: 0 14px 38px -14px rgba(31, 27, 90, 0.38); }
.logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--body); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--indigo); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { height: 42px; padding: 0 20px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.25s, opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav.open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 72px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--white); }
.hero::before { /* faint grid, like the reference */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(79, 70, 229, 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(79, 70, 229, 0.045) 1px, transparent 1px);
  background-size: 96px 96px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.glow.g1 { width: 560px; height: 560px; left: -140px; bottom: -180px; background: radial-gradient(circle, rgba(181, 171, 252, 0.6), transparent 68%); animation: drift 14s ease-in-out infinite alternate; }
.glow.g2 { width: 620px; height: 620px; left: 18%; bottom: -260px; background: radial-gradient(circle, rgba(165, 180, 252, 0.6), transparent 68%); animation: drift 17s ease-in-out infinite alternate-reverse; }
.glow.g3 { width: 480px; height: 480px; right: 22%; top: 60px; background: radial-gradient(circle, rgba(79, 70, 229, 0.24), transparent 68%); animation: drift 19s ease-in-out infinite alternate; }
.glow.g4 { width: 380px; height: 380px; left: 40%; bottom: -60px; background: radial-gradient(circle, rgba(79, 70, 229, 0.16), transparent 68%); animation: drift 21s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 740px; }
.hero-copy { padding: 70px 0 90px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(46px, 6.4vw, 82px); margin: 0 0 22px; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--indigo); }
/* hand-drawn underline that draws itself under "belong." */
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: 0; bottom: -0.2em; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--lilac); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s var(--ease) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero p.lead { font-size: 20px; max-width: 470px; margin-bottom: 34px; color: var(--muted); line-height: 1.6; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.hero-art { position: absolute; right: -4%; bottom: 0; width: min(64%, 780px); z-index: 1; pointer-events: none; transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -12px), 0); transition: transform 0.6s var(--ease); }
.hero-art img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%); mask-image: linear-gradient(to right, transparent 0%, #000 26%);
  animation: rise 1.1s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }

.cities { padding: 46px 0 54px; text-align: center; }
.cities p { font-size: 15px; font-weight: 500; color: var(--indigo); }
.city-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 22px; color: #9ca3af; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.city-row span { display: inline-flex; align-items: center; gap: 8px; }
.city-row svg { width: 18px; height: 18px; color: var(--lilac); }

/* ---------- phones ---------- */
.phone { position: relative; width: 100%; aspect-ratio: 9 / 19; background: #0c0c12; border-radius: 13% / 6.2%; padding: 2.6%; box-shadow: 0 0 0 1.5px #2b2b36 inset, 0 30px 60px -20px rgba(31, 27, 90, 0.45); }
.phone::before { content: ''; position: absolute; top: 3.6%; left: 50%; width: 27%; height: 2.9%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 11% / 5.3%; background: #f9f9ff; }
.screen img { position: absolute; left: 0; top: 7.5%; width: 100%; height: auto; transform: translateY(var(--y, 0%)); will-change: transform; }

/* ---------- feature cards ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 40px 40px 0; min-height: 560px; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(55, 48, 163, 0.35); }
.card h3 { font-size: 28px; letter-spacing: -0.035em; max-width: 380px; }
.card > p { margin-top: 12px; font-size: 16px; max-width: 400px; }
.card .stage { position: relative; margin-top: auto; padding-top: 34px; display: flex; justify-content: center; }
.card .stage::before { content: ''; position: absolute; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--tint, rgba(181, 171, 252, 0.55)), transparent 66%); filter: blur(24px); }
.card .phone { width: min(56%, 250px); margin-bottom: -34%; }
.card.t-lilac { --tint: rgba(181, 171, 252, 0.55); }
.card.t-soft { --tint: rgba(165, 180, 252, 0.5); }
.card.t-indigo { --tint: rgba(79, 70, 229, 0.3); }

/* student-ID card graphic (verification feature) — same footprint as .card .phone */
.id-card {
  position: relative;
  width: min(70%, 240px);
  aspect-ratio: 1.55;
  margin: 0 auto 34px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -20px rgba(31, 27, 90, 0.35);
  transform: rotate(-5deg);
  transition: transform 0.4s var(--ease);
}
.card:hover .id-card { transform: rotate(-2deg) translateY(-4px); }
.id-top { display: flex; align-items: center; gap: 7px; }
.id-top img { width: 16px; height: 16px; opacity: 0.85; }
.id-top span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.id-body { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.id-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--indigo-soft); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
}
.id-avatar svg { width: 22px; height: 22px; }
.id-lines { flex: 1; display: grid; gap: 8px; }
.id-line { display: block; height: 8px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); }
.id-line.w1 { width: 78%; }
.id-line.w2 { width: 52%; }
.id-badge {
  position: absolute; right: -10px; bottom: -14px;
  display: flex; align-items: center; gap: 6px;
  background: var(--mint); color: #05372a;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 16px 28px -10px rgba(5, 55, 42, 0.55);
  transform: rotate(4deg);
}
.id-badge svg { width: 16px; height: 16px; }
/* the badge stamps onto the card when the card scrolls into view */
.id-badge { opacity: 0; transform: scale(0.3) rotate(-16deg); }
.card.in .id-badge { animation: stamp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(4deg) scale(1); } }
.id-badge svg path { opacity: 0; stroke-dasharray: 1; }
.card.in .id-badge svg path { animation: tick 0.45s ease-out 1.05s both; }
@keyframes tick { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }

/* ---------- benefits ---------- */
.benefits { background: var(--surface); }
.benefit-grid { display: grid; grid-template-columns: 1fr minmax(240px, 300px) 1fr; gap: 40px; align-items: center; }
.benefit-col { display: grid; gap: 22px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(55, 48, 163, 0.4); }
.ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); margin-bottom: 16px; }
.ico svg { width: 22px; height: 22px; }
.benefit h4 { font-size: 19px; letter-spacing: -0.03em; margin-bottom: 6px; }
.benefit p { font-size: 15px; line-height: 1.55; }
.benefit-phone { align-self: end; margin-bottom: -110px; }
.benefit-phone-wrap { height: 560px; overflow: hidden; position: relative; }
.benefit-phone-wrap::before { content: ''; position: absolute; inset: 20% -30% -20%; background: radial-gradient(circle, rgba(181, 171, 252, 0.55), transparent 65%); filter: blur(30px); }
.benefit-phone-wrap .phone { position: relative; }

/* ---------- alternating showcases ---------- */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 110px; }
.show:last-child { margin-bottom: 0; }
.show.rev .show-art { order: 2; }
.show-art { position: relative; height: 560px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); display: flex; justify-content: center; align-items: flex-end; }
.show-art::before { content: ''; position: absolute; width: 130%; aspect-ratio: 1; left: 50%; bottom: -60%; transform: translateX(-50%); background: radial-gradient(circle, var(--tint, rgba(181, 171, 252, 0.6)), transparent 62%); filter: blur(28px); }
.show-art .phone { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); width: 64%; max-width: 320px; }
.show-copy h2 { font-size: clamp(32px, 3.8vw, 46px); margin: 14px 0 18px; }
.show-copy > p { font-size: 18px; max-width: 460px; }
.ticks { display: grid; gap: 14px; margin: 26px 0 34px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.5; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--indigo); }

/* ---------- landlords ---------- */
.landlords { background: var(--ink); color: #c7cbd6; overflow: hidden; position: relative; padding: 120px 0 0; }
.landlords::before { content: ''; position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(79, 70, 229, 0.45), transparent 62%); filter: blur(40px); }
.landlords .eyebrow { color: var(--lilac); }
.landlords h2 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); margin: 14px 0 20px; }
.landlord-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.landlord-copy > p { font-size: 19px; max-width: 500px; color: #aab0c0; }
.landlords .ticks li { color: #eef0fb; }
.landlords .ticks svg { color: var(--mint); }
.landlord-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.landlords .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.landlords .btn-ghost:hover { border-color: #fff; }
.landlord-art { position: relative; height: 620px; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; }
.landlord-art .phone { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); width: min(62%, 300px); box-shadow: 0 0 0 1.5px #2b2b36 inset, 0 40px 80px -20px rgba(0, 0, 0, 0.7); }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); font-size: 13px; line-height: 1.3; z-index: 4; animation: bob 6s ease-in-out infinite alternate; }
.float { min-width: 118px; }
.float b { display: block; font-size: 24px; letter-spacing: -0.04em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.float.f1 { left: 2%; top: 22%; }
.float.f2 { right: 0; top: 44%; animation-delay: -3s; }
.float.f2 b { color: #059669; }
@keyframes bob { to { transform: translateY(-12px); } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open]:not(.closing) { border-color: #d9dcf5; box-shadow: 0 20px 40px -30px rgba(55, 48, 163, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 26px; font-size: 18px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1; transition: transform 0.3s var(--ease), background 0.2s; }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); background: var(--indigo); color: #fff; }
.faq .answer { padding: 0 26px 24px; font-size: 16px; max-width: 680px; }
.faq .answer a { color: var(--indigo); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final cta ---------- */
.cta { padding: 0 0 110px; }
.cta-panel { position: relative; overflow: hidden; border-radius: 40px; padding: 90px 40px; text-align: center; color: #e9e8ff; background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%); }
.cta-panel::before, .cta-panel::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); }
.cta-panel::before { width: 420px; height: 420px; left: -80px; top: -120px; background: rgba(165, 180, 252, 0.5); }
.cta-panel::after { width: 460px; height: 460px; right: -100px; bottom: -160px; background: rgba(181, 171, 252, 0.6); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: clamp(38px, 5vw, 64px); max-width: 720px; margin: 0 auto 18px; }
.cta-panel p { font-size: 19px; max-width: 520px; margin: 0 auto 36px; }
.cta-panel .stores { justify-content: center; }
.cta-panel .store-light { border-color: transparent; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .logo img { height: 28px; }
.footer-tag { margin-top: 14px; max-width: 280px; color: var(--muted); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); border: 1px solid var(--line); transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover { color: var(--indigo); border-color: var(--indigo); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer h5 { margin: 0 0 14px; font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { color: var(--muted); transition: color 0.2s; }
.footer-cols a:hover { color: var(--indigo); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* ---------- toast + reveal ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-size: 15px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease); z-index: 100; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow, .float, .hero-art img { animation: none; }
  .hero-art { transform: none; transition: none; }
  .scribble path { animation: none; stroke-dashoffset: 0; }
  .id-badge { opacity: 1; transform: rotate(4deg); animation: none !important; }
  .id-badge svg path { opacity: 1; stroke-dashoffset: 0; animation: none !important; }
}

/* ---------- legal pages ---------- */
.legal { padding: 140px 0 90px; }
.legal .doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; letter-spacing: -0.03em; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; letter-spacing: -0.02em; }
.legal p { margin: 0 0 16px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 18px; }
.legal li { margin-bottom: 6px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.legal a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.legal a.btn { color: #fff; text-decoration: none; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-switch { display: flex; gap: 10px; margin: 0 0 34px; }
.legal .legal-switch a { text-decoration: none; color: var(--ink); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.legal .legal-switch a.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-inner { padding: 0 9px 0 20px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 24px 50px -20px rgba(31, 27, 90, 0.35); padding: 8px 22px 12px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; }
  .nav-right .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px 0 20px; }
  .hero-art { position: relative; right: auto; bottom: auto; width: calc(100% + 24px); max-width: none; margin: 0 0 0 auto; }
  .grid2 { grid-template-columns: 1fr; }
  .card { min-height: 520px; padding: 32px 28px 0; }
  .benefit-grid { grid-template-columns: 1fr; gap: 22px; }
  .benefit-phone { order: -1; margin: 0 auto; width: 260px; max-width: 100%; }
  .benefit-phone-wrap { height: 400px; }
  .show { grid-template-columns: 1fr; gap: 36px; margin-bottom: 84px; }
  .show.rev .show-art { order: 0; }
  .show-art { height: 470px; }
  .landlord-grid { grid-template-columns: 1fr; gap: 20px; }
  .landlord-art { height: 540px; }
  .landlord-art .phone { top: 100px; }
  .float.f1 { left: 4px; top: 10px; }
  .float.f2 { right: 4px; top: 220px; }
  .cta-panel { padding: 64px 24px; border-radius: 30px; }
}
/* Tablet portrait (roughly 640-980px): the mobile single-column layout above
   still applies, but its phone/card graphics were sized for narrow phone
   screens and looked small and lost inside these much wider cards — scale
   them up so they fill the space properly. */
@media (min-width: 640px) and (max-width: 980px) {
  .city-row { gap: 10px 18px; font-size: 15.5px; }
  .card .phone { width: min(50%, 340px); }
  .id-card { width: min(60%, 300px); }
  .benefit-phone { width: 320px; }
  .benefit-phone-wrap { height: 480px; }
  .show-art { height: 600px; }
  .show-art .phone { width: 46%; max-width: 360px; }
  .landlord-art .phone { width: min(46%, 340px); }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .hero p.lead { font-size: 18px; }
  .store { height: 52px; }
  .stores { gap: 10px; }
  .card h3 { font-size: 25px; }
  .city-row { gap: 10px 24px; font-size: 17px; }
  .footer-cols { gap: 40px; }
}
