/* --------- Display Font for Hero Title --------- */
@font-face {
  font-family: 'SpecialGothicExpandedOne';
  src: url('fonts/SpecialGothicExpandedOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------- Base / Reset --------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root{
  --bg-1:#0a0b0f;
  --bg-2:#0e1017;
  --card:#10121a;
  --card-stroke:#1b1e28;
  --muted:#a7acb8;
  --white:#ffffff;

  --purple-1:#b39aff;
  --purple-2:#8e7bff;
  --purple-3:#6f64ff;

  --container-w: 1200px;
  --header-h: 56px;
}

/* Make browser UI adopt dark colors and avoid white gutters */
:root { color-scheme: dark; }
html { height: 100%; background:#0a0b0f; }

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(111,100,255,.35), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(179,154,255,.25), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  background-color:#0a0b0f; /* fallback under gradients */
}

/* Subtle star specks */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 15% 12%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 22%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1.8px 1.8px at 32% 6%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(1.6px 1.6px at 64% 76%, rgba(255,255,255,.10), transparent 60%);
  z-index: 0;
}

/* Page wrapper — dynamic viewport + safe areas */
.page{
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;

  /* Push content down to match survey page (clear of fixed header + safe area) */
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + -2.29rem);

  padding-bottom: calc(48px + env(safe-area-inset-bottom));
  overflow: visible;
}

.container{
  width: min(var(--container-w), 92%);
  margin: 0 auto;
}

/* --------- Hero --------- */
.hero{
  text-align:center;
  padding: clamp(2.25rem, 9vh, 6.5rem) 0 2.5rem;
}

.brand-icon{
  height: 2.1rem;
  width: auto;
  border-radius: 6px;
  vertical-align: middle;
}

.beta{
  display:inline-block;
  font-weight: 600;
  color: var(--purple-2);
  letter-spacing: .2px;
  margin: .9rem 0;
  opacity: .95;
}
.beta span{ color: var(--purple-1); }

/* Default H1 style (kept for any other h1s) */
h1{
  font-weight: 800;
  line-height: 0.98;
  font-size: clamp(2.2rem, 6.2vw, 5.2rem);
  margin: 0 0 1rem 0;
  background: linear-gradient(90deg, var(--purple-1), var(--purple-2) 45%, var(--purple-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Use the new display font ONLY on the hero headline */
.hero-title{
  font-family: 'SpecialGothicExpandedOne', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  background: linear-gradient(90deg, var(--purple-1), var(--purple-2) 45%, var(--purple-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Desktop/tablet baseline */
  font-size: clamp(2rem, 6vw, 4.2rem);
}

/* Subhead */
.subtitle{
  color: rgb(221, 221, 221);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin: 0 auto 2rem;
  max-width: 46ch;
}

/* Centered counter section */
.scorecards-center{
  display:flex;
  justify-content:center;
  margin-top:.5rem;
}
.stats-strip { display:flex; gap:.75rem; align-items:center; justify-content:center; margin:.75rem 0 0; flex-wrap:wrap; }
.stat-pill {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  padding:.5rem .75rem; border-radius:999px;
  font-weight:600;
  backdrop-filter:saturate(140%) blur(2px);
}
.stat-pill small { font-weight:500; opacity:.9; }
.logos-row { display:flex; gap:1rem; justify-content:center; align-items:center; flex-wrap:wrap; margin:.75rem 0 0; opacity:.85; }
.logos-row img { height:22px; width:auto; filter:grayscale(100%); opacity:.9; }

/* --------- Value Props --------- */
.props-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-top: -1.2rem;
}

.prop-card{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0));
  border: 1px solid var(--card-stroke);
  border-radius: 16px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.prop-card:hover{
  transform: translateY(-3px);
  border-color: rgba(142,123,255,.45);
  box-shadow: 0 14px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(142,123,255,.15) inset;
}

.icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 48px;
  height: 48px;
  margin: 0 auto .9rem;
  border-radius: 12px;
  color: var(--purple-2);
  background: rgba(142,123,255,.08);
  border: 1px solid rgba(142,123,255,.22);
}

/* Use the new display font on prop-card headings */
.prop-card h3{
  font-family: 'SpecialGothicExpandedOne', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: .25rem 0 .55rem;
}

.prop-card p{
  color: var(--muted);
  font-size: clamp(.98rem, 2vw, 1rem);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 auto;
}

/* --------- Navbar --------- */
.site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  background: linear-gradient(180deg, #0a0b0f 0%, rgba(14,16,23,.2) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ensure spacing/align for the action buttons */
.main-actions{
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* permanent hover look */
.main-actions a{
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
  color: var(--purple-2);
  background-color: rgba(142,123,255,.08);
}

/* optional: subtle hover deepen for affordance */
.main-actions a:hover,
.main-actions a:focus-visible{
  background-color: rgba(142,123,255,.14);
}

/* --------- Responsive tweaks --------- */
@media (min-width: 768px){
  .stats-strip { justify-content:flex-start; }
  .logos-row { justify-content:flex-start; }
}

@media (max-width: 1024px){
  :root { --header-h: 60px; }
  .props-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .hero{ padding: clamp(2rem, 8vh, 5.5rem) 0 2.25rem; }
  .main-actions{ gap: .5rem; }
  .main-actions a{ padding: .45rem .65rem; }
}

@media (max-width: 600px){
  :root { --header-h: 56px; }
  .container{ width: 92%; }
  .brand-icon{ height: 1.9rem; }

  /* Default h1 clamp for any other pages */
  h1{ font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.05; }

  /* Match survey-page size for this hero title */
  .hero .hero-title{
    font-size: clamp(1.5rem, 7vw, 2.6rem);
    line-height: 1.05;
  }

  .subtitle{ font-size: 1rem; }
  .props-grid{ grid-template-columns: 1fr; gap: .9rem; }
  .icon{ width: 42px; height: 42px; margin-bottom: .7rem; }

  /* A touch more top padding on small phones for breathing room */
  .hero{ padding: clamp(1.75rem, 7vh, 4.5rem) 0 2rem; }

  .main-actions a{ padding: .45rem .6rem; }
}

/* Early adopters pill */
.early-adopters{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  flex-wrap:wrap;
  margin-top:1rem;          /* you already had inline; move it here if you like */
}

.promo-image{
  width: min(49px, 22vw);   /* small on desktop, scales on tiny phones */
  height: auto;             /* prevents distortion */
  display: block;
  margin: 0;
  margin-top: 1rem;
}

.adopters-copy{
  color: var(--muted);
  font-size:.95rem;
  margin-left:.25rem;
  margin-top: 1rem;
}