/* Kapyari Labs Developers page — clean, centered, zero container slop */
.dv {
  --ink: #ededf3;
  --ink2: #c4c7d6;
  --dim: #8b8fa3;
  --faint: #5e6275;
  --hair: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .13);
  --ease: cubic-bezier(.16, 1, .3, 1);
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  color: var(--ink);
  font-family: Geist, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dv *, .dv *::before, .dv *::after { box-sizing: border-box; }
.dv a { color: inherit; text-decoration: none; }

.dv-kicker {
  margin: 0 0 14px;
  color: #7aa2ff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dv-hero {
  text-align: center;
  padding-top: 12px;
}
.dv-hero h1 {
  margin: 0 auto;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.dv-hero h1 span {
  color: #8c90a4;
  font-weight: 500;
}
.dv-lead {
  margin: 20px auto 0;
  max-width: 580px;
  color: var(--dim);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  text-wrap: pretty;
}

.dv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.dv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .16s ease, border-color .16s ease, box-shadow .2s ease;
}
.dv-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.dv-btn--pri,
.dv a.dv-btn--pri {
  color: #090a0f !important;
  background: linear-gradient(180deg, #fff 0%, #e7e9f0 100%);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px -12px rgba(255, 255, 255, .35);
}
.dv-btn--pri:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 14px 34px -10px rgba(255, 255, 255, .45); }
.dv-btn--pri:hover svg { transform: translateX(3px); }
.dv-btn--sec {
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.dv-btn--sec:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); transform: translateY(-1px); }

/* Interactive code preview */
.dv-term {
  margin: 48px auto 0;
  max-width: 880px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: rgba(9, 10, 15, .9);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 28px 72px -24px rgba(0, 0, 0, .85);
}
.dv-term-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hair);
  background: rgba(255, 255, 255, .02);
}
.dv-tabs { display: inline-flex; gap: 4px; }
.dv-tabs button {
  padding: 5px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dim);
  font: 500 12.5px/1 Geist, Inter, sans-serif;
  cursor: pointer;
  transition: color .14s, background-color .14s;
}
.dv-tabs button:hover { color: var(--ink); }
.dv-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .08); color: #fff; }
.dv-ep {
  margin-left: auto;
  color: var(--faint);
  font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dv-copy {
  padding: 5px 10px;
  border: 1px solid var(--hair);
  border-radius: 7px;
  background: transparent;
  color: var(--ink2);
  font: 500 12px/1 Geist, Inter, sans-serif;
  cursor: pointer;
  transition: color .14s, border-color .14s, background-color .14s;
}
.dv-copy:hover { color: #fff; border-color: var(--line); background: rgba(255, 255, 255, .05); }

.dv-term-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.dv-code {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .14) transparent;
  color: #d6dae8;
  font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dv-res {
  border-left: 1px solid var(--hair);
  background: rgba(255, 255, 255, .014);
}
.dv-res-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 0;
  color: #4ade80;
  font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}
.dv-ms { margin-left: auto; color: var(--faint); }
.dv-code--out { padding-top: 10px; color: #9ea4bb; }

/* Sections */
.dv-sec {
  margin-top: 88px;
  padding-top: 64px;
  border-top: 1px solid var(--hair);
}
.dv-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 44px;
}
.dv-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.dv-head p {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Products 2x2 hairline grid — zero nested boxes */
.dv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
}
.dv-item {
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.dv-item-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.dv-item-top img {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .12);
  outline-offset: -1px;
}
.dv-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.25;
}
.dv-tag {
  display: inline-block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}
.dv-item > p {
  margin: 0 0 16px;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: pretty;
}
.dv-pts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dv-pts li {
  position: relative;
  padding-left: 16px;
  color: var(--ink2);
  font-size: 13.5px;
  line-height: 1.4;
}
.dv-pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(122, 162, 255, .7);
}

/* Pricing */
.dv-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dv-plan {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
}
.dv-plan.is-pro {
  border-color: rgba(122, 162, 255, .34);
  background: linear-gradient(180deg, rgba(43, 92, 255, .08) 0%, rgba(255, 255, 255, .02) 100%);
}
.dv-pname {
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 600;
}
.dv-pprice {
  margin: 12px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.dv-pprice b {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dv-pprice span { color: var(--dim); font-size: 13.5px; }
.dv-pdesc {
  margin: 0 0 20px;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.5;
}
.dv-plan .dv-pts { margin-bottom: 24px; }
.dv-plan .dv-btn { margin-top: auto; width: 100%; height: 42px; font-size: 13.5px; }

/* Bottom CTA */
.dv-cta {
  margin-top: 88px;
  padding: 52px 24px 0;
  border-top: 1px solid var(--hair);
  text-align: center;
}
.dv-cta h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.dv-cta p {
  margin: 12px auto 26px;
  max-width: 480px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .dv-term-grid { grid-template-columns: 1fr; }
  .dv-res { border-left: 0; border-top: 1px solid var(--hair); }
  .dv-ep { display: none; }
  .dv-grid { grid-template-columns: 1fr; gap: 28px; }
  .dv-plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dv { padding: 36px 18px 72px; }
  .dv-actions { flex-direction: column; }
  .dv-actions .dv-btn { width: 100%; max-width: 300px; }
  .dv-sec { margin-top: 64px; padding-top: 48px; }
}
