/* ============================================================
   Benta — design tokens
   ============================================================ */
:root {
  --ink: #0A0C10;
  --panel: #12151C;
  --gray: #5C6470;
  --gray-soft: #8A909B;
  --off-white: #F1F2F4;
  --white: #FBFBFC;
  --cobalt: #2C4BFF;
  --cobalt-deep: #1B2E99;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --gutter: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cobalt);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 14px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 700px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.header-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray);
  display: none;
}
@media (min-width: 640px) {
  .header-tag { display: block; }
}

/* ============================================================
   CTA button — the one and only
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 3px;
  letter-spacing: 0.005em;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
}
.cta-button:hover {
  background: #3D5AFF;
}
.cta-button:active {
  background: var(--cobalt-deep);
  transform: translateY(1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 48px 0 64px;
}
.hero-inner {
  display: grid;
  gap: 48px;
}

.hero-signature-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.hero-signature {
  width: 100%;
  height: auto;
  overflow: visible;
}
.signature-line {
  stroke: var(--cobalt);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  animation: draw-line 1.6s var(--ease) forwards;
  animation-delay: 0.5s;
}
.signature-line--right { animation-delay: 0.65s; }
.signature-point {
  fill: var(--cobalt);
  opacity: 0;
  animation: point-in 0.5s var(--ease) forwards;
  animation-delay: 2.1s;
}
.signature-label {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--gray-soft);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: label-in 0.6s var(--ease) forwards;
  animation-delay: 0.25s;
}
.signature-label--right { animation-delay: 0.4s; }

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
@keyframes point-in {
  to { opacity: 1; }
}
@keyframes label-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .signature-line, .signature-point, .signature-label {
    animation: none;
    opacity: 1;
  }
  .signature-line { stroke-dashoffset: 0; }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
  }
  .hero-signature-wrap {
    max-width: 400px;
    order: 2;
  }
  .hero-content { order: 1; }
}

.reveal-line {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.7s var(--ease) forwards;
  animation-delay: calc(var(--d) * 0.12s + 0.15s);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line { animation: none; opacity: 1; transform: none; }
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--white);
  display: block;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--cobalt);
}

.hero-sub {
  margin-top: 28px;
  max-width: 46ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--gray-soft);
  line-height: 1.65;
}

.reveal-line .cta-button {
  margin-top: 40px;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section {
  padding: 72px 0;
}
.section--dark {
  background: var(--panel);
  color: var(--off-white);
}
.section--light {
  background: var(--off-white);
  color: var(--ink);
}

.section-number {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cobalt);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-bottom: 32px;
}
.section--light .section-title { color: var(--ink); }
.section--dark .section-title { color: var(--white); }

.prose {
  max-width: 62ch;
  display: grid;
  gap: 20px;
}
.prose p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-soft);
}
.prose p:last-child {
  color: var(--off-white);
  font-weight: 500;
}

.prose-quiet {
  max-width: 56ch;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-soft);
  font-style: italic;
  font-family: var(--font-display);
}

/* ============================================================
   Pillars (método)
   ============================================================ */
.pillars {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.pillar {
  border-top: 1px solid rgba(10, 12, 16, 0.15);
  padding-top: 20px;
}
.pillar-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cobalt);
  margin-bottom: 12px;
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.pillar-copy {
  color: #3A3F47;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================================================
   Fit grid (para quién)
   ============================================================ */
.fit-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .fit-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.fit-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(241, 242, 244, 0.15);
}
.fit-label--yes { color: var(--cobalt); }
.fit-label--no { color: var(--gray); }

.fit-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.fit-list li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.fit-label--yes + .fit-list li::before,
.fit-col:first-child .fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1.5px;
  background: var(--cobalt);
}
.fit-col:last-child .fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1.5px;
  background: var(--gray);
}

/* ============================================================
   Process list (cómo empezamos)
   ============================================================ */
.process-list {
  list-style: none;
  display: grid;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(10, 12, 16, 0.12);
}
.process-step:last-child {
  border-bottom: 1px solid rgba(10, 12, 16, 0.12);
}
.process-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cobalt);
  padding-top: 4px;
}
.process-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.process-copy {
  color: #3A3F47;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 52ch;
}

@media (min-width: 640px) {
  .process-step { grid-template-columns: 64px 1fr; }
}

/* ============================================================
   Closing
   ============================================================ */
.closing {
  background: var(--ink);
  padding: 96px 0;
}
.closing-inner {
  max-width: 700px;
}
.closing .section-number { color: var(--cobalt); }
.closing-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 40px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--panel);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}
