/* Shared product detail page styles */
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  position: relative;
  isolation: isolate;
}
main::before {
  content: "";
  position: absolute;
  inset: -8% -20% auto -20%;
  height: 360px;
  background: radial-gradient(ellipse 55% 60% at 70% 20%, var(--glow, rgba(99,102,241,.2)), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--edge, var(--accent));
  margin: 0 0 1rem;
}
.kicker i {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--edge, var(--accent));
  box-shadow: 0 0 10px var(--edge, var(--accent));
  display: inline-block;
}
h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}
.lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 1.75rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 2.25rem;
  position: relative;
  z-index: 2;
}
.cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(18,18,26,.85);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,255,255,.08);
}
.cta-row a.primary {
  background: var(--edge, var(--accent));
  border-color: transparent;
  color: #fff;
}
.cta-row a.primary:hover { filter: brightness(1.08); color: #fff; }
.cta-row a:hover { border-color: color-mix(in srgb, var(--edge, var(--accent)) 45%, var(--border)); }
.meta-box {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-muted);
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(18,18,26,.75);
  margin: 0 0 2.5rem;
  line-height: 1.55;
  word-break: break-word;
}
.meta-box strong { color: var(--text); font-weight: 600; }
.snippet {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-muted);
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10,10,15,.65);
  overflow-x: auto;
  margin: 0 0 .85rem;
  line-height: 1.55;
}
.snippet code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  white-space: pre;
}
.snippet.wrap {
  overflow-x: hidden;
}
.snippet.wrap code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.section code {
  font-family: var(--font-mono);
  font-size: .9em;
}
.section { margin: 0 0 2.25rem; }
.section h2 {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.section p { margin: 0 0 .85rem; color: var(--text-muted); }
.section p strong { color: var(--text); }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.bullets li {
  padding: .9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(26,26,37,.9), rgba(16,16,24,.95));
  color: var(--text-muted);
}
.bullets li strong { display: block; color: var(--text); margin-bottom: .2rem; }
.bullets + .snippet { margin-top: 1rem; }
.back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
}
.back:hover { color: var(--text); }
@media (max-width: 560px) {
  main { padding: 2rem 1rem 3.5rem; }
}
