/* Kit de marca: misma base que la portada (neboki.css), con piezas para enseñar y descargar archivos. */

.kit-hero {
  border-top: 0;
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.kit-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 680;
  margin-bottom: 20px;
}

.kit-hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}

.kit-hero .meta {
  font: 500 13px var(--mono);
  color: var(--subtle);
}

.kit-sec .head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}

.asset {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
}

.asset__art {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 32px;
}

.asset__art img {
  max-width: 100%;
  max-height: 64px;
  height: auto;
}

.asset__art--mark img {
  max-height: 96px;
}

.asset__art--banner {
  padding: 0;
  min-height: 0;
}

.asset__art--banner img {
  max-height: none;
  width: 100%;
  display: block;
}

.on-light {
  background: #fafafa;
}

.on-dark {
  background: #0c0c0d;
}

.on-coral {
  background: var(--accent);
}

.on-ink {
  background: #141416;
}

.asset__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.asset__foot b {
  font-weight: 600;
  font-size: 14.5px;
}

.asset__foot small {
  display: block;
  color: var(--subtle);
  font-size: 13px;
}

.dl {
  display: flex;
  gap: 8px;
}

.dl a {
  font: 500 12.5px var(--mono);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--fg);
}

.dl a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Apps */
.apps-kit {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.app-kit {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  min-width: 0;
}

.app-kit img {
  width: 56px;
  height: 56px;
  flex: none;
}

.app-kit div {
  min-width: 0;
  flex: 1;
}

.app-kit b {
  display: block;
  font-weight: 600;
}

.app-kit small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Color */
.swatches {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.swatch {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
}

.swatch i {
  display: block;
  height: 96px;
}

.swatch div {
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}

.swatch b {
  font-weight: 600;
}

.swatch code {
  font: 13px var(--mono);
  color: var(--muted);
}

.swatch small {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 6px;
}

.sw-coral { background: #ff5a5f; }
.sw-fill { background: #cf343a; }
.sw-amber { background: linear-gradient(100deg, #ff5a5f 0%, #ff5a5f 60%, #ff8a4c 100%); }
.sw-ink { background: #141416; }
.sw-mist { background: #f3f4f6; }
.sw-land { background: #08090c; box-shadow: inset 0 -1px 0 var(--line); }
.sw-violet { background: #9b8cff; }

.note {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 14px;
}

.note a {
  color: var(--fg);
}

/* Normas */
.rules {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.rule {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  background: var(--panel);
  display: grid;
  gap: 12px;
  align-content: start;
}

.rule ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.rule p {
  color: var(--muted);
}

.space {
  justify-self: start;
  padding: 22px;
  outline: 1.5px dashed var(--accent);
  background: repeating-linear-gradient(45deg, rgb(255 90 95 / 10%) 0 6px, transparent 6px 12px);
  border-radius: 4px;
}

.space img {
  display: block;
  height: 44px;
  width: auto;
  background: #fafafa;
}

.voice {
  display: grid;
  gap: 8px;
}

.voice p {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--fg);
}

.voice .yes {
  box-shadow: inset 3px 0 0 var(--ok);
}

.voice .no {
  box-shadow: inset 3px 0 0 #f87171;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgb(248 113 113 / 60%);
}

.type-sample {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.type-mono {
  font: 500 22px var(--mono);
  color: var(--accent);
}

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

.grid + .grid {
  margin-top: 16px;
}
