:root {
  --ink: #201826;
  --muted: #6e6575;
  --paper: #f4efe8;
  --paper-soft: #fbf7f1;
  --purple: #6d27a8;
  --purple-brand: #2a173a;
  --purple-deep: #2b103d;
  --lime: #c9ff5f;
  --coral: #ff714f;
  --line: rgba(42, 24, 55, 0.14);
  --shadow: 0 28px 80px rgba(42, 24, 55, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --font-text: "Manrope", "Avenir Next", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(201, 255, 95, 0.36), transparent 24rem),
    radial-gradient(circle at 8% 18%, rgba(109, 39, 168, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--paper) 0%, #fffaf5 48%, #f3edf7 100%);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
}

img, svg { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { top: 1rem; }

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(244, 239, 232, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 50%;
  max-width: 1180px;
  padding: 0.8rem 1rem 0.8rem 1.2rem;
  position: sticky;
  top: 1rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.52rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--purple);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1.05rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  width: 2rem;
}

.brand-mark-image {
  background:
    radial-gradient(circle at 58% 42%, rgba(255, 242, 214, 0.95), rgba(255, 242, 214, 0.18) 18%, transparent 35%),
    var(--purple-brand) url("/assets/logo.webp") center 47% / 215% auto no-repeat;
  box-shadow: 0 10px 28px rgba(42, 23, 58, 0.22);
  overflow: hidden;
}

.brand-text {
  color: var(--purple-deep);
  font-size: 1.45rem;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav a:hover { color: var(--purple); }

.header-cta,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  background: var(--ink);
  color: white;
  font-size: 0.92rem;
}

.button.primary {
  background: var(--purple);
  box-shadow: 0 16px 40px rgba(109, 39, 168, 0.24);
  color: white;
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--purple-deep);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.section,
.section-grid {
  margin: 0 auto;
  max-width: 1180px;
  padding: 7rem 1.5rem;
  width: 100%;
}

.section-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.section-grid > *,
.feature-grid > *,
.problem-grid > *,
.audience-grid > *,
.security-grid > * {
  min-width: 0;
}

.hero {
  min-height: calc(100vh - 6rem);
  padding-top: 7.5rem;
}

.eyebrow {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.45rem, 8vw, 7.4rem);
  margin-bottom: 1.5rem;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.16rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 2.3rem;
}

.signal-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding-top: 1.3rem;
}

.signal-row div { min-width: 0; }
.signal-row dt { font-weight: 760; }
.signal-row dd { color: var(--muted); margin: 0.25rem 0 0; }

.hero-system {
  aspect-ratio: 0.88;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(255,255,255,0.3)),
    radial-gradient(circle at 50% 35%, rgba(109, 39, 168, 0.22), transparent 16rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 44px;
  box-shadow: var(--shadow);
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.orbit {
  border: 1px solid rgba(109, 39, 168, 0.18);
  border-radius: 50%;
  inset: 14%;
  position: absolute;
}

.orbit,
.system-card {
  z-index: 1;
}

.orbit-two {
  inset: 28%;
  transform: rotate(18deg);
}

.system-card {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(42, 24, 55, 0.12);
  max-width: 210px;
  padding: 1rem;
  position: absolute;
}

.system-card span {
  color: var(--purple);
  display: block;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.system-card strong {
  display: block;
  line-height: 1.18;
}

.main-card {
  background: var(--purple-deep);
  color: white;
  left: 50%;
  max-width: 270px;
  padding: 1.35rem;
  top: 50%;
  transform: translate(-50%, -50%);
}

.main-card span { color: var(--lime); }
.card-a { left: 8%; top: 18%; }
.card-b { right: 7%; top: 23%; }
.card-c { bottom: 19%; left: 10%; }
.card-d { bottom: 14%; right: 8%; }

.problem {
  background: var(--purple-deep);
  border-radius: 48px;
  color: white;
  margin-top: 1rem;
}

.problem .eyebrow { color: var(--lime); }
.problem h2 { max-width: 980px; }

.problem-grid,
.feature-grid,
.audience-grid,
.security-grid {
  display: grid;
  gap: 1rem;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}

.problem-grid article {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.problem-grid span {
  color: var(--lime);
  display: block;
  font-weight: 760;
  margin-bottom: 2rem;
}

.section-heading {
  margin-bottom: 2.5rem;
  max-width: 840px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.narrow { max-width: 650px; }

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-card,
.audience-grid article,
.security-grid article,
.startup-panel,
.beta-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 24, 55, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 56px rgba(42, 24, 55, 0.08);
  padding: 1.55rem;
}

.feature-card.tall { grid-row: span 2; }
.feature-card.dark { background: var(--ink); color: white; }
.feature-card p,
.audience-grid p,
.security-grid p,
.startup-panel p,
.beta-card p { color: var(--muted); }
.feature-card.dark p { color: rgba(255,255,255,0.72); }

.feature-icon {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-weight: 760;
  height: 2.7rem;
  justify-content: center;
  margin-bottom: 2.2rem;
  width: 2.7rem;
}

.audience-grid {
  grid-template-columns: repeat(4, 1fr);
}

.startup {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.85fr 1.15fr;
}

.startup-panel {
  background:
    radial-gradient(circle at 94% 10%, rgba(201, 255, 95, 0.38), transparent 14rem),
    var(--paper-soft);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto 1fr;
}

.check-list li::before {
  background: var(--purple);
  border-radius: 50%;
  color: white;
  content: "✓";
  display: inline-grid;
  font-size: 0.75rem;
  height: 1.25rem;
  place-items: center;
  transform: translateY(0.16rem);
  width: 1.25rem;
}

.security-grid {
  grid-template-columns: repeat(3, 1fr);
}

.beta-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(43,16,61,0.96), rgba(109,39,168,0.88)),
    var(--purple-deep);
  color: white;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr auto;
  padding: 2rem;
}

.beta-card .eyebrow { color: var(--lime); }
.beta-card p { color: rgba(255,255,255,0.76); max-width: 720px; }
.beta-card .button.primary { background: white; color: var(--purple-deep); }

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr auto;
  margin: 0 auto;
  max-width: 1180px;
  padding: 2.5rem 1.5rem 3rem;
}

.footer-brand { margin-bottom: 1rem; }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}
.site-footer nav a { color: var(--muted); font-weight: 650; }
.fine-print { white-space: nowrap; }

.legal-page {
  margin: 0 auto;
  max-width: 860px;
  padding: 6rem 1.5rem;
}

.legal-page h1 { max-width: 100%; }
.legal-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.legal-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 2rem; }
.legal-card a { color: var(--purple); font-weight: 760; }

.reveal {
  animation: rise 700ms ease both;
}

.delay-1 { animation-delay: 120ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header { border-radius: 24px; flex-wrap: wrap; position: relative; top: 0.75rem; transform: translateX(-50%); }
  .nav { order: 3; overflow-x: auto; width: 100%; }
  .section-grid,
  .startup,
  .beta-card,
  .site-footer { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-system { min-height: 520px; }
  .signal-row,
  .problem-grid,
  .audience-grid,
  .security-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .fine-print { white-space: normal; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 1rem); }
  .header-cta { display: none; }
  .section,
  .section-grid { padding: 4.4rem 1rem; }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .hero-system { aspect-ratio: auto; min-height: 560px; }
  .system-card { max-width: 180px; }
  .main-card { max-width: 230px; }
  .card-a { left: 5%; top: 8%; }
  .card-b { right: 5%; top: 27%; }
  .card-c { left: 6%; bottom: 26%; }
  .card-d { right: 5%; bottom: 7%; }
  .problem { border-radius: 30px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
}

/* Brand and Safari hardening for the institutional beta site. */
@supports (-webkit-touch-callout: none) {
  .site-header,
  .system-card {
    -webkit-backdrop-filter: blur(22px);
  }
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 28px;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    justify-content: center;
    padding: 0.85rem;
  }

  .brand {
    margin-right: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav {
    flex-basis: 100%;
    justify-content: center;
    order: 3;
    overflow-x: auto;
    padding: 0.15rem 0.2rem 0.05rem;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-system {
    margin: 0 auto;
    max-width: 680px;
    min-height: 500px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    transform: none;
    width: auto;
  }

  .brand-text {
    font-size: 1.28rem;
  }

  .header-cta {
    font-size: 0.84rem;
    min-height: 2.65rem;
    padding: 0.65rem 0.9rem;
  }

  .section,
  .section-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 11rem;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.7rem);
    max-width: 10.5ch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-row,
  .problem-grid,
  .feature-grid,
  .audience-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .problem {
    border-radius: 34px;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .hero-system {
    aspect-ratio: auto;
    border-radius: 32px;
    min-height: 430px;
  }
  .system-card {
    max-width: 175px;
    padding: 0.85rem;
  }

  .main-card {
    max-width: 220px;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: stretch;
  }

  .brand,
  .header-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .header-cta {
    flex: 1;
  }

  .hero-system {
    min-height: 390px;
  }
  .card-a { left: 5%; top: 23%; }
  .card-b { right: 5%; top: 31%; }
  .card-c { bottom: 16%; left: 5%; }
  .card-d { bottom: 8%; right: 5%; }
}

/* Final brand/header alignment pass. */
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.site-header .brand {
  justify-self: start;
}

.site-header .nav {
  justify-self: center;
  min-width: 0;
}

.site-header .header-cta {
  justify-self: end;
  white-space: nowrap;
}

.brand {
  gap: 0.66rem;
  letter-spacing: 0;
}

.brand-mark-image {
  background:
    radial-gradient(circle at 61% 29%, rgba(255, 240, 212, 0.98), rgba(255, 223, 184, 0.58) 10%, transparent 22%),
    var(--purple-brand) url("/assets/logo.webp") 28% 46% / 350% auto no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.28);
  height: 2.35rem;
  width: 2.35rem;
}

.brand-signature {
  display: grid;
  gap: 0.02rem;
  line-height: 0.86;
}

.brand-word {
  color: var(--purple-brand);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 1.78rem;
  font-weight: 300;
  letter-spacing: -0.078em;
  line-height: 0.82;
  text-transform: lowercase;
}

.brand-tagline {
  color: rgba(42, 23, 58, 0.62);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  padding-left: 0.1rem;
  white-space: nowrap;
}

.footer-brand .brand-word {
  color: white;
}

.footer-brand .brand-tagline {
  color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .site-header {
    overflow: visible;
  }

  .brand-word {
    font-size: 1.56rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .brand-mark-image {
    height: 2.08rem;
    width: 2.08rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header .brand,
  .site-header .header-cta {
    justify-self: center;
  }
}

/* Header correction: keep the brand visible and the whole bar centered. */
.site-header {
  left: max(1rem, calc((100vw - 1180px) / 2));
  right: max(1rem, calc((100vw - 1180px) / 2));
  transform: none;
  width: auto;
  max-width: none;
  grid-template-columns: minmax(210px, auto) minmax(280px, 1fr) auto;
  overflow: visible;
}

.site-header .brand {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 23, 58, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.78rem 0.28rem 0.32rem;
}

.brand-mark-image {
  background:
    radial-gradient(circle at 57% 25%, rgba(255, 234, 203, 0.96), rgba(255, 216, 176, 0.58) 9%, transparent 20%),
    var(--purple-brand) url("/assets/logo.webp") 7% 42% / 520% auto no-repeat;
  box-shadow: 0 10px 28px rgba(42, 23, 58, 0.18);
  height: 2.8rem;
  width: 2.8rem;
}

.brand-word {
  color: var(--purple-brand);
  font-size: 2.02rem;
  font-weight: 320;
  letter-spacing: -0.085em;
}

.brand-tagline {
  color: rgba(42, 23, 58, 0.78);
  font-size: 0.68rem;
}

.site-header .nav {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(42, 23, 58, 0.08);
  border-radius: 999px;
  gap: clamp(0.7rem, 2vw, 1.45rem);
  justify-content: center;
  padding: 0.85rem 1.1rem;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header .nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 0.75rem;
    right: 0.75rem;
  }

  .site-header .brand {
    padding-right: 0.68rem;
  }

  .brand-mark-image {
    height: 2.35rem;
    width: 2.35rem;
  }

  .brand-word {
    font-size: 1.68rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }
}

/* Requested navigation and beta visual refinements. */
.site-header {
  position: sticky !important;
  top: 0.85rem;
  z-index: 30;
}

.site-header .brand {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 185px;
  padding: 0;
}

.site-header .brand-mark-image {
  display: none;
}

.site-header .brand-signature {
  display: block;
}

.site-header .brand-word,
.site-header .brand-tagline {
  display: inline;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 1.58rem;
  font-weight: 360;
  letter-spacing: -0.072em;
  line-height: 1;
  white-space: nowrap;
}

.site-header .brand-word::after {
  content: " ";
}

.site-header .brand-tagline {
  color: var(--purple-brand);
  padding-left: 0;
}

.beta {
  align-items: stretch;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.beta-card {
  min-width: 0;
}

.beta-app-preview {
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 255, 95, 0.32), transparent 16rem),
    linear-gradient(145deg, rgba(42, 23, 58, 0.96), rgba(109, 39, 168, 0.84));
  border-radius: 38px;
  box-shadow: var(--shadow);
  display: grid;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2rem);
  place-items: center;
  position: relative;
}

.beta-app-preview::before {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  content: "";
  height: 18rem;
  position: absolute;
  right: -7rem;
  top: -5rem;
  width: 18rem;
}

.phone-shell {
  background: #fbf7f1;
  border: 10px solid #17111d;
  border-radius: 38px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  max-width: 330px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.phone-status {
  align-items: center;
  color: rgba(42, 23, 58, 0.62);
  display: flex;
  font-size: 0.73rem;
  font-weight: 760;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.phone-search {
  background: white;
  border: 1px solid rgba(42, 23, 58, 0.12);
  border-radius: 999px;
  color: rgba(42, 23, 58, 0.62);
  font-size: 0.76rem;
  font-weight: 650;
  padding: 0.8rem 0.9rem;
}

.phone-title {
  display: grid;
  gap: 0.1rem;
  margin: 1rem 0;
}

.phone-title span {
  color: rgba(42, 23, 58, 0.62);
  font-size: 0.78rem;
  font-weight: 760;
}

.phone-title strong {
  color: var(--purple-brand);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.property-stream {
  display: grid;
  gap: 0.72rem;
}

.property-card-preview {
  align-items: center;
  background: white;
  border: 1px solid rgba(42, 23, 58, 0.1);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(42, 23, 58, 0.08);
  display: grid;
  gap: 0.78rem;
  grid-template-columns: 74px minmax(0, 1fr);
  padding: 0.62rem;
}

.property-card-preview strong,
.property-card-preview small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-card-preview strong {
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.property-card-preview small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.property-photo {
  border-radius: 17px;
  display: block;
  height: 72px;
  overflow: hidden;
}

.photo-one {
  background:
    linear-gradient(135deg, rgba(42, 23, 58, 0.15), transparent),
    linear-gradient(45deg, #d8c0a4 0 28%, #f5efe3 28% 52%, #6d7b72 52% 72%, #2a173a 72% 100%);
}

.photo-two {
  background:
    radial-gradient(circle at 72% 24%, #ffe6ba, transparent 18%),
    linear-gradient(135deg, #2a173a 0 32%, #9f7f5a 32% 54%, #f8f0df 54% 74%, #5a6f77 74% 100%);
}

.photo-three {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(45deg, #816b9a 0 30%, #e9d6b5 30% 58%, #f8f3e8 58% 76%, #263d48 76% 100%);
}

@media (max-width: 900px) {
  .beta {
    grid-template-columns: 1fr;
  }

  .beta-app-preview {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .site-header .brand {
    justify-self: center;
    min-width: 0;
  }

  .site-header .brand-word,
  .site-header .brand-tagline {
    font-size: 1.42rem;
  }

  .beta-app-preview {
    border-radius: 30px;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    min-height: 480px;
  }

  .phone-shell {
    border-width: 8px;
    border-radius: 32px;
  }
}

/* Sticky section navigation only. */
.site-header {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 0;
  pointer-events: none;
  right: 0;
  top: 0.85rem;
  width: 100%;
}

.site-header .brand,
.site-header .header-cta {
  display: none;
}

.site-header .nav {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: rgba(244, 239, 232, 0.86);
  border: 1px solid rgba(42, 23, 58, 0.12);
  box-shadow: 0 18px 50px rgba(42, 23, 58, 0.12);
  display: flex;
  flex: 0 1 auto;
  gap: clamp(0.7rem, 3vw, 1.55rem);
  max-width: calc(100vw - 2rem);
  overflow-x: auto;
  padding: 0.78rem 1.2rem;
  pointer-events: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.site-header .nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    left: 0;
    right: 0;
    top: 0.65rem;
  }

  .site-header .nav {
    border-radius: 999px;
    font-size: 0.84rem;
    justify-content: flex-start;
    max-width: calc(100vw - 1rem);
    padding: 0.72rem 0.95rem;
  }

  .hero {
    padding-top: 7rem;
  }
}

/* Final beta integration and fixed navigation behavior. */
.site-header {
  position: fixed !important;
  top: 0.85rem !important;
}

main {
  position: relative;
}

.beta {
  display: block;
}

.beta-integrated-card {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  position: relative;
}

.beta-integrated-card::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 255, 95, 0.42), transparent 42%),
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.38), transparent 28%);
  content: "";
  height: 28rem;
  position: absolute;
  right: -9rem;
  top: -10rem;
  width: 28rem;
}

.beta-copy {
  max-width: 680px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.beta-copy .button {
  margin-top: 1.1rem;
}

.beta-integrated-card .beta-app-preview {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  padding: 0;
  z-index: 1;
}

.beta-integrated-card .beta-app-preview::before {
  display: none;
}

.purple-app-shell {
  background:
    linear-gradient(180deg, #faf7f2 0%, #fff 100%);
  transform: rotate(1.2deg);
}

.app-hero-mini {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(42, 23, 58, 0.95), rgba(109, 39, 168, 0.86));
  border-radius: 24px;
  color: white;
  display: flex;
  font-size: 0.82rem;
  font-weight: 760;
  justify-content: center;
  min-height: 92px;
  padding: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .beta-integrated-card {
    grid-template-columns: 1fr;
  }

  .beta-integrated-card .beta-app-preview {
    justify-items: center;
  }

  .purple-app-shell {
    transform: none;
  }
}

@media (max-width: 520px) {
  .beta-integrated-card {
    padding: 1.1rem;
  }

  .beta-copy .button {
    width: 100%;
  }
}

/* Dual device mockup for iOS and Android distribution. */
.device-pair {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  min-height: 470px;
  position: relative;
}

.device-pair .phone-shell {
  justify-self: center;
}

.iphone-preview {
  max-width: 310px;
  transform: rotate(-2.5deg) translateX(12px);
  z-index: 2;
}

.galaxy-preview {
  border-color: #21192a;
  border-radius: 30px;
  margin-left: -4.2rem;
  max-width: 255px;
  padding-top: 1.15rem;
  transform: rotate(4deg) translateY(42px);
  z-index: 1;
}

.device-island {
  background: #17111d;
  border-radius: 999px;
  display: block;
  height: 0.58rem;
  left: 50%;
  position: absolute;
  top: 0.66rem;
  transform: translateX(-50%);
  width: 4.4rem;
  z-index: 3;
}

.device-camera {
  background: #17111d;
  border-radius: 50%;
  display: block;
  height: 0.48rem;
  left: 50%;
  position: absolute;
  top: 0.58rem;
  transform: translateX(-50%);
  width: 0.48rem;
  z-index: 3;
}

.galaxy-preview .property-card-preview {
  grid-template-columns: 58px minmax(0, 1fr);
}

.galaxy-preview .property-photo {
  height: 58px;
}

.compact-stream {
  margin-top: 0.9rem;
}

@media (max-width: 1050px) {
  .device-pair {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .iphone-preview,
  .galaxy-preview {
    margin-left: 0;
    transform: none;
  }

  .galaxy-preview {
    display: none;
  }
}

/* Official app screen mockup, using device proportions from iPhone 17 and Galaxy S26 Ultra specs. */
.official-app-mock {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(220px, 0.94fr) minmax(190px, 0.78fr);
  isolation: isolate;
  min-height: 570px;
  width: min(100%, 620px);
}

.device-frame {
  background: #111017;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  padding: 9px;
  position: relative;
}

.iphone17-frame {
  aspect-ratio: 71.5 / 149.6;
  border-radius: 46px;
  justify-self: end;
  max-height: 565px;
  width: min(275px, 42vw);
  z-index: 2;
}

.galaxy-s26-frame {
  aspect-ratio: 78.1 / 163.6;
  border-radius: 34px;
  justify-self: start;
  margin-left: -3.9rem;
  margin-top: 4.2rem;
  max-height: 520px;
  padding: 7px;
  width: min(250px, 34vw);
  z-index: 1;
}

.device-screen {
  background: #f2f1f5;
  border-radius: 36px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.galaxy-s26-frame .device-screen {
  border-radius: 27px;
}

.android-camera {
  background: #111017;
  border-radius: 50%;
  height: 6px;
  left: 50%;
  position: absolute;
  top: 7px;
  transform: translateX(-50%);
  width: 6px;
  z-index: 2;
}

.official-client-screen {
  color: #19151d;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.official-status-bar {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 760;
  justify-content: space-between;
  padding: 1.02rem 1.2rem 0.72rem;
}

.status-icons {
  letter-spacing: -0.08em;
}

.official-location-field {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(20, 18, 28, 0.14);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0.42rem 1rem 0.85rem;
  padding: 0.66rem 0.76rem;
}

.official-location-field span {
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-location-field strong {
  color: var(--purple);
  font-size: 1.18rem;
}

.official-heading-row {
  align-items: start;
  background: #fff;
  border-top: 1px solid rgba(20, 18, 28, 0.06);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.9rem 1rem 1.05rem;
}

.official-heading-row p {
  color: rgba(25, 21, 29, 0.48);
  font-size: 0.8rem;
  line-height: 1.18;
  margin: 0;
}

.official-heading-row strong {
  color: #19151d;
  font-size: 0.88rem;
}

.official-heading-row > span {
  font-size: 1.45rem;
  line-height: 1;
}

.official-card-list {
  display: grid;
  gap: 0.9rem;
  max-height: 330px;
  overflow: hidden;
  padding: 1rem;
}

.official-property-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 18, 28, 0.15);
  overflow: hidden;
}

.official-card-head {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.78rem 0.78rem 0.48rem;
}

.official-card-head h3 {
  font-size: 0.86rem;
  line-height: 1.08;
  margin: 0 0 0.18rem;
}

.official-card-head p {
  color: rgba(25, 21, 29, 0.56);
  font-size: 0.66rem;
  font-style: italic;
  line-height: 1.14;
  margin: 0;
}

.official-card-head span {
  color: var(--purple);
  font-size: 1.6rem;
  line-height: 0.9;
}

.official-card-body {
  border: 1px solid rgba(20, 18, 28, 0.36);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  margin: 0 0.78rem;
  overflow: hidden;
}

.official-card-body img {
  display: block;
  height: 126px;
  object-fit: cover;
  width: 100%;
}

.official-specs {
  background: #fff;
  border-left: 1px solid rgba(20, 18, 28, 0.28);
  display: grid;
}

.official-specs b {
  align-items: center;
  border-bottom: 1px solid rgba(20, 18, 28, 0.28);
  display: flex;
  font-size: 0.86rem;
  justify-content: center;
}

.official-specs b:last-child {
  border-bottom: 0;
  font-size: 0.62rem;
}

.official-price {
  background: #050505;
  color: #fff;
  display: grid;
  gap: 0.1rem;
  margin: 0 0.78rem 0.78rem;
  padding: 0.5rem 0.62rem;
}

.official-price small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  font-style: italic;
}

.official-price strong {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.official-bottom-nav {
  align-items: center;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(234, 232, 238, 0.84);
  border-radius: 30px 30px 0 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  left: 0.7rem;
  padding: 0.42rem 0.28rem 0.7rem;
  position: absolute;
  right: 0.7rem;
}

.official-bottom-nav strong {
  align-items: center;
  color: #19151d;
  display: grid;
  font-size: 1.05rem;
  font-weight: 520;
  justify-items: center;
  line-height: 1;
}

.official-bottom-nav strong:first-child {
  background: var(--purple-brand);
  border-radius: 999px;
  color: #fff;
  margin-top: -0.15rem;
  padding: 0.42rem 0.2rem;
}

.official-bottom-nav span {
  font-size: 0.44rem;
  margin-top: 0.18rem;
}

.android-screen .official-card-list {
  max-height: 305px;
}

.android-screen .official-card-body {
  grid-template-columns: minmax(0, 1fr) 54px;
}

.android-screen .official-card-body img {
  height: 112px;
}

.android-screen .official-card-head h3 {
  font-size: 0.75rem;
}

.android-screen .official-price strong {
  font-size: 0.76rem;
}

.compact-heading p {
  font-size: 0.72rem;
}

@media (max-width: 1050px) {
  .official-app-mock {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .iphone17-frame {
    justify-self: center;
    width: min(280px, 76vw);
  }

  .galaxy-s26-frame {
    display: none;
  }
}

@media (max-width: 520px) {
  .iphone17-frame {
    border-radius: 38px;
    padding: 7px;
    width: min(260px, 84vw);
  }

  .device-screen {
    border-radius: 30px;
  }

  .official-card-list {
    max-height: 300px;
  }
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin: 1.45rem 0 0.4rem;
}

.store-badge {
  align-items: center;
  background: #17111d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  display: inline-grid;
  min-height: 3.7rem;
  min-width: 10.8rem;
  padding: 0.68rem 1rem;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1;
}

.store-badge strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.disabled-store {
  cursor: default;
  opacity: 0.84;
}

/* Technology grid visual balance. */
.location-feature {
  display: grid;
  gap: 1.8rem;
  grid-template-rows: auto minmax(220px, 1fr);
  overflow: hidden;
  position: relative;
}

.location-copy {
  position: relative;
  z-index: 1;
}

.map-visual {
  background:
    linear-gradient(120deg, rgba(109, 39, 168, 0.08) 0 2px, transparent 2px 84px),
    linear-gradient(30deg, rgba(42, 23, 58, 0.07) 0 2px, transparent 2px 74px),
    radial-gradient(circle at 22% 26%, rgba(201, 255, 95, 0.5), transparent 5rem),
    radial-gradient(circle at 78% 62%, rgba(109, 39, 168, 0.2), transparent 7rem),
    #f5f1ea;
  border: 1px solid rgba(42, 23, 58, 0.1);
  border-radius: 28px;
  min-height: 235px;
  overflow: hidden;
  position: relative;
}

.map-road {
  background: rgba(42, 23, 58, 0.18);
  border-radius: 999px;
  display: block;
  height: 10px;
  position: absolute;
}

.road-a {
  left: -8%;
  top: 30%;
  transform: rotate(-18deg);
  width: 74%;
}

.road-b {
  right: -14%;
  top: 52%;
  transform: rotate(15deg);
  width: 92%;
}

.road-c {
  left: 26%;
  top: 8%;
  transform: rotate(82deg);
  width: 66%;
}

.map-pin {
  background: var(--purple);
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 8px;
  box-shadow: 0 12px 28px rgba(42, 23, 58, 0.22);
  height: 30px;
  position: absolute;
  transform: rotate(-45deg);
  width: 30px;
  z-index: 2;
}

.map-pin::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 6px;
  position: absolute;
  top: 6px;
  width: 8px;
}

.pin-home {
  background: var(--purple-brand);
  left: 22%;
  top: 42%;
}

.pin-one {
  background: var(--coral);
  right: 24%;
  top: 28%;
}

.pin-two {
  background: var(--lime);
  right: 36%;
  bottom: 22%;
}

.map-route {
  border: 3px dashed rgba(109, 39, 168, 0.46);
  border-left: 0;
  border-radius: 0 80px 80px 0;
  height: 82px;
  left: 29%;
  position: absolute;
  top: 38%;
  transform: rotate(-10deg);
  width: 45%;
}

.map-label {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(42, 23, 58, 0.1);
  border-radius: 999px;
  bottom: 1rem;
  color: var(--purple-brand);
  font-size: 0.78rem;
  font-weight: 760;
  left: 1rem;
  padding: 0.62rem 0.85rem;
  position: absolute;
}

.feature-card.tall {
  min-height: 0;
}

@media (max-width: 760px) {
  .location-feature {
    grid-template-rows: auto minmax(190px, 1fr);
  }

  .map-visual {
    min-height: 200px;
  }
}

/* Friendlier full-device perspective for beta mockups. */
.official-app-mock {
  grid-template-columns: 1fr;
  min-height: 650px;
  overflow: visible;
  place-items: center;
  width: min(100%, 620px);
}

.iphone17-frame {
  grid-area: 1 / 1;
  justify-self: center;
  max-height: none;
  transform: rotate(-4deg) translate(-30px, 4px);
  width: min(310px, 42vw);
  z-index: 3;
}

.galaxy-s26-frame {
  display: block;
  grid-area: 1 / 1;
  justify-self: center;
  margin-left: 0;
  margin-top: 0;
  max-height: none;
  opacity: 0.94;
  transform: rotate(7deg) translate(130px, 48px) scale(0.88);
  width: min(290px, 36vw);
  z-index: 1;
}

.device-frame::after {
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.18) 42%, transparent 62%);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.iphone17-frame::after {
  border-radius: 38px;
}

.galaxy-s26-frame::after {
  border-radius: 28px;
}

@media (max-width: 1050px) {
  .official-app-mock {
    min-height: 610px;
  }

  .iphone17-frame {
    transform: rotate(-3deg) translate(-18px, 0);
    width: min(300px, 68vw);
  }

  .galaxy-s26-frame {
    display: block;
    transform: rotate(6deg) translate(96px, 42px) scale(0.82);
    width: min(270px, 54vw);
  }
}

@media (max-width: 620px) {
  .official-app-mock {
    min-height: 560px;
  }

  .iphone17-frame {
    transform: rotate(-2.5deg) translate(-8px, 0);
    width: min(276px, 78vw);
  }

  .galaxy-s26-frame {
    opacity: 0.78;
    transform: rotate(7deg) translate(66px, 42px) scale(0.75);
    width: min(250px, 60vw);
  }
}

/* Mobile UX review pass: readability, rhythm and no horizontal overflow. */
@media (max-width: 820px) {
  body {
    font-size: 15.5px;
    line-height: 1.58;
  }

  .site-header {
    left: 0;
    right: 0;
    top: max(0.62rem, env(safe-area-inset-top));
    width: 100%;
  }

  .site-header .nav {
    box-shadow: 0 12px 34px rgba(42, 23, 58, 0.12);
    font-size: 0.78rem;
    gap: 0.78rem;
    max-width: calc(100vw - 1rem);
    padding: 0.64rem 0.84rem;
  }

  .section,
  .section-grid {
    padding: 4.75rem 1.08rem;
  }

  .hero {
    gap: 2.1rem;
    min-height: auto;
    padding-top: 6.9rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.78rem;
  }

  h1 {
    font-size: clamp(3rem, 14.6vw, 4.18rem);
    letter-spacing: -0.062em;
    line-height: 0.94;
    max-width: 9.8ch;
  }

  h2 {
    font-size: clamp(2.12rem, 10.5vw, 3.15rem);
    letter-spacing: -0.058em;
    line-height: 1;
  }

  h3 {
    font-size: 1.02rem;
  }

  .hero-lead,
  .section-heading p,
  .beta-card p,
  .startup-panel p {
    font-size: 1rem;
  }

  .hero-actions {
    margin: 1.45rem 0 1.65rem;
  }

  .button,
  .header-cta {
    min-height: 2.95rem;
  }

  .signal-row {
    border-top: 0;
    gap: 0.75rem;
    padding-top: 0;
  }

  .signal-row div {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(42, 23, 58, 0.1);
    border-radius: 18px;
    padding: 0.92rem;
  }

  .hero-system {
    aspect-ratio: auto;
    display: grid;
    gap: 0.78rem;
    min-height: 0;
    padding: 1rem;
  }

  .hero-system .orbit {
    display: none;
  }

  .hero-system .system-card {
    border-radius: 20px;
    max-width: none;
    padding: 1rem;
    position: static;
    transform: none;
  }

  .hero-system .main-card {
    order: -1;
  }

  .problem {
    border-radius: 32px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 1rem);
  }

  .problem-grid article,
  .feature-card,
  .audience-grid article,
  .security-grid article,
  .startup-panel,
  .beta-card {
    border-radius: 24px;
    padding: 1.1rem;
  }

  .problem-grid span {
    margin-bottom: 1.25rem;
  }

  .feature-grid {
    gap: 0.85rem;
  }

  .location-feature {
    grid-template-rows: auto minmax(180px, auto);
  }

  .map-visual {
    border-radius: 22px;
    min-height: 185px;
  }

  .startup {
    gap: 1.2rem;
  }

  .check-list {
    padding-left: 0;
  }

  .beta-integrated-card {
    gap: 1.65rem;
    padding: 1.08rem;
  }

  .store-badges {
    gap: 0.58rem;
  }

  .store-badge {
    border-radius: 14px;
    min-height: 3.2rem;
    min-width: 0;
    width: 100%;
  }

  .official-app-mock {
    min-height: 520px;
    overflow: hidden;
    width: 100%;
  }

  .iphone17-frame {
    transform: rotate(-2deg) translateX(0);
    width: min(252px, 76vw);
  }

  .galaxy-s26-frame {
    display: none;
  }

  .official-status-bar {
    font-size: 0.65rem;
    padding: 0.9rem 1rem 0.58rem;
  }

  .official-location-field {
    margin: 0.34rem 0.82rem 0.7rem;
    padding: 0.58rem 0.65rem;
  }

  .official-location-field span {
    font-size: 0.68rem;
  }

  .official-heading-row {
    padding: 0.72rem 0.82rem 0.85rem;
  }

  .official-heading-row p {
    font-size: 0.68rem;
  }

  .official-heading-row strong {
    font-size: 0.74rem;
  }

  .official-card-list {
    gap: 0.72rem;
    max-height: 298px;
    padding: 0.82rem;
  }

  .official-card-head {
    padding: 0.65rem 0.65rem 0.4rem;
  }

  .official-card-head h3 {
    font-size: 0.74rem;
  }

  .official-card-head p {
    font-size: 0.58rem;
  }

  .official-card-head span {
    font-size: 1.35rem;
  }

  .official-card-body {
    grid-template-columns: minmax(0, 1fr) 54px;
    margin: 0 0.65rem;
  }

  .official-card-body img {
    height: 104px;
  }

  .official-specs b {
    font-size: 0.72rem;
  }

  .official-price {
    margin: 0 0.65rem 0.65rem;
    padding: 0.42rem 0.52rem;
  }

  .official-price small {
    font-size: 0.5rem;
  }

  .official-price strong {
    font-size: 0.72rem;
  }

  .official-bottom-nav {
    left: 0.5rem;
    padding-bottom: 0.55rem;
    right: 0.5rem;
  }

  .official-bottom-nav strong {
    font-size: 0.9rem;
  }

  .official-bottom-nav span {
    font-size: 0.38rem;
  }

  .site-footer {
    gap: 1.4rem;
    padding: 2rem 1.1rem;
  }

  .site-footer nav {
    gap: 0.72rem;
  }
}

@media (max-width: 430px) {
  .section,
  .section-grid {
    padding-left: 0.92rem;
    padding-right: 0.92rem;
  }

  h1 {
    font-size: clamp(2.74rem, 14.1vw, 3.42rem);
    max-width: 9.2ch;
  }

  h2 {
    font-size: clamp(1.96rem, 9.2vw, 2.55rem);
  }

  .hero-lead,
  .section-heading p,
  .beta-card p,
  .startup-panel p {
    font-size: 0.96rem;
  }

  .site-header .nav {
    justify-content: flex-start;
  }

  .problem {
    width: calc(100% - 0.5rem);
  }

  .iphone17-frame {
    width: min(238px, 82vw);
  }

  .official-app-mock {
    min-height: 500px;
  }
}

/* iPhone/mobile emergency polish: consistent light background and no overlay collisions. */
@media (max-width: 820px) {
  html,
  body {
    background: #f7f2eb !important;
  }

  body {
    color: var(--ink);
  }

  main {
    background:
      radial-gradient(circle at 88% 5%, rgba(201, 255, 95, 0.28), transparent 18rem),
      linear-gradient(180deg, #f7f2eb 0%, #fffaf5 45%, #f4eef7 100%) !important;
  }

  .hero,
  .technology,
  .ecosystem,
  .startup,
  .security,
  .beta {
    color: var(--ink);
  }

  .hero-system {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56)),
      radial-gradient(circle at 50% 35%, rgba(109, 39, 168, 0.18), transparent 14rem) !important;
    box-shadow: 0 18px 48px rgba(42, 24, 55, 0.12);
  }

  .hero-system .system-card:not(.main-card) {
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
  }

  .problem {
    background: var(--purple-deep) !important;
    color: #fff;
  }

  .problem h2,
  .problem h3,
  .problem p {
    color: #fff;
  }

  .technology .section-heading,
  .ecosystem .section-heading,
  .security .section-heading,
  .startup > div:first-child {
    color: var(--ink);
  }

  .feature-card,
  .audience-grid article,
  .security-grid article,
  .startup-panel {
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
  }

  .feature-card.dark {
    background: var(--purple-deep);
    color: #fff;
  }

  .feature-card.dark p,
  .feature-card.dark h3 {
    color: #fff;
  }

  .beta-integrated-card {
    display: grid;
    grid-template-columns: 1fr !important;
    overflow: hidden;
  }

  .beta-integrated-card::after {
    height: 18rem;
    opacity: 0.56;
    right: -8rem;
    top: -6rem;
    width: 18rem;
  }

  .beta-copy {
    max-width: none;
    z-index: 3;
  }

  .beta-copy h2,
  .beta-copy p {
    max-width: 100%;
  }

  .beta-integrated-card .beta-app-preview {
    margin-top: 0.5rem;
    max-width: 100%;
    z-index: 2;
  }

  .official-app-mock {
    min-height: 455px !important;
    overflow: visible;
    padding-top: 0.5rem;
  }

  .iphone17-frame {
    transform: rotate(-1.5deg) translate(0, 0) !important;
    width: min(218px, 70vw) !important;
  }

  .galaxy-s26-frame {
    display: none !important;
  }

  .official-card-list {
    max-height: 258px !important;
  }

  .official-bottom-nav {
    display: none;
  }

  .site-footer {
    background: var(--purple-deep);
    color: #fff;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: clamp(2.28rem, 13.2vw, 3rem) !important;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .official-app-mock {
    min-height: 420px !important;
  }

  .iphone17-frame {
    width: min(202px, 72vw) !important;
  }
}
