/* Inner pages + shared shell (pairs with motion.css) */

.site-shell {
  --glow: rgba(82, 130, 255, 0.35);
}

.site-shell .ambient-bg--soft .orb {
  opacity: 0.22;
}

.site-shell .ambient-bg--soft .orb-c {
  display: none;
}

.site-shell .ambient-bg--soft::after {
  opacity: 0.2;
}

.site-shell .breadcrumbs {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  font-size: 0.88rem;
}

.site-shell .breadcrumbs a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.site-shell .breadcrumbs a:hover {
  text-decoration: underline;
}

.site-shell .page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.site-shell .page-hero .kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--kicker-color);
}

.site-shell .page-hero h1 {
  max-width: 22ch;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.site-shell .page-hero .lead {
  max-width: 58ch;
  font-size: 1.05rem;
}

.site-shell .hero-command-demo {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  box-shadow: var(--shadow);
}

.site-shell .section-head h2 {
  letter-spacing: -0.02em;
}

.site-shell .card {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-shell .card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.site-shell .prose-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.site-shell .prose-card h2 {
  margin-top: 0;
  letter-spacing: -0.02em;
}

.site-shell .prose-card h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.site-shell .prose-card ul,
.site-shell .prose-card ol {
  padding-left: 1.2rem;
}

.site-shell .prose-card li + li {
  margin-top: 0.35rem;
}

.site-shell .page-cta {
  padding-top: 0.5rem;
}

.site-shell .cta-panel--compact .cta-inner {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}

.site-shell .cta-panel--compact h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin-bottom: 0.5rem;
}

.site-shell .cta-panel--compact p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.site-shell .footer {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.site-shell .read-also-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}

.site-shell .read-also-title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-shell .read-also-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .site-shell .read-also-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-shell .read-also-list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 40%, var(--card));
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.site-shell .read-also-list a:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
  transform: translateY(-2px);
}
