/* =============================================================
   REPLICO AI — APPLICATION LANDING (app.replicoai.com)
   Standalone stylesheet for the application subdomain.

   Tokens and core components mirror the main site design system
   (replicoai.com/assets/css/replico.css) so branding stays
   identical across the marketing site and the app subdomain.
   This file is self-contained: the subdomain has its own
   document root and cannot reference the main site's assets.

   No external dependencies. Web fonts are progressive
   enhancement only — every family has a system fallback stack.
   ============================================================= */

/* =============================================================
   CUSTOM PROPERTIES
   ============================================================= */
:root {
  --ink:        #080D1A;
  --ink-2:      #0F1628;
  --ink-3:      #1A2235;
  --white:      #FFFFFF;
  --white-90:   rgba(255,255,255,0.9);
  --white-70:   rgba(255,255,255,0.7);
  --white-50:   rgba(255,255,255,0.5);
  --white-40:   rgba(255,255,255,0.4);
  --white-30:   rgba(255,255,255,0.3);
  --white-10:   rgba(255,255,255,0.1);
  --white-06:   rgba(255,255,255,0.06);
  --white-04:   rgba(255,255,255,0.04);
  --accent:     #DDFF47;
  --accent-dim: rgba(221,255,71,0.15);
  --accent-bdr: rgba(221,255,71,0.3);
  --green:      #3DDB82;
  --blue:       #4080FF;
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.12);
  --ff-h:       'Syne', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --ff-b:       'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-sm:  0 8px 24px rgba(0,0,0,0.25);
  --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-b);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--ff-b); cursor: pointer; border: none; background: none; }

/* =============================================================
   UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 2000;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--ff-h);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.5); opacity: 0.5; }
}
.anim-1 { animation: fadeUp 0.65s 0.1s ease both; }
.anim-2 { animation: fadeUp 0.65s 0.2s ease both; }
.anim-3 { animation: fadeUp 0.65s 0.3s ease both; }
.anim-4 { animation: fadeUp 0.65s 0.4s ease both; }
.anim-5 { animation: fadeUp 0.65s 0.5s ease both; }

/* Reveal-on-scroll. Content is visible by default and only hidden once
   JS confirms it can reveal it again — a JS failure never hides copy. */
.reveal { transition: opacity 0.65s ease, transform 0.65s ease; }
.has-js .reveal { opacity: 0; transform: translateY(32px); }
.has-js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .has-js .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(8,13,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-h);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--white);
}
.logo-dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.logo-sub {
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40);
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--border-2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-50);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--white-06); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--ff-h);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.2px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-cta:hover {
  background: #c8f000;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(221,255,71,0.24);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  display: none;
  flex-direction: column;
  background: rgba(8,13,26,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 15px;
  color: var(--white-70);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-drawer a:hover { color: var(--white); }
.nav-drawer .drawer-cta {
  margin-top: 16px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--ff-h);
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  border-bottom: none;
}
.nav-drawer .drawer-cta:hover { color: var(--ink); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--ff-h);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.3px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #c8f000;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(221,255,71,0.28);
}
.btn-primary svg { transition: var(--transition); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white-70);
  font-family: var(--ff-h);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-2);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--white-30); color: var(--white); background: var(--white-04); }

/* Disabled state — used by "Connect Lofty" until the OAuth flow ships. */
.btn-ghost[disabled],
.btn-ghost[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--white-40);
  border-color: var(--border);
  background: var(--white-04);
}
.btn-ghost[disabled]:hover,
.btn-ghost[aria-disabled="true"]:hover {
  border-color: var(--border);
  color: var(--white-40);
  background: var(--white-04);
  transform: none;
}
.btn-tag {
  font-family: var(--ff-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
  background: var(--white-06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 9px;
  margin-left: 2px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.actions-note {
  font-size: 12.5px;
  color: var(--white-40);
  margin-top: 18px;
  line-height: 1.6;
  max-width: 480px;
}

/* =============================================================
   SECTION BASE
   ============================================================= */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--ink-2); }
.section-line { border-top: 1px solid var(--border); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-h);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}
.section-title-sm {
  font-family: var(--ff-h);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--white-50);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}
.section-head { margin-bottom: 56px; }
.section-head-center { text-align: center; margin-bottom: 56px; }
.section-head-center .section-sub { margin: 0 auto; }
.section-head-center .section-label { display: block; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 30%, rgba(64,128,255,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 12% 80%, rgba(221,255,71,0.07) 0%, transparent 50%),
    linear-gradient(165deg, var(--ink) 0%, #0A1020 55%, #080D1A 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 70%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
.hero .container { position: relative; z-index: 2; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: var(--ff-h);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .accent-line { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--white-50);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 560px;
}
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

/* --- Hero schematic panel: how the operating system is layered --- */
.hero-panel {
  background: rgba(15,22,40,0.72);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
}
.hero-panel-dots { display: flex; gap: 6px; }
.hero-panel-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white-10);
  display: block;
}
.hero-panel-title {
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-left: 4px;
}
.hero-panel-body {
  background: rgba(8,13,26,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.layer {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--white-04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.layer-num {
  font-family: var(--ff-h);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer-name {
  font-family: var(--ff-h);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.layer-meta { font-size: 12px; color: var(--white-50); line-height: 1.55; }
.layer-link {
  display: flex;
  justify-content: center;
  color: var(--white-30);
  line-height: 0;
}
.hero-panel-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 12px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--white-90);
  line-height: 1.5;
}
.hero-panel-foot svg { color: var(--accent); flex-shrink: 0; }

/* =============================================================
   AUDIENCE — built for real estate professionals
   ============================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--white-04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.audience-card:hover { border-color: var(--border-2); background: var(--white-06); }
.audience-role {
  font-family: var(--ff-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.audience-title {
  font-family: var(--ff-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.audience-desc { font-size: 13.5px; color: var(--white-50); line-height: 1.7; }

/* =============================================================
   CAPABILITY CARDS
   ============================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white-04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--accent-bdr);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 20px; height: 20px;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-name {
  font-family: var(--ff-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.feature-desc {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* =============================================================
   TRUST / SECURITY
   ============================================================= */
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trust-list { display: flex; flex-direction: column; gap: 14px; }
.trust-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--white-04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.trust-item svg {
  width: 20px; height: 20px;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.trust-item h3 {
  font-family: var(--ff-h);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 5px;
}
.trust-item p { font-size: 13px; color: var(--white-50); line-height: 1.65; }

.statement {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--white-04);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
}
.statement strong { color: var(--white); font-weight: 500; }

/* =============================================================
   PRIVATE BETA BAND
   ============================================================= */
.beta-band {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.beta-band-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 0%, rgba(221,255,71,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.beta-band .container { position: relative; z-index: 2; }
.beta-band .section-title-sm,
.beta-band .section-sub { margin-left: auto; margin-right: auto; }
.beta-band .section-sub { text-align: center; }
.beta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #0D1525;
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.65;
}
.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--white-50); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: var(--white-50); transition: var(--transition); }
.footer-legal a:hover { color: var(--white-70); }

/* =============================================================
   ACCESS DIALOG
   Opened by "Open Replico AI". The product is invite-only during
   private beta, so the CTA explains how access works instead of
   linking to an application the visitor cannot reach.
   ============================================================= */
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4,7,14,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dialog-overlay.open { display: flex; }
.dialog {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  padding: 30px;
  position: relative;
  animation: fadeUp 0.28s ease both;
}
.dialog-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--white-50);
  transition: var(--transition);
}
.dialog-close:hover { background: var(--white-06); color: var(--white); }
.dialog h2 {
  font-family: var(--ff-h);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: var(--white);
  margin: 16px 0 12px;
}
.dialog p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 12px;
}
.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.dialog-actions .btn-primary,
.dialog-actions .btn-ghost { width: 100%; justify-content: center; }

/* =============================================================
   RESPONSIVE — TABLET
   ============================================================= */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: 640px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { gap: 16px; }
  .trust-layout { grid-template-columns: 1fr; gap: 36px; }
}

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

/* =============================================================
   RESPONSIVE — MOBILE
   ============================================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .logo-sub { display: none; }

  .hero { padding: 112px 0 64px; }
  .hero h1 { letter-spacing: -0.5px; font-size: clamp(30px, 8.5vw, 44px); overflow-wrap: break-word; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-panel-body { padding: 14px; }

  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .section-head, .section-head-center { margin-bottom: 40px; }

  .beta-band { padding: 68px 0; }
  .beta-actions { flex-direction: column; align-items: stretch; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* Capability cards hold two columns down through tablet portrait (768px)
   and only stack on genuinely narrow screens. */
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .statement { padding: 16px 18px; font-size: 13.5px; }
  .feature-card, .audience-card { padding: 24px 20px; }
  .dialog { padding: 26px 22px; }
}
