/* Rental OTP — public marketing polish (overrides app.css) */
:root {
  --ro-ink: #07111f;
  --ro-ink-2: #101a2c;
  --ro-paper: #f3f6fb;
  --ro-mute: #5d6b82;
  --ro-line: rgba(7, 17, 31, 0.1);
  --ro-teal: #0d9488;
  --ro-teal-bright: #2dd4bf;
  --ro-amber: #f59e0b;
  --ro-amber-soft: #fbbf24;
  --ro-display: "Syne", "Avenir Next", sans-serif;
  --ro-sans: "DM Sans", "Segoe UI", sans-serif;
}

.site-body.public-body {
  --site-ink: var(--ro-ink);
  --site-mute: var(--ro-mute);
  --site-cyan: var(--ro-teal);
  --site-cyan-bright: var(--ro-teal-bright);
  --site-blue: #0f766e;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(760px 420px at 92% 8%, rgba(245, 158, 11, 0.14), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 48%, #f7f9fc 100%);
  color: var(--ro-ink);
}

[data-theme="dark"] .site-body.public-body {
  --site-ink: #eef4ff;
  --site-mute: #9aa8bc;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(45, 212, 191, 0.12), transparent 60%),
    radial-gradient(760px 420px at 92% 8%, rgba(245, 158, 11, 0.1), transparent 55%),
    linear-gradient(180deg, #060b14 0%, #0b1322 50%, #060b14 100%);
}

.site-atmosphere .site-orb.o1 {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.35), transparent 70%);
  animation: ro-drift 18s ease-in-out infinite;
}
.site-atmosphere .site-orb.o2 {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28), transparent 70%);
  animation: ro-drift 22s ease-in-out infinite reverse;
}
.site-atmosphere .site-orb.o3 {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.22), transparent 70%);
  animation: ro-drift 26s ease-in-out infinite;
}

@keyframes ro-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

/* Brand mark */
.site-logo {
  gap: 10px;
}
.site-logo .brand-logo,
.site-logo img.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.site-logo strong {
  font-family: var(--ro-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.site-logo strong .ro-brand-otp {
  color: var(--ro-teal);
}

.site-nav {
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, #fff 78%, transparent);
}
[data-theme="dark"] .site-nav {
  background: color-mix(in srgb, #07111f 78%, transparent);
}

.site-btn-fill,
.ph-btn-fill {
  background: linear-gradient(135deg, var(--ro-teal-bright), var(--ro-teal) 55%, #0f766e) !important;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.28);
}

/* ===== Redesigned homepage ===== */
.ro-home {
  position: relative;
}

.ro-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 6vw, 72px) var(--site-pad) clamp(40px, 7vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.ro-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.78) 42%, rgba(7, 17, 31, 0.35) 68%, rgba(7, 17, 31, 0.15) 100%),
    radial-gradient(600px 320px at 70% 40%, rgba(45, 212, 191, 0.28), transparent 70%),
    radial-gradient(500px 280px at 88% 70%, rgba(245, 158, 11, 0.22), transparent 65%),
    linear-gradient(160deg, #0b1a2e, #07111f 55%, #102033);
}

.ro-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 75%, transparent);
}

.ro-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #f5f8ff;
  animation: ro-rise 0.9s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes ro-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.ro-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ro-brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.ro-brand-name {
  font-family: var(--ro-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ro-brand-name span { color: var(--ro-teal-bright); }

.ro-hero h1 {
  margin: 0 0 14px;
  font-family: var(--ro-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.8vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 14ch;
}

.ro-hero .ro-lede {
  margin: 0 0 26px;
  max-width: 38ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  color: rgba(235, 242, 255, 0.78);
}

.ro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ro-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ro-cta a:hover { transform: translateY(-2px); text-decoration: none; }
.ro-cta .is-primary {
  color: #06201d;
  background: linear-gradient(135deg, #5eead4, #2dd4bf 40%, #f59e0b);
  box-shadow: 0 14px 34px rgba(45, 212, 191, 0.28);
}
.ro-cta .is-ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.ro-hero-stage {
  position: absolute;
  right: clamp(12px, 6vw, 72px);
  bottom: clamp(24px, 6vw, 64px);
  width: min(42vw, 420px);
  z-index: 1;
  animation: ro-float 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.ro-phone {
  border-radius: 28px;
  background: linear-gradient(180deg, #152238, #0b1524);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}
.ro-phone-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 650;
}
.ro-phone-top i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f87171; display: inline-block;
}
.ro-phone-top i:nth-child(2) { background: #fbbf24; }
.ro-phone-top i:nth-child(3) { background: #34d399; }
.ro-phone-body { padding: 16px; display: grid; gap: 12px; }
.ro-bubble {
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e8efff;
}
.ro-bubble.is-rent {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}
.ro-bubble small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  margin-bottom: 4px;
}
.ro-bubble strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.ro-bubble em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ro-teal-bright);
  font-weight: 700;
  animation: ro-pulse 2.2s ease-in-out infinite;
}
@keyframes ro-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 900px) {
  .ro-hero { min-height: auto; padding-bottom: 36px; }
  .ro-hero-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
    margin: 28px auto 0;
  }
  .ro-hero h1 { max-width: none; }
}

/* Sections */
.ro-section {
  padding: clamp(36px, 6vw, 72px) var(--site-pad);
}
.ro-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.ro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ro-teal);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ro-kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ro-teal-bright), var(--ro-amber));
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}
.ro-section h2 {
  margin: 0 0 10px;
  font-family: var(--ro-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ro-section .ro-sub {
  margin: 0 0 28px;
  max-width: 52ch;
  color: var(--ro-mute);
  font-size: 1.02rem;
  line-height: 1.55;
}

.ro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ro-path {
  display: block;
  padding: 28px 26px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ro-line);
  background: rgba(255,255,255,0.72);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
[data-theme="dark"] .ro-path {
  background: rgba(16, 26, 44, 0.75);
}
.ro-path:hover {
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.1);
}
.ro-path.is-temp { border-top: 4px solid var(--ro-amber); }
.ro-path.is-rent { border-top: 4px solid var(--ro-teal); }
.ro-path .label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ro-mute);
}
.ro-path h3 {
  margin: 8px 0 10px;
  font-family: var(--ro-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.ro-path p {
  margin: 0 0 16px;
  color: var(--ro-mute);
  line-height: 1.5;
}
.ro-path ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ro-path li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
}
.ro-path li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ro-teal);
}
.ro-path.is-temp li::before { background: var(--ro-amber); }
.ro-path .go {
  font-weight: 750;
  color: var(--ro-teal);
}

.ro-apps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.ro-app {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 18px;
  border: 1px solid var(--ro-line);
  background: rgba(255,255,255,0.7);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
[data-theme="dark"] .ro-app { background: rgba(16,26,44,0.7); }
.ro-app:hover { transform: translateY(-3px); text-decoration: none; }
.ro-app img {
  width: 42px; height: 42px; border-radius: 12px; object-fit: cover;
}
.ro-app strong { font-size: 0.82rem; text-align: center; }

.ro-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.ro-step {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--ro-line);
}
[data-theme="dark"] .ro-step { background: rgba(16,26,44,0.68); }
.ro-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--ro-display);
  font-weight: 800;
  color: var(--ro-teal);
  letter-spacing: -0.03em;
}
.ro-step h3 {
  margin: 0 0 8px;
  font-family: var(--ro-display);
  font-size: 1.15rem;
}
.ro-step p { margin: 0; color: var(--ro-mute); line-height: 1.5; }

.ro-faq details {
  border-bottom: 1px solid var(--ro-line);
  padding: 14px 0;
}
.ro-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--ro-display);
  letter-spacing: -0.01em;
  list-style: none;
}
.ro-faq summary::-webkit-details-marker { display: none; }
.ro-faq details div {
  margin-top: 8px;
  color: var(--ro-mute);
  line-height: 1.55;
}

.ro-ready {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(120deg, #0b1a2e, #0f766e 55%, #b45309);
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.18);
}
.ro-ready h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.ro-ready p { margin: 0; color: rgba(255,255,255,0.8); }

.ro-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ro-post {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--ro-line);
  background: rgba(255,255,255,0.72);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
[data-theme="dark"] .ro-post { background: rgba(16,26,44,0.72); }
.ro-post:hover { transform: translateY(-3px); text-decoration: none; }
.ro-post b {
  font-family: var(--ro-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ro-post span {
  color: var(--ro-mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ro-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.ro-blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--ro-line);
  background: rgba(255,255,255,0.75);
  text-decoration: none;
  color: inherit;
}
[data-theme="dark"] .ro-blog-card { background: rgba(16,26,44,0.75); }
.ro-blog-card:hover { border-color: color-mix(in srgb, var(--ro-teal) 40%, var(--ro-line)); text-decoration: none; }
.ro-blog-card time { font-size: 0.78rem; color: var(--ro-mute); font-weight: 650; }
.ro-blog-card b { font-family: var(--ro-display); font-size: 1.08rem; letter-spacing: -0.02em; line-height: 1.3; }
.ro-blog-card span { color: var(--ro-mute); font-size: 0.92rem; line-height: 1.45; margin-top: auto; }

.public-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--site-pad) 64px;
}
.public-article h1 {
  font-family: var(--ro-display);
  letter-spacing: -0.03em;
}
.public-article .lede {
  font-size: 1.1rem;
  color: var(--ro-mute);
  line-height: 1.55;
}
.public-article .prose {
  line-height: 1.7;
  font-size: 1.02rem;
}
.public-article .prose h2,
.public-article .prose h3 {
  font-family: var(--ro-display);
  letter-spacing: -0.02em;
  margin-top: 1.6em;
}

@media (max-width: 900px) {
  .ro-split, .ro-steps, .ro-posts, .ro-blog-grid, .ro-apps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .ro-split, .ro-steps, .ro-posts, .ro-blog-grid, .ro-apps {
    grid-template-columns: 1fr;
  }
  .ro-apps { grid-template-columns: repeat(3, 1fr); }
}
