/* ============================================================
   Home page styles
   ============================================================ */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 7rem) clamp(3rem, 6vw, 5.5rem); }
.hero::after {
  /* soft brass glow */
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(198,164,119,0.28), transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem); letter-spacing: -0.03em;
  margin-top: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--rose); }
.hero .lead {
  margin-top: 1.6rem; font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--ink-soft); max-width: 44ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; align-items: center; }
.hero-note {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 1.6rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-faint);
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--phosphor-dim); box-shadow: 0 0 0 3px rgba(31,138,62,0.18); }

/* ---------- Device frame (hero screenshot) ---------- */
.device {
  position: relative; justify-self: center;
  width: min(330px, 78vw); aspect-ratio: 9 / 19.2;
  background: #14110f; border-radius: 42px;
  padding: 11px; box-shadow:
    0 2px 4px rgba(0,0,0,.4),
    0 40px 70px -30px rgba(43,43,42,.55),
    inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.device::before { /* speaker notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #14110f; border-radius: 0 0 16px 16px; z-index: 3;
}
.device-screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--terminal-bg);
}

/* ---------- Screenshot placeholder (reusable, modular) ---------- */
.shot-ph {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; text-align: center; padding: 1.5rem;
  background:
    linear-gradient(transparent 96%, rgba(61,255,110,0.08) 96%) 0 0 / 100% 7px,
    radial-gradient(circle at 50% 36%, rgba(61,255,110,0.10), transparent 60%),
    var(--terminal-bg);
  color: var(--phosphor-soft);
  font-family: var(--mono);
}
.shot-ph .icon {
  width: 40px; height: 40px; border: 1.5px solid var(--phosphor-soft);
  border-radius: 9px; display: grid; place-items: center; color: var(--phosphor);
}
.shot-ph .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.shot-ph .sub { font-size: 0.64rem; color: rgba(61,255,110,0.4); letter-spacing: 0.06em; max-width: 22ch; line-height: 1.5; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--alabaster); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3.5rem); justify-content: space-between; padding-block: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.trust-item svg { color: var(--rose); flex-shrink: 0; }
.trust-item b { color: var(--ink); font-weight: 600; }

/* ---------- Section intro ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; }

/* ============================================================
   MODULAR SCREENSHOT GALLERY
   Built on CSS Grid — drop additional <figure class="screenshot">
   blocks into .shot-gallery and the layout reflows automatically.
   ============================================================ */
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
}
.screenshot {
  margin: 0;
  background: #14110f;
  border-radius: 30px; padding: 9px;
  box-shadow: 0 24px 44px -28px rgba(43,43,42,.5), inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.screenshot:hover { transform: translateY(-6px); box-shadow: 0 34px 54px -28px rgba(43,43,42,.55); }
.screenshot .frame {
  border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 19.2;
  background: var(--terminal-bg);
}
.screenshot .frame img { width: 100%; height: 100%; object-fit: cover; }
.screenshot figcaption {
  text-align: center; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--ink-faint); padding: 0.85rem 0.5rem 0.4rem;
}

/* ---------- Feature callouts ---------- */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.feature {
  background: var(--alabaster); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.6vw, 2.1rem);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(154,59,56,0.08); color: var(--rose);
}
.feature h3 { font-size: 1.28rem; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Orbital teaser (dark band) ---------- */
.teaser { background: var(--terminal-bg); color: #E7EAE3; position: relative; overflow: hidden; }
.teaser::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(61,255,110,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(61,255,110,0.05) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 80%);
  pointer-events: none;
}
.teaser .wrap { position: relative; z-index: 1; }
.teaser-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser .eyebrow { color: var(--phosphor); }
.teaser .eyebrow::before { background: var(--phosphor-dim); }
.teaser h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: 1.1rem; }
.teaser h2 .term { font-family: var(--mono); color: var(--phosphor); font-weight: 700; letter-spacing: -0.01em; }
.teaser p { margin-top: 1.3rem; color: rgba(231,234,227,0.7); font-size: 1.1rem; max-width: 46ch; }
.teaser .btn--primary { background: var(--phosphor); color: #04210d; margin-top: 2rem; }
.teaser .btn--primary:hover { background: #6dff92; }
.terminal-card {
  background: var(--terminal-panel); border: 1px solid rgba(61,255,110,0.22);
  border-radius: 16px; padding: 1.4rem 1.5rem; font-family: var(--mono);
  font-size: 0.86rem; line-height: 1.9; color: var(--phosphor);
  box-shadow: 0 0 60px -20px rgba(61,255,110,0.35);
}
.terminal-card .muted { color: rgba(61,255,110,0.45); }
.terminal-card .cursor { display: inline-block; width: 9px; height: 1.05em; background: var(--phosphor); vertical-align: -0.15em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Waitlist band ---------- */
.cta-band { background: var(--rose); color: var(--alabaster); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 120%, rgba(198,164,119,0.4), transparent 55%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.cta-band p { margin-top: 1rem; color: rgba(247,245,240,0.82); max-width: 48ch; margin-inline: auto; font-size: 1.1rem; }
.cta-band .btn--brass { margin-top: 1.8rem; background: var(--alabaster); color: var(--rose); }
.cta-band .btn--brass:hover { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .device { grid-row: 1; margin-bottom: 1rem; }
  .feature-row { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
