:root {
  --background: #ffffff;
  --foreground: #1a1d2b;
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --accent: #22c55e;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --surface-dark: #0f1119;
  --surface-dark-foreground: #ffffff;
  --card: #1e2235;
  --card-foreground: #cbd5e1;
  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: var(--font-sans);
  background: var(--surface-dark);
  color: var(--surface-dark-foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 8rem, var(--max));
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-dark);
  border-bottom: 1px solid var(--card);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--surface-dark-foreground) 70%, transparent);
  transition: color 0.15s;
}

.nav-desktop a:hover {
  color: var(--surface-dark-foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ios-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px dashed color-mix(in srgb, var(--card-foreground) 45%, transparent);
  color: var(--card-foreground);
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.ios-pill:hover {
  border-color: var(--card-foreground);
  color: var(--surface-dark-foreground);
}

.ios-pill .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #f59e0b;
}

.cta-play {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--primary) 20%, transparent);
  transition: background 0.2s;
}

.cta-play:hover {
  background: color-mix(in srgb, var(--primary) 90%, black);
}

.cta-play .play-icon {
  width: 1.6rem;
  height: 1.6rem;
  background: #ffffff;
  border-radius: 9999px;
  padding: 0.3rem;
}

.menu-btn {
  color: var(--surface-dark-foreground);
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--card);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-nav .waitlist-link {
  margin-top: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-align: center;
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .nav-desktop,
  .cta-play {
    display: flex;
  }
  .menu-btn,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--primary) 10%, transparent), transparent, color-mix(in srgb, var(--accent) 5%, transparent));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  max-width: 40rem;
}

.pill {
  display: inline-block;
  margin-bottom: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h1 .accent {
  color: var(--primary);
}

.lede {
  color: var(--card-foreground);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
  padding-top: 0.75rem;
}

/* Official Google Play artwork. The PNG ships with ~16% transparent
   padding on every side; the negative margin trims it so the visible
   badge lines up with the iPhone badge next to it. */
.play-badge {
  position: relative;
  display: inline-flex;
  border-radius: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-badge img {
  height: 5.5rem;
  width: auto;
  margin: -0.9rem;
}

.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--primary) 45%, transparent);
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12.5rem;
  height: 3.7rem;
  border-radius: 0.6rem;
  padding: 0 1.25rem 0 1rem;
  transition: border-color 0.2s;
}

.store-badge svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.store-badge.soon {
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--card-foreground) 45%, transparent);
  color: var(--card-foreground);
}

.store-badge.soon:hover {
  border-color: var(--card-foreground);
}

.badge-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.badge-text small {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.badge-status {
  position: absolute;
  z-index: 1;
  top: -0.65rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid color-mix(in srgb, var(--card-foreground) 25%, transparent);
}

.badge-status.live {
  background: var(--accent);
  color: #06270f;
  border-color: var(--accent);
}

.badge-status.live::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #06270f;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.3; }
}

.badge-note {
  margin-top: 1.25rem;
  max-width: 30rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.badge-note strong {
  color: var(--card-foreground);
}

.inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 5rem;
  }
}

/* Screenshots */
.shots {
  padding: 3rem 0 5rem;
  overflow: hidden;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--card-foreground);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-inline: auto;
}

.marquee-wrap {
  position: relative;
}

.fade-l,
.fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.fade-l {
  left: 0;
  background: linear-gradient(to right, var(--surface-dark), transparent);
}

.fade-r {
  right: 0;
  background: linear-gradient(to left, var(--surface-dark), transparent);
}

@media (min-width: 768px) {
  .fade-l,
  .fade-r {
    width: 8rem;
  }
}

.marquee {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.phone {
  flex: none;
  width: 15rem;
  height: 29.7rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card) 40%, transparent);
  background: var(--card);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Features */
.features {
  background: var(--background);
  color: var(--foreground);
  padding: 3rem 0 5rem;
}

.features .section-head h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
}

.features .section-head p {
  color: var(--muted-foreground);
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 40%, transparent);
  border-radius: 1rem;
  padding: 2rem;
}

.icon-box,
.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p,
.step-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* How it works */
.how {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0 5rem;
}

.kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.how .section-head p {
  color: var(--muted-foreground);
}

.step-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}

.step-card p {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
}

.center {
  text-align: center;
  margin-top: 4rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 90%, black);
}

/* Waitlist */
.waitlist {
  padding: 3rem 0 5rem;
  text-align: center;
}

.waitlist h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

.waitlist p {
  color: var(--card-foreground);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.waitlist-form input {
  flex: 1;
  background: color-mix(in srgb, var(--card) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--card) 40%, transparent);
  color: var(--surface-dark-foreground);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  outline: none;
}

/* Honeypot — must stay in the DOM and reachable by naive bots, so this is
   positioned off-screen instead of display:none/visibility:hidden (which
   some bots specifically skip). Real visitors never see it. */
.waitlist-form .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.waitlist-form input:focus {
  border-color: var(--primary);
}

.waitlist-form button {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: color-mix(in srgb, var(--primary) 90%, black);
}

.success {
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .waitlist-form {
    flex-direction: row;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--card);
  padding: 3rem 0 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.waitlist .social-note {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--card-foreground) 30%, transparent);
  color: var(--card-foreground);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* QR codes are for desktop visitors to scan with their phone; on a phone
   the icons above are the way in, so the row is hidden there. */
.qr-row {
  display: none;
}

@media (min-width: 768px) {
  .qr-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
}

.qr-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.6rem 0.6rem 0.5rem;
  text-align: center;
}

.qr-card img {
  width: 7rem;
  height: 7rem;
}

.qr-card figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 0.35rem;
  color: var(--surface-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.qr-card figcaption span {
  color: var(--muted-foreground);
  font-weight: 500;
}

.site-footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--card-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer a:hover {
  color: var(--surface-dark-foreground);
}

.muted {
  color: color-mix(in srgb, var(--card-foreground) 40%, transparent);
  cursor: default;
}

.copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card);
  text-align: center;
  color: var(--card-foreground);
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .marquee,
  .badge-status.live::before {
    animation: none;
  }
}

/* ── Audience pages (landlords / airbnb-hosts / homeowners) ── */
.scenario {
  padding: 4rem 0;
}

.scenario-card {
  max-width: 48rem;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 1.25rem;
  padding: 2rem;
}

.scenario-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.25rem;
}

.scenario-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.scenario-steps li {
  counter-increment: step;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--card-foreground);
  line-height: 1.6;
}

.scenario-steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.9rem;
}

.faq {
  background: var(--background);
  color: var(--foreground);
  padding: 3rem 0 4rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.cta-band {
  padding: 4rem 0 5rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--card-foreground);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-badges .store-badges {
  justify-content: center;
}

.cta-band .cta-extra {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

.cta-band .cta-extra a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
