/* The home page, ported from components/variants/TechProVariant.module.css.
   That module used no :global and no composes, so its class names carry over
   verbatim. Loaded after tokens.css. */

.wrapper {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  font-family: var(--font-sans);
}

/* ── ADVANCED AMBIENT CANVASES & GLOW ────────────────────────────── */
.backgroundLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.radialHeroGlow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 174, 81, 0.22) 0%, rgba(34, 197, 94, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  opacity: 0.85;
}

.secondaryGlow {
  position: absolute;
  top: 45%;
  right: -5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 174, 81, 0.12) 0%, transparent 65%);
  filter: blur(100px);
  opacity: 0.7;
}

.subtleGrid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.6;
}

.vignetteOverlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 95%);
}

/* ── NAVBAR ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navInner {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brandGroup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logoFrame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.brandSymbol {
  display: block;
}

.brandTextGroup {
  display: flex;
  flex-direction: column;
}

.brandName {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-1);
}

.brandSub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.navMeta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.navLink {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.navLink:hover {
  color: var(--accent);
}

/* The scheme button lives in controls.css, loaded by base.html. */

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-12);
  text-align: center;
}

.heroCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heroBrandWrap {
  position: relative;
  margin-bottom: var(--space-6);
}

.glowHalo {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  filter: blur(30px);
}

.heroWordmark {
  display: block;
  max-width: clamp(280px, 52vw, 500px);
  height: auto;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

.heroHeadline {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin: 0 0 var(--space-5);
  max-width: 24ch;
}

.heroSubtext {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 64ch;
  margin: 0 0 var(--space-8);
}

.heroSubtext strong {
  color: var(--text-1);
  font-family: var(--font-mono);
}

/* Brand marks are inline SVG, so there is no image file to "Save as" — this stops the
   remaining easy grabs: drag-to-desktop, selection, and long-press save on mobile. */
.logoFrame svg,
.heroWordmark,
.footerLogo {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.heroCtaGroup {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.primaryAction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.primaryAction:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.secondaryAction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text-1);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.secondaryAction:hover {
  background: var(--surface-hover);
  border-color: var(--border-accent);
  color: var(--accent);
}

.btnArrow, .btnArrowDown {
  font-size: 14px;
  transition: transform var(--transition-fast);
}

.primaryAction:hover .btnArrow {
  transform: translateX(3px);
}

.secondaryAction:hover .btnArrowDown {
  transform: translateY(3px);
}

/* ── BENTO PRODUCT GRID ──────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.sectionHeader {
  text-align: center;
  margin-bottom: var(--space-10);
}

.sectionTag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.sectionTitle {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin: 0 0 var(--space-2);
}

.sectionSubtitle {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
}

.categoryBlock {
  margin-bottom: var(--space-10);
}

.categoryBlock:last-child {
  margin-bottom: 0;
}

.categoryHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.categoryLabel {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 0;
}

.categoryBlurb {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}

.bentoGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.bentoCard {
  position: relative;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.bentoCard:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px var(--accent-glow);
}

.bentoCard:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.ventureScreenshot {
  display: block;
  width: calc(100% + (2 * var(--space-6)));
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.bentoTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.cardCategory {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.badgeLive {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
}

.badgeBuild {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
}

.badgeTesting {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(157, 174, 81, 0.12);
  border: 1px solid rgba(157, 174, 81, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Tester call — sits under the Android grid only, so it reads as a caption to those
   three cards rather than a site-wide banner. */
.testerCall {
  margin-top: var(--space-6);
  padding: var(--space-6);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  background: var(--surface-1);
}

.testerCallTitle {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 var(--space-3);
}

.testerCallBody {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 var(--space-5);
  max-width: 68ch;
}

.badgePlan {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 12px;
}

.bentoMiddle {
  margin-bottom: var(--space-6);
}

.cardTitle {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 var(--space-2);
}

.cardDescription {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 var(--space-4);
}

.cardDescription strong {
  color: var(--text-1);
}

.streamBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.streamDot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.seedPillsGroup {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.seedPillsGroup span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 4px 12px;
  border-radius: 4px;
}

.bentoBottom {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.actionLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.actionLink:hover {
  color: var(--accent-light);
  transform: translateX(2px);
}

.arrowDiag {
  font-size: 13px;
}

.metaNote {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ── DISPATCH & COMMS ────────────────────────────────────────────── */
.dispatchLeft {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.dispatchPanel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.dispatchTag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.dispatchTitle {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0 0 var(--space-2);
}

.dispatchDesc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 var(--space-5);
}

.dispatchRight {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mailCard {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.mailCardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.mailType {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

.mailCardBody {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.mailAddress {
  position: relative;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  transition: color var(--transition-fast);
}

.mailAddress::after {
  content: "";
  position: absolute;
  inset: -14px 0;
}

.mailAddress:hover {
  color: var(--accent);
}

.copyBtn {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copyBtn::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}

.copyBtn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  background: var(--bg);
}

.footerContent {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

.footerBrandBlock {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footerLogo {
  display: block;
}

.footerBrandText {
  font-weight: 700;
  color: var(--text-2);
}

.footerYear {
  color: var(--text-3);
}

.footerLinks {
  display: flex;
  gap: var(--space-3);
}

.footerLinks a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footerLinks a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .bentoGrid {
    grid-template-columns: 1fr;
  }
  .dispatchPanel {
    grid-template-columns: 1fr;
  }
  .footerContent {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}


/* ── the three steps (seed · root · boot) ──
   Three cards under the hero, one per step. The copy is CMS blocks; this only
   places them. Same card language as the venture grid below, one size down,
   because these are the pitch and those are the proof. */
.steps .sectionHeader {
  margin-bottom: var(--space-8);
}

.stepGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

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

.stepCard {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.stepCard:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
}

.stepIndex {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.12em;
}

.stepName {
  margin: var(--space-2) 0 var(--space-1);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.stepLead {
  margin: 0 0 var(--space-3);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  text-wrap: balance;
}

.stepBody {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ── seed.root.boot: seeds fall behind the hero and root at its base ──── */
.heroSeeds {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.heroSeed {
  position: absolute;
  top: -12px;
  left: var(--x, 50%);
  width: 5px;
  height: 7px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--accent);
  opacity: 0;
  animation: seedFall var(--dur, 12s) cubic-bezier(.25,.1,.3,1) var(--delay, 0s) infinite;
}
/* the root: a short stem grows once the seed has landed */
.heroSeed::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 0;
  background: var(--accent);
  transform: translateX(-50%);
  animation: seedRoot var(--dur, 12s) ease-out var(--delay, 0s) infinite;
}
@keyframes seedFall {
  0%   { top: -12px; transform: translateX(0) rotate(0); opacity: 0; }
  8%   { opacity: .55; }
  70%  { top: calc(100% - 22px); transform: translateX(var(--sway, 0)) rotate(160deg); opacity: .55; }
  90%  { top: calc(100% - 22px); transform: translateX(var(--sway, 0)) rotate(180deg); opacity: .55; }
  100% { top: calc(100% - 22px); transform: translateX(var(--sway, 0)) rotate(180deg); opacity: 0; }
}
@keyframes seedRoot {
  0%, 70% { height: 0; }
  90%     { height: 14px; }
  100%    { height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .heroSeeds { display: none; }
}
