/* Sutura landing — Manual de Identidad Visual V1.0 (2026). Monocromo, Poppins. */
:root {
  --ink: #111111;
  --graphite: #555555;
  --steel: #999999;
  --hairline: #E5E5E5;
  --paper: #FFFFFF;
  --max: 1120px;
  --stitch: repeating-linear-gradient(90deg, var(--ink) 0 7px, transparent 7px 13px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Poppins, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }

/* Type roles from the manual */
h1 { font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 20px; }
h2 { font-weight: 600; letter-spacing: -0.3px; line-height: 1.25; font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 16px; max-width: 22ch; }
h3 { font-weight: 600; letter-spacing: -0.3px; line-height: 1.25; font-size: 1.125rem; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.lede { font-size: 1.125rem; color: var(--graphite); max-width: 56ch; }
.label {
  font-weight: 600; letter-spacing: 1.2px; line-height: 1.4;
  text-transform: uppercase; font-size: 0.75rem; color: var(--graphite);
}
.muted { color: var(--graphite); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 600; letter-spacing: 1.2px; line-height: 1.4;
  font-size: 0.8125rem; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn.secondary:hover { background: var(--paper); border-color: var(--ink); }

/* Cards */
.card { border: 1px solid var(--hairline); border-radius: 10px; padding: 24px; background: var(--paper); }
.card.elevated, .card:hover { box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06); }

/* Stitch: the signature divider */
.stitch { height: 1px; background: var(--stitch); }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; position: sticky; top: 0; z-index: 10; background: var(--paper); }
.nav::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; background: var(--hairline); }
/* Lockup primario horizontal (manual §01). Mark = vector del PDF; clear space = altura del bracket interno (x). */
.logo { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-weight: 700; letter-spacing: -0.5px; font-size: 1.25rem; line-height: 1; }
.logo .mark { flex: none; }
.nav nav { display: flex; gap: 28px; align-items: center; }
.nav nav a:not(.btn) { text-decoration: none; font-size: 0.9375rem; color: var(--graphite); }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* Sections */
section { padding-block: 88px; }
.hero { padding-block: 64px 88px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .label { margin-bottom: 20px; display: block; }

/* Hero suture diagram */
.suture { width: 100%; height: auto; display: block; }
.suture text { font-family: Poppins, sans-serif; }
.suture .sys { font-size: 15px; font-weight: 600; fill: var(--ink); }
.suture .cat { font-size: 11px; font-weight: 400; fill: var(--steel); }
.suture .thread { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.suture .knot-bg { fill: var(--paper); }
.suture .knot { color: var(--ink); }
.suture .dest { fill: var(--ink); }
.suture .dest-t { fill: var(--paper); font-size: 13px; font-weight: 600; }
.suture .dest-s { fill: var(--steel); font-size: 11px; }
.suture .port { fill: var(--paper); stroke: var(--hairline); }

@media (prefers-reduced-motion: no-preference) {
  .suture .thread, .suture .knot, .suture .knot-bg, .suture .dest, .suture .dest-t, .suture .dest-s { animation: sew 0.6s ease-out both; }
  .suture .thread:nth-of-type(1) { animation-delay: 0.1s; }
  .suture .thread:nth-of-type(2) { animation-delay: 0.25s; }
  .suture .thread:nth-of-type(3) { animation-delay: 0.4s; }
  .suture .thread:nth-of-type(4) { animation-delay: 0.55s; }
  .suture .thread:nth-of-type(5) { animation-delay: 0.7s; }
  .suture .knot, .suture .knot-bg { animation-delay: 0.9s; }
  .suture .thread.out { animation-delay: 1.05s; }
  .suture .dest, .suture .dest-t, .suture .dest-s { animation-delay: 1.3s; }
}
@keyframes sew { from { opacity: 0; } to { opacity: 1; } }

/* Problem */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.reg dl { margin: 16px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.9375rem; }
.reg dt { color: var(--steel); font-weight: 600; }
.reg dd { margin: 0; color: var(--graphite); }
.fragments { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.fragments span { border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 14px; font-size: 0.875rem; color: var(--graphite); }
.fragments span.none { border-style: dashed; border-color: var(--steel); }

/* Solution */
.connectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.connectors .card { padding: 20px 22px; }
.connectors .card p { margin: 0; color: var(--graphite); font-size: 0.9375rem; }
.connectors .wip h3, .connectors .wip p { color: var(--graphite); }
.chip { display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 999px; background: var(--hairline); color: var(--graphite); font-size: 0.75rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.6; }
.connectors .ask { border-style: dashed; border-color: var(--steel); }
.connectors .ask:hover { box-shadow: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.steps p { color: var(--graphite); font-size: 0.9375rem; margin: 0; }
.cost { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.cost strong { font-weight: 600; }

/* CTA */
.cta { background: var(--ink); color: var(--paper); }
.cta .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta h2 { color: var(--paper); }
.cta .lede, .cta .label { color: var(--steel); }
.cta ul { padding-left: 18px; margin: 0; color: var(--steel); }
.cta li { margin-bottom: 8px; }
form.lead { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 32px; display: grid; gap: 18px; }
form.lead label { display: grid; gap: 6px; }
form.lead input {
  font: inherit; height: 44px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--hairline); background: var(--paper); color: var(--ink);
}
form.lead input:hover { border-color: var(--steel); }
form.lead input:focus { border-color: var(--ink); outline: none; }
form.lead .btn { width: 100%; margin-top: 6px; }
form.lead small { color: var(--steel); font-size: 0.8125rem; line-height: 1.5; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { padding-block: 32px 48px; }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; color: var(--graphite); }

/* Thanks page */
.thanks { min-height: 60vh; display: grid; align-content: center; }

@media (max-width: 860px) {
  section { padding-block: 64px; }
  .hero { padding-block: 32px 64px; }
  .hero .grid, .two, .cost, .cta .grid { grid-template-columns: 1fr; gap: 32px; }
  .connectors, .steps { grid-template-columns: 1fr 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .connectors, .steps { grid-template-columns: 1fr; }
  form.lead { padding: 24px; }
}
