@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --pyg-bg-base: #08111C;
  --pyg-bg-surface: #0F1E2D;
  --pyg-bg-border: #1E3347;
  --pyg-bg-light: #FFFFFF;
  --pyg-bg-light-alt: #F3F7FC;
  --pyg-accent: #14E8B0;
  --pyg-accent-text-light: #086650;
  --pyg-fg-on-dark: #EDF0F5;
  --pyg-fg-muted-dark: #7890A4;
  --pyg-fg-on-light: #0A1622;
  --pyg-fg-muted-light: #4A5E74;
  --pyg-nav-h: 64px;
  --pyg-r-card: 12px;
  --pyg-r-btn: 8px;
  --pyg-section-py: 96px;
  --pyg-container-w: 1200px;
  --pyg-prose-w: 860px;
  --pyg-trans: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: var(--pyg-nav-h);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--pyg-bg-light);
  color: var(--pyg-fg-on-light);
  line-height: 1.65;
  padding-top: var(--pyg-nav-h);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

p { max-width: none; }

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }

button { cursor: pointer; font-family: inherit; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

code, pre, .pyg-mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.pyg-container {
  max-width: var(--pyg-container-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.pyg-section {
  padding-block: var(--pyg-section-py);
}

.pyg-section--dark {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
}

.pyg-section--light {
  background: var(--pyg-bg-light-alt);
  color: var(--pyg-fg-on-light);
}

.pyg-section--white {
  background: var(--pyg-bg-light);
  color: var(--pyg-fg-on-light);
}

.pyg-section__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pyg-accent);
  margin-bottom: 16px;
}

.pyg-section--light .pyg-section__eyebrow,
.pyg-section--white .pyg-section__eyebrow,
.pyg-subpage-header .pyg-section__eyebrow {
  color: var(--pyg-accent-text-light);
}

.pyg-section__heading {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.pyg-section__sub {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 560px;
}

.pyg-section--dark .pyg-section__sub {
  color: var(--pyg-fg-muted-dark);
}

.pyg-section--light .pyg-section__sub,
.pyg-section--white .pyg-section__sub {
  color: var(--pyg-fg-muted-light);
}

.pyg-section__header {
  margin-bottom: 56px;
}

.pyg-section__header--center {
  text-align: center;
}

.pyg-section__header--center .pyg-section__sub {
  margin-inline: auto;
}

.pyg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pyg-nav-h);
  z-index: 1000;
  background: var(--pyg-bg-base);
  border-bottom: 1px solid var(--pyg-bg-border);
}

.pyg-nav__inner {
  max-width: var(--pyg-container-w);
  margin-inline: auto;
  padding-inline: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.pyg-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pyg-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
}

.pyg-nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--pyg-fg-muted-dark);
  transition: color var(--pyg-trans);
  white-space: nowrap;
}

.pyg-nav__link:hover { color: var(--pyg-fg-on-dark); }

.pyg-nav__link[aria-current="page"] {
  color: var(--pyg-accent);
}

.pyg-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pyg-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.pyg-nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pyg-fg-on-dark);
  border-radius: 2px;
  transition: transform var(--pyg-trans), opacity var(--pyg-trans);
}

.pyg-nav__mobile {
  display: none;
  position: fixed;
  top: var(--pyg-nav-h);
  left: 0;
  right: 0;
  background: var(--pyg-bg-base);
  border-bottom: 1px solid var(--pyg-bg-border);
  padding: 24px 48px 32px;
  flex-direction: column;
  gap: 8px;
}

.pyg-nav--open .pyg-nav__mobile { display: flex; }

.pyg-nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--pyg-fg-muted-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--pyg-bg-border);
  transition: color var(--pyg-trans);
}

.pyg-nav__mobile-link:hover { color: var(--pyg-fg-on-dark); }

.pyg-nav__mobile-link[aria-current="page"] { color: var(--pyg-accent); }

.pyg-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.pyg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--pyg-r-btn);
  padding: 10px 22px;
  border: 1.5px solid transparent;
  transition: background var(--pyg-trans), color var(--pyg-trans), border-color var(--pyg-trans), opacity var(--pyg-trans);
  white-space: nowrap;
  line-height: 1;
}

.pyg-btn--sm {
  font-size: 0.86rem;
  padding: 8px 16px;
}

.pyg-btn--lg {
  font-size: 1rem;
  padding: 14px 30px;
}

.pyg-btn--primary {
  background: var(--pyg-accent);
  color: var(--pyg-fg-on-light);
  border-color: var(--pyg-accent);
}

.pyg-btn--primary:hover { opacity: 0.88; }

.pyg-btn--outline-dark {
  background: transparent;
  color: var(--pyg-accent);
  border-color: var(--pyg-accent);
}

.pyg-btn--outline-dark:hover {
  background: rgba(20, 232, 176, 0.1);
}

.pyg-btn--outline-light {
  background: transparent;
  color: var(--pyg-fg-on-light);
  border-color: var(--pyg-fg-on-light);
}

.pyg-btn--outline-light:hover {
  background: rgba(10, 22, 34, 0.06);
}

.pyg-btn--ghost-on-dark {
  background: transparent;
  border-color: transparent;
  color: var(--pyg-fg-on-dark);
}

.pyg-btn--ghost-on-dark:hover { color: var(--pyg-accent); }

.pyg-footer {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  padding-top: 64px;
  padding-bottom: 40px;
}

.pyg-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.pyg-footer__grid > * { min-width: 0; }

.pyg-footer__brand-logo {
  display: block;
  margin-bottom: 16px;
}

.pyg-footer__brand-desc {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.65;
  max-width: 280px;
}

.pyg-footer__col-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pyg-fg-muted-dark);
  margin-bottom: 18px;
}

.pyg-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pyg-footer__link {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
  transition: color var(--pyg-trans);
}

.pyg-footer__link:hover { color: var(--pyg-fg-on-dark); }

.pyg-footer__bottom {
  border-top: 1px solid var(--pyg-bg-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pyg-footer__copy {
  font-size: 0.86rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.pyg-footer__legal-link {
  font-size: 0.86rem;
  color: var(--pyg-fg-muted-dark);
  transition: color var(--pyg-trans);
}

.pyg-footer__legal-link:hover { color: var(--pyg-fg-on-dark); }

.pyg-hero {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: calc(100vh - var(--pyg-nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pyg-hero__glow {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(20,232,176,0.13) 0%, transparent 68%);
  pointer-events: none;
  z-index: 2;
}

.pyg-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
  justify-items: center;
}

.pyg-hero__grid > * { min-width: 0; }

.pyg-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pyg-hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pyg-page--dark-top { --pyg-page-top-theme: dark; }
.pyg-page--light-top { --pyg-page-top-theme: light; }

.pyg-hero__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pyg-accent);
  margin-bottom: 20px;
}

.pyg-hero__h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.pyg-hero__h1 em {
  font-style: normal;
  color: var(--pyg-accent);
}

.pyg-hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--pyg-fg-muted-dark);
  margin-bottom: 36px;
  max-width: 640px;
  margin-inline: auto;
}

.pyg-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.pyg-hero__actions > * { min-width: 0; }

.pyg-hero__social-proof {
  margin-top: 28px;
  font-size: 0.84rem;
  color: var(--pyg-fg-muted-dark);
  text-align: center;
}

.pyg-hero__social-proof strong {
  color: var(--pyg-fg-on-dark);
}

.pyg-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  z-index: 0;
}

.pyg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,17,28,0.85) 0%, rgba(8,17,28,0.55) 50%, rgba(8,17,28,0.80) 100%);
  z-index: 1;
}

.pyg-hero .pyg-container {
  position: relative;
  z-index: 2;
}

.pyg-code-panel {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
}

.pyg-code-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(30, 51, 71, 0.5);
  border-bottom: 1px solid var(--pyg-bg-border);
}

.pyg-code-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pyg-bg-border);
  flex-shrink: 0;
}

.pyg-code-panel__dot:nth-child(1) { background: #FF5F57; }
.pyg-code-panel__dot:nth-child(2) { background: #FFBD2E; }
.pyg-code-panel__dot:nth-child(3) { background: #28C840; }

.pyg-code-panel__endpoint {
  font-size: 0.8rem;
  color: var(--pyg-fg-muted-dark);
  margin-left: 8px;
}

.pyg-code-panel__method {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pyg-accent);
  background: rgba(20, 232, 176, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.pyg-code-panel__pre {
  padding: 20px;
  font-size: 0.83rem;
  line-height: 1.7;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--pyg-fg-on-dark);
}

.pyg-code-panel__pre code { font-family: inherit; }

.pyg-tok-key { color: var(--pyg-accent); }
.pyg-tok-str { color: #B0D4FF; }
.pyg-tok-num { color: #FFB86C; }
.pyg-tok-comment { color: var(--pyg-fg-muted-dark); font-style: italic; }
.pyg-tok-punct { color: var(--pyg-fg-muted-dark); }

.pyg-code-panel__response {
  border-top: 1px solid var(--pyg-bg-border);
  padding: 12px 20px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pyg-code-panel__status {
  background: rgba(20, 232, 176, 0.15);
  color: var(--pyg-accent);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.pyg-code-panel__status-text {
  color: var(--pyg-fg-muted-dark);
}

.pyg-subpage-header {
  background: var(--pyg-bg-light);
  color: var(--pyg-fg-on-light);
  padding-top: 72px;
  padding-bottom: 60px;
  border-bottom: 1px solid #E4EBF2;
}

.pyg-subpage-header__inner {
  max-width: 720px;
}

.pyg-subpage-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 20px;
}

.pyg-subpage-header__breadcrumb a {
  color: var(--pyg-accent-text-light);
  transition: color var(--pyg-trans);
}

.pyg-subpage-header__breadcrumb a:hover { color: var(--pyg-fg-on-light); }

.pyg-subpage-header__h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--pyg-fg-on-light);
}

.pyg-subpage-header__sub {
  font-size: 1.05rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.7;
}

.pyg-about-header {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  padding-top: 96px;
  padding-bottom: 80px;
  text-align: center;
}

.pyg-about-header__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pyg-accent);
  margin-bottom: 20px;
}

.pyg-about-header__h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 760px;
  margin-inline: auto;
}

.pyg-about-header__sub {
  font-size: 1.08rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
}

.pyg-blog-idx-header {
  background: var(--pyg-bg-light-alt);
  color: var(--pyg-fg-on-light);
  padding-top: 80px;
  padding-bottom: 64px;
}

.pyg-blog-idx-header__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pyg-accent-text-light);
  margin-bottom: 16px;
}

.pyg-blog-idx-header__h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--pyg-fg-on-light);
}

.pyg-blog-idx-header__sub {
  font-size: 1.05rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-article-hero {
  position: relative;
  background-color: var(--pyg-bg-base);
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--pyg-fg-on-dark);
}

.pyg-article-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,17,28,0.28) 0%, rgba(8,17,28,0.72) 100%);
  z-index: 0;
}

.pyg-article-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  padding-top: 120px;
  max-width: 820px;
}

.pyg-article-hero__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pyg-article-hero__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pyg-accent);
  background: rgba(20,232,176,0.14);
  padding: 3px 10px;
  border-radius: 4px;
}

.pyg-article-hero__h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 20px;
}

.pyg-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(237,240,245,0.72);
  flex-wrap: wrap;
}

.pyg-article-hero__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(237,240,245,0.45);
  flex-shrink: 0;
}

.pyg-legal-header {
  background: var(--pyg-bg-light);
  color: var(--pyg-fg-on-light);
  padding-top: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #E4EBF2;
}

.pyg-legal-header__h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pyg-fg-on-light);
}

.pyg-legal-header__updated {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pyg-auth-page > * { min-width: 0; }

body.pyg-auth-body { padding-top: 0; }

.pyg-auth-brand {
  background: var(--pyg-bg-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  color: var(--pyg-fg-on-dark);
  position: relative;
  overflow: hidden;
}

.pyg-auth-brand__glow {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20,232,176,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pyg-auth-brand__logo {
  display: block;
  margin-bottom: 48px;
}

.pyg-auth-brand__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
}

.pyg-auth-brand__sub {
  font-size: 1rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.68;
}

.pyg-auth-brand__bullets {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pyg-auth-brand__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-auth-brand__bullet-icon {
  color: var(--pyg-accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pyg-auth-form-panel {
  background: var(--pyg-bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 56px;
}

.pyg-auth-form-card {
  width: 100%;
  max-width: 420px;
}

.pyg-auth-form-view--hidden { display: none; }

.pyg-auth-card__heading {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 8px;
}

.pyg-auth-card__sub {
  font-size: 0.94rem;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 32px;
}

.pyg-auth-confirm {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.pyg-auth-confirm__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20,232,176,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--pyg-accent);
}

.pyg-auth-confirm__heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 12px;
}

.pyg-auth-confirm__text {
  font-size: 0.94rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.7;
}

.pyg-auth-confirm--visible { display: block; }

.pyg-auth-links {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-auth-links a {
  color: var(--pyg-accent-text-light);
  font-weight: 500;
}

.pyg-auth-links a:hover { text-decoration: underline; }

.pyg-auth-legal {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--pyg-fg-muted-light);
  text-align: center;
  line-height: 1.6;
}

.pyg-auth-legal a { color: var(--pyg-accent-text-light); }

.pyg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pyg-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pyg-form__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pyg-fg-on-light);
}

.pyg-form__input, .pyg-form__textarea, .pyg-form__select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.94rem;
  color: var(--pyg-fg-on-light);
  background: var(--pyg-bg-light);
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
  outline: none;
}

.pyg-form__input:focus, .pyg-form__textarea:focus, .pyg-form__select:focus {
  border-color: var(--pyg-accent-text-light);
  box-shadow: 0 0 0 3px rgba(20,232,176,0.15);
}

.pyg-form__input.pyg-form__input--error,
.pyg-form__textarea.pyg-form__textarea--error {
  border-color: #D93025;
}

.pyg-form__error {
  font-size: 0.82rem;
  color: #D93025;
  display: none;
}

.pyg-form__error--visible { display: block; }

.pyg-form__textarea { resize: vertical; min-height: 120px; }

.pyg-form__submit { width: 100%; }

.pyg-form--dark .pyg-form__label { color: var(--pyg-fg-on-dark); }

.pyg-form--dark .pyg-form__input,
.pyg-form--dark .pyg-form__textarea,
.pyg-form--dark .pyg-form__select {
  background: var(--pyg-bg-surface);
  border-color: var(--pyg-bg-border);
  color: var(--pyg-fg-on-dark);
}

.pyg-form--dark .pyg-form__input:focus,
.pyg-form--dark .pyg-form__textarea:focus {
  border-color: var(--pyg-accent);
  box-shadow: 0 0 0 3px rgba(20,232,176,0.12);
}

.pyg-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--pyg-nav-h));
  align-items: start;
}

.pyg-docs-layout > * { min-width: 0; }

.pyg-docs-sidebar {
  background: var(--pyg-bg-light-alt);
  border-right: 1px solid #E4EBF2;
  padding: 40px 24px;
  position: sticky;
  top: var(--pyg-nav-h);
  max-height: calc(100vh - var(--pyg-nav-h));
  overflow-y: auto;
}

.pyg-docs-sidebar__section {
  margin-bottom: 28px;
}

.pyg-docs-sidebar__section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 10px;
}

.pyg-docs-sidebar__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pyg-docs-sidebar__link {
  display: block;
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--pyg-trans), color var(--pyg-trans);
}

.pyg-docs-sidebar__link:hover {
  background: #E4EBF2;
  color: var(--pyg-fg-on-light);
}

.pyg-docs-sidebar__link[aria-current="page"] {
  background: rgba(20,232,176,0.12);
  color: var(--pyg-accent-text-light);
  font-weight: 600;
}

.pyg-docs-content {
  padding: 56px 64px 80px;
}

.pyg-docs-header {
  background: var(--pyg-bg-light);
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid #E4EBF2;
}

.pyg-docs-header__h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 8px;
}

.pyg-docs-header__sub {
  font-size: 1rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pyg-problem-grid > * { min-width: 0; }

.pyg-problem-card {
  background: var(--pyg-bg-light);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 32px;
}

.pyg-problem-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(8,17,28,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--pyg-fg-on-light);
  margin-bottom: 20px;
}

.pyg-problem-card__heading {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 10px;
}

.pyg-problem-card__text {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.68;
}

.pyg-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.pyg-pipeline > * { min-width: 0; }

.pyg-pipeline__step {
  padding: 36px 32px;
  position: relative;
}

.pyg-pipeline__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -1px;
  width: 2px;
  height: 40px;
  background: var(--pyg-bg-border);
}

.pyg-pipeline__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--pyg-accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pyg-pipeline__heading {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 10px;
}

.pyg-pipeline__text {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.68;
}

.pyg-pipeline__code {
  margin-top: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pyg-pipeline__code code,
.pyg-pipeline__code span {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pyg-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pyg-feature-grid > * { min-width: 0; }

.pyg-feature-card {
  background: var(--pyg-bg-light-alt);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 28px;
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
}

.pyg-feature-card:hover {
  border-color: rgba(20,232,176,0.4);
  box-shadow: 0 4px 24px rgba(20,232,176,0.08);
}

.pyg-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20,232,176,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--pyg-accent-text-light);
  margin-bottom: 18px;
}

.pyg-feature-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 8px;
}

.pyg-feature-card__text {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.65;
}

.pyg-proof__metric {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-left: 3px solid var(--pyg-accent);
  border-radius: var(--pyg-r-card);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.pyg-proof__metric-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 6px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
}

.pyg-proof__metric-label {
  font-size: 0.92rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-proof__source {
  font-size: 0.8rem;
  color: var(--pyg-fg-muted-dark);
  font-style: italic;
  margin-bottom: 32px;
}

.pyg-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pyg-testimonial-grid > * { min-width: 0; }

.pyg-testimonial-card {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 28px;
}

.pyg-testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 20px;
}

.pyg-testimonial-card__quote::before { content: '\201C'; }
.pyg-testimonial-card__quote::after { content: '\201D'; }

.pyg-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pyg-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pyg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pyg-fg-on-light);
  flex-shrink: 0;
}

.pyg-testimonial-card__author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pyg-fg-on-dark);
}

.pyg-testimonial-card__author-role {
  font-size: 0.82rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pyg-integration-grid > * { min-width: 0; }

.pyg-integration-tile {
  background: var(--pyg-bg-light);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 24px 20px;
  text-align: center;
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
}

.pyg-integration-tile:hover {
  border-color: rgba(20,232,176,0.35);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pyg-integration-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.pyg-integration-tile__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pyg-fg-on-light);
  margin-bottom: 4px;
}

.pyg-integration-tile__type {
  font-size: 0.8rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pyg-pricing-grid > * { min-width: 0; }

.pyg-pricing-card {
  background: var(--pyg-bg-light);
  border: 1.5px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pyg-pricing-card--highlighted {
  border-color: var(--pyg-accent);
  box-shadow: 0 0 0 3px rgba(20,232,176,0.12), 0 8px 32px rgba(0,0,0,0.08);
}

.pyg-pricing-card--highlighted .pyg-pricing-card__header-tag {
  display: inline-flex;
}

.pyg-pricing-card__header-tag {
  display: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pyg-accent);
  color: var(--pyg-fg-on-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.pyg-pricing-card__tier {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pyg-fg-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.pyg-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pyg-pricing-card__amount {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  letter-spacing: -0.03em;
}

.pyg-pricing-card__period {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-pricing-card__volume {
  font-size: 0.86rem;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 24px;
}

.pyg-pricing-card__divider {
  height: 1px;
  background: #E4EBF2;
  margin-bottom: 24px;
}

.pyg-pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}

.pyg-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--pyg-fg-on-light);
}

.pyg-pricing-card__feature-check {
  color: var(--pyg-accent-text-light);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.pyg-pricing-card__cta { width: 100%; }

.pyg-cta-section__heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 16px;
  text-align: center;
}

.pyg-cta-section__sub {
  font-size: 1.08rem;
  color: var(--pyg-fg-muted-dark);
  margin-bottom: 36px;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.pyg-cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pyg-cta-section__actions > * { min-width: 0; }

.pyg-estimator {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 40px;
  max-width: 860px;
  margin-inline: auto;
}

.pyg-estimator__heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 8px;
}

.pyg-estimator__sub {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
  margin-bottom: 32px;
}

.pyg-estimator__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.pyg-estimator__controls > * { min-width: 0; }

.pyg-slider-group { display: flex; flex-direction: column; gap: 10px; }

.pyg-slider-group__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pyg-fg-on-dark);
}

.pyg-slider-group__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pyg-slider-group__input {
  flex: 1;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--pyg-bg-border);
  outline: none;
  cursor: pointer;
}

.pyg-slider-group__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pyg-accent);
  cursor: pointer;
  border: 2px solid var(--pyg-bg-base);
  box-shadow: 0 0 0 2px rgba(20,232,176,0.35);
}

.pyg-slider-group__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pyg-accent);
  cursor: pointer;
  border: 2px solid var(--pyg-bg-base);
}

.pyg-slider-group__val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.84rem;
  color: var(--pyg-accent);
  min-width: 60px;
  text-align: right;
}

.pyg-estimator__rate-group {
  margin-bottom: 32px;
}

.pyg-estimator__rate-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.pyg-estimator__rate-input {
  width: 100px;
  padding: 8px 12px;
  border: 1.5px solid var(--pyg-bg-border);
  border-radius: 6px;
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  outline: none;
}

.pyg-estimator__rate-input:focus { border-color: var(--pyg-accent); }

.pyg-estimator__rate-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pyg-fg-on-dark);
}

.pyg-estimator__rate-note {
  font-size: 0.82rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-estimator__output {
  border-top: 1px solid var(--pyg-bg-border);
  padding-top: 28px;
}

.pyg-estimator__output-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pyg-estimator__output-grid > * { min-width: 0; }

.pyg-estimator__out-item {
  background: var(--pyg-bg-base);
  border: 1px solid var(--pyg-bg-border);
  border-radius: 8px;
  padding: 16px;
}

.pyg-estimator__out-label {
  font-size: 0.78rem;
  color: var(--pyg-fg-muted-dark);
  margin-bottom: 6px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
}

.pyg-estimator__out-value {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
}

.pyg-estimator__out-value--accent,
.pyg-estimator__out-value--plan { color: var(--pyg-accent); }

.pyg-faq { max-width: 720px; margin-inline: auto; }

.pyg-faq__item {
  border-bottom: 1px solid var(--pyg-bg-border);
}

.pyg-faq__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--pyg-fg-on-dark);
  text-align: left;
  cursor: pointer;
}

.pyg-faq__icon {
  font-size: 0.9rem;
  color: var(--pyg-accent);
  transition: transform var(--pyg-trans);
  flex-shrink: 0;
}

.pyg-faq__item--open .pyg-faq__icon { transform: rotate(45deg); }

.pyg-faq__answer {
  display: none;
  padding-bottom: 22px;
  font-size: 0.94rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.72;
}

.pyg-faq__item--open .pyg-faq__answer { display: block; }

.pyg-section--light .pyg-faq__item { border-bottom-color: #D0DBE8; }
.pyg-section--light .pyg-faq__question { color: var(--pyg-fg-on-light); }
.pyg-section--light .pyg-faq__answer { color: var(--pyg-fg-muted-light); }

.pyg-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pyg-case-grid > * { min-width: 0; }

.pyg-case-card {
  background: var(--pyg-bg-light);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 32px;
}

.pyg-case-card__tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pyg-accent-text-light);
  background: rgba(20,232,176,0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.pyg-case-card__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 12px;
}

.pyg-case-card__text {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.68;
  margin-bottom: 20px;
}

.pyg-case-card__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.pyg-case-card__stat { min-width: 0; }

.pyg-case-card__stat-value {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
}

.pyg-case-card__stat-label {
  font-size: 0.8rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pyg-usecase-grid > * { min-width: 0; }

.pyg-usecase-card {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 28px;
}

.pyg-usecase-card__icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--pyg-accent);
}

.pyg-usecase-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 8px;
}

.pyg-usecase-card__text {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.65;
}

.pyg-metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.pyg-metrics-band > * { min-width: 0; }

.pyg-metric-block {
  text-align: center;
  padding: 28px 20px;
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
}

.pyg-metric-block__value {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 6px;
}

.pyg-metric-block__label {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-story-section { max-width: none; }

.pyg-story-prose {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--pyg-fg-on-dark);
}

.pyg-story-prose p + p { margin-top: 20px; }
.pyg-section--light .pyg-story-prose { color: var(--pyg-fg-on-light); }

.pyg-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 760px;
  margin-inline: auto;
}

.pyg-team-grid > * { min-width: 0; }

.pyg-team-card {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 32px;
  text-align: center;
}

.pyg-team-card__portrait-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--pyg-bg-border);
  flex-shrink: 0;
}

.pyg-team-card__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pyg-team-card__portrait-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  background: var(--pyg-bg-border);
}

.pyg-team-card__name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 4px;
}

.pyg-team-card__title {
  font-size: 0.86rem;
  color: var(--pyg-accent);
  margin-bottom: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
}

.pyg-team-card__bio {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.65;
}

.pyg-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pyg-values-grid > * { min-width: 0; }

.pyg-value-card {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
}

.pyg-value-card__icon {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--pyg-accent);
}

.pyg-value-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 8px;
}

.pyg-value-card__text {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-dark);
  line-height: 1.65;
}

.pyg-contact-callout {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.pyg-contact-callout > * { min-width: 0; }

.pyg-contact-callout__text-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 6px;
}

.pyg-contact-callout__text-sub {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pyg-contact-layout > * { min-width: 0; }

.pyg-contact-info__heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 16px;
}

.pyg-contact-info__text {
  font-size: 0.94rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pyg-contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pyg-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pyg-contact-info__icon {
  color: var(--pyg-accent-text-light);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pyg-contact-info__item-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pyg-fg-on-light);
  margin-bottom: 2px;
}

.pyg-contact-info__item-value {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pyg-blog-grid > * { min-width: 0; }

.pyg-blog-grid--featured {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}

.pyg-blog-card {
  background: var(--pyg-bg-light);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
}

.pyg-blog-card:hover {
  border-color: rgba(20,232,176,0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.pyg-blog-card--featured {
  grid-column: span 3;
  flex-direction: row;
}

.pyg-blog-card__cover-wrap {
  overflow: hidden;
  background: var(--pyg-bg-border);
  flex-shrink: 0;
}

.pyg-blog-card:not(.pyg-blog-card--featured) .pyg-blog-card__cover-wrap {
  aspect-ratio: 16 / 9;
}

.pyg-blog-card--featured .pyg-blog-card__cover-wrap {
  width: 44%;
  min-height: 300px;
}

.pyg-blog-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pyg-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.pyg-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pyg-blog-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CBD5E1;
  flex-shrink: 0;
}

.pyg-blog-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 10px;
  line-height: 1.35;
}

.pyg-blog-card--featured .pyg-blog-card__heading {
  font-size: 1.3rem;
}

.pyg-blog-card__excerpt {
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.pyg-blog-card__read-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pyg-accent-text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--pyg-trans);
}

.pyg-blog-card:hover .pyg-blog-card__read-link { gap: 10px; }

.pyg-article-body {
  padding-block: 72px;
  background: var(--pyg-bg-light);
}

.pyg-article-prose {
  max-width: var(--pyg-prose-w);
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--pyg-fg-on-light);
}

.pyg-article-prose h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 48px;
  margin-bottom: 16px;
}

.pyg-article-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 36px;
  margin-bottom: 12px;
}

.pyg-article-prose p { margin-bottom: 20px; }

.pyg-article-prose ul, .pyg-article-prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.pyg-article-prose li { margin-bottom: 8px; }

.pyg-article-prose a {
  color: var(--pyg-accent-text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pyg-article-prose strong { font-weight: 600; }

.pyg-article-prose code {
  background: var(--pyg-bg-light-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--pyg-accent-text-light);
}

.pyg-article-prose pre {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  padding: 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pyg-article-prose pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.88rem;
}

.pyg-article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.pyg-article-prose th {
  background: var(--pyg-bg-light-alt);
  font-weight: 600;
  color: var(--pyg-fg-on-light);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #E4EBF2;
}

.pyg-article-prose td {
  padding: 10px 14px;
  border-bottom: 1px solid #E4EBF2;
  color: var(--pyg-fg-on-light);
}

.pyg-article-prose blockquote {
  border-left: 3px solid var(--pyg-accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(20,232,176,0.05);
  border-radius: 0 8px 8px 0;
}

.pyg-article-prose blockquote p {
  margin-bottom: 0;
  color: var(--pyg-fg-muted-light);
  font-style: italic;
}

.pyg-back-link {
  max-width: var(--pyg-prose-w);
  margin-inline: auto;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #E4EBF2;
}

.pyg-back-link__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pyg-accent-text-light);
  transition: gap var(--pyg-trans);
}

.pyg-back-link__a:hover { gap: 12px; }

.pyg-legal-body {
  padding-block: 64px;
  background: var(--pyg-bg-light);
}

.pyg-legal-prose {
  max-width: var(--pyg-prose-w);
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pyg-fg-on-light);
}

.pyg-legal-prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 40px;
  margin-bottom: 14px;
}

.pyg-legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 28px;
  margin-bottom: 10px;
}

.pyg-legal-prose p { margin-bottom: 16px; }

.pyg-legal-prose ul, .pyg-legal-prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.pyg-legal-prose li { margin-bottom: 6px; }

.pyg-legal-prose a {
  color: var(--pyg-accent-text-light);
  text-decoration: underline;
}

.pyg-legal-prose strong { font-weight: 600; }

.pyg-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.pyg-legal-table th {
  background: var(--pyg-bg-light-alt);
  font-weight: 600;
  color: var(--pyg-fg-on-light);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #E4EBF2;
}

.pyg-legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E4EBF2;
  color: var(--pyg-fg-on-light);
  vertical-align: top;
}

.pyg-integrations-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pyg-integrations-page-grid > * { min-width: 0; }

.pyg-integ-page-card {
  background: var(--pyg-bg-light);
  border: 1px solid #E4EBF2;
  border-radius: var(--pyg-r-card);
  padding: 24px;
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
}

.pyg-integ-page-card:hover {
  border-color: rgba(20,232,176,0.35);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pyg-integ-page-card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.pyg-integ-page-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 6px;
}

.pyg-integ-page-card__category {
  font-size: 0.8rem;
  color: var(--pyg-accent-text-light);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pyg-integ-page-card__text {
  font-size: 0.86rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.6;
}

.pyg-docs-prose {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--pyg-fg-on-light);
}

.pyg-docs-prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 40px;
  margin-bottom: 14px;
}

.pyg-docs-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-top: 28px;
  margin-bottom: 10px;
}

.pyg-docs-prose p { margin-bottom: 16px; }

.pyg-docs-prose ul, .pyg-docs-prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.pyg-docs-prose li { margin-bottom: 6px; }

.pyg-docs-prose a { color: var(--pyg-accent-text-light); text-decoration: underline; }

.pyg-docs-prose pre {
  background: var(--pyg-bg-base);
  color: var(--pyg-fg-on-dark);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pyg-docs-prose pre code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.pyg-docs-prose code {
  background: var(--pyg-bg-light-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--pyg-accent-text-light);
}

.pyg-docs-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.pyg-docs-prose th {
  background: var(--pyg-bg-light-alt);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #E4EBF2;
}

.pyg-docs-prose td {
  padding: 10px 14px;
  border-bottom: 1px solid #E4EBF2;
  vertical-align: top;
}

.pyg-404-page {
  min-height: calc(100vh - var(--pyg-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  background: var(--pyg-bg-light);
}

.pyg-404-page__inner { max-width: 560px; }

.pyg-404-page__code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5rem;
  font-weight: 600;
  color: var(--pyg-accent-text-light);
  line-height: 1;
  margin-bottom: 20px;
}

.pyg-404-page__h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 14px;
}

.pyg-404-page__text {
  font-size: 1rem;
  color: var(--pyg-fg-muted-light);
  margin-bottom: 32px;
}

.pyg-product-arch {
  background: var(--pyg-bg-surface);
  border: 1px solid var(--pyg-bg-border);
  border-radius: var(--pyg-r-card);
  padding: 40px;
  margin-bottom: 56px;
}

.pyg-product-arch__diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.pyg-product-arch__diagram > * { min-width: 0; }

.pyg-product-arch__layer {
  text-align: center;
  padding: 20px 12px;
  position: relative;
}

.pyg-product-arch__layer:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2px;
  width: 1px;
  height: 40px;
  background: var(--pyg-bg-border);
  transform: translateY(-50%);
}

.pyg-product-arch__layer-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--pyg-accent);
}

.pyg-product-arch__layer-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pyg-fg-on-dark);
  margin-bottom: 4px;
}

.pyg-product-arch__layer-sub {
  font-size: 0.76rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-product-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.pyg-product-feature-row > * { min-width: 0; }

.pyg-product-feature-row--reversed {
  direction: rtl;
}

.pyg-product-feature-row--reversed > * { direction: ltr; }

.pyg-product-feature__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pyg-accent-text-light);
  margin-bottom: 14px;
}

.pyg-product-feature__heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 14px;
}

.pyg-product-feature__text {
  font-size: 1rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.72;
  margin-bottom: 20px;
}

.pyg-product-feature__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pyg-product-feature__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--pyg-fg-on-light);
}

.pyg-product-feature__list-check {
  color: var(--pyg-accent-text-light);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.82rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pyg-bg-surface);
  border-top: 1px solid var(--pyg-bg-border);
  padding: 20px 0;
}

.cookie-banner__inner {
  max-width: var(--pyg-container-w);
  margin-inline: auto;
  padding-inline: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__inner > * { min-width: 0; }

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-dark);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--pyg-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--pyg-r-btn);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity var(--pyg-trans), background var(--pyg-trans);
  font-family: inherit;
}

.cookie-banner__btn--primary {
  background: var(--pyg-accent);
  color: #0A1622;
  border-color: var(--pyg-accent);
}

.cookie-banner__btn--primary:hover { opacity: 0.88; }

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--pyg-fg-on-dark);
  border-color: var(--pyg-bg-border);
}

.cookie-banner__btn--secondary:hover { background: rgba(237,240,245,0.08); }

.pyg-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pyg-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .pyg-container { padding-inline: 32px; }
  .pyg-nav__inner { padding-inline: 32px; }
  .pyg-nav__links { gap: 22px; }
  .pyg-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .pyg-nav__links { display: none; }
  .pyg-nav__actions { display: none; }
  .pyg-nav__hamburger { display: flex; }
  .pyg-nav__mobile { padding-inline: 32px; }
}

@media (max-width: 768px) {
  :root { --pyg-section-py: 64px; }

  .pyg-container { padding-inline: 20px; }
  .pyg-nav__inner { padding-inline: 20px; }
  .pyg-nav__mobile { padding-inline: 20px; }

  .pyg-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pyg-hero__glow { display: none; }

  .pyg-problem-grid { grid-template-columns: 1fr; }
  .pyg-pipeline { grid-template-columns: 1fr; }
  .pyg-pipeline__step:not(:last-child)::after { display: none; }
  .pyg-feature-grid { grid-template-columns: repeat(2, 1fr); }

  .pyg-testimonial-grid { grid-template-columns: 1fr; }
  .pyg-integration-grid { grid-template-columns: repeat(2, 1fr); }
  .pyg-pricing-grid { grid-template-columns: 1fr; }

  .pyg-auth-page { grid-template-columns: 1fr; }
  .pyg-auth-brand { display: none; }

  .pyg-docs-layout { grid-template-columns: 1fr; }
  .pyg-docs-sidebar { position: static; max-height: none; }
  .pyg-docs-content { padding: 32px 20px 48px; }

  .pyg-case-grid { grid-template-columns: 1fr; }
  .pyg-usecase-grid { grid-template-columns: 1fr; }
  .pyg-metrics-band { grid-template-columns: 1fr; }
  .pyg-team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pyg-values-grid { grid-template-columns: 1fr; }
  .pyg-contact-layout { grid-template-columns: 1fr; }

  .pyg-blog-grid { grid-template-columns: 1fr; }
  .pyg-blog-card--featured { grid-column: span 1; flex-direction: column; }
  .pyg-blog-card--featured .pyg-blog-card__cover-wrap { width: 100%; min-height: 200px; aspect-ratio: 16 / 9; }

  .pyg-footer__grid { grid-template-columns: 1fr 1fr; }
  .pyg-footer__bottom { flex-direction: column; align-items: flex-start; }

  .pyg-estimator__controls { grid-template-columns: 1fr; }
  .pyg-estimator__output-grid { grid-template-columns: repeat(2, 1fr); }

  .pyg-product-feature-row { grid-template-columns: 1fr; gap: 32px; }
  .pyg-product-feature-row--reversed { direction: ltr; }
  .pyg-product-arch__diagram { grid-template-columns: repeat(2, 1fr); }

  .pyg-integrations-page-grid { grid-template-columns: repeat(2, 1fr); }

  .pyg-contact-callout { flex-direction: column; }

  .cookie-banner__inner { padding-inline: 20px; flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
}

@media (max-width: 480px) {
  .pyg-feature-grid { grid-template-columns: 1fr; }
  .pyg-integration-grid { grid-template-columns: repeat(2, 1fr); }
  .pyg-estimator__output-grid { grid-template-columns: 1fr; }
  .pyg-footer__grid { grid-template-columns: 1fr; }
  .pyg-footer__legal-links { flex-wrap: wrap; gap: 12px; }
  .pyg-integrations-page-grid { grid-template-columns: 1fr; }
  .pyg-product-arch__diagram { grid-template-columns: 1fr; }
  .pyg-product-arch__layer:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .pyg-article-prose table,
  .pyg-article-prose thead,
  .pyg-article-prose tbody,
  .pyg-article-prose th,
  .pyg-article-prose td,
  .pyg-article-prose tr,
  .pyg-legal-table,
  .pyg-legal-table thead,
  .pyg-legal-table tbody,
  .pyg-legal-table th,
  .pyg-legal-table td,
  .pyg-legal-table tr,
  .pyg-docs-prose table,
  .pyg-docs-prose thead,
  .pyg-docs-prose tbody,
  .pyg-docs-prose th,
  .pyg-docs-prose td,
  .pyg-docs-prose tr {
    display: block;
  }

  .pyg-article-prose thead,
  .pyg-legal-table thead,
  .pyg-docs-prose thead {
    display: none;
  }

  .pyg-article-prose td,
  .pyg-legal-table td,
  .pyg-docs-prose td {
    padding-left: 10px;
    border: none;
    border-bottom: 1px solid #E4EBF2;
    position: relative;
  }

  .pyg-article-prose td[data-label]::before,
  .pyg-legal-table td[data-label]::before,
  .pyg-docs-prose td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pyg-fg-muted-light);
    margin-bottom: 4px;
  }

  .pyg-article-prose tr,
  .pyg-legal-table tr,
  .pyg-docs-prose tr {
    border: 1px solid #E4EBF2;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 8px;
  }
}

/* Form feedback states */
.pyg-contact-success,
.pyg-newsletter-success,
.pyg-early-access-success {
  padding: 24px;
  background: #F0FDF8;
  border: 1px solid var(--pyg-accent);
  border-radius: var(--pyg-r-card);
  color: var(--pyg-accent-text-light);
  font-size: 1rem;
  line-height: 1.6;
}
.pyg-contact-success[hidden],
.pyg-newsletter-success[hidden],
.pyg-early-access-success[hidden] {
  display: none;
}

.pyg-auth-login-error {
  padding: 12px 16px;
  background: #FFF2F2;
  border: 1px solid #E53E3E;
  border-radius: 8px;
  color: #C53030;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.pyg-auth-login-error[hidden] {
  display: none;
}

.pyg-nav__link--active { color: var(--pyg-accent); }

.pyg-article-hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pyg-accent);
  margin-bottom: 12px;
}

.pyg-article-hero__meta-author { font-weight: 500; }
.pyg-article-hero__meta-date,
.pyg-article-hero__meta-read { font-size: inherit; }

.pyg-auth-brand__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pyg-auth-brand__proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pyg-auth-brand__footer-note {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.88rem;
  color: var(--pyg-fg-muted-dark);
}

.pyg-auth-brand__link { color: var(--pyg-accent); }

.pyg-auth-form-card__switch {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--pyg-fg-muted-light);
}

.pyg-auth-form-card__switch-link {
  color: var(--pyg-accent-text-light);
  font-weight: 500;
}

.pyg-btn--full-w {
  width: 100%;
  justify-content: center;
}

.pyg-contact-layout__form-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pyg-contact-layout__form-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pyg-fg-on-light);
  margin-bottom: 24px;
}

.pyg-contact-layout__info-col { min-width: 0; }

.pyg-contact-callout__text { flex: 1; min-width: 0; }

.pyg-docs-sidebar__group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pyg-fg-muted-light);
  margin: 20px 0 8px;
}

.pyg-docs-sidebar__group-label:first-child { margin-top: 0; }

.pyg-docs-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.pyg-docs-card-grid > * { min-width: 0; }

.pyg-docs-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--pyg-bg-light-alt);
  border: 1px solid #E0E8F0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--pyg-trans), box-shadow var(--pyg-trans);
}

.pyg-docs-card:hover {
  border-color: var(--pyg-accent-text-light);
  box-shadow: 0 2px 12px rgba(8,102,80,0.08);
}

.pyg-docs-card__icon {
  font-size: 1.2rem;
  color: var(--pyg-accent-text-light);
  margin-bottom: 4px;
}

.pyg-docs-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pyg-fg-on-light);
}

.pyg-docs-card__desc {
  font-size: 0.875rem;
  color: var(--pyg-fg-muted-light);
  line-height: 1.6;
}

.pyg-docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid #E0E8F0;
  margin-bottom: 0;
}

.pyg-docs-tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pyg-fg-muted-light);
  cursor: pointer;
  transition: color var(--pyg-trans), border-color var(--pyg-trans);
}

.pyg-docs-tab:hover { color: var(--pyg-fg-on-light); }

.pyg-docs-tab--active {
  color: var(--pyg-accent-text-light);
  border-bottom-color: var(--pyg-accent-text-light);
}

.pyg-docs-tab-panels { margin-top: 0; }

.pyg-docs-tab-panel { display: none; }

.pyg-docs-tab-panel--active { display: block; }

.pyg-code-block {
  background: var(--pyg-bg-base);
  border: 1px solid var(--pyg-bg-border);
  border-radius: 10px;
  padding: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--pyg-fg-on-dark);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.pyg-code-block code,
.pyg-code-block span {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pyg-code-kw { color: #7ECFFF; }
.pyg-code-str { color: #85DDCB; }
.pyg-code-num { color: #E8C56D; }
.pyg-code-cm  { color: var(--pyg-fg-muted-dark); }

.pyg-cta-section {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.pyg-product-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pyg-slider {
  flex: 1;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--pyg-bg-border);
  outline: none;
  cursor: pointer;
}

.pyg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pyg-accent);
  cursor: pointer;
  border: 2px solid var(--pyg-bg-base);
  box-shadow: 0 0 0 2px rgba(20,232,176,0.35);
}

.pyg-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pyg-accent);
  cursor: pointer;
  border: 2px solid var(--pyg-bg-base);
}

.pyg-slider-group__bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--pyg-fg-muted-dark);
  margin-top: 4px;
}

.pyg-input {
  -webkit-appearance: none;
  appearance: none;
  padding: 9px 12px;
  border: 1.5px solid var(--pyg-bg-border);
  border-radius: 7px;
  font-size: 0.9rem;
  color: var(--pyg-fg-on-dark);
  background: var(--pyg-bg-surface);
  outline: none;
  transition: border-color var(--pyg-trans);
}

.pyg-input:focus { border-color: var(--pyg-accent); }

.pyg-input--sm {
  padding: 5px 9px;
  font-size: 0.84rem;
  width: 120px;
}

@media (max-width: 768px) {
  .pyg-docs-card-grid { grid-template-columns: 1fr; }
}
