.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover {
  text-decoration: underline;
}
.header-actions {
  display: flex;
  gap: 10px;
}

.eyebrow {
  font-weight: 700;
  color: var(--orange-ink);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 88px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-2);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}
.fine {
  font-size: 0.9rem;
  color: var(--ink-3);
}

.hero-actions .alt-action {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--ink-2);
}
.alt-action a {
  font-weight: 650;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.hero-points li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

@media (max-width: 440px) {
  .hide-xs {
    display: none;
  }
}
/* Celular: menos texto, se escanea de un vistazo */
@media (max-width: 560px) {
  .hero-points,
  .demo-steps,
  .honest p + p,
  .steps p,
  .section-lead {
    display: none;
  }
  .section-title {
    margin-bottom: 24px;
  }
  .steps {
    gap: 20px;
  }
  .step-num {
    font-size: 2.5rem;
    min-width: 48px;
    margin-bottom: 8px;
  }
}

.demo-steps {
  margin: 24px 0;
  padding-left: 22px;
  color: var(--ink-2);
}
.demo-steps li + li {
  margin-top: 8px;
}

.section {
  padding: 88px 0;
}
.band {
  background: var(--paper);
  padding: 88px 0;
  border-block: 1px solid var(--line);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}


.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  display: block;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  color: var(--carbon);
  border-bottom: 6px double var(--orange);
  padding-bottom: 8px;
  width: fit-content;
  min-width: 80px;
}
.steps h3 {
  font-size: 1.4rem;
}
.steps p {
  color: var(--ink-2);
}

.section-lead {
  margin: -20px 0 36px;
}
.roles-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--carbon);
  margin-bottom: 20px;
}
.roles-col {
  padding: 26px 28px 18px 0;
}
.roles-col + .roles-col {
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}
.roles-col-mid {
  background: var(--paper);
  border-bottom: 7px double var(--orange);
}
.roles-col h3 {
  font-size: 1.4rem;
}
.roles-col ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}
.roles-col li + li {
  margin-top: 8px;
}

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--carbon);
}
.audiences article {
  padding: 26px 28px 8px 0;
}
.audiences article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.audiences h3 {
  font-size: 1.3rem;
}
.audiences p {
  color: var(--ink-2);
}

.honest {
  background: var(--carbon);
  color: var(--paper);
  padding: 88px 0;
}
.honest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.honest h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  letter-spacing: -0.035em;
  border-bottom: 6px double var(--orange);
  padding-bottom: 18px;
}
.honest p {
  font-size: 1.15rem;
  color: #e3e6eb;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 860px;
}
.checklist li {
  padding: 18px 0 18px 44px;
  border-top: 1px solid var(--line-strong);
  position: relative;
  color: var(--ink-2);
}
.checklist li strong {
  color: var(--carbon);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.demo-form {
  background: var(--ivory);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.demo-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.demo-form .check {
  min-height: 36px;
  align-items: center;
}
.hp {
  position: absolute;
  left: -9999px;
}
#demo-status:not(:empty) {
  margin-bottom: 16px;
}

.site-footer {
  padding: 40px 0 56px;
}
.footer-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-row .fine {
  margin: 0;
  max-width: 520px;
}

/* ============ Movimiento ============ */

/* Entrada del hero, escalonada */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.hero-copy > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.32s;
}
.hero-visual {
  position: relative;
  animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Subrayado que se dibuja en "claros." */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0.12em;
  bottom: 0.02em;
  height: 0.14em;
  border-radius: 99px;
  background: var(--orange);
  transform-origin: left;
  animation: draw 0.8s 0.6s cubic-bezier(0.6, 0, 0.2, 1) both;
  z-index: -1;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

/* Brillo que cruza el botón principal */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s 1.4s infinite;
}
@keyframes shine {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.btn-shine:hover {
  transform: translateY(-1px);
}

/* Aparecen al hacer scroll (sólo navegadores que lo soportan; el resto los muestra fijos) */
@supports (animation-timeline: view()) {
  .section-title,
  .pillar,
  .steps li,
  .roles-col,
  .audiences article,
  .checklist li,
  .honest-grid > *,
  .demo-form {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

/* Sin animaciones si la persona lo pidió: queda el estado final */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-visual,
  .hl::after,
  .entry-card,
  .file-card,
  .section-title,
  .pillar,
  .steps li,
  .roles-col,
  .audiences article,
  .checklist li,
  .honest-grid > *,
  .demo-form {
    animation: none !important;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero,
  .honest-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 28px;
    gap: 36px;
  }
  .steps,
  .audiences,
  .roles-table {
    grid-template-columns: 1fr;
  }
  .roles-col + .roles-col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .roles-col-mid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .audiences article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hide-mobile {
    display: none;
  }
  .section,
  .band,
  .honest {
    padding: 60px 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .demo-form {
    padding: 20px;
  }
  .hero-actions .btn {
    white-space: normal;
  }
}

/* ============ Hero: el tablero del estudio ============ */

.hero-visual {
  margin: 0;
  display: grid;
  min-height: 520px;
  align-content: center;
}
.hero-visual figcaption {
  justify-self: end;
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.board {
  border-radius: var(--radius-lg);
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.board-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--carbon);
  color: var(--on-dark-2);
  font-size: 12px;
}
.board-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.board-bar span {
  margin-left: 8px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px 8px;
}
.board-head strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.board-head span {
  font-size: 12px;
  color: var(--ink-3);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.board-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line-strong);
}
.board-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.board-table tr:last-child td {
  border-bottom: 0;
}
.board-table td:first-child {
  font-weight: 650;
  white-space: normal;
}
.board-table small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-3);
}
.st {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.st-ok {
  background: #e3f3e8;
  border-color: #bfe3cb;
  color: #1d6b3a;
}
.st-review {
  background: #e7eefb;
  border-color: #c7d6f3;
  color: #24478f;
}
.st-warn {
  background: #fdf0dc;
  border-color: #f2d4a5;
  color: #8a4b00;
}
/* Tarjetas que asoman: un asiento automático y los archivos para ARCA */
.entry-card,
.file-card {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-pop);
  animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.entry-card {
  justify-self: start;
  width: min(300px, 92%);
  margin: 14px 0 0 -22px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--ink-2);
  animation-delay: 0.9s;
}
.entry-card b {
  color: var(--carbon);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  margin-bottom: 2px;
}
.entry-card span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.entry-card span.cr {
  padding-left: 18px;
}
.entry-card i {
  font-style: normal;
  color: var(--carbon);
}
.file-card {
  justify-self: end;
  margin: -64px -14px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius);
  background: var(--carbon);
  color: var(--on-dark);
  font-size: 13px;
  animation-delay: 1.4s;
}
.file-card b,
.file-card small {
  display: block;
}
.file-card small {
  color: var(--on-dark-2);
  font-size: 11.5px;
}
.file-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 44px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--carbon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

/* ============ Funcionalidades ============ */

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--carbon);
}
.pillar {
  padding: 26px 28px 8px 0;
}
.pillar + .pillar {
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}
.pillar-num {
  display: block;
  margin-bottom: 12px;
  font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-ink);
}
.pillar h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.pillar p {
  color: var(--ink-2);
  margin: 0;
}
.also-title {
  margin: 56px 0 14px;
  font-size: 1.2rem;
}
.also {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  color: var(--ink-2);
}
.also li {
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}
.also b {
  color: var(--carbon);
}

@media (max-width: 960px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar + .pillar {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .hero-visual {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .board-table th:nth-child(4),
  .board-table td:nth-child(4) {
    display: none;
  }
  .board-table th,
  .board-table td {
    padding-inline: 12px;
  }
  .entry-card {
    margin: 12px 0 0 0;
  }
  .file-card {
    display: none;
  }
  .also {
    grid-template-columns: 1fr;
  }
}
