/* Section-level styles */

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 400ms ease, border-color 400ms ease, color 400ms ease;
  border-bottom: 1px solid transparent;
}
.nav.on-ink {
  color: var(--off);
  background: linear-gradient(to bottom, rgba(3,27,46,0.85), rgba(3,27,46,0.35) 70%, rgba(3,27,46,0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.on-off {
  color: var(--text-on-off);
  background: rgba(249, 251, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-on-off);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.nav-logo-mark {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
}

.nav-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-color: var(--line-on-ink-strong);
  border-radius: 999px;
  background: rgba(3, 27, 46, 0.4);
}
.nav.on-off .nav-dots {
  border-color: var(--line-on-off-strong);
  background: rgba(255,255,255,0.6);
}
.nav-dot {
  position: relative;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  background: transparent;
  border: 0;
  white-space: nowrap;
  transition: opacity 200ms ease, background 200ms ease, color 200ms ease;
}
.nav-dot:hover { opacity: 0.9; }
.nav-dot.is-active {
  opacity: 1;
  background: var(--neon);
  color: var(--ink);
}

.nav-cta {
  display: flex; gap: 10px;
}

/* Progress bar */
.nav-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 101;
  pointer-events: none;
}
.nav-progress-fill {
  height: 100%;
  background: var(--neon);
  width: 0%;
  transition: width 100ms linear;
}

/* ============ GENERIC SECTION ============ */
section {
  position: relative;
}
.section-ink { background: var(--ink); color: var(--text-on-ink); }
.section-off { background: var(--off); color: var(--text-on-off); }
.section-mint { background: var(--mint-2); color: var(--text-on-off); }
.section-teal { background: var(--teal-3); color: var(--text-on-ink); }

/* Section header meta */
.sect-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line-on-ink);
}
.section-off .sect-meta,
.section-mint .sect-meta { border-bottom-color: var(--line-on-off); }
.sect-meta-left { display: flex; gap: 18px; align-items: baseline; }
.sect-meta-num {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(137,241,55,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(137,241,55,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(15,118,110,0.35), transparent 60%);
  filter: blur(40px);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(24px, 6vh, 64px);
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-eyebrow-row .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(137,241,55,0.8);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 18ch;
}
.hero-title .accent {
  color: var(--neon);
  font-style: italic;
  font-weight: 400;
}
.hero-title .teal {
  color: #3EE0B6;
}

.hero-sub {
  margin-top: 32px;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.5;
  max-width: 58ch;
  color: var(--text-on-ink-dim);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid var(--line-on-ink);
  margin-top: 56px;
}
.hero-foot-cell .l {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-on-ink-faint);
  margin-bottom: 14px;
}
.hero-foot-cell .v {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-foot-cell .v small {
  font-family: var(--f-mono); font-size: 14px; color: var(--text-on-ink-dim);
  font-weight: 400; margin-left: 8px; letter-spacing: 0.04em;
  display: inline-block; transform: translateY(-4px);
}

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============ HERO VISUAL (right-side logo) ============ */
.hero-logo-wrap {
  position: absolute;
  right: clamp(-40px, 4vw, 80px);
  top: clamp(80px, 14vh, 180px);
  width: clamp(280px, 32vw, 460px);
  aspect-ratio: 1 / 1.05;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}
.hero-logo-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 45%,
    rgba(137,241,55,0.28) 0%,
    rgba(137,241,55,0.12) 30%,
    rgba(15,118,110,0.06) 60%,
    transparent 75%);
  filter: blur(24px);
  pointer-events: none;
  animation: heroLogoPulse 4.8s ease-in-out infinite;
}
.hero-logo-img {
  position: relative;
  width: 88%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(137,241,55,0.25));
  opacity: 0.95;
}
@keyframes heroLogoPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@media (max-width: 900px) {
  .hero-logo-wrap {
    right: -8%;
    top: 60px;
    width: 55vw;
    opacity: 0.42;
  }
}
@media (max-width: 560px) {
  .hero-logo-wrap {
    right: -12%;
    top: 40px;
    width: 65vw;
    opacity: 0.32;
  }
}

/* ============ CREDENTIALS ============ */
.cred {
  padding: 64px 0 72px;
  background: var(--ink);
  position: relative;
}
.cred-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.cred-lead {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  max-width: 20ch;
}
.cred-lead em {
  color: var(--neon);
  font-style: normal;
}
.cred-side p {
  color: var(--text-on-ink-dim);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Stats row */
.stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
}
.stat {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line-on-ink);
  position: relative;
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat .n {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(43px, 5.3vw, 77px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--off);
}
.stat .n .unit { color: var(--neon); font-size: 0.7em; margin-left: 2px; }
.stat .l {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-on-ink-dim);
  line-height: 1.45;
  max-width: 22ch;
}

/* Seals row */
.seals {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.seal {
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color 300ms ease, background 300ms ease;
}
.seal:hover { border-color: var(--line-on-ink-strong); background: linear-gradient(180deg, rgba(137,241,55,0.04), transparent); }
.seal .tag {
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--neon);
  text-transform: uppercase;
}
.seal .t { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.seal .d { font-size: 16px; color: var(--text-on-ink-dim); line-height: 1.5; }

@media (max-width: 900px) {
  .cred-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats, .seals { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-on-ink); padding: 24px 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-on-ink); padding-right: 16px; }
  .stat:nth-child(even) { padding-left: 16px; }
}

/* ============ ACT 2 — RISK ============ */
.risk {
  background: #F3F4EF;
  color: var(--text-on-off);
  padding: 72px 0 84px;
  position: relative;
}
.risk-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.risk-title {
  font-family: var(--f-display);
  font-size: clamp(46px, 6.4vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  max-width: 16ch;
}
.risk-title em { color: var(--teal-2); font-style: normal; }
.risk-title .strike {
  position: relative;
  display: inline-block;
}
.risk-title .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 6px;
  background: var(--neon);
  transform-origin: left;
  animation: strike 1400ms cubic-bezier(.2,.7,.2,1) 400ms both;
}
@keyframes strike {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.risk-sub {
  color: var(--text-on-off-dim);
  font-size: 22px;
  line-height: 1.55;
  max-width: 42ch;
}

/* Timeline (+30%) */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-off-strong);
  padding-top: 32px;
}
.tl-tick {
  position: relative;
  padding: 0 24px 0 0;
  border-right: 1px dashed var(--line-on-off);
}
.tl-tick:last-child { border-right: 0; }
.tl-tick::before {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--ink);
  outline: 3px solid var(--sand);
}
.tl-tick.hot::before { background: var(--neon); box-shadow: 0 0 0 3px rgba(137,241,55,0.25); }
.tl-tick .t {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-on-off-faint);
  margin-bottom: 14px;
}
.tl-tick .h {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.tl-tick .d {
  font-size: 17px;
  color: var(--text-on-off-dim);
  line-height: 1.55;
  padding-right: 10px;
}

.risk-facts {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-off);
  border: 1px solid var(--line-on-off);
  border-radius: var(--r-md);
  overflow: hidden;
}
.risk-fact {
  background: var(--off);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.risk-fact .n {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.risk-fact .l {
  font-size: 18px;
  color: var(--text-on-off-dim);
  line-height: 1.5;
  max-width: 30ch;
}
.risk-fact .src {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-on-off-faint);
  text-transform: uppercase;
}

.risk-bridge {
  margin-top: 60px;
  border-top: 1px solid var(--line-on-off);
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
.risk-bridge-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 22ch;
}
.risk-bridge-q em { color: var(--teal); font-style: italic; font-weight: 400; }

@media (max-width: 900px) {
  .risk-head { grid-template-columns: 1fr; gap: 32px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .tl-tick { border-right: 0; border-left: 1px dashed var(--line-on-off); padding: 0 0 0 24px; }
  .tl-tick::before { top: 4px; left: -5px; }
  .risk-facts { grid-template-columns: 1fr; }
}

/* ============ ACT 3 — GRAVITYZONE (stack layers) ============ */
.gz {
  background: var(--ink);
  color: var(--text-on-ink);
  padding: 72px 0 0;
  position: relative;
}
.gz-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
}
.gz-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 16ch;
}
.gz-title em { color: var(--neon); font-style: normal; }
.gz-sub { color: var(--text-on-ink-dim); font-size: 21px; line-height: 1.55; max-width: 44ch; }

/* Pinned stack visualizer */
.gz-pin {
  position: relative;
  height: 220vh;
}
.gz-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 40px var(--pad-x) 24px;
}
.gz-sticky-left {
  max-width: 520px;
}
.gz-layer-idx {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-on-ink-faint);
  margin-bottom: 20px;
}
.gz-layer-idx .cur { color: var(--neon); }
.gz-layer-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(43px, 5.3vw, 77px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 22px;
  transition: opacity 400ms ease;
}
.gz-layer-name .acro { color: var(--neon); font-family: var(--f-mono); font-size: 0.52em; vertical-align: 0.2em; margin-left: 10px; letter-spacing: 0.05em; }
.gz-layer-desc {
  color: var(--text-on-ink-dim);
  font-size: 20px;
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 28px;
}
.gz-layer-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.gz-layer-bullets li {
  font-family: var(--f-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-on-ink-dim);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.gz-layer-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 2px;
  background: var(--neon);
}

/* Stack visual — isometric 3D */
.gz-stack {
  position: relative;
  height: 560px;
  perspective: 1800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gz-stack-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-32deg);
}
.gz-slab {
  position: absolute;
  left: 0; right: 0;
  height: 84px;
  border-radius: 14px;
  transform-style: preserve-3d;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), opacity 500ms ease, box-shadow 500ms ease, background 500ms ease, border-color 500ms ease;
  will-change: transform, opacity;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line-on-ink-strong);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(6px);
  top: 50%;
  margin-top: -42px;
}
/* Subtle shadow under each slab to sell the 3D */
.gz-slab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  transform: translateZ(-1px);
  pointer-events: none;
}
.gz-slab .nm {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.gz-slab .ac {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-on-ink-dim);
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--line-on-ink-strong);
  border-radius: 999px;
}
.gz-slab.active {
  background: linear-gradient(180deg, rgba(137,241,55,0.22), rgba(137,241,55,0.06));
  border-color: var(--neon);
  box-shadow: 0 20px 60px -20px rgba(137,241,55,0.4), 0 0 0 1px var(--neon);
}
.gz-slab.active .ac {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
}

.gz-progress {
  position: absolute;
  right: calc(var(--pad-x) - 20px);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60vh;
  background: var(--line-on-ink);
  border-radius: 3px;
}
.gz-progress-fill {
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  background: var(--neon);
  border-radius: 3px;
  transition: height 200ms linear;
}

@media (max-width: 900px) {
  .gz-intro { grid-template-columns: 1fr; gap: 32px; }
  .gz-pin { height: auto; }
  .gz-sticky { position: relative; height: auto; grid-template-columns: 1fr; padding: 40px var(--pad-x); }
  .gz-stack { height: 400px; }
  .gz-progress { display: none; }
}

/* ============ ACT 3b — PRACTICE (Defenz operadora) ============ */
.practice {
  background: var(--mint-2);
  color: var(--text-on-off);
  padding: 72px 0 84px;
  position: relative;
}
.practice-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 40px;
}
.practice-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(41px, 5.5vw, 77px);
  line-height: 1; letter-spacing: -0.03em;
  max-width: 18ch; margin: 0;
}
.practice-title em { color: var(--teal); font-style: normal; }
.practice-sub { color: var(--text-on-off-dim); font-size: 21px; line-height: 1.55; max-width: 44ch; }

.practice-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  background: var(--off);
  border: 1px solid var(--line-on-off);
  border-radius: var(--r-md);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: border-color 300ms ease, transform 300ms ease;
}
.flow-step:hover { border-color: var(--teal); transform: translateY(-2px); }
.flow-step .step-num {
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
}
.flow-step .step-time {
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--text-on-off-faint);
  margin-left: auto;
}
.flow-step .step-head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.flow-step h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.flow-step p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-on-off-dim);
  margin: 0;
}
.flow-step .icon-box {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.practice-quote {
  margin-top: 56px;
  padding: 40px 48px;
  background: var(--ink);
  color: var(--off);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.practice-quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.practice-quote blockquote em { color: var(--neon); font-style: normal; }
.practice-quote cite {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-on-ink-dim);
  letter-spacing: 0.06em;
  display: block;
  margin-top: 14px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .practice-head { grid-template-columns: 1fr; gap: 32px; }
  .practice-flow { grid-template-columns: 1fr 1fr; }
  .practice-quote { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ ACT 4 — MARKETPLACE TRANSITION ============ */
.mkt {
  background: var(--ink);
  color: var(--text-on-ink);
  padding: 80px 0 64px;
  position: relative;
  overflow: visible;
}
.mkt-label {
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.16em;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.mkt-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(48px, 7.2vw, 110px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 18ch;
}
.mkt-title em { color: var(--neon); font-style: normal; }
.mkt-sub {
  color: var(--text-on-ink-dim);
  font-size: 22px; line-height: 1.55;
  max-width: 58ch;
  margin: 0 0 36px;
}

.mkt-preview-wrap {
  margin-top: 80px;
  position: relative;
  border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(137,241,55,0.06), transparent);
}
.mkt-preview-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-on-ink);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-on-ink-dim);
}
.mkt-preview-chrome .dots {
  display: flex; gap: 6px;
}
.mkt-preview-chrome .dots i {
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(232,238,242,0.15);
}
.mkt-preview-body {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.mkt-tier {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
}
.mkt-tier.feat {
  background: linear-gradient(180deg, rgba(137,241,55,0.12), rgba(137,241,55,0.02));
  border-color: var(--neon);
}
.mkt-tier .t {
  font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em;
}
.mkt-tier .d {
  color: var(--text-on-ink-dim); font-size: 13px; line-height: 1.5;
}
.mkt-tier .p {
  margin-top: auto;
  font-family: var(--f-display); font-weight: 500;
  font-size: 28px; letter-spacing: -0.025em;
}
.mkt-tier .p small {
  font-family: var(--f-mono); font-size: 11px; font-weight: 400;
  color: var(--text-on-ink-dim); margin-left: 6px;
}
.mkt-preview-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.mkt-preview-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 0 40px;
}

.mkt-feat-list {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-on-ink);
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
}
.mkt-feat {
  background: var(--ink);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.mkt-feat .n {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-on-ink-faint); text-transform: uppercase;
}
.mkt-feat .h {
  font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .mkt-preview-body { grid-template-columns: 1fr; }
  .mkt-feat-list { grid-template-columns: 1fr 1fr; }
}

/* ============ ACT 5 — FOOTER / CLOSE ============ */
.closure {
  background: var(--off);
  color: var(--text-on-off);
  padding: 72px 0 36px;
}
.closure-big {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(42px, 7vw, 112px);
  letter-spacing: -0.04em; line-height: 0.96;
  margin: 0 0 48px;
  max-width: 16ch;
}
.closure-big em { color: var(--teal); font-style: italic; font-weight: 400; }
.closure-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--line-on-off);
  padding-top: 48px;
  margin-top: 48px;
}
.closure-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.closure-contacts div { display: flex; flex-direction: column; gap: 6px; }
.closure-contacts .l {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em;
  color: var(--text-on-off-faint); text-transform: uppercase;
}
.closure-contacts .v { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }

.closure-foot {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-off);
  font-family: var(--f-mono); font-size: 13px;
  color: var(--text-on-off-faint);
  letter-spacing: 0.04em;
}
.closure-foot-links { display: flex; gap: 24px; }
.closure-foot-links a { color: inherit; text-decoration: none; }
.closure-foot-links a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .closure-row, .closure-contacts { grid-template-columns: 1fr; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: var(--ink-2);
  color: var(--off);
  border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  padding: 20px;
  z-index: 200;
  font-size: 13px;
  display: none;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.tweaks-panel.on { display: flex; }
.tweaks-title {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-weight: 500; font-size: 15px;
  letter-spacing: -0.01em;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-on-ink);
}
.tweaks-row { display: flex; flex-direction: column; gap: 6px; }
.tweaks-row label {
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-on-ink-dim); text-transform: uppercase;
}
.tweaks-row .options {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.tweaks-row .options button {
  flex: 1;
  font-family: var(--f-body); font-size: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-on-ink-strong);
  background: transparent;
  color: var(--off);
  cursor: pointer;
  transition: all 200ms ease;
}
.tweaks-row .options button:hover { border-color: var(--neon); }
.tweaks-row .options button.sel {
  background: var(--neon); color: var(--ink); border-color: var(--neon);
}

/* Logo mark SVG animation */
@keyframes dash { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

/* ============ ACT 4 — FULL MARKETPLACE ============ */

/* Chips */
.mkt-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  font-family: var(--f-mono); letter-spacing: 0.04em;
}
.mkt-chip-ok { background: rgba(137,241,55,0.15); color: var(--neon); }
.mkt-chip-warn { background: rgba(181,119,9,0.2); color: #FFC142; }
.mkt-chip-rec { background: rgba(234,88,12,0.15); color: #FB923C; }

/* Sector picker */
.mkt-sector { margin-top: 48px; }
.mkt-sector-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--line-on-ink-strong); border-radius: var(--r-lg); padding: 20px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.mkt-select {
  width: 280px; max-width: 100%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-md); padding: 12px 16px;
  color: var(--off); font-family: var(--f-body); font-size: 14px;
  outline: none; cursor: pointer; appearance: auto;
}
.mkt-select:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(137,241,55,0.15); }

/* Tier cards grid */
.mkt-tiers {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.mkt-tier-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
  border: 1px solid var(--line-on-ink); border-radius: var(--r-lg);
  padding: 28px 24px 24px; display: flex; flex-direction: column;
  transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.mkt-tier-card:hover { border-color: var(--line-on-ink-strong); transform: translateY(-2px); }
.mkt-tier-card.is-sel {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(137,241,55,0.2), 0 20px 48px -16px rgba(0,0,0,0.4);
}
.mkt-tier-card.is-feat {
  background: linear-gradient(180deg, rgba(137,241,55,0.1), rgba(137,241,55,0.02));
}
.mkt-badge-sold {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--neon); color: var(--ink);
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.mkt-badge-rec {
  margin-bottom: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: #FB923C; background: rgba(234,88,12,0.12);
  padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid rgba(234,88,12,0.2);
}
.mkt-feat-list-card {
  list-style: none; padding: 0; margin: 0 0 16px; flex: 1;
}
.mkt-feat-list-card li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line-on-ink);
}
.mkt-feat-list-card li:last-child { border-bottom: 0; }
.mkt-tier-link {
  background: none; border: none; color: var(--neon);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; padding: 4px 0; text-align: left;
  transition: opacity 200ms ease;
}
.mkt-tier-link:hover { opacity: 0.7; }

/* Configurator 2-col layout */
.mkt-config-layout {
  margin-top: 48px; scroll-margin-top: 80px;
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start;
}
.mkt-config {
  border: 1px solid var(--line-on-ink-strong); border-radius: var(--r-xl);
  padding: 48px; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  min-width: 0;
}

/* Sticky summary */
.mkt-summary-col {
  position: sticky; top: 80px; z-index: 10;
}
.mkt-summary {
  border: 1px solid var(--line-on-ink-strong); border-radius: var(--r-lg);
  padding: 28px; background: var(--ink-2);
  box-shadow: 0 20px 48px -16px rgba(0,0,0,0.5);
  animation: fade 400ms ease;
}
.mkt-summary-head {
  display: flex; justify-content: space-between; align-items: center;
}
.mkt-summary-divider {
  height: 1px; background: var(--line-on-ink); margin: 16px 0;
}
.mkt-summary-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13px; color: var(--text-on-ink-dim); padding: 5px 0;
}
.mkt-config-head {
  display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid var(--line-on-ink); margin-bottom: 32px;
}

/* Qty input */
.mkt-qty-section { margin-bottom: 48px; }
.mkt-qty-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.mkt-qty-input-wrap { display: flex; align-items: center; gap: 12px; }
.mkt-qty-input {
  font-family: var(--f-display); font-weight: 500; font-size: 48px; letter-spacing: -0.03em;
  width: 140px; background: rgba(255,255,255,0.06); border: 2px solid var(--line-on-ink-strong);
  border-radius: var(--r-md); padding: 8px 16px; text-align: center;
  color: var(--off); outline: none;
  -moz-appearance: textfield; appearance: textfield;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.mkt-qty-input::-webkit-outer-spin-button,
.mkt-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mkt-qty-input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(137,241,55,0.15); }

/* Slider */
.mkt-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent;
}
.mkt-slider::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--track-color) 0%, var(--track-color) var(--fill), var(--line-on-ink-strong) var(--fill), var(--line-on-ink-strong) 100%);
}
.mkt-slider::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-on-ink-strong); }
.mkt-slider::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--track-color, var(--neon)); }
.mkt-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 999px;
  background: var(--off); border: 3px solid var(--track-color, var(--neon));
  margin-top: -8px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); cursor: grab;
}
.mkt-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--off); border: 3px solid var(--track-color, var(--neon)); cursor: grab;
}
.mkt-ticks {
  position: relative; height: 14px; margin-top: 4px;
}
.mkt-ticks span {
  position: absolute; transform: translateX(-50%); top: 0;
  font-family: var(--f-mono); font-size: 10px; color: var(--text-on-ink-faint); font-weight: 500;
}

/* Rec banner */
.mkt-rec-banner {
  margin-top: 32px; padding: 24px;
  border: 1px solid rgba(234,88,12,0.25); border-radius: var(--r-lg);
  background: rgba(234,88,12,0.08);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* Addons grid */
.mkt-addons-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.mkt-addon-card {
  border: 1px solid var(--line-on-ink); border-radius: var(--r-md);
  padding: 20px; display: flex; gap: 16px; cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: border-color 200ms ease, background 200ms ease;
}
.mkt-addon-card:hover { border-color: var(--line-on-ink-strong); }
.mkt-addon-card.is-on {
  border-color: var(--neon); background: rgba(137,241,55,0.06);
}
.mkt-addon-icon {
  width: 64px; height: 64px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.mkt-addon-icon-lg {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.mkt-check {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid var(--line-on-ink-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: transparent;
  transition: all 200ms ease;
}
.mkt-check.is-on { background: var(--neon); border-color: var(--neon); color: var(--ink); }

/* Support */
.mkt-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mkt-support-card {
  border: 2px solid var(--line-on-ink); border-radius: var(--r-md);
  padding: 24px; cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.mkt-support-card:hover { border-color: var(--line-on-ink-strong); }
.mkt-support-card.is-sel {
  border-color: var(--neon); background: rgba(137,241,55,0.06);
}
.mkt-radio {
  width: 18px; height: 18px; border-radius: 999px;
  border: 2px solid var(--line-on-ink-strong);
  display: flex; align-items: center; justify-content: center;
  transition: all 200ms ease;
}
.mkt-radio.is-on { border-color: var(--neon); }
.mkt-radio.is-on::after {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--neon);
}

/* Bumps */
.mkt-bumps-list { display: flex; flex-direction: column; gap: 10px; }
.mkt-bump {
  border: 1px solid var(--line-on-ink); border-radius: var(--r-md);
  padding: 18px 20px; display: flex; gap: 14px; align-items: start; cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.mkt-bump:hover { border-color: var(--line-on-ink-strong); }
.mkt-bump.is-on { border-color: var(--neon); background: rgba(137,241,55,0.06); }

/* Included banner */
.mkt-included-banner {
  margin-top: 48px; padding: 20px 28px;
  border: 1px solid rgba(137,241,55,0.2); border-radius: var(--r-md);
  background: rgba(137,241,55,0.06);
  display: flex; gap: 16px; align-items: start;
}

/* Prazo cards */
.mkt-prazo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mkt-prazo-card {
  position: relative;
  border: 1px solid var(--line-on-ink); border-radius: var(--r-md);
  padding: 24px;
  transition: border-color 200ms ease;
}
.mkt-prazo-card.is-best {
  border-color: var(--neon); background: rgba(137,241,55,0.06);
}
.mkt-badge-best {
  position: absolute; top: -10px; left: 16px;
  background: var(--neon); color: var(--ink);
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}

/* MDR block */
.mkt-mdr {
  margin-top: 48px; padding: 48px;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-on-ink-strong); border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.mkt-mdr-glow {
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(137,241,55,0.12), transparent 60%);
  filter: blur(60px); pointer-events: none;
}

/* Modal */
.mkt-modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,27,46,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.mkt-modal-inner {
  background: var(--ink-2); border: 1px solid var(--line-on-ink-strong);
  border-radius: var(--r-lg); max-width: 520px; width: 100%;
  padding: 32px; position: relative;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  animation: fade 300ms ease;
}
.mkt-modal-inner.wide { max-width: 780px; }
.mkt-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line-on-ink);
  color: var(--text-on-ink-dim); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.mkt-modal-close:hover { background: rgba(255,255,255,0.06); }

/* Purchase form */
.mkt-form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-md);
  color: var(--off);
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  box-sizing: border-box;
}
.mkt-form-input::placeholder { color: var(--text-on-ink-faint); }
.mkt-form-input:hover { border-color: var(--line-on-ink-strong); background: rgba(255,255,255,0.06); }
.mkt-form-input:focus {
  border-color: var(--neon);
  background: rgba(137,241,55,0.04);
  box-shadow: 0 0 0 3px rgba(137,241,55,0.12);
}
.mkt-form-input:disabled { opacity: 0.5; cursor: not-allowed; }
select.mkt-form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2389F137' stroke-width='1.6'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
  cursor: pointer;
}
select.mkt-form-input option { background: var(--ink-2); color: var(--off); }
input.mkt-form-input[type="date"] { color-scheme: dark; }
input.mkt-form-input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) brightness(0.7); cursor: pointer; }

@media (max-width: 640px) {
  .mkt-modal-inner.wide { padding: 24px; }
}

@media (max-width: 900px) {
  .mkt-tiers { grid-template-columns: 1fr; }
  .mkt-addons-grid { grid-template-columns: 1fr; }
  .mkt-support-grid { grid-template-columns: 1fr; }
  .mkt-prazo-grid { grid-template-columns: 1fr; }
  .mkt-config-layout { grid-template-columns: 1fr; }
  .mkt-summary-col { position: relative; top: 0; order: -1; }
  .mkt-config { padding: 28px; }
  .mkt-qty-input { font-size: 36px; width: 110px; }
  .mkt-sector-inner { flex-direction: column; align-items: stretch; }
  .mkt-select { width: 100%; }
}
