/* ============================================================================
   AI DATA LINEAGE MAPPER — Landing page
   ---------------------------------------------------------------------------
   00. Design tokens
   01. Reset & base
   02. Typography & utilities
   03. Layout
   04. Buttons, chips, tags
   05. Header, nav, drawer
   06. Hero + lineage visual
   07. Trust band
   08. Sections (generic)
   09. Problem
   10. How it works
   11. Product showcase + UI mockups
   12. Pillars
   13. Column-level lineage
   14. Use cases
   15. Flexibility
   16. AI differentiator
   17. Roadmap
   18. Security
   19. Adoption
   20. Contact form
   21. Footer
   22. Motion / reveal
   23. Responsive
   ========================================================================= */

/* ============================================================
   00. DESIGN TOKENS
   ============================================================ */
:root {
  /* — Color: surfaces — */
  --bg:            #05070D;
  --bg-2:          #070A12;
  --surface:       #0B0F1A;
  --surface-2:     #101623;
  --surface-3:     #141B2B;

  /* — Color: lines — */
  --line:          rgba(255, 255, 255, .07);
  --line-2:        rgba(255, 255, 255, .11);
  --line-3:        rgba(255, 255, 255, .18);

  /* — Color: text (all AA on --bg) — */
  --text:          #E9EEF8;
  --text-2:        #9FABC4;
  --text-3:        #7C89A6;

  /* — Color: accents — */
  --cyan:          #22D3EE;   /* lineage / data flow */
  --blue:          #3B82F6;   /* structure / tables  */
  --violet:        #8B5CF6;   /* AI                  */
  --green:         #34D399;   /* trust / validation  */
  --amber:         #F59E0B;   /* AWS / warning only  */

  --cyan-soft:     rgba(34, 211, 238, .12);
  --blue-soft:     rgba(59, 130, 246, .12);
  --violet-soft:   rgba(139, 92, 246, .13);
  --green-soft:    rgba(52, 211, 153, .12);
  --amber-soft:    rgba(245, 158, 11, .13);

  /* — Typography —
     Sin peticiones a terceros. Si "Inter" / "JetBrains Mono" no están disponibles
     localmente, se usa la tipografía de sistema (Segoe UI Variable, SF Pro, Roboto),
     que mantiene el registro visual. Para auto-alojarlas, ver el bloque @font-face
     al final de este archivo. */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.6rem, 5.6vw, 4.6rem);
  --fs-h2:      clamp(1.85rem, 3.3vw, 2.8rem);
  --fs-h3:      clamp(1.05rem, 1.3vw, 1.2rem);
  --fs-lead:    clamp(1.02rem, 1.25vw, 1.18rem);
  --fs-body:    1rem;
  --fs-sm:      .9rem;
  --fs-xs:      .8rem;
  --fs-mono:    .74rem;

  /* — Spacing (4px base) — */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.5rem;  --s-8: 3rem;
  --s-9: 4rem;    --s-10: 5rem;   --s-11: 7rem;

  --section-y:   clamp(4.5rem, 9vw, 8.5rem);
  --container:   1280px;
  --gutter:      clamp(1.25rem, 4vw, 2.75rem);

  /* — Radius — */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;

  /* — Shadows — */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
  --sh-2: 0 10px 30px -12px rgba(0, 0, 0, .7);
  --sh-3: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --glow-cyan:   0 0 0 1px rgba(34, 211, 238, .22), 0 12px 40px -18px rgba(34, 211, 238, .35);
  --glow-violet: 0 0 0 1px rgba(139, 92, 246, .22), 0 12px 40px -18px rgba(139, 92, 246, .3);

  /* — Motion — */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .5s;
}

/* ============================================================
   01. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.026em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code { font-family: var(--font-mono); font-size: .92em; }

::selection { background: rgba(34, 211, 238, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15rem; height: 1.15rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: .95rem; height: .95rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: var(--s-4); z-index: 200;
  background: var(--surface-2); color: var(--text);
  padding: .7rem 1.1rem; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); font-size: var(--fs-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* ============================================================
   02. TYPOGRAPHY & UTILITIES
   ============================================================ */
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }

.lead {
  font-size: var(--fs-lead);
  color: var(--text-2);
  line-height: 1.6;
  font-weight: 400;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}
.mono-label--green { color: var(--green); }

.grad-text {
  background: linear-gradient(96deg, var(--cyan) 0%, #6EA8FF 48%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   03. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .mono-label { margin-bottom: var(--s-4); }
.section-head__lead { margin-top: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__copy { order: 2; }
.split__copy .mono-label { margin-bottom: var(--s-4); }
.split__copy h2 { margin-bottom: var(--s-5); }
.split__copy > p + p { margin-top: var(--s-4); }
.split__copy p:not(.lead):not(.mono-label) { color: var(--text-2); }

/* ============================================================
   04. BUTTONS, CHIPS, TAGS
   ============================================================ */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .7rem 1.15rem;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: -.01em;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s var(--ease), border-color .22s var(--ease),
              transform .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, #EDF3FF 0%, #D6E4FB 100%);
  color: #071021;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 30px -14px rgba(120, 180, 255, .6);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E4EEFF 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 36px -14px rgba(120, 190, 255, .8);
}

.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .05); }

.btn--sm { padding: .5rem .85rem; font-size: var(--fs-xs); }
.btn--lg { padding: .85rem 1.4rem; font-size: 1rem; border-radius: var(--r-md); }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem;
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .04em;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface); color: var(--text-2);
  white-space: nowrap;
}
.chip--green  { color: var(--green);  border-color: rgba(52, 211, 153, .3);  background: var(--green-soft); }
.chip--violet { color: #B79BFF;       border-color: rgba(139, 92, 246, .32); background: var(--violet-soft); }
.chip--cyan   { color: var(--cyan);   border-color: rgba(34, 211, 238, .3);  background: var(--cyan-soft); }

.tag {
  display: inline-block;
  padding: .18rem .5rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-xs); border: 1px solid var(--line-2);
  color: var(--text-3); background: rgba(255, 255, 255, .03);
  vertical-align: middle;
}
.tag--green { color: var(--green); border-color: rgba(52, 211, 153, .3); background: var(--green-soft); }
.tag--amber { color: var(--amber); border-color: rgba(245, 158, 11, .3); background: var(--amber-soft); }
.tag--dim   { color: var(--text-3); }
.tag--roadmap {
  color: #B79BFF; border-color: rgba(139, 92, 246, .3); background: var(--violet-soft);
  margin-left: .5rem; text-transform: none; letter-spacing: .04em;
}

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li {
  padding: .34rem .7rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: var(--text-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill);
}
.tag-list--lg li { font-family: var(--font-sans); font-size: var(--fs-sm); padding: .42rem .85rem; }

.check-list { display: grid; gap: .7rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: var(--fs-sm); color: var(--text-2);
}
.check-list .icon { margin-top: .3rem; color: var(--text-3); }
.check-list--green .icon { color: var(--green); }

.cta-inline {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-5);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.cta-inline p { font-size: var(--fs-lead); color: var(--text); }
.cta-inline--center { justify-content: center; text-align: center; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, .05); border-color: var(--line-3); }

/* ============================================================
   05. HEADER, NAV, DRAWER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 7, 13, .78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { display: block; width: 32px; height: 32px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: .94rem; font-weight: 600; letter-spacing: -.02em; }
.brand__tag {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list { display: flex; align-items: center; gap: var(--s-5); }
.nav__link {
  position: relative;
  font-size: var(--fs-sm); color: var(--text-2);
  padding-block: .35rem;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--text); }
.nav__link[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); cursor: pointer;
}

.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(3, 5, 10, .72); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; inset: 0 0 auto auto;
  width: min(88vw, 340px); height: 100%;
  display: flex; flex-direction: column; gap: var(--s-5);
  padding: var(--s-5);
  background: var(--surface);
  border-left: 1px solid var(--line-2);
  animation: drawerIn .28s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(18px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav { display: flex; flex-direction: column; flex: 1; }
.drawer__nav a {
  padding: .95rem 0; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.drawer__nav a:hover { color: var(--cyan); padding-left: 4px; }

/* ============================================================
   06. HERO + LINEAGE VISUAL
   ============================================================ */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }

.hero__glow {
  position: absolute; inset: -30% 0 auto -10%;
  height: 120%; pointer-events: none;
  background:
    radial-gradient(52rem 34rem at 22% 18%, rgba(34, 211, 238, .10), transparent 65%),
    radial-gradient(46rem 30rem at 78% 8%,  rgba(139, 92, 246, .10), transparent 62%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  padding: .38rem .8rem .38rem .7rem;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .025);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}

.hero__title { margin-top: var(--s-5); line-height: 1.02; }
.hero__sub { margin-top: var(--s-5); max-width: 34rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin-top: var(--s-6);
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .08em; color: var(--text-3);
}
.hero__trust span[aria-hidden] { color: var(--line-3); }

/* — Lineage figure — */
.lineage-figure {
  position: relative; margin: 0;
  padding: clamp(1rem, 2vw, 1.6rem);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(34, 211, 238, .05), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.lineage-svg { width: 100%; height: auto; }

.lineage-figure__chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}

/* edges */
.edges .edge { stroke: url(#edgeCyan); stroke-dasharray: 5 6; opacity: .9; }
.edges .edge--out { stroke: url(#edgeViolet); }
.edges .edge--far { stroke: url(#edgeCyan); opacity: .7; }

/* nodes */
.node { cursor: default; }
.node__box {
  fill: var(--surface-2);
  stroke: var(--line-2);
  stroke-width: 1;
  transition: stroke .25s var(--ease), fill .25s var(--ease);
}
.node__type {
  font-family: var(--font-mono); font-size: 7.5px;
  letter-spacing: .12em; fill: var(--text-3);
}
.node__name {
  font-family: var(--font-mono); font-size: 9.5px;
  fill: var(--text); letter-spacing: -.01em;
}
.node__meta { font-family: var(--font-mono); font-size: 7.5px; fill: var(--green); }

.node--s3       .node__accent { fill: var(--green); }
.node--table    .node__accent { fill: var(--blue); }
.node--glue     .node__accent { fill: var(--violet); }
.node--lambda   .node__accent { fill: var(--amber); }
.node--redshift .node__accent { fill: var(--cyan); }
.node--athena   .node__accent { fill: #6EA8FF; }

.node:hover .node__box,
.node:focus-visible .node__box { fill: var(--surface-3); stroke: rgba(34, 211, 238, .5); }
.node:focus-visible { outline: none; }

/* ============================================================
   07. TRUST BAND
   ============================================================ */
.band { border-block: 1px solid var(--line); background: var(--bg-2); }
.band__inner { padding-block: var(--s-5); }
.band__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-4) clamp(1.5rem, 4vw, 3.5rem);
  justify-content: space-between;
}
.band__list li {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  transition: color .25s var(--ease);
}
.band__list li:hover { color: var(--text-2); }

.logo-band { display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: center; }
.logo-band img { height: 26px; width: auto; opacity: .65; filter: grayscale(1); }

/* ============================================================
   09. PROBLEM
   ============================================================ */
.questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.questions__list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.question { background: var(--bg); transition: background .25s var(--ease); }
.question:hover { background: var(--surface); }
.question__q {
  display: block; padding: 1.05rem var(--s-4) 1.05rem 0;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 500; color: var(--text);
  position: relative; padding-left: 2.1rem;
}
.question__q::before {
  content: "?"; position: absolute; left: .55rem; top: 1.15rem;
  font-family: var(--font-mono); font-size: .8rem; color: var(--cyan); opacity: .8;
}
.question:hover .question__q { padding-left: 2.35rem; }

.problem-notes { display: grid; gap: var(--s-6); }
.problem-note { padding-left: var(--s-4); border-left: 2px solid var(--line-2); transition: border-color .25s var(--ease); }
.problem-note:hover { border-left-color: var(--cyan); }
.problem-note h3 { font-size: 1rem; margin-bottom: .3rem; }
.problem-note p { font-size: var(--fs-sm); color: var(--text-2); }

/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
.step { position: relative; padding-top: var(--s-7); }
.step__num {
  position: absolute; top: 0; left: 0;
  display: inline-grid; place-items: center;
  width: 31px; height: 31px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .02em;
  color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 50%;
  transition: color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover .step__num { color: var(--cyan); border-color: rgba(34, 211, 238, .5); box-shadow: 0 0 0 4px rgba(34, 211, 238, .08); }
.step__title { margin-bottom: .45rem; }
.step p { font-size: var(--fs-sm); color: var(--text-2); }

/* ============================================================
   11. PRODUCT SHOWCASE + UI MOCKUPS
   ============================================================ */
.showcase__tabs {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.tab {
  padding: .5rem .9rem;
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-3);
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.tab:hover { color: var(--text-2); border-color: var(--line-2); }
.tab[aria-selected="true"] {
  color: var(--text); background: var(--surface-2); border-color: var(--line-3);
}

.showcase__note {
  margin-top: var(--s-4);
  font-family: var(--font-mono); font-size: var(--fs-mono);
  line-height: 1.6; color: var(--text-3); max-width: 44rem;
}

.showcase__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
}
.showcase__side { display: grid; gap: var(--s-5); }

/* — Frame chrome — */
.frame {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.frame--lg { box-shadow: var(--sh-3), var(--glow-cyan); }
.frame__bar {
  display: flex; align-items: center; gap: var(--s-3);
  padding: .6rem .85rem;
  background: rgba(255, 255, 255, .022);
  border-bottom: 1px solid var(--line);
}
.frame__dots { display: inline-flex; gap: 5px; }
.frame__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-3); }
.frame__title {
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .04em; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame__body { padding: var(--s-4); }
.frame[hidden] { display: none; }
.frame:focus-visible { outline-offset: 2px; }

/* — Explorer mock — */
.mock-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: var(--s-4); }
.mock-chip {
  padding: .28rem .6rem;
  font-family: var(--font-mono); font-size: .64rem; color: var(--text-3);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs);
}
.mock-chip--active { color: var(--text-2); border-color: var(--line-2); }
.mock-chip--violet { color: #B79BFF; border-color: rgba(139, 92, 246, .3); background: var(--violet-soft); }

.mock-explorer {
  display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: var(--s-4);
  align-items: start;
}
.mock-graph { width: 100%; height: auto; }
.mock-nodes .mn { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1; }
.mock-nodes .mn--table    { stroke: rgba(59, 130, 246, .45); }
.mock-nodes .mn--s3       { stroke: rgba(52, 211, 153, .4); }
.mock-nodes .mn--glue     { stroke: rgba(139, 92, 246, .5); fill: var(--surface-3); }
.mock-nodes .mn--lambda   { stroke: rgba(245, 158, 11, .4); fill: var(--surface-3); }
.mock-nodes .mn--redshift { stroke: rgba(34, 211, 238, .45); }

.mock-labels .lb { fill: rgba(255, 255, 255, .22); }
.mock-labels .lb--dim { fill: rgba(255, 255, 255, .1); }
.mock-labels .ld--table    { fill: var(--blue); }
.mock-labels .ld--s3       { fill: var(--green); }
.mock-labels .ld--glue     { fill: var(--violet); }
.mock-labels .ld--lambda   { fill: var(--amber); }
.mock-labels .ld--redshift { fill: var(--cyan); }

.mock-inspector {
  padding: var(--s-4);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.mock-inspector__title { margin-top: .6rem; font-family: var(--font-mono); font-size: .8rem; color: var(--text); }
.mock-inspector__sub { font-size: .68rem; color: var(--text-3); margin-top: .15rem; }
.mock-inspector__label { margin-top: var(--s-4); }

.meter { margin-top: var(--s-4); }
.meter__head {
  display: flex; justify-content: space-between;
  font-size: .68rem; color: var(--text-3); margin-bottom: .35rem;
}
.meter__val { color: var(--green); font-family: var(--font-mono); }
.meter__track { height: 4px; background: rgba(255, 255, 255, .07); border-radius: var(--r-pill); overflow: hidden; }
.meter__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: inherit; }

.mock-evidence { display: grid; gap: .4rem; margin-top: .5rem; }
.mock-evidence li { font-size: .64rem; color: var(--text-2); line-height: 1.45; }
.mock-evidence code { color: var(--cyan); font-size: .62rem; }

.mock-actions { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: var(--s-4); }
.mock-btn {
  padding: .28rem .55rem; font-size: .62rem;
  border: 1px solid var(--line-2); border-radius: var(--r-xs); color: var(--text-2);
}
.mock-btn--green { color: var(--green); border-color: rgba(52, 211, 153, .35); background: var(--green-soft); }
.mock-btn--muted { color: var(--text-3); }

/* — Dashboard mock — */
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.kpi { padding: var(--s-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.kpi__label { font-size: .64rem; color: var(--text-3); line-height: 1.3; }
.kpi__value { margin-top: .3rem; font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; }
.kpi__value--green { color: var(--green); }

.mock-dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-3); }
.mock-panel { padding: var(--s-4); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }

.mock-bars { display: grid; gap: .55rem; margin-top: var(--s-3); }
.mock-bars li { display: grid; grid-template-columns: 66px 1fr 18px; align-items: center; gap: .5rem; font-size: .66rem; color: var(--text-3); }
.mock-bars b { color: var(--text-2); font-weight: 500; text-align: right; font-family: var(--font-mono); font-size: .64rem; }
.bar { height: 4px; background: rgba(255, 255, 255, .07); border-radius: var(--r-pill); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, rgba(59, 130, 246, .8), var(--cyan)); }

.mock-status { display: grid; gap: .45rem; margin-top: var(--s-3); }
.mock-status li { display: flex; align-items: center; gap: .5rem; font-size: .68rem; color: var(--text-2); }
.mock-status b { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot--green { background: var(--green); }
.dot--amber { background: var(--amber); }
.dot--dim   { background: var(--text-3); }

.spark { width: 100%; height: 46px; margin-top: .5rem; }
.spark__line { stroke: var(--cyan); stroke-width: 1.4; stroke-linecap: round; }

/* — Discovery mock — */
.mock-stepper { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: var(--s-4); }
.mock-step {
  padding: .3rem .6rem; font-family: var(--font-mono); font-size: .62rem;
  color: var(--text-3); border: 1px solid var(--line); border-radius: var(--r-xs);
}
.mock-step.is-active { color: var(--cyan); border-color: rgba(34, 211, 238, .4); background: var(--cyan-soft); }

.mock-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.svc {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem;
  padding: .55rem .65rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.svc__name { font-size: .68rem; color: var(--text-2); }
.svc__n { font-family: var(--font-mono); font-size: .68rem; color: var(--text); }
.svc__ok { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .58rem; color: var(--green); letter-spacing: .06em; }
.svc__ok--muted { color: var(--text-3); }
.svc--empty { opacity: .6; }

.mock-summary {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3);
  margin-top: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line);
}
.mock-summary__v { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin-top: .2rem; }
.mock-summary__v--sm { font-size: .82rem; color: var(--cyan); font-family: var(--font-mono); }

/* — Validation mock — */
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th {
  text-align: left; padding: .45rem .5rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); font-weight: 400;
  border-bottom: 1px solid var(--line-2);
}
.mock-table td {
  padding: .6rem .5rem; font-size: .7rem; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.mock-table code { color: var(--text); font-size: .68rem; }
.mock-table tr:hover td { background: rgba(255, 255, 255, .018); }
.pct { font-family: var(--font-mono); font-size: .68rem; }
.pct--high { color: var(--green); }
.pct--mid  { color: var(--amber); }
.pct--low  { color: var(--text-3); }
.mock-foot { margin-top: var(--s-3); font-size: .68rem; color: var(--text-3); }

/* — Copilot mock — */
.chat { display: grid; gap: var(--s-3); }
.chat__q {
  justify-self: end; max-width: 92%;
  padding: .55rem .75rem; font-size: .72rem;
  background: var(--surface-3); border: 1px solid var(--line-2);
  border-radius: var(--r-md) var(--r-md) 4px var(--r-md);
}
.chat__q code { color: var(--cyan); font-size: .68rem; }
.chat__a {
  max-width: 96%;
  padding: .65rem .8rem; font-size: .72rem; color: var(--text-2);
  background: var(--violet-soft); border: 1px solid rgba(139, 92, 246, .22);
  border-radius: var(--r-md) var(--r-md) var(--r-md) 4px;
}
.chat__a ul { margin: .4rem 0 0; display: grid; gap: .25rem; }
.chat__a li { padding-left: .7rem; position: relative; }
.chat__a li::before { content: ""; position: absolute; left: 0; top: .55em; width: 3px; height: 3px; border-radius: 50%; background: #B79BFF; }
.chat__a code { color: var(--text); font-size: .68rem; }
.chat__src { margin-top: .5rem; font-size: .62rem; color: var(--text-3); }

/* — Process detail mock — */
.mock-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: var(--s-3); }
.mock-tabs span {
  padding: .25rem .5rem; font-size: .62rem; color: var(--text-3);
  border-bottom: 1px solid transparent;
}
.mock-tabs .is-active { color: var(--text); border-bottom-color: var(--cyan); }
.mock-kv { display: grid; gap: .45rem; }
.mock-kv li { display: flex; justify-content: space-between; gap: var(--s-3); font-size: .68rem; color: var(--text-3); }
.mock-kv b { color: var(--text-2); font-weight: 500; text-align: right; }

/* ============================================================
   12. PILLARS
   ============================================================ */
.pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.pillar {
  padding: 0 clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
}
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar__icon {
  display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem; margin-bottom: var(--s-4);
  border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: var(--surface);
}
.pillar__icon--cyan   { color: var(--cyan);   border-color: rgba(34, 211, 238, .28);  background: var(--cyan-soft); }
.pillar__icon--blue   { color: #6EA8FF;       border-color: rgba(59, 130, 246, .28);  background: var(--blue-soft); }
.pillar__icon--green  { color: var(--green);  border-color: rgba(52, 211, 153, .28);  background: var(--green-soft); }
.pillar__icon--violet { color: #B79BFF;       border-color: rgba(139, 92, 246, .28);  background: var(--violet-soft); }
.pillar h3 { margin-bottom: .5rem; }
.pillar > p { font-size: var(--fs-sm); color: var(--text-2); }
.pillar ul { margin-top: var(--s-4); display: grid; gap: .4rem; }
.pillar ul li {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: var(--text-3); padding-left: .85rem; position: relative;
}
.pillar ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 4px; height: 1px; background: var(--line-3);
}

/* ============================================================
   13. COLUMN-LEVEL LINEAGE
   ============================================================ */
.col-map {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  padding: clamp(1.1rem, 2vw, 1.8rem);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.col-map__side ul { margin-top: var(--s-3); display: grid; gap: .4rem; }
.col-map__side li {
  padding: .48rem .65rem;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs);
  transition: border-color .25s var(--ease);
}
.col-map:hover .col-map__side li { border-color: var(--line-2); }
.col-map__links { display: grid; gap: .4rem; margin-top: calc(var(--s-3) + 1.5rem); }
.col-map__links li {
  height: 2.05rem; display: flex; align-items: center; justify-content: center;
  position: relative; min-width: 5.5rem;
}
.col-map__links li::before {
  content: ""; position: absolute; left: -.5rem; right: -.5rem; top: 50%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .5), transparent);
}
.col-map__type {
  position: relative;
  padding: .12rem .45rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em;
  color: var(--cyan); background: var(--surface); border: 1px solid rgba(34, 211, 238, .28);
  border-radius: var(--r-pill);
}

/* ============================================================
   14. USE CASES
   ============================================================ */
.cases {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.case {
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  background: var(--bg-2);
  transition: background .28s var(--ease);
}
.case:hover { background: var(--surface); }
.case__icon { color: var(--text-3); margin-bottom: var(--s-4); transition: color .28s var(--ease); }
.case:hover .case__icon { color: var(--cyan); }
.case h3 { margin-bottom: .45rem; }
.case p { font-size: var(--fs-sm); color: var(--text-2); }

/* ============================================================
   15. FLEXIBILITY
   ============================================================ */
.flex-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: var(--s-5);
}
.flex-core, .flex-conf {
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
}
.flex-core { background: linear-gradient(180deg, rgba(34, 211, 238, .05), transparent 55%), var(--surface); }
.flex-core h3, .flex-conf h3 { margin: var(--s-4) 0 var(--s-5); }
.flex-conf__note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--text-3); }

/* ============================================================
   16. AI DIFFERENTIATOR
   ============================================================ */
.ia-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-6); }

.ai-pipeline { display: grid; gap: 0; }
.ai-step {
  --accent: var(--line-3);
  position: relative;
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-md);
  transition: border-color .25s var(--ease);
}
.ai-step + .ai-step { margin-top: 1.6rem; }
.ai-step + .ai-step::before {
  content: ""; position: absolute; left: 50%; top: -1.6rem;
  width: 1px; height: 1.6rem;
  background: linear-gradient(180deg, transparent, var(--line-3));
}
.ai-step + .ai-step::after {
  content: ""; position: absolute; left: 50%; top: -.42rem;
  width: 5px; height: 5px; margin-left: -2px;
  border-right: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3);
  transform: rotate(45deg);
}
.ai-step__label {
  display: block; font-size: .95rem; font-weight: 600; letter-spacing: -.015em;
}
.ai-step__desc { display: block; margin-top: .2rem; font-size: var(--fs-sm); color: var(--text-2); }
.ai-step:hover { border-top-color: var(--line-3); border-right-color: var(--line-3); border-bottom-color: var(--line-3); }

.ai-step--ai     { --accent: var(--violet); background: linear-gradient(90deg, var(--violet-soft), transparent 45%), var(--surface); }
.ai-step--cyan   { --accent: var(--cyan);   background: linear-gradient(90deg, var(--cyan-soft), transparent 45%), var(--surface); }
.ai-step--blue   { --accent: var(--blue); }
.ai-step--green  { --accent: var(--green);  background: linear-gradient(90deg, var(--green-soft), transparent 45%), var(--surface); }

/* ============================================================
   17. ROADMAP
   ============================================================ */
.roadmap {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.roadmap__today {
  position: sticky; top: 100px;
  padding: clamp(1.3rem, 2.2vw, 1.9rem);
  background: linear-gradient(180deg, rgba(52, 211, 153, .06), transparent 50%), var(--surface);
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: var(--r-lg);
}
.roadmap__today .check-list { margin-top: var(--s-5); }
.roadmap__next > .mono-label { margin-bottom: var(--s-5); }

.roadmap-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.rm {
  display: grid; grid-template-columns: 2.1rem 1fr; gap: var(--s-4);
  padding: var(--s-5) 0;
  background: var(--bg);
  transition: background .25s var(--ease);
}
.rm:hover { background: var(--surface); }
.rm__letter {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  font-family: var(--font-mono); font-size: .74rem; color: var(--text-3);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.rm:hover .rm__letter { color: #B79BFF; border-color: rgba(139, 92, 246, .4); }
.rm__body h3 { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; margin-bottom: .35rem; }
.rm__body p { font-size: var(--fs-sm); color: var(--text-2); }
.roadmap__note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--text-3); max-width: 40rem; }

/* ============================================================
   18. SECURITY
   ============================================================ */
.security { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.sec {
  padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .25s var(--ease);
}
.sec:hover { border-color: var(--line-2); }
.sec__icon { color: var(--green); margin-bottom: var(--s-4); }
.sec h3 { font-size: 1rem; margin-bottom: .35rem; }
.sec p { font-size: var(--fs-sm); color: var(--text-2); }
.security__note {
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--text-3); max-width: 52rem;
}

/* ============================================================
   19. ADOPTION
   ============================================================ */
.adopt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.adopt__col { padding: 0 clamp(1rem, 2.5vw, 2.4rem); border-left: 1px solid var(--line); }
.adopt__col:first-child { padding-left: 0; border-left: 0; }
.adopt__step {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--cyan); margin-bottom: var(--s-3);
}
.adopt__col h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.adopt__col p { font-size: var(--fs-sm); color: var(--text-2); }

.quote { margin: 0; }

/* ============================================================
   20. CONTACT FORM
   ============================================================ */
.section--contact {
  background:
    radial-gradient(46rem 30rem at 82% 12%, rgba(34, 211, 238, .07), transparent 62%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__copy .mono-label { margin-bottom: var(--s-4); }
.contact__copy h2 { margin-bottom: var(--s-5); }
.contact__points { margin-top: var(--s-6); display: grid; gap: .6rem; }
.contact__points li { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); color: var(--text-2); }
.contact__points .icon { color: var(--green); margin-top: .3rem; }

.form {
  display: grid; gap: var(--s-4);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }

.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-xs); font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
.req { color: var(--cyan); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: .7rem .8rem;
  font: inherit; font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 6rem; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: .75; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(34, 211, 238, .6);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
  background: var(--surface);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: rgba(245, 158, 11, .7);
}
.field input[aria-invalid="true"]:focus, .field select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .14);
}
.field__error {
  font-size: var(--fs-xs); color: var(--amber); min-height: 0;
}
.field__error:empty { display: none; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; }
.select select option { background: var(--surface-2); color: var(--text); }
.select__chevron {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--text-3); pointer-events: none;
}

.check { display: flex; align-items: center; gap: .6rem; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 1.05rem; height: 1.05rem; flex: none;
  border: 1px solid var(--line-3); border-radius: var(--r-xs);
  background: var(--bg); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  position: relative;
}
.check input:hover { border-color: var(--cyan); }
.check input:checked { background: var(--cyan); border-color: var(--cyan); }
.check input:checked::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050710' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.check label { font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.check--required { align-items: flex-start; }
.check--required input { margin-top: .22rem; }
.check input[aria-invalid="true"] { border-color: rgba(245, 158, 11, .85); background: var(--amber-soft); }

.check label a, .form__legal a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .45);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease);
}
.check label a:hover, .form__legal a:hover { text-decoration-color: var(--cyan); }

.form__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.form__status {
  font-size: var(--fs-sm); line-height: 1.5;
  padding: 0; color: var(--text-2);
}
.form__status[data-state="idle"]:empty { display: none; }
.form__status[data-state="error"],
.form__status[data-state="pending-config"],
.form__status[data-state="sent"] {
  padding: .75rem .9rem; border-radius: var(--r-sm); border: 1px solid var(--line-2);
}
.form__status[data-state="error"] { color: var(--amber); border-color: rgba(245, 158, 11, .35); background: var(--amber-soft); }
.form__status[data-state="pending-config"] { color: var(--text-2); border-color: var(--line-2); background: var(--surface-2); }
.form__status[data-state="sent"] { color: var(--green); border-color: rgba(52, 211, 153, .32); background: var(--green-soft); }

.form__legal { font-size: var(--fs-xs); color: var(--text-3); }

/* ============================================================
   21. FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-5);
  padding-block: var(--s-7);
}
.site-footer__name { font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.site-footer__claim { margin-top: .25rem; font-size: var(--fs-sm); color: var(--text-3); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.site-footer__nav a { font-size: var(--fs-sm); color: var(--text-2); transition: color .2s var(--ease); }
.site-footer__nav a:hover { color: var(--text); }

/* ============================================================
   22. MOTION / REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal[data-reveal-delay="1"] { transition-delay: .07s; }
.reveal[data-reveal-delay="2"] { transition-delay: .14s; }
.reveal[data-reveal-delay="3"] { transition-delay: .21s; }
.reveal[data-reveal-delay="4"] { transition-delay: .28s; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Sin JS no hay observer: el contenido debe verse siempre. */
html:not(.js) .reveal { opacity: 1; transform: none; transition: none; }

/* El contenido "above the fold" no espera al observer: entra con CSS al cargar. */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .reveal { animation: riseIn .7s var(--ease) both; }
.hero .reveal[data-reveal-delay="1"] { animation-delay: .07s; }
.hero .reveal[data-reveal-delay="2"] { animation-delay: .14s; }
.hero .reveal[data-reveal-delay="3"] { animation-delay: .21s; }
.hero .reveal[data-reveal-delay="4"] { animation-delay: .28s; }

/* Flujo del dato en el grafo (sólo cuando el bloque es visible) */
@media (prefers-reduced-motion: no-preference) {
  .lineage-figure.is-visible .edges .edge {
    animation: flow 2.6s linear infinite;
  }
  .lineage-figure.is-visible .edges .edge--out { animation-delay: .5s; }
  .lineage-figure.is-visible .edges .edge--far { animation-delay: 1s; }
  @keyframes flow { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }

  .frame--lg .meter__fill { animation: meterIn 1.1s var(--ease) both; }
  @keyframes meterIn { from { transform: scaleX(0); transform-origin: left; } to { transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */

/* — Laptop 1280–1440 — */
@media (max-width: 1200px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mock-explorer { grid-template-columns: minmax(0, 1fr) 180px; }
  .brand__tag { display: none; }
  .nav__list { gap: var(--s-4); }
}

/* — Tablet 768–1024 — */
@media (max-width: 1024px) {
  html { scroll-padding-top: 80px; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero__sub { max-width: 42rem; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 0; }

  .questions { grid-template-columns: 1fr; }
  .problem-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 2.6rem; }
  .step__num { top: -2px; }

  .showcase__layout { grid-template-columns: 1fr; }
  .showcase__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) 0; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar { padding-right: clamp(1rem, 3vw, 2rem); }

  /* Con 6 conceptos que envuelven, space-between deja huecos raros. */
  .band__list { justify-content: flex-start; gap: .65rem clamp(1.25rem, 3.5vw, 2.5rem); }

  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flex-grid { grid-template-columns: 1fr; }
  .security { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap__today { position: static; }
  .adopt { grid-template-columns: 1fr; gap: var(--s-6); }
  .adopt__col { padding: 0 0 0 var(--s-4); border-left: 1px solid var(--line); }
  .adopt__col:first-child { padding-left: var(--s-4); border-left: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }

  .nav__list { display: none; }
  .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* — Mobile ≤ 760 — */
@media (max-width: 760px) {
  :root { --section-y: clamp(3.5rem, 12vw, 5rem); }

  .site-header__inner { height: 60px; }

  .hero { padding-block: var(--s-7) var(--s-8); }
  .hero__title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero__actions { gap: var(--s-2); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { gap: .4rem; font-size: .66rem; }

  .lineage-figure { padding: .75rem; border-radius: var(--r-lg); }
  /* El grafo mantiene el mensaje: scroll horizontal controlado en lugar de comprimir. */
  .lineage-figure > svg { min-width: 520px; }
  .lineage-figure {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .band__list { gap: .5rem 1.25rem; justify-content: flex-start; }
  .band__list li { font-size: .62rem; }

  .problem-notes { grid-template-columns: 1fr; gap: var(--s-5); }
  .question__q { font-size: 1rem; }

  .steps { grid-template-columns: 1fr; gap: var(--s-5); }

  .showcase__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
  .tab { flex: none; }
  .showcase__side { grid-template-columns: 1fr; }
  .mock-explorer { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-dash { grid-template-columns: 1fr; }
  .mock-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame__body { padding: var(--s-3); }
  .mock-table { display: block; overflow-x: auto; white-space: nowrap; }

  .pillars { grid-template-columns: 1fr; gap: var(--s-7); }
  .pillar { padding: 0 0 0 var(--s-4); border-left: 1px solid var(--line); }
  .pillar:first-child { padding-left: var(--s-4); border-left: 1px solid var(--line); }

  .col-map { grid-template-columns: 1fr; gap: var(--s-3); }
  .col-map__links { grid-auto-flow: column; grid-template-columns: none; margin-top: 0; justify-content: start; overflow-x: auto; }
  .col-map__links li { min-width: 5.2rem; height: auto; padding-block: .3rem; }
  .col-map__links li::before { display: none; }

  .cases { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }

  .rm { grid-template-columns: 1.9rem 1fr; gap: var(--s-3); }

  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }

  .cta-inline { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-inline--center { align-items: center; text-align: center; }
  .cta-inline .btn { width: 100%; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* — Mobile pequeño 390 y menos — */
@media (max-width: 400px) {
  .brand__name { font-size: .86rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .hero__title { font-size: 2.05rem; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-services { grid-template-columns: 1fr; }
}

/* — Pantallas grandes 1920+ — */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
}

/* ============================================================
   24. PÁGINA LEGAL (aviso legal + privacidad)
   ============================================================ */
.nav--legal .nav__list { display: flex; }

.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.legal__inner { max-width: 48rem; }

.legal__head { padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.legal__head .mono-label { margin-bottom: var(--s-4); }
.legal__head h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: var(--s-5);
}
.legal__updated {
  margin-top: var(--s-5);
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .06em; color: var(--text-3);
}

.legal__toc {
  margin-block: var(--s-6);
  padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.legal__toc ol {
  margin-top: var(--s-4);
  columns: 2; column-gap: var(--s-6);
  list-style: decimal; padding-left: 1.2rem;
}
.legal__toc li { font-size: var(--fs-sm); color: var(--text-3); margin-bottom: .35rem; break-inside: avoid; }
.legal__toc a { color: var(--text-2); transition: color .2s var(--ease); }
.legal__toc a:hover { color: var(--cyan); }

.prose { margin-top: clamp(2rem, 4vw, 3rem); scroll-margin-top: 96px; }
.prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 1rem; margin: var(--s-5) 0 var(--s-3); color: var(--text); }
.prose p { color: var(--text-2); }
.prose p + p, .prose ul + p, .prose p + ul, .prose dl + p { margin-top: var(--s-4); }
.prose ul { display: grid; gap: .5rem; margin-top: var(--s-3); }
.prose ul li {
  position: relative; padding-left: 1.1rem;
  font-size: var(--fs-sm); color: var(--text-2);
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 1px; background: var(--line-3);
}
.prose strong { color: var(--text); font-weight: 600; }
.prose a:not(.ph) {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .4);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease);
}
.prose a:not(.ph):hover { text-decoration-color: var(--cyan); }

.legal__dl {
  margin: var(--s-5) 0 0;
  display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.legal__dl dt, .legal__dl dd {
  margin: 0; padding: .8rem 1rem;
  background: var(--surface); font-size: var(--fs-sm);
}
.legal__dl dt { color: var(--text-3); }
.legal__dl dd { color: var(--text); }

.legal__callout {
  margin-top: var(--s-5); padding: var(--s-4);
  border-left: 2px solid var(--cyan);
  background: var(--cyan-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
}

.legal__disclaimer {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--text-3);
}

/* Dato legal pendiente de completar: debe verse a la primera. */
.ph {
  display: inline-block;
  padding: .05rem .4rem;
  font-family: var(--font-mono); font-size: .82em;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px dashed rgba(245, 158, 11, .5);
  border-radius: var(--r-xs);
}
.ph::before { content: "⌗ "; opacity: .7; }

/* Pie con copyright */
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5);
  padding-bottom: var(--s-6);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.site-footer__legal p { font-size: var(--fs-xs); color: var(--text-3); }

@media (max-width: 760px) {
  .legal__toc ol { columns: 1; }
  .legal__dl { grid-template-columns: 1fr; }
  .legal__dl dt { padding-bottom: 0; background: var(--surface); color: var(--text-3); }
  .legal__dl dd { padding-top: .3rem; }
  .site-footer__legal { flex-direction: column; }
}

/* ============================================================
   25. PREGUNTAS FRECUENTES
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.faq__item {
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  background: var(--bg-2);
  transition: background .28s var(--ease);
}
.faq__item:hover { background: var(--surface); }
.faq__item h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: var(--s-3);
  padding-left: 1.4rem;
  position: relative;
}
.faq__item h3::before {
  content: "?";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: .85rem;
  color: var(--cyan); opacity: .8;
}
.faq__item p { font-size: var(--fs-sm); color: var(--text-2); }
.faq__item em { color: var(--text); font-style: normal; }

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

/* ============================================================
   26. PÁGINA 404
   ============================================================ */
.notfound {
  display: grid; place-items: center;
  min-height: 70vh;
  padding-block: var(--section-y);
  background: radial-gradient(46rem 30rem at 50% 0%, rgba(34, 211, 238, .07), transparent 62%);
}
.notfound__inner { max-width: 34rem; text-align: center; }
.notfound__inner .mono-label { margin-bottom: var(--s-4); }
.notfound__inner h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: var(--s-5); }
.notfound__actions {
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center;
  margin-top: var(--s-7);
}
@media (max-width: 560px) {
  .notfound__actions .btn { flex: 1 1 100%; }
}

/* ============================================================
   27. TIPOGRAFÍAS AUTO-ALOJADAS (opcional)
   ------------------------------------------------------------
   La página se sirve hoy sin ninguna petición a terceros, lo que permite
   afirmar en la política de privacidad que no se comunican datos a
   proveedores externos por el simple hecho de visitarla.

   Para usar Inter y JetBrains Mono con su diseño original:
     1. Ejecuta scripts/get-fonts.ps1 (descarga los .woff2 a assets/fonts/).
     2. Descomenta el bloque siguiente.
     3. Añade en el <head> de cada página, antes de styles.css:
        <link rel="preload" href="assets/fonts/inter.woff2" as="font"
              type="font/woff2" crossorigin>

   NO descomentar sin los archivos: provocaría un 404 por carga de página.
   ============================================================ */
/*
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2-variations");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
*/

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .drawer, .hero__glow, .hero__grid, .showcase__tabs { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
