/* API Devel public marketing site */
:root {
  --pub-bg: #020617;
  --pub-bg-elevated: #0f172a;
  --pub-bg-card: rgba(30, 41, 59, 0.4);
  --pub-text: #f8fafc;
  --pub-text-muted: #94a3b8;
  --pub-text-soft: #cbd5e1;
  --pub-border: rgba(255, 255, 255, 0.05);
  --pub-border-strong: rgba(51, 65, 85, 0.8);
  --pub-brand-400: #60a5fa;
  --pub-brand-500: #3b82f6;
  --pub-brand-600: #2563eb;
  --pub-brand-900: #1e3a8a;
  --pub-brand-950: #172554;
  --pub-purple: #9333ea;
  --pub-max: 80rem;
  --pub-radius: 0.75rem;
  --pub-font: "Inter", system-ui, -apple-system, sans-serif;
  --pub-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.pub-body {
  margin: 0;
  font-family: var(--pub-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pub-text);
  background: var(--pub-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.pub-container {
  width: 100%;
  max-width: var(--pub-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) { .pub-container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .pub-container { padding-inline: 2rem; } }

/* Nav */
.pub-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pub-border);
  transition: box-shadow 0.3s;
}

.pub-nav.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

.pub-nav__inner { padding-block: 0.75rem; }
@media (min-width: 640px) { .pub-nav__inner { padding-block: 1rem; } }

.pub-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) { .pub-brand { font-size: 1.25rem; } }

.pub-brand__mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--pub-brand-500), var(--pub-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.pub-brand__dot { color: var(--pub-brand-400); }

.pub-nav__links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) { .pub-nav__links { display: flex; } }

.pub-nav__link {
  font-size: 0.875rem;
  color: var(--pub-text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.pub-nav__link:hover, .pub-nav__link.is-active { color: var(--pub-text); }

.pub-nav__actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) { .pub-nav__actions { display: flex; } }

.pub-nav__toggle {
  display: flex;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--pub-text-soft);
  cursor: pointer;
}

.pub-nav__toggle:hover { color: var(--pub-text); background: rgba(30, 41, 59, 0.5); }

@media (min-width: 768px) { .pub-nav__toggle { display: none; } }

.pub-nav__toggle svg { width: 1.5rem; height: 1.5rem; }

.pub-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pub-mobile-menu.is-open { max-height: 32rem; }

@media (min-width: 768px) { .pub-mobile-menu { display: none; } }

.pub-mobile-menu__inner {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(30, 41, 59, 0.5);
}

.pub-mobile-menu__link {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--pub-text-soft);
  text-decoration: none;
  border-radius: 0.5rem;
}

.pub-mobile-menu__link:hover { color: var(--pub-text); background: rgba(30, 41, 59, 0.5); }

.pub-mobile-menu__cta { margin-top: 0.5rem; text-align: center; }

/* Buttons */
.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--pub-radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pub-btn--primary {
  color: #fff;
  background: var(--pub-brand-600);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.45);
}

.pub-btn--primary:hover { background: var(--pub-brand-500); }

.pub-btn--lg { padding: 1rem 2rem; font-size: 1rem; }

.pub-btn--white {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pub-btn--white:hover { background: #e2e8f0; }

.pub-btn--ghost {
  color: var(--pub-text);
  background: var(--pub-bg-card);
  border: 1px solid var(--pub-border);
  backdrop-filter: blur(8px);
}

.pub-btn--ghost:hover { background: rgba(30, 41, 59, 0.8); }

.pub-btn--block { width: 100%; }

.pub-btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* Cards & glass */
.pub-glass {
  background: var(--pub-bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pub-border);
}

.pub-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--pub-bg-card);
  border: 1px solid var(--pub-border);
  transition: border-color 0.3s;
}

@media (min-width: 640px) { .pub-card { padding: 2rem; } }

.pub-card:hover { border-color: rgba(59, 130, 246, 0.5); }

.pub-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pub-card__icon svg { width: 1.5rem; height: 1.5rem; }

.pub-card__icon--blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.pub-card__icon--green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.pub-card__icon--purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.pub-card__icon--indigo { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.pub-card__icon--emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.pub-card h3, .pub-card h4 { margin: 0 0 0.75rem; font-size: 1.25rem; }

.pub-card p { margin: 0; font-size: 0.875rem; color: var(--pub-text-muted); line-height: 1.7; }

/* Typography */
.pub-gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pub-brand-400);
  background: rgba(23, 37, 84, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

@media (min-width: 640px) { .pub-eyebrow { font-size: 0.75rem; } }

.pub-eyebrow__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pub-brand-400);
  animation: pub-pulse 2s ease-in-out infinite;
}

@keyframes pub-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pub-hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 640px) { .pub-hero { padding-top: 8rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .pub-hero { padding-top: 12rem; padding-bottom: 8rem; } }

.pub-hero__glow {
  position: absolute;
  width: min(300px, 70vw);
  height: min(300px, 70vw);
  border-radius: 50%;
  background: var(--pub-brand-500);
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.pub-hero__glow--left { top: 5rem; left: 25%; }
.pub-hero__glow--right { top: 10rem; right: 25%; background: var(--pub-purple); }
.pub-hero__glow--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: #6366f1;
}

.pub-hero__content { position: relative; z-index: 1; text-align: center; }

.pub-hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.875rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pub-hero__lead {
  margin: 0 auto;
  max-width: 48rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--pub-text-muted);
}

.pub-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .pub-hero__actions { flex-direction: row; justify-content: center; }
}

/* Sections */
.pub-section { padding-block: 4rem; position: relative; }
@media (min-width: 640px) { .pub-section { padding-block: 6rem; } }

.pub-section--muted { background: rgba(15, 23, 42, 0.5); }
.pub-section--bordered { border-top: 1px solid rgba(30, 41, 59, 0.5); }

.pub-section__header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 640px) { .pub-section__header { margin-bottom: 4rem; } }

.pub-section__label {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pub-brand-400);
}

.pub-section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

.pub-section__desc { margin: 0; color: var(--pub-text-muted); }

.pub-grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) { .pub-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .pub-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.pub-grid-3__span-2 { grid-column: span 2; }
@media (min-width: 1024px) { .pub-grid-3__span-2 { grid-column: span 1; } }

/* Feature rows */
.pub-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .pub-feature { flex-direction: row; gap: 3rem; margin-bottom: 6rem; }
  .pub-feature--reverse { flex-direction: row-reverse; }
}

.pub-feature:last-child { margin-bottom: 0; }

.pub-feature__copy { flex: 1; width: 100%; }
.pub-feature__media { flex: 1; width: 100%; min-width: 0; }

.pub-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pub-text-soft);
  background: #1e293b;
  border-radius: 0.25rem;
}

.pub-tag svg { width: 1rem; height: 1rem; color: var(--pub-brand-400); }

.pub-checklist { list-style: none; margin: 0; padding: 0; }

.pub-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--pub-text-soft);
}

.pub-checklist__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: var(--pub-brand-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-checklist__icon svg { width: 0.875rem; height: 0.875rem; color: var(--pub-brand-400); }

/* Demo UI blocks */
.pub-demo-panel { padding: 1rem; border-radius: var(--pub-radius); border: 1px solid var(--pub-border-strong); }
@media (min-width: 640px) { .pub-demo-panel { padding: 1.5rem; } }

.pub-demo-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--pub-radius);
}

@media (min-width: 640px) {
  .pub-demo-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

.pub-demo-actions { display: flex; gap: 0.5rem; }

.pub-demo-actions .pub-btn { padding: 0.375rem 0.75rem; font-size: 0.75rem; }

.pub-terminal {
  padding: 1rem;
  border-radius: var(--pub-radius);
  background: #020617;
  border: 1px solid #1e293b;
  font-family: var(--pub-mono);
  font-size: 0.75rem;
  overflow-x: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) { .pub-terminal { padding: 1.5rem; font-size: 0.875rem; } }

.pub-terminal__dots { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.pub-terminal__dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.pub-terminal__dot--red { background: #ef4444; }
.pub-terminal__dot--yellow { background: #eab308; }
.pub-terminal__dot--green { background: #22c55e; }

.pub-terminal__comment { color: var(--pub-brand-400); }
.pub-terminal__ok { color: #4ade80; }
.pub-terminal__warn { color: #fbbf24; }
.pub-terminal__link { color: #93c5fd; }

/* Dashboard mockup */
.pub-mockup { margin-top: 3rem; position: relative; max-width: 64rem; margin-inline: auto; }
@media (min-width: 640px) { .pub-mockup { margin-top: 5rem; } }

.pub-mockup__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--pub-bg), transparent);
  z-index: 2;
  border-radius: var(--pub-radius);
  pointer-events: none;
}

.pub-mockup__frame {
  border-radius: var(--pub-radius);
  border: 1px solid rgba(51, 65, 85, 0.5);
  overflow: hidden;
  padding: 0.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.pub-mockup__body {
  display: flex;
  min-height: 280px;
  background: #0f172a;
  border-radius: calc(var(--pub-radius) - 2px);
  overflow: hidden;
}

@media (min-width: 640px) { .pub-mockup__body { min-height: 340px; } }
@media (min-width: 768px) { .pub-mockup__body { height: 400px; } }

.pub-mockup__sidebar {
  display: none;
  width: 12rem;
  flex-shrink: 0;
  padding: 1rem;
  border-right: 1px solid #1e293b;
}

@media (min-width: 768px) { .pub-mockup__sidebar { display: block; } }

.pub-skeleton { background: #1e293b; border-radius: 0.25rem; }
.pub-skeleton--brand { background: rgba(37, 99, 235, 0.3); }

.pub-mockup__main { flex: 1; padding: 1rem; min-width: 0; }
@media (min-width: 640px) { .pub-mockup__main { padding: 1.5rem; } }

.pub-mockup__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .pub-mockup__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.pub-mockup__stat {
  height: 4rem;
  border-radius: var(--pub-radius);
  border: 1px solid var(--pub-border-strong);
}

@media (min-width: 640px) { .pub-mockup__stat { height: 6rem; } }

.pub-mockup__stat--wide { grid-column: span 2; }
@media (min-width: 640px) { .pub-mockup__stat--wide { grid-column: span 1; } }

.pub-mockup__chart {
  height: 8rem;
  border-radius: var(--pub-radius);
  border: 1px solid var(--pub-border-strong);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) { .pub-mockup__chart { height: 12rem; } }

.pub-mockup__drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: rgba(30, 41, 59, 0.8);
  border-left: 1px solid var(--pub-border-strong);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) { .pub-mockup__drawer { width: 33%; padding: 1rem; } }

/* Experience panel */
.pub-experience {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) { .pub-experience { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.pub-steps { display: flex; flex-direction: column; gap: 1.5rem; }

.pub-step { display: flex; gap: 1rem; }

.pub-step__num {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pub-step__num--active {
  background: var(--pub-brand-900);
  color: var(--pub-brand-400);
}

.pub-step h4 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.pub-step p { margin: 0; font-size: 0.875rem; color: var(--pub-text-muted); }

.pub-admin-preview {
  background: var(--pub-bg-elevated);
  border: 1px solid var(--pub-border-strong);
  border-radius: var(--pub-radius);
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) { .pub-admin-preview { padding: 1rem; } }

.pub-quick-edit {
  background: #1e293b;
  border: 1px solid var(--pub-border-strong);
  border-radius: var(--pub-radius);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .pub-quick-edit {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 16rem;
    margin-bottom: 0;
    border-radius: 0 var(--pub-radius) var(--pub-radius) 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
  }
}

.pub-quick-edit__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--pub-border-strong);
  font-size: 0.875rem;
  font-weight: 700;
}

.pub-quick-edit__body { padding: 0.75rem 1rem; flex: 1; display: flex; flex-direction: column; gap: 1rem; }

.pub-field label { display: block; font-size: 0.75rem; color: var(--pub-text-muted); margin-bottom: 0.25rem; }

.pub-field__box {
  height: 2rem;
  background: #020617;
  border: 1px solid #475569;
  border-radius: 0.25rem;
}

.pub-field__box--tall { height: 5rem; }

.pub-admin-preview__table-wrap {
  opacity: 0.3;
  filter: blur(2px);
  pointer-events: none;
  overflow-x: auto;
}

@media (min-width: 1024px) { .pub-admin-preview__table-wrap { padding-right: 16rem; } }

.pub-admin-preview table { width: 100%; min-width: 280px; font-size: 0.75rem; border-collapse: collapse; text-align: left; }
@media (min-width: 640px) { .pub-admin-preview table { font-size: 0.875rem; } }

.pub-admin-preview th, .pub-admin-preview td { padding: 0.75rem 0.5rem; border-bottom: 1px solid #1e293b; }

.pub-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

.pub-badge--green { background: rgba(20, 83, 45, 0.5); color: #4ade80; }
.pub-badge--amber { background: rgba(120, 53, 15, 0.5); color: #fbbf24; }

/* Security grid */
.pub-security-grid {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .pub-security-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 3rem; }
}

.pub-security-item { text-align: center; }

.pub-security-item__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-text-muted);
}

.pub-security-item__icon svg { width: 1.25rem; height: 1.25rem; }

.pub-security-item h5 { margin: 0 0 0.25rem; font-size: 0.875rem; }
.pub-security-item p { margin: 0; font-size: 0.75rem; color: #64748b; }

/* Contact */
.pub-contact-wrap {
  position: relative;
  text-align: center;
}

.pub-contact-wrap__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(23, 37, 84, 0.4));
  pointer-events: none;
}

.pub-contact-form {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
}

@media (min-width: 640px) { .pub-contact-form { padding: 2rem; width: 91.666%; } }
@media (min-width: 768px) { .pub-contact-form { width: 66.666%; } }

.pub-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--pub-text);
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--pub-radius);
}

.pub-input:focus {
  outline: none;
  border-color: var(--pub-brand-500);
}

.pub-input::placeholder { color: #64748b; }

.pub-form-stack { display: flex; flex-direction: column; gap: 1rem; }

/* Footer */
.pub-footer {
  border-top: 1px solid #1e293b;
  background: #020617;
  padding-block: 2rem;
}

@media (min-width: 640px) { .pub-footer { padding-block: 3rem; } }

.pub-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .pub-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.pub-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.pub-footer__links a {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
}

.pub-footer__links a:hover { color: var(--pub-text); }

.pub-footer__copy { font-size: 0.75rem; color: #64748b; margin: 0; }
@media (min-width: 640px) { .pub-footer__copy { font-size: 0.875rem; } }

.pub-footer__hub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.pub-footer__hub a {
  font-size: 0.75rem;
  color: var(--pub-brand-400);
  text-decoration: none;
}

.pub-footer__hub a:hover { text-decoration: underline; }

/* Info pages */
.pub-page { padding-top: 5.5rem; padding-bottom: 4rem; min-height: 100vh; }

.pub-info {
  max-width: 42rem;
  margin-inline: auto;
}

.pub-info h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.pub-info__meta {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--pub-text-muted);
}

.pub-prose { color: var(--pub-text-soft); line-height: 1.75; }

.pub-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--pub-text);
}

.pub-prose p { margin: 0 0 1rem; }

.pub-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }

.pub-prose li { margin-bottom: 0.5rem; }

.pub-prose a { color: var(--pub-brand-400); }

/* Pricing */
.pub-pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) { .pub-pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pub-pricing-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--pub-border-strong);
  background: var(--pub-bg-card);
  display: flex;
  flex-direction: column;
}

.pub-pricing-card--featured {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.pub-pricing-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }

.pub-pricing-card__price {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.pub-pricing-card__price span { font-size: 0.875rem; font-weight: 400; color: var(--pub-text-muted); }

.pub-pricing-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--pub-text-muted);
}

.pub-pricing-card li {
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.pub-pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pub-brand-400);
}

.pub-hidden { display: none !important; }

.pub-badge-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, var(--pub-brand-600), #6366f1);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

@media (min-width: 640px) { .pub-badge-pill { font-size: 0.875rem; } }

/* 404 */
.pub-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.pub-404 h1 { margin: 0 0 0.75rem; font-size: 1.5rem; }
.pub-404 p { margin: 0 0 1.25rem; color: var(--pub-text-muted); }
.pub-404 a { color: var(--pub-brand-400); text-decoration: none; }
.pub-404 a:hover { text-decoration: underline; }
