/* ===== home.css — index.html ===== */
/* 4. kinetic hero headline */
.hero-title .w {
  display: inline-block;
  animation: wordIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title .w:nth-of-type(1) { animation-delay: 0.05s; }
.hero-title .w:nth-of-type(2) { animation-delay: 0.17s; }
.hero-title .w:nth-of-type(3) { animation-delay: 0.29s; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.5em); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--amber);
  border: 1px solid rgba(255,176,0,0.35);
  padding: 7px 13px;
  border-radius: 3px;
  margin-bottom: 28px;
}
.eyebrow.dark {
  color: var(--navy);
  border-color: rgba(13,43,78,0.35);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,176,0,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,176,0,0); }
}
.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: #a8adb6;
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #9ba1aa;
}
.hero-meta .sep { width: 4px; height: 4px; background: #3a3f46; border-radius: 50%; }

/* ---------- Stats strip ---------- */
.strip {
  background: var(--navy);
  border-top: 3px solid var(--amber);
}
.strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #cfd8e3;
  font-size: 13px;
  border-left: 2px solid rgba(255,176,0,0.5);
  padding-left: 14px;
}
.strip-item strong {
  font-size: 22px;
  color: var(--amber);
  font-weight: 700;
}

/* ---------- Markets band ---------- */
.markets {
  background: var(--black);
  border-top: 1px solid #1d1f24;
  padding: 72px 24px 80px;
}
.markets-head {
  max-width: 1240px;
  margin: 0 auto 48px;
}
.markets-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #9ba1aa;
}
.markets-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.vignette {
  padding: 0 28px;
  border-left: 1px solid #22262c;
}
.vignette:first-child { border-left: none; padding-left: 0; }
.vignette:last-child { padding-right: 0; }
.vignette img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 3px;
  border-radius: 4px;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.3s, transform 0.3s;
}
.vig-credit {
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #6b6f76;
  margin: 0 0 18px;
}
.vignette:hover img { filter: saturate(1.1) contrast(1.05); transform: scale(1.01); }
.vig-cap {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 8px;
}
.vig-sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: #7d838d;
}
@media (max-width: 1000px) {
  .markets-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .vignette:nth-child(odd) { border-left: none; padding-left: 0; }
  .vignette { border-top: 1px solid #22262c; padding-top: 32px; }
}
@media (max-width: 560px) {
  .markets-grid { grid-template-columns: 1fr; }
  .vignette { border-left: none; padding-left: 0; }
}

/* ---------- Product showcase ---------- */
.product-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.product-copy h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.product-groups { margin-top: 36px; }
.product-groups div {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--navy);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.product-groups div:last-child { border-bottom: 1px solid var(--line); }
.product-groups span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber-dim);
  margin-bottom: 3px;
}
.product-shot { position: sticky; top: 100px; }
.shot-window {
  max-width: 260px;
  margin: 0 auto;
  background: #0d0f12;
  border: 1px solid #26292f;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(13,43,78,0.22);
}
.shot-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #14171b;
  border-bottom: 1px solid #26292f;
}
.shot-title {
  flex: 1;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #7d838d;
}
.shot-frame {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.shot-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(13,15,18,0), #0d0f12);
  pointer-events: none;
}
.shot-frame img {
  width: 100%;
  display: block;
}
.shot-note {
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
  margin-top: 14px;
}
@media (max-width: 1020px) {
  .product-inner { grid-template-columns: 1fr; gap: 48px; }
  .product-shot { position: static; }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy);
  border-top: 3px solid var(--amber);
  padding: 44px 24px;
}
.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.trust-k { color: var(--amber); font-size: 13px; }
.trust-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #f2f4f7;
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 12.5px;
  color: #9fb0c4;
  line-height: 1.5;
  display: block;
}
@media (max-width: 960px) {
  .trust-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-inner { grid-template-columns: 1fr; }
}

/* ---------- Maker ---------- */
.maker-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: start;
}
.maker-copy h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.maker-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 58ch;
  margin-top: 16px;
}
.maker-facts { margin-top: 8px; }
.maker-facts div {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.maker-facts div:last-child { border-bottom: 1px solid var(--line); }
.maker-facts strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--amber-dim);
  min-width: 64px;
}
.maker-facts span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--navy);
}
@media (max-width: 900px) {
  .maker-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Lead magnet ---------- */
.magnet {
  background: var(--black);
  border-top: 1px solid #1d1f24;
  padding: 64px 24px;
}
.magnet-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.magnet-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 14px;
}
.magnet-copy h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
}
.magnet-copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #9ba1aa;
  max-width: 52ch;
}
.magnet-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.magnet-form input {
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--sans);
  background: #14171b;
  border: 1px solid #2c3138;
  border-radius: 4px;
  color: #e8eaee;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.magnet-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,176,0,0.15);
}
.lead-note {
  grid-column: 1 / -1;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #8a909a;
  margin: 0;
}
.lead-note.success { color: var(--up); }
.lead-note.error { color: var(--dn); }
.magnet-qgrid {
  max-width: 1240px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.mq-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid #1d2026;
  font-size: 12px;
  line-height: 1.55;
  color: #9ba1aa;
}
.mq-item span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.mq-item:nth-last-child(-n+2) { border-bottom: 1px solid #1d2026; }
@media (max-width: 860px) {
  .magnet-inner { grid-template-columns: 1fr; gap: 32px; }
  .magnet-qgrid { grid-template-columns: 1fr; }
  .mq-item:nth-last-child(-n+2) { border-bottom: none; }
  .mq-item:last-child { border-bottom: 1px solid #1d2026; }
}

/* ---------- Perspective floor ---------- */
.hero-floor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 75% 65% at 68% 78%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 68% 78%, black 20%, transparent 70%);
}
.floor-radial line {
  stroke: rgba(255,255,255,0.13);
  stroke-width: 1.2;
}
  to { transform: translateY(9px); }
}

/* --- overrides (must come after base rules) --- */
.strip-item .wide { font-size: 15px; letter-spacing: 0.06em; }

/* maker facts as full-width strip */
.maker-inner { grid-template-columns: 1fr; }
.maker-facts {
  max-width: 1240px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
}
.maker-facts div {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.maker-facts div:last-child { border-bottom: 1px solid var(--line); }
.maker-facts strong { display: block; min-width: 0; }
.maker-facts span { display: block; margin-top: 4px; }
@media (max-width: 760px) {
  .maker-facts { grid-template-columns: 1fr 1fr; gap: 0 24px; }
}

/* light screenshot window */
.shot-window { background: #f7f6f2; border-color: #e4e2da; }
.shot-titlebar { background: #efeee8; border-bottom-color: #e4e2da; }
.shot-title { color: #6b7280; }
.shot-frame::after { background: linear-gradient(to bottom, rgba(247,246,242,0), #f7f6f2); }

/* credit-to-title gap */
.vig-credit { margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  .hero-title .w { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner,
  .risk-inner,
  .clara-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .module-list { grid-template-columns: 1fr; }
  .module-row:nth-last-child(-n+2) { border-bottom: none; }
  .module-row:last-child { border-bottom: 1px solid var(--line); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { margin-left: 12px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid #232323;
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-top: 1px solid #1a1a1a;
    font-size: 14px;
  }
}
@media (max-width: 620px) {
  .strip-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .hero-inner { padding: 56px 20px 64px; }
  .term-row { grid-template-columns: 0.8fr 1.1fr 0.9fr 0.8fr 1fr; }
  .term-row span:last-child { display: none; }
  .term-head span:last-child { display: none; }
}

@media (max-width: 480px) {
  .term-row { font-size: 10.5px; gap: 6px; padding: 8px 6px; }
  .terminal-body { padding: 10px 8px; }
  .hero-ctas .btn { width: 100%; }
  .contact-form input,
  .contact-form select { font-size: 16px; }
  .contact-form { padding: 26px 20px; }
  .proof-strip { padding: 22px 22px; }
  .brow-new strong { font-size: 21px; }
}

