:root {
  --bg: #f7faff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-soft: #f1f6ff;
  --text: #07111f;
  --muted: #65758b;
  --line: rgba(173, 190, 215, 0.28);
  --brand: #1677ff;
  --brand-dark: #0759d6;
  --violet: #6c5cff;
  --brand-soft: #e8f1ff;
  --accent: #13c2b3;
  --shadow-sm: 0 14px 38px rgba(19, 42, 76, 0.08);
  --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 34px 100px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

/* DeepSeek knowledge hub and model references */
.deepseek-hub-page {
  --openai-blue: #087f8c;
  --openai-teal: #0f766e;
}

.deepseek-hub-page .openai-hero-summary {
  border-top-color: #087f8c;
}

.deepseek-hub-icon,
.deepseek-reference-icon {
  display: block;
  object-fit: contain;
}

.deepseek-hub-icon {
  margin: 2px 0 14px;
}

.deepseek-reference-icon {
  margin-bottom: 12px;
}

.deepseek-hub-page .openai-directory-card {
  min-height: 310px;
}

.deepseek-hub-page .openai-directory-card > p:not(.openai-status) {
  min-height: 92px;
}

.deepseek-hub-page h1,
.deepseek-hub-page h2,
.deepseek-hub-page h3 {
  overflow-wrap: anywhere;
}

.deepseek-hub-page .openai-model-filter-row {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.deepseek-stage-two-grid,
.deepseek-access-grid,
.deepseek-related-grid {
  display: grid;
  gap: 16px;
}

.deepseek-stage-two-grid,
.deepseek-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deepseek-access-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deepseek-stage-two-grid article,
.deepseek-access-grid article,
.deepseek-related-grid a {
  padding: 22px;
  border: 1px solid var(--openai-line, #dce4ee);
  border-radius: 8px;
  background: #fff;
}

.deepseek-stage-two-grid span {
  color: #087f8c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.deepseek-stage-two-grid h3,
.deepseek-access-grid h3 {
  margin: 8px 0 10px;
  font-size: 21px;
}

.deepseek-stage-two-grid p,
.deepseek-access-grid p {
  margin: 0;
  color: #52637a;
  line-height: 1.6;
}

.deepseek-stage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.deepseek-stage-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #cfe1e4;
  border-radius: 8px;
  background: #f4fbfb;
  color: #075f69;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.deepseek-stage-links a:hover,
.deepseek-stage-links a:focus-visible {
  border-color: #087f8c;
  background: #eaf7f8;
}

.deepseek-related-grid a {
  display: grid;
  gap: 7px;
  color: #101828;
  text-decoration: none;
}

.deepseek-related-grid a:hover,
.deepseek-related-grid a:focus-visible {
  border-color: #087f8c;
  box-shadow: 0 10px 26px rgba(8, 127, 140, 0.11);
}

.deepseek-related-grid strong {
  color: #087f8c;
  font-size: 18px;
}

.deepseek-related-grid span {
  color: #52637a;
  line-height: 1.55;
}

.deepseek-ai-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #dce4ee;
  border-radius: 999px;
  background: #fff;
  color: #14223a;
  font-weight: 800;
  text-decoration: none;
}

.deepseek-ai-launch:hover,
.deepseek-ai-launch:focus-visible {
  border-color: #78b9c0;
  box-shadow: 0 10px 24px rgba(8, 127, 140, 0.12);
}

.deepseek-ai-launch img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.deepseek-official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.deepseek-official-link:hover,
.deepseek-official-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 127, 140, 0.16);
}

.deepseek-official-link:focus-visible {
  outline: 3px solid rgba(8, 127, 140, 0.28);
  outline-offset: 4px;
}

.deepseek-family-comparison .external-comparator-controls {
  align-content: start;
}

.deepseek-ai-action {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
}

.deepseek-ai-action small {
  max-width: 280px;
  color: #687990;
  font-size: 11px;
  line-height: 1.4;
}

.deepseek-model-page .model-reference-summary {
  border-top: 4px solid #087f8c;
}

.deepseek-quiet-cta {
  min-height: 0;
  padding: 24px 28px;
  border: 1px solid #dce4ee;
  background: #f7fafc;
  color: #101828;
}

.deepseek-quiet-cta h2 {
  font-size: 25px;
}

.deepseek-hub-page .openai-faq {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.deepseek-hub-page .openai-faq details {
  padding: 0 20px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
}

.deepseek-hub-page .openai-faq details[open] {
  border-color: #b9d9dd;
  background: #f7fbfc;
}

.deepseek-hub-page .openai-faq summary {
  padding: 17px 0;
  color: #14223a;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.deepseek-hub-page .openai-faq p {
  margin: 0;
  padding: 0 0 18px;
  color: #52637a;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .deepseek-access-grid {
    grid-template-columns: 1fr;
  }

  .deepseek-quiet-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .deepseek-hub-page .openai-hero-copy h1 {
    font-size: 34px;
  }

  .deepseek-stage-two-grid,
  .deepseek-related-grid {
    grid-template-columns: 1fr;
  }

  .deepseek-ai-launch {
    width: 100%;
  }

  .deepseek-ai-action {
    width: 100%;
  }

  .deepseek-ai-action small {
    max-width: none;
  }

  .deepseek-quiet-cta {
    padding: 20px;
  }

  .deepseek-hub-page .openai-faq details {
    padding: 0 16px;
  }

  .deepseek-quiet-cta .button {
    width: 100%;
  }
}

/* Future of Work category hub */
.future-of-work-hub .category-hero {
  padding: 42px;
}

.future-of-work-hub .category-hero h1 {
  max-width: 1040px;
  font-size: 58px;
  line-height: 1.02;
}

.future-of-work-hub .category-hero .hero-text {
  max-width: 980px;
  font-size: 20px;
  line-height: 1.65;
}

.future-of-work-hub .section {
  scroll-margin-top: 110px;
}

.future-of-work-hub .section-heading {
  max-width: 780px;
}

.future-hub-answer {
  max-width: 1040px;
  padding: 34px 38px;
  border-left: 4px solid #1677ff;
  border-radius: 8px;
  background: rgba(235, 244, 255, 0.82);
}

.future-hub-answer h2 {
  margin: 8px 0 16px;
  font-size: 36px;
}

.future-hub-answer > p:last-child {
  max-width: 900px;
  margin: 0;
  color: #3f526e;
  font-size: 19px;
  line-height: 1.7;
}

.future-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.future-scenario-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(30, 64, 175, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.future-scenario-card:last-child {
  grid-column: 1 / -1;
  min-height: 220px;
}

.future-scenario-card:hover,
.future-scenario-card:focus-visible {
  border-color: rgba(22, 119, 255, 0.38);
  box-shadow: 0 18px 44px rgba(30, 64, 175, 0.13);
  transform: translateY(-3px);
}

.future-scenario-card:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 3px;
}

.future-scenario-number {
  color: #1677ff;
  font-size: 14px;
  font-weight: 800;
}

.future-scenario-card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.future-scenario-card p {
  margin: 0;
  color: #5a6d88;
  font-size: 16px;
  line-height: 1.6;
}

.future-scenario-link {
  margin-top: 22px;
  color: #075ed1;
  font-size: 15px;
  font-weight: 800;
}

.future-scenario-link::after {
  margin-left: 8px;
  content: "\2192";
}

.future-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.future-topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 8px;
  color: #17365f;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.84);
}

.future-topic-links a:hover,
.future-topic-links a:focus-visible {
  border-color: #1677ff;
  color: #075ed1;
  background: #f4f8ff;
}

.future-topic-links a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.20);
  outline-offset: 2px;
}

.future-glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.future-glossary-list > div {
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.future-glossary-list > div:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.future-glossary-list dt {
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 800;
}

.future-glossary-list dd {
  margin: 0;
  color: #52647d;
  line-height: 1.65;
}

.future-faq-list {
  max-width: 980px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.future-faq-list .faq-item {
  padding: 22px 0;
}

.future-faq-list .faq-item:first-of-type {
  border-top: 0;
}

.future-faq-list .faq-item summary {
  padding-right: 32px;
  font-size: 20px;
  line-height: 1.35;
}

.future-faq-list .faq-item p {
  max-width: 880px;
  color: #52647d;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .future-of-work-hub .category-hero h1 {
    font-size: 46px;
  }

  .future-scenario-grid {
    grid-template-columns: 1fr;
  }

  .future-scenario-card:last-child {
    grid-column: auto;
    min-height: 250px;
  }
}

@media (max-width: 680px) {
  .future-of-work-hub .category-hero {
    padding: 26px 20px;
  }

  .future-of-work-hub .category-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .future-of-work-hub .category-hero .hero-text {
    font-size: 17px;
  }

  .future-hub-answer {
    padding: 26px 20px;
  }

  .future-hub-answer h2 {
    font-size: 29px;
  }

  .future-hub-answer > p:last-child {
    font-size: 17px;
  }

  .future-scenario-card,
  .future-scenario-card:last-child {
    min-height: 0;
    padding: 22px 20px;
  }

  .future-scenario-card h3 {
    font-size: 21px;
  }

  .future-topic-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .future-topic-links a {
    width: 100%;
  }

  .future-glossary-list {
    grid-template-columns: 1fr;
  }

  .future-glossary-list > div,
  .future-glossary-list > div:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
  }

  .future-faq-list .faq-item summary {
    font-size: 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 5%, rgba(108, 92, 255, 0.20), transparent 32rem),
    radial-gradient(circle at 12% 14%, rgba(22, 119, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 68% 52%, rgba(19, 194, 179, 0.10), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 17, 31, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(22, 119, 255, 0.08) 22.2%, transparent 34%),
    linear-gradient(72deg, transparent 0 58%, rgba(108, 92, 255, 0.08) 58.2%, transparent 70%);
  filter: blur(0.2px);
  content: "";
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 80;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(28, 56, 95, 0.1);
  backdrop-filter: blur(24px);
}

/* Prevent page content from peeking through the floating header's top gap. */
.site-header::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 100vw;
  height: calc(100% + 20px);
  z-index: 0;
  background: #f8fbff;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand,
.site-nav,
.hero-actions,
.hero-stats,
.logos,
.phone-top {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(22, 119, 255, 0.25);
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 11px 17px;
  color: #ffffff !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  box-shadow: 0 18px 38px rgba(22, 119, 255, 0.26);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(241, 246, 255, 0.9);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
}

.back-to-top-button {
  position: fixed;
  left: auto;
  right: clamp(16px, 3vw, 28px);
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(173, 190, 215, 0.46);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  box-shadow: 0 18px 42px rgba(22, 119, 255, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-button:hover,
.back-to-top-button:focus-visible {
  box-shadow: 0 22px 52px rgba(22, 119, 255, 0.36);
  transform: translateY(-2px);
}

.back-to-top-button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.24);
  outline-offset: 3px;
}

.back-to-top-button span {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.knowledge-home-details {
  overflow: hidden;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(46, 91, 160, 0.12);
}

.knowledge-home-details summary {
  display: grid;
  gap: 10px;
  padding: 28px;
  cursor: pointer;
  list-style: none;
}

.knowledge-home-details summary::-webkit-details-marker {
  display: none;
}

.knowledge-home-details summary strong {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
}

.knowledge-home-content {
  display: grid;
  gap: 26px;
  padding: 0 28px 30px;
}

.section-heading.compact {
  max-width: 780px;
  margin: 0;
  text-align: left;
}

.knowledge-page {
  padding-top: 96px;
}

.knowledge-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 34px;
}

.knowledge-hero .breadcrumbs {
  width: auto;
  margin: 0 0 22px;
}

.knowledge-hero h1 {
  max-width: 980px;
  margin: 18px 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.knowledge-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.knowledge-term-hero h1 {
  max-width: 900px;
}

.knowledge-definition {
  max-width: 900px;
  padding: 24px;
  border: 1px solid rgba(22, 119, 255, 0.22);
  border-left: 5px solid var(--brand);
  border-radius: 22px;
  color: #1f3554;
  background: rgba(235, 244, 255, 0.82);
  font-size: 20px;
  line-height: 1.65;
}

.knowledge-aliases {
  max-width: 900px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.knowledge-controls {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.knowledge-search-label {
  font-weight: 800;
  color: var(--text);
}

.knowledge-search {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(173, 190, 215, 0.56);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.knowledge-search:focus {
  border-color: rgba(22, 119, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.knowledge-filter-row,
.knowledge-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knowledge-filter-button,
.knowledge-link-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(173, 190, 215, 0.56);
  border-radius: 999px;
  color: #29415f;
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.knowledge-filter-button.is-active,
.knowledge-filter-button:hover,
.knowledge-link-cloud a:hover {
  border-color: rgba(22, 119, 255, 0.38);
  color: #075ed6;
  background: rgba(235, 244, 255, 0.9);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-page .section {
  position: relative;
  z-index: 1;
}

.knowledge-card,
.knowledge-answer-card,
.knowledge-route-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(46, 91, 160, 0.09);
}

.knowledge-page .knowledge-card,
.knowledge-page .knowledge-answer-card,
.knowledge-page .knowledge-route-card {
  color: #0b1220;
  background: rgba(255, 255, 255, 0.96);
  opacity: 1;
}

.knowledge-card h3,
.knowledge-answer-card h2,
.knowledge-route-card strong {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.knowledge-card p,
.knowledge-answer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-page .knowledge-card h3,
.knowledge-page .knowledge-answer-card h2,
.knowledge-page .knowledge-route-card strong {
  color: #07111f;
}

.knowledge-page .knowledge-card p,
.knowledge-page .knowledge-answer-card p {
  color: #3c506d;
}

.knowledge-card a,
.knowledge-route-card {
  color: #075ed6;
  font-weight: 900;
  text-decoration: none;
}

.knowledge-chip {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #075ed6;
  background: rgba(235, 244, 255, 0.94);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-highlight-grid,
.knowledge-two-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.knowledge-route-card span {
  color: #075ed6;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.knowledge-longread,
.knowledge-aside {
  display: grid;
  gap: 20px;
}

.knowledge-longread {
  padding: 30px;
  border: 1px solid rgba(173, 190, 215, 0.35);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.knowledge-longread h2,
.knowledge-aside h2 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
}

.knowledge-longread p {
  margin: 0;
  color: #334968;
  font-size: 18px;
  line-height: 1.75;
}

.knowledge-aside {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.knowledge-mini-list {
  display: grid;
  gap: 10px;
}

.knowledge-mini-link {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(173, 190, 215, 0.38);
  border-radius: 16px;
  color: var(--text);
  background: rgba(247, 250, 255, 0.88);
  text-decoration: none;
}

.knowledge-mini-link span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.knowledge-faq {
  display: grid;
  gap: 10px;
}

.knowledge-faq details {
  padding: 16px 18px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 16px;
  background: #ffffff;
}

.knowledge-faq summary {
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.prompt-copy-box {
  overflow: hidden;
  border: 1px solid rgba(22, 119, 255, 0.2);
  border-radius: 22px;
  background: #071120;
}

.prompt-copy-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.prompt-copy-head h2 {
  color: #ffffff;
}

.prompt-copy-box pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  color: #dce9ff;
  white-space: pre-wrap;
  font: 600 15px/1.6 Consolas, Monaco, monospace;
}

.knowledge-meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.knowledge-meta-list dt {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.knowledge-meta-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.knowledge-card.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .knowledge-grid,
  .knowledge-highlight-grid,
  .knowledge-two-cards,
  .knowledge-article-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-page {
    padding-top: 54px;
  }

  .knowledge-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .knowledge-hero > * {
    min-width: 0;
    max-width: 100%;
  }

  .knowledge-hero h1 {
    margin: 0;
    font-size: 48px;
    line-height: 0.98;
  }

  .knowledge-hero .breadcrumbs {
    width: 100%;
    margin-bottom: 4px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .knowledge-hero .eyebrow {
    width: max-content;
    max-width: 100%;
    margin: 0;
  }

  .knowledge-home-details summary,
  .knowledge-home-content,
  .knowledge-longread,
  .knowledge-aside {
    padding: 20px;
  }

  .knowledge-aside {
    position: static;
  }

  .prompt-copy-head {
    align-items: stretch;
    flex-direction: column;
  }

  .knowledge-grid .prompt-card {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 22px;
  }

  .knowledge-grid .prompt-card .knowledge-chip {
    width: fit-content;
  }

  .knowledge-grid .prompt-card h3 {
    font-size: 24px;
  }

  .knowledge-grid .prompt-card dl {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(173, 190, 215, 0.35);
  }

  .knowledge-grid .prompt-card dt {
    font-size: 13px;
    text-transform: uppercase;
  }

  .knowledge-grid .prompt-card > a {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
  }
}

@media (max-width: 600px) {
  .knowledge-hero h1 {
    font-size: 34px;
    line-height: 1.04;
  }
}

@media (max-width: 370px) {
  .knowledge-hero h1 {
    font-size: 30px;
  }
}

.hero,
.section,
.final-cta,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 76px;
  align-items: center;
  min-height: auto;
  padding: 92px 0 64px;
  animation: fade-up 0.72s ease both;
}

.hero::after {
  position: absolute;
  right: 18%;
  bottom: 4%;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.14);
  filter: blur(70px);
  content: "";
}

.ai-orb {
  position: absolute;
  top: -42px;
  right: 8px;
  z-index: -1;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 16%),
    radial-gradient(circle at 36% 34%, rgba(130, 190, 255, 0.82), transparent 28%),
    conic-gradient(from 0deg, #1677ff, #6c5cff, #13c2b3, #8dbbff, #1677ff);
  box-shadow:
    0 0 80px rgba(22, 119, 255, 0.28),
    0 0 140px rgba(108, 92, 255, 0.20),
    inset 0 0 60px rgba(255, 255, 255, 0.42);
  filter: saturate(1.12);
  opacity: 0.9;
  animation: orb-drift 8s ease-in-out infinite, orb-spin 14s linear infinite;
}

.ai-orb::before {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  content: "";
}

.ai-orb::after {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 255, 0.28), transparent 62%);
  filter: blur(22px);
  animation: orb-pulse 4.5s ease-in-out infinite;
  content: "";
}

.ai-orb span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.8);
}

.ai-orb span:nth-child(1) {
  top: 24%;
  left: 18%;
  width: 9px;
  height: 9px;
}

.ai-orb span:nth-child(2) {
  right: 20%;
  bottom: 30%;
  width: 7px;
  height: 7px;
}

.ai-orb span:nth-child(3) {
  right: 34%;
  top: 14%;
  width: 5px;
  height: 5px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: rgba(232, 241, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(56px, 7vw, 86px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  color: #42516a;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1677ff, #6c5cff);
  box-shadow: 0 22px 44px rgba(22, 119, 255, 0.28), 0 0 0 rgba(108, 92, 255, 0);
}

.button.primary:hover {
  box-shadow: 0 28px 58px rgba(22, 119, 255, 0.34), 0 0 34px rgba(108, 92, 255, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 14px 30px rgba(28, 56, 95, 0.06);
  backdrop-filter: blur(18px);
}

.button.tertiary {
  color: #30425f;
  background: rgba(232, 241, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(173, 190, 215, 0.42);
  backdrop-filter: blur(18px);
}

.button.tertiary:hover,
.button.tertiary:focus-visible {
  color: var(--brand-dark);
  background: #ffffff;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats div {
  min-width: 162px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 3px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.chat-preview {
  position: relative;
}

.chat-preview::before {
  position: absolute;
  inset: 44px -10px -28px 38px;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.18), rgba(19, 194, 179, 0.12));
  filter: blur(2px);
  content: "";
}

.phone-shell {
  width: min(100%, 430px);
  margin-left: auto;
  padding: 14px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(26px);
}

.phone-top {
  justify-content: space-between;
  padding: 8px 10px 16px;
  color: var(--muted);
  font-size: 13px;
}

.phone-top span {
  width: 62px;
  height: 7px;
  border-radius: 99px;
  background: #dce8f6;
}

.phone-top strong {
  color: var(--text);
}

.phone-top em {
  font-style: normal;
  font-weight: 800;
  color: var(--brand);
}

.chat-area {
  display: grid;
  gap: 12px;
  min-height: 452px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(246, 250, 255, 0.94), rgba(235, 244, 255, 0.88));
  align-content: center;
}

.message {
  max-width: 88%;
  padding: 14px 15px;
  border-radius: 18px;
  color: #314057;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(30, 62, 99, 0.08);
  font-size: 14px;
  line-height: 1.55;
}

.message.user {
  justify-self: end;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-bottom-right-radius: 7px;
}

.message.bot {
  justify-self: start;
  border-bottom-left-radius: 7px;
}

.model-pill {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.chat-input {
  margin-top: 12px;
  padding: 15px 16px;
  color: #8492a6;
  border-radius: 18px;
  background: rgba(251, 253, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(173, 190, 215, 0.28);
  font-size: 14px;
}

.section {
  --section-block-padding: 76px;
  position: relative;
  padding-block: var(--section-block-padding);
  padding-inline: 0;
  opacity: 1;
  transform: none;
}

.knowledge-page .section {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.knowledge-page .knowledge-card,
.knowledge-page .knowledge-answer-card,
.knowledge-page .knowledge-route-card {
  opacity: 1 !important;
  transform: none !important;
}

.knowledge-page .knowledge-card {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}

.section::before {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.45), rgba(108, 92, 255, 0.38), transparent);
  transform: translateX(-50%);
  content: "";
}

.section.split::before {
  left: 0;
  transform: none;
}

.logos {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0 42px;
}

.logos a {
  padding: 12px 17px;
  color: #43536b;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.logos a:hover,
.logos a:focus-visible {
  color: #0b63d1;
  background: #ffffff;
  transform: translateY(-2px);
}

.logos a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.24);
  outline-offset: 2px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.portal-hero {
  padding-top: 82px;
}

.portal-preview .chat-area {
  min-height: 386px;
}

.portal-stats div {
  min-width: 178px;
}

.portal-stats strong {
  color: var(--brand-dark);
}

.bot-home-section {
  align-items: center;
}

.bot-home-cta {
  margin-top: 22px;
}

.bot-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bot-capability-grid .feature-card {
  min-height: 230px;
}

.feature-grid,
.pricing-grid,
.model-columns,
.network-grid,
.article-grid,
.steps {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.model-columns article,
.network-grid article,
.article-grid article,
.steps article,
.price-card,
.faq details {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover,
.network-grid article:hover,
.article-grid article:hover,
.steps article:hover,
.price-card:hover,
.faq details:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 119, 255, 0.34);
  box-shadow: var(--shadow-lg), 0 0 34px rgba(22, 119, 255, 0.10);
  background: rgba(255, 255, 255, 0.9);
}

.feature-card {
  padding: 30px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.feature-card span,
.steps article > strong,
.model-label,
.badge {
  animation: badge-in 0.6s ease both;
}

.feature-card p,
.steps p,
.price-card p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.section-heading p:last-child {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  font-size: 18px;
}

.model-columns,
.network-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-columns article,
.network-grid article,
.article-grid article {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 30px;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.32);
  outline-offset: 4px;
}

.network-model-card {
  scroll-margin-top: 110px;
}

.model-columns a,
.network-grid a,
.article-grid a {
  color: var(--brand-dark);
  font-weight: 800;
}

.model-columns a:hover,
.network-grid a:hover,
.article-grid a:hover {
  color: var(--brand);
}

.network-grid p,
.article-grid p {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
}

ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  color: #40516a;
  line-height: 1.5;
}

ul > li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  content: "";
}

ol > li::before {
  content: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.portal-journey .steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-journey .steps article {
  min-height: 340px;
}

.steps article {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 32px;
}

.steps article > strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  box-shadow: 0 18px 34px rgba(22, 119, 255, 0.22);
}

.steps h3 {
  min-height: 54px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 12px 16px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.step-link:hover {
  color: #ffffff;
  background: var(--brand);
  transform: translateY(-2px);
}

.prompt-examples {
  margin-top: 24px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(108, 92, 255, 0.15), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(22, 119, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.prompt-examples-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.prompt-examples-heading .eyebrow,
.prompt-examples-heading h3 {
  margin-bottom: 0;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.prompt-card {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 17px;
  color: #314057;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-weight: 760;
  line-height: 1.45;
  animation: prompt-float 5s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.prompt-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: var(--shadow-md);
}

.prompt-card:nth-child(2) {
  animation-delay: 0.35s;
}

.prompt-card:nth-child(3) {
  animation-delay: 0.7s;
}

.prompt-card:nth-child(4) {
  animation-delay: 1.05s;
}

.prompt-card:nth-child(5) {
  animation-delay: 1.4s;
}

.knowledge-grid .prompt-card {
  display: grid;
  grid-template-columns: max-content minmax(180px, 0.95fr) minmax(220px, 1.2fr) minmax(150px, 0.7fr) max-content;
  gap: 18px;
  align-items: center;
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(46, 91, 160, 0.09);
  font-weight: inherit;
  line-height: normal;
  animation: none;
}

.knowledge-grid .prompt-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 22px 58px rgba(46, 91, 160, 0.13);
}

.knowledge-grid .prompt-card h3 {
  min-width: 0;
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.knowledge-grid .prompt-card p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-grid .prompt-card dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 10px;
  min-width: 0;
  margin: 0;
}

.knowledge-grid .prompt-card dt {
  color: var(--muted);
  font-weight: 800;
}

.knowledge-grid .prompt-card dd {
  min-width: 0;
  margin: 0;
  color: #263852;
  font-weight: 900;
}

.knowledge-grid .prompt-card > a {
  justify-self: end;
  white-space: nowrap;
}

.prompt-ai-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.knowledge-grid .prompt-card .prompt-ai-launch {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(173, 190, 215, 0.35);
}

.prompt-ai-launch > span {
  flex: 0 0 auto;
  color: #52627a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prompt-ai-buttons {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.prompt-ai-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(173, 190, 215, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(28, 56, 95, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.prompt-ai-provider:hover,
.prompt-ai-provider:focus-visible {
  border-color: rgba(22, 119, 255, 0.38);
  box-shadow: 0 16px 34px rgba(28, 56, 95, 0.14);
  transform: translateY(-2px);
}

.prompt-ai-provider .ai-provider-icon {
  width: 28px;
  height: 28px;
}

.prompt-ai-provider .ai-provider-icon img {
  width: 18px;
  height: 18px;
}

.prompt-ai-launch-wide {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(173, 190, 215, 0.34);
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.9);
}

@media (max-width: 900px) {
  .knowledge-grid .prompt-card {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 22px;
  }

  .knowledge-grid .prompt-card .knowledge-chip {
    width: fit-content;
  }

  .knowledge-grid .prompt-card h3 {
    font-size: 24px;
  }

  .knowledge-grid .prompt-card dl {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(173, 190, 215, 0.35);
  }

  .knowledge-grid .prompt-card dt {
    font-size: 13px;
    text-transform: uppercase;
  }

  .knowledge-grid .prompt-card > a {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
  }

  .prompt-ai-launch {
    align-items: stretch;
    flex-direction: column;
  }

  .prompt-ai-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .prompt-ai-provider {
    min-width: 0;
  }
}

@keyframes prompt-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pricing {
  padding-top: 84px;
}

.pricing-grid {
  grid-template-columns: 0.95fr 1.12fr 0.95fr;
  align-items: stretch;
  gap: 24px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  padding: 34px;
}

.price-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86)) padding-box,
    linear-gradient(135deg, rgba(22, 119, 255, 0.7), rgba(108, 92, 255, 0.72)) border-box,
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg), 0 0 56px rgba(22, 119, 255, 0.14);
  transform: translateY(-18px);
}

.badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.price-card ul {
  margin-bottom: 30px;
}

.pricing-note {
  margin: 18px auto 0;
  text-align: center;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  padding: 24px 26px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.faq details p {
  margin: 14px 0 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 58px;
  padding: 58px 34px;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.32), transparent 32%),
    linear-gradient(135deg, #1677ff, #6c5cff 68%, #0759d6);
  box-shadow: var(--shadow-lg);
}

.final-cta .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.final-cta h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: #ffffff;
}

.final-cta .button.primary {
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: none;
}

.portal-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 58px;
  padding: 24px;
  border: 1px solid rgba(38, 67, 108, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(108, 92, 255, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 58px rgba(28, 56, 95, 0.12);
  backdrop-filter: blur(20px);
}

.portal-final-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 8px 12px 6px;
}

.portal-final-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.04;
}

.portal-final-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.portal-final-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-final-links a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 158px;
  padding: 20px;
  border: 1px solid rgba(38, 67, 108, 0.1);
  border-radius: 20px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 14px 34px rgba(28, 56, 95, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-final-links a:hover {
  border-color: rgba(22, 119, 255, 0.36);
  box-shadow: 0 18px 44px rgba(28, 56, 95, 0.13);
  transform: translateY(-3px);
}

.portal-final-links span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  color: var(--brand-dark);
  border-radius: 14px;
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 900;
}

.portal-final-links strong {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.1;
}

.portal-final-links em {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.42;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand,
.footer-details {
  display: grid;
  gap: 8px;
}

.footer-brand {
  min-width: 220px;
}

.footer-details {
  max-width: 620px;
  text-align: right;
}

.footer-brand span {
  font-weight: 800;
  color: var(--text);
}

.model-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 56px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-dark);
  font-weight: 800;
}

.model-summary,
.detail-card,
.seo-copy-block {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.model-summary {
  padding: 30px;
}

.model-summary h2 {
  font-size: 32px;
}

.model-summary-chips h2 {
  margin-bottom: 22px;
}

.model-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.model-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  color: #20304a;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  animation: chip-float 8s ease-in-out infinite;
  animation-delay: var(--delay);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.model-chip:nth-child(1),
.model-chip:nth-child(3),
.model-chip:nth-child(10) {
  padding-right: 18px;
  padding-left: 18px;
  font-size: 15px;
}

.model-chip:hover {
  color: var(--brand-dark);
  border-color: rgba(108, 92, 255, 0.36);
  box-shadow: 0 18px 42px rgba(22, 119, 255, 0.16), 0 0 28px rgba(108, 92, 255, 0.16);
  transform: scale(1.04) translateY(-2px);
}

.ai-model-card.is-highlighted {
  border-color: rgba(22, 119, 255, 0.68);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(22, 119, 255, 0.10), 0 0 48px rgba(108, 92, 255, 0.22);
}

.ai-model-card:target,
.network-model-card:target {
  animation: target-glow 1.5s ease;
}

.model-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-12px, 14px, 0) scale(1.035);
  }
}

@keyframes orb-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 0.66;
    scale: 0.98;
  }
  50% {
    opacity: 1;
    scale: 1.08;
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes target-glow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-md);
  }
  35%,
  72% {
    border-color: rgba(22, 119, 255, 0.72);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(22, 119, 255, 0.10), 0 0 52px rgba(108, 92, 255, 0.24);
  }
}

@media (max-width: 900px) {
  .external-comparator-shell {
    grid-template-columns: 1fr;
  }

  .external-comparator-controls {
    border-right: 0;
    border-bottom: 1px solid var(--comparator-line);
  }

  .external-comparator-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .openai-hub-page .openai-hero-copy .hero-actions {
    display: grid;
  }

  .openai-hub-page .openai-hero-copy .hero-actions .button {
    width: 100%;
  }

  .external-comparator-controls,
  .external-comparator-output {
    padding: 15px;
  }

  .external-comparator-summary,
  .external-comparator-results {
    grid-template-columns: 1fr;
  }

  .external-model-result h3 {
    padding-right: 0;
  }

  .external-best-badge {
    position: static;
    display: inline-flex;
    max-width: none;
    margin-top: 9px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep DeepSeek overrides after the shared OpenAI reference styles. */
.deepseek-hub-page {
  --openai-blue: #087f8c;
  --openai-teal: #0f766e;
}

.deepseek-hub-page .openai-hero-summary {
  border-top-color: #087f8c;
}

.deepseek-hub-page .openai-directory-card {
  min-height: 310px;
}

.deepseek-hub-page .openai-directory-card > p:not(.openai-status) {
  min-height: 92px;
}

/* OpenAI model reference pages */
.model-reference-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 88px;
}

.model-reference-page [id] {
  scroll-margin-top: 120px;
}

.model-reference-hero,
.model-reference-section,
.model-reference-card,
.model-reference-cta {
  border: 1px solid rgba(111, 137, 171, 0.22);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 55px rgba(39, 76, 126, 0.08);
}

.model-reference-hero {
  padding: 34px;
  border-radius: 28px;
}

.model-reference-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
}

.model-reference-hero .breadcrumbs a {
  color: inherit;
}

.model-reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 38px;
  align-items: center;
}

.model-reference-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
}

.model-reference-hero .hero-text {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.55;
}

.model-reference-summary {
  padding: 24px;
  border: 1px solid rgba(62, 112, 189, 0.2);
  border-radius: 20px;
  background: #f4f8ff;
}

.model-reference-summary dl {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.model-reference-summary dl div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(62, 112, 189, 0.15);
}

.model-reference-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.model-reference-summary dd {
  margin: 0;
  font-weight: 750;
}

.model-reference-section {
  margin-top: 24px;
  padding: 34px;
  border-radius: 24px;
}

.model-reference-section h2,
.model-reference-card h2,
.model-reference-cta h2 {
  margin: 10px 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.model-reference-section > p:not(.eyebrow),
.model-reference-card p,
.model-reference-card li,
.model-reference-cta p {
  color: #435976;
  font-size: 18px;
  line-height: 1.7;
}

.model-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.model-reference-card {
  padding: 32px;
  border-radius: 24px;
}

.model-reference-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.model-reference-card h3 {
  margin: 24px 0 8px;
  font-size: 21px;
}

.model-source-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid #2f72ff;
  background: #f3f7ff;
}

.model-source-note a,
.model-related-links a {
  color: #075fd7;
  font-weight: 750;
}

.model-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.model-related-links a {
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(62, 112, 189, 0.2);
  border-radius: 14px;
  background: #f8fbff;
  text-decoration: none;
}

.model-reference-page .openai-faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.model-reference-page .openai-faq details {
  padding: 18px 20px;
  border: 1px solid rgba(62, 112, 189, 0.18);
  border-radius: 14px;
  background: #fbfdff;
}

.model-reference-page .openai-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.model-reference-page .openai-faq p {
  margin: 14px 0 0;
  color: #435976;
  line-height: 1.65;
}

.model-reference-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 32px;
  border-radius: 24px;
}

/* Shared model CTA stays informational and compact across hubs and model pages. */
.openai-hub-page .model-reference-cta,
.deepseek-hub-page .model-reference-cta,
.model-reference-page .model-reference-cta {
  min-height: 0;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
}

.openai-hub-page .model-reference-cta h2,
.deepseek-hub-page .model-reference-cta h2,
.model-reference-page .model-reference-cta h2 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}

.openai-hub-page .model-reference-cta p,
.deepseek-hub-page .model-reference-cta p,
.model-reference-page .model-reference-cta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.openai-hub-page .model-reference-cta .button,
.deepseek-hub-page .model-reference-cta .button,
.model-reference-page .model-reference-cta .button {
  flex: 0 0 auto;
}

.model-reference-cta > div {
  max-width: 760px;
}

.openai-hub-page .openai-existing-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.openai-hub-page .openai-existing-pages a {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(62, 112, 189, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #14223a;
  text-decoration: none;
}

.openai-hub-page .openai-existing-pages strong {
  font-size: 17px;
}

.openai-hub-page .openai-existing-pages span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.openai-hub-page .openai-model-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px 20px;
  align-items: end;
  margin: 28px 0 20px;
  padding: 18px;
  border: 1px solid rgba(62, 112, 189, 0.17);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.9);
}

.openai-hub-page .openai-model-controls > label {
  grid-column: 1;
  color: #344966;
  font-size: 13px;
  font-weight: 800;
}

.openai-hub-page .openai-model-controls input {
  grid-column: 1;
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(74, 106, 151, 0.25);
  border-radius: 12px;
  background: #fff;
  color: #14223a;
  font: inherit;
}

.openai-hub-page .openai-model-controls input:focus {
  border-color: #3f7df0;
  outline: 3px solid rgba(63, 125, 240, 0.16);
}

.openai-hub-page .openai-model-filter-row {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 590px;
}

.openai-hub-page .openai-model-filter-row button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(74, 106, 151, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #344966;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.openai-hub-page .openai-model-filter-row button:hover,
.openai-hub-page .openai-model-filter-row button.is-active {
  border-color: #2f72ff;
  background: #eaf2ff;
  color: #075fd7;
}

.openai-hub-page .openai-model-filter-row button:focus-visible {
  outline: 3px solid rgba(63, 125, 240, 0.2);
  outline-offset: 2px;
}

.openai-hub-page .openai-model-count {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.openai-hub-page .openai-model-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.openai-hub-page .openai-directory-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 196px;
  padding: 18px;
  border: 1px solid rgba(62, 112, 189, 0.18);
  border-top: 3px solid #9db0c8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(43, 75, 120, 0.06);
}

.openai-hub-page .openai-directory-card[hidden] {
  display: none;
}

.openai-hub-page .openai-directory-card.is-frontier {
  border-top-color: #14223a;
}

.openai-hub-page .openai-directory-card.is-current {
  border-top-color: #3b82f6;
}

.openai-hub-page .openai-directory-card.is-efficient {
  border-top-color: #0f9f95;
}

.openai-hub-page .openai-directory-card > span {
  color: #657a98;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .openai-directory-card h3 {
  margin: 7px 0 10px;
  font-size: 23px;
  line-height: 1.1;
}

.openai-hub-page .openai-directory-card p {
  margin: 0 0 16px;
  color: #536986;
  font-size: 14px;
  line-height: 1.5;
}

.openai-hub-page .openai-directory-card a {
  width: fit-content;
  color: #075fd7;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.openai-hub-page .openai-directory-card a:hover {
  text-decoration: underline;
}

.model-card-ai-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, 34px);
  gap: 6px;
  align-items: center;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(173, 190, 215, 0.34);
}

.model-card-ai-label {
  color: #6a7b93;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .openai-directory-card .model-card-ai-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 50%;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.openai-hub-page .openai-directory-card .model-card-ai-button:hover,
.openai-hub-page .openai-directory-card .model-card-ai-button:focus-visible {
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}

.model-card-ai-button .ai-provider-icon,
.model-card-ai-button .ai-provider-icon img,
.model-card-ai-button .ai-provider-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.model-system-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  line-height: 1.2;
}

.model-system-button img {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.button.primary.model-system-button img {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  padding: 5px;
  border: 1px solid rgba(15, 30, 54, 0.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 30, 54, 0.12);
}

.model-system-button span {
  min-width: 0;
}

.gemini-hub-page,
.gemini-model-page {
  --gemini-accent: #3367d6;
  --gemini-accent-soft: #edf4ff;
}

.gemini-hub-page .openai-hero-summary,
.gemini-model-page .model-reference-summary {
  border-top-color: var(--gemini-accent);
}

.gemini-model-page .model-reference-hero-grid > * {
  min-width: 0;
}

.gemini-model-page .model-reference-summary dd,
.gemini-model-page .model-reference-summary p {
  overflow-wrap: anywhere;
}

.gemini-model-page .model-reference-hero h1 {
  overflow-wrap: anywhere;
  hyphens: none;
}

.gemini-reference-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.gemini-official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border: 1px solid rgba(51, 103, 214, 0.18);
  border-radius: 14px;
  background: #fff;
}

.gemini-official-link:hover,
.gemini-official-link:focus-visible {
  border-color: rgba(51, 103, 214, 0.45);
  box-shadow: 0 10px 24px rgba(51, 103, 214, 0.12);
}

.gemini-hub-page .openai-model-card {
  border-top-color: var(--gemini-accent);
}

.gemini-hub-page [hidden] {
  display: none !important;
}

.gemini-hub-page > .gemini-directory,
.gemini-hub-page > .gemini-latest-update,
.gemini-hub-page > .gemini-family,
.gemini-hub-page > #gemini-faq,
.gemini-hub-page > .network-related,
.gemini-hub-page > .gemini-quiet-cta {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.gemini-hub-page.openai-hub-page > .gemini-family {
  margin-inline: auto;
}

.gemini-hub-page #gemini-current .openai-model-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gemini-model-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gemini-model-card-heading .openai-status {
  margin: 0;
}

.gemini-model-card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(51, 103, 214, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(35, 79, 151, 0.09);
}

.gemini-model-card-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gemini-hub-page #gemini-faq .section-heading,
.gemini-hub-page .network-related .section-heading {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.gemini-hub-page #gemini-faq .section-heading h2,
.gemini-hub-page .network-related .section-heading h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
}

.gemini-hub-page .openai-faq {
  display: grid;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}

.gemini-hub-page .openai-faq details {
  padding: 0 20px;
  border: 1px solid rgba(51, 103, 214, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.gemini-hub-page .openai-faq details[open] {
  border-color: rgba(51, 103, 214, 0.42);
  background: #f7faff;
}

.gemini-hub-page .openai-faq summary {
  padding: 17px 0;
  color: #14223a;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.gemini-hub-page .openai-faq p {
  margin: 0;
  padding: 0 0 18px;
  color: #52637a;
  line-height: 1.65;
}

.gemini-hub-page .network-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gemini-directory {
  margin: 34px 0 12px;
  padding: 24px;
  border: 1px solid rgba(51, 103, 214, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(34, 74, 140, 0.08);
}

.gemini-directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gemini-directory-heading h2,
.gemini-directory-heading p {
  margin: 0;
}

.gemini-directory-heading > p {
  color: #66758c;
  font-size: 14px;
}

.gemini-directory-search {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: #31415b;
  font-size: 13px;
  font-weight: 700;
}

.gemini-directory-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(142, 161, 190, 0.42);
  border-radius: 12px;
  background: #fff;
  color: #111c30;
  font: inherit;
  font-weight: 500;
}

.gemini-directory-search input:focus {
  border-color: var(--gemini-accent);
  outline: 3px solid rgba(51, 103, 214, 0.13);
}

.gemini-directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.gemini-directory-filters button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(142, 161, 190, 0.36);
  border-radius: 999px;
  background: #fff;
  color: #34435c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.gemini-directory-filters button:hover,
.gemini-directory-filters button:focus-visible {
  border-color: rgba(51, 103, 214, 0.55);
}

.gemini-directory-filters button.is-active {
  border-color: var(--gemini-accent);
  background: var(--gemini-accent);
  color: #fff;
}

.gemini-directory-empty {
  margin: 16px 0 0;
  color: #66758c;
}

.gemini-hub-page .model-action-row,
.gemini-model-page .model-action-row {
  margin-top: 18px;
}

.gemini-hub-page .model-prompt-status,
.gemini-model-page .model-prompt-status {
  display: block;
  margin-top: 9px;
  color: #66758c;
  font-size: 13px;
  line-height: 1.45;
}

.gemini-model-page .model-direct-answer {
  border-left: 4px solid var(--gemini-accent);
}

.gemini-model-page .model-search-context {
  background: var(--gemini-accent-soft);
}

.gemini-latest-update {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-block: 28px 12px;
  padding: 28px;
  border: 1px solid rgba(51, 103, 214, 0.28);
  border-left: 5px solid var(--gemini-accent);
  border-radius: 8px;
  background: #f7faff;
}

.gemini-latest-update h2,
.gemini-latest-update p {
  margin-top: 0;
}

.gemini-latest-update h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.08;
}

.gemini-latest-update p:last-child {
  margin-bottom: 0;
  color: #52637a;
  line-height: 1.65;
}

.gemini-latest-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gemini-model-facts dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(51, 103, 214, 0.2);
  border-left: 1px solid rgba(51, 103, 214, 0.2);
}

.gemini-model-facts dl div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(51, 103, 214, 0.2);
  border-bottom: 1px solid rgba(51, 103, 214, 0.2);
  background: #fff;
}

.gemini-model-facts dt {
  margin-bottom: 7px;
  color: #66758c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.gemini-model-facts dd {
  margin: 0;
  color: #111c30;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.gemini-benchmark-table-wrap {
  max-width: 100%;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid rgba(51, 103, 214, 0.2);
  border-radius: 8px;
  background: #fff;
}

.gemini-model-benchmarks table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #22324c;
  font-size: 14px;
}

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

.gemini-model-benchmarks th,
.gemini-model-benchmarks td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(142, 161, 190, 0.24);
  text-align: left;
  vertical-align: top;
}

.gemini-model-benchmarks thead th {
  background: #edf4ff;
  color: #173563;
  font-size: 12px;
  text-transform: uppercase;
}

.gemini-model-benchmarks tbody tr:last-child th,
.gemini-model-benchmarks tbody tr:last-child td {
  border-bottom: 0;
}

.gemini-model-benchmarks tbody td:first-of-type {
  color: #1557c0;
  font-weight: 800;
}

.gemini-model-article {
  border-left: 4px solid var(--gemini-accent);
  background: #f7faff;
}

.gemini-model-article .button {
  margin-top: 8px;
}

.gemini-quiet-cta {
  background: #f7f9fc;
}

@media (max-width: 620px) {
  .gemini-hub-page > .gemini-directory,
  .gemini-hub-page > .gemini-latest-update,
  .gemini-hub-page > .gemini-family,
  .gemini-hub-page > #gemini-faq,
  .gemini-hub-page > .network-related,
  .gemini-hub-page > .gemini-quiet-cta {
    width: min(1440px, calc(100% - 28px));
  }

  .gemini-hub-page #gemini-current .openai-model-card-grid {
    grid-template-columns: 1fr;
  }

  .gemini-directory {
    margin-top: 26px;
    padding: 18px;
    border-radius: 8px;
  }

  .gemini-directory-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .gemini-latest-update {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .gemini-latest-update h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .gemini-latest-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .gemini-latest-actions .button {
    width: 100%;
  }

  .gemini-model-facts dl {
    grid-template-columns: 1fr;
  }

  .gemini-directory-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gemini-directory-filters button {
    width: 100%;
    min-width: 0;
  }

  .gemini-hub-page .model-action-row,
  .gemini-model-page .model-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gemini-hub-page .model-action-row .button,
  .gemini-model-page .model-action-row .button {
    width: 100%;
    min-height: 52px;
  }

  .gemini-hub-page .openai-hero-summary,
  .gemini-model-page .model-reference-summary {
    padding: 20px;
  }

  .gemini-model-page .model-reference-hero h1 {
    font-size: 32px;
    line-height: 1.06;
    hyphens: none;
  }

  .gemini-hub-page .network-related-grid {
    grid-template-columns: 1fr;
  }

  .gemini-hub-page .openai-faq details {
    padding: 0 16px;
  }
}

@media (max-width: 420px) {
  .gemini-directory-filters {
    grid-template-columns: 1fr;
  }
}

.model-prompt-status {
  display: block;
  margin-top: -20px;
  color: #6a7b93;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 680px) {
  .model-reference-hero .hero-actions {
    display: grid;
    gap: 12px;
  }

  .model-reference-hero .hero-actions .button {
    width: 100%;
  }

  .model-prompt-status {
    margin-top: -20px;
  }
}

.openai-hub-page .openai-model-empty {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--muted);
}

@media (max-width: 900px) {
  .model-reference-hero-grid,
  .model-reference-grid {
    grid-template-columns: 1fr;
  }

  .model-related-links,
  .openai-hub-page .openai-existing-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .openai-hub-page .openai-model-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .openai-hub-page .openai-model-controls > label,
  .openai-hub-page .openai-model-controls input,
  .openai-hub-page .openai-model-filter-row,
  .openai-hub-page .openai-model-count {
    grid-column: 1;
    grid-row: auto;
  }

  .openai-hub-page .openai-model-filter-row {
    justify-content: flex-start;
    max-width: none;
  }

  .openai-hub-page .openai-model-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .model-reference-page {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .model-reference-hero,
  .model-reference-section,
  .model-reference-card,
  .model-reference-cta {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .model-reference-hero .breadcrumbs {
    margin-bottom: 24px;
  }

  .model-reference-hero h1 {
    font-size: 42px;
  }

  .model-reference-hero .hero-text,
  .model-reference-section > p:not(.eyebrow),
  .model-reference-card p,
  .model-reference-card li,
  .model-reference-cta p {
    font-size: 16px;
  }

  .model-related-links,
  .openai-hub-page .openai-existing-pages {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .openai-model-controls {
    margin-top: 20px;
    padding: 14px;
  }

  .openai-hub-page .openai-model-filter-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .openai-hub-page .openai-model-filter-row button {
    flex: 0 0 auto;
  }

  .openai-hub-page .openai-model-directory-grid {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .openai-directory-card {
    min-height: 0;
  }

  .model-reference-cta {
    display: grid;
  }

  .openai-hub-page .model-reference-cta,
  .deepseek-hub-page .model-reference-cta,
  .model-reference-page .model-reference-cta {
    gap: 14px;
    padding: 18px;
  }

  .openai-hub-page .model-reference-cta .button,
  .deepseek-hub-page .model-reference-cta .button,
  .model-reference-page .model-reference-cta .button {
    width: 100%;
  }
}

.model-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.detail-card {
  padding: 30px;
}

.detail-card h2 {
  font-size: 36px;
}

.detail-cta {
  width: fit-content;
  margin-top: 22px;
}

.seo-text {
  padding-top: 54px;
}

.seo-copy {
  padding-top: 28px;
}

.seo-copy-grid {
  counter-reset: seo-card;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.seo-copy-block {
  position: relative;
  counter-increment: seo-card;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(260px, 0.56fr);
  grid-template-rows: auto auto auto;
  gap: 14px 22px;
  align-items: start;
  min-height: 0;
  max-width: none;
  padding: 28px;
  overflow: hidden;
}

.seo-copy-block::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
  grid-column: 1;
  grid-row: 1 / span 2;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  box-shadow: 0 18px 34px rgba(22, 119, 255, 0.18);
  content: counter(seo-card, decimal-leading-zero);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.seo-copy-block::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.12), transparent 68%);
  pointer-events: none;
  content: "";
}

.seo-copy-block h3 {
  grid-column: 2;
  grid-row: 1;
  max-width: 22ch;
  min-width: 0;
  min-height: 0;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.seo-copy-block p {
  margin-bottom: 0;
}

.model-group {
  margin-top: 34px;
}

.model-group:first-child {
  margin-top: 0;
}

.model-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.model-group-heading span {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}

.model-group-heading h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.ai-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ai-model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  scroll-margin-top: 110px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ai-model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 119, 255, 0.36);
  box-shadow: var(--shadow-lg), 0 0 34px rgba(22, 119, 255, 0.11);
}

.ai-model-card.is-flagship {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76)) padding-box,
    linear-gradient(135deg, rgba(22, 119, 255, 0.78), rgba(108, 92, 255, 0.72)) border-box;
  box-shadow: var(--shadow-lg), 0 0 48px rgba(22, 119, 255, 0.16);
}

.ai-model-card.is-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.76)) padding-box,
    linear-gradient(135deg, rgba(108, 92, 255, 0.78), rgba(230, 184, 91, 0.72)) border-box;
  box-shadow: var(--shadow-lg), 0 0 44px rgba(108, 92, 255, 0.14);
}

.ai-model-card.is-recommended {
  border-color: rgba(22, 119, 255, 0.24);
  box-shadow: var(--shadow-md), 0 0 34px rgba(22, 119, 255, 0.08);
}

.ai-model-card.is-search {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.74)) padding-box,
    linear-gradient(135deg, rgba(20, 184, 166, 0.30), rgba(22, 119, 255, 0.24)) border-box;
}

.ai-model-card.is-creative {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74)) padding-box,
    linear-gradient(135deg, rgba(108, 92, 255, 0.30), rgba(236, 72, 153, 0.22)) border-box;
}

.model-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.model-badges span {
  padding: 7px 10px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: rgba(232, 241, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.ai-model-card.is-pro .model-badges span:last-child {
  color: #73510c;
  background: rgba(255, 238, 189, 0.92);
}

.ai-model-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.ai-model-card p {
  display: -webkit-box;
  max-height: 47px;
  margin-bottom: 16px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.scenario-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.86);
  color: #40516a;
  font-size: 13px;
  font-weight: 750;
}

.best-for {
  margin-bottom: 18px;
}

.best-for h4,
.seo-quick h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.best-for ul,
.seo-quick ul {
  gap: 6px;
  margin: 0;
}

.best-for li,
.seo-quick li {
  font-size: 14px;
}

.best-for li::before {
  width: 15px;
  height: 15px;
  top: 0.25em;
  background: none;
  color: var(--brand);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.model-button {
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 15px;
  color: var(--brand-dark);
  background: rgba(232, 241, 255, 0.88);
  box-shadow: none;
  font-size: 14px;
}

.model-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--violet));
}

.seo-copy-block .seo-lead {
  grid-column: 2;
  grid-row: 2;
  max-width: 66ch;
  min-height: 0;
  margin-bottom: 0;
  color: #40516a;
  font-size: 16px;
  line-height: 1.75;
}

.seo-quick {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: stretch;
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.86), rgba(255, 255, 255, 0.68)),
    rgba(247, 250, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.seo-copy-block details {
  grid-column: 2 / 4;
  grid-row: 3;
  align-self: end;
  margin-top: 0;
  padding-top: 2px;
}

.seo-copy-block summary {
  cursor: pointer;
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 850;
}

.seo-copy-block details p {
  max-width: 68ch;
  margin-top: 16px;
  line-height: 1.88;
}

.article-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 64px;
}

.article-page h1 {
  font-size: clamp(44px, 6vw, 72px);
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  font-size: 34px;
}

[hidden] {
  display: none !important;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto -42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--brand-dark);
}

.breadcrumbs a::after {
  margin-left: 8px;
  color: #9aa8ba;
  content: "/";
}

/* Model hubs already render semantic separators in their HTML. */
.model-reference-page .breadcrumbs a::after,
.openai-hub-page .breadcrumbs a::after {
  content: none;
}

.media-preview {
  overflow: hidden;
  padding-top: 58px;
  padding-bottom: 58px;
}

.media-preview-head,
.blog-hero,
.blog-controls-head,
.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 32px;
  align-items: stretch;
}

.media-preview-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
}

.media-preview-head h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.6vw, 60px);
}

.media-preview-head h2,
.blog-hero h1,
.blog-hero h2,
.blog-controls h2,
.author-hero h1,
.blog-bottom-cta h2,
.article-header h1,
.article-cta h2 {
  letter-spacing: 0;
}

.media-preview-head p,
.blog-controls-head p {
  max-width: 720px;
  font-size: 18px;
}

.media-preview-head p {
  font-size: 17px;
}

.media-preview .media-channel-note {
  padding: 24px;
}

.media-preview .media-channel-note-visual {
  min-height: 260px;
}

.blog-card-grid-home {
  gap: 18px;
}

.blog-card-grid-home .blog-card {
  min-height: 390px;
}

.blog-card-grid-home .blog-card-visual {
  min-height: 0;
  padding: 16px;
  aspect-ratio: 16 / 9;
}

.blog-card-grid-home .blog-card-body {
  padding: 20px;
}

.blog-card-grid-home .blog-card h3 {
  font-size: 22px;
}

.media-preview .media-actions {
  margin-top: 20px;
}

.media-channel-note,
.blog-hero-panel,
.author-profile-card,
.author-card,
.mentioned-models,
.article-cta,
.related-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.media-channel-note,
.blog-hero-panel,
.author-profile-card {
  padding: 28px;
}

.media-channel-note span,
.author-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #ffffff;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #07111f, #23324d 44%, #1677ff),
    #07111f;
  box-shadow: 0 18px 38px rgba(7, 17, 31, 0.18);
  font-size: 17px;
  font-weight: 900;
}

.media-channel-note .media-channel-logo {
  overflow: hidden;
  width: 64px;
  height: 64px;
  padding: 0;
  background: #1d1d20;
}

.media-channel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar-photo {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 0;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 22%;
  background: #07111f;
}

.article-header-media .author-avatar-photo {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.media-channel-note strong,
.author-profile-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.16;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.blog-load-more[hidden] {
  display: none;
}

.blog-load-more .button {
  min-width: 190px;
}

.blog-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.blog-card:hover,
.blog-card:focus-visible,
.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 119, 255, 0.34);
  box-shadow: var(--shadow-lg), 0 0 34px rgba(22, 119, 255, 0.10);
}

.blog-card:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.28);
  outline-offset: 4px;
}

.blog-card-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  padding: 20px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.94), rgba(22, 119, 255, 0.72)),
    #07111f;
}

.blog-card-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.08), rgba(3, 7, 18, 0.84)),
    linear-gradient(90deg, rgba(3, 7, 18, 0.56), transparent 64%);
  content: "";
}

.blog-card-visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.32s ease;
}

.blog-card-visual.has-cover-image {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
}

.blog-card-visual.has-cover-image::after {
  display: none;
}

.blog-card:hover .blog-card-visual img {
  transform: scale(1.055);
}

.blog-card-visual span {
  position: relative;
  z-index: 2;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.blog-card-visual strong {
  position: relative;
  z-index: 2;
  max-width: 16ch;
  font-size: 26px;
  line-height: 1;
}

.cover-writing,
.cover-max-guide {
  background: linear-gradient(135deg, #0f5f7a, #13c2b3 64%, #9ff2e5);
}

.cover-images {
  background: linear-gradient(135deg, #451078, #c026d3 56%, #fb7185);
}

.cover-work-2026,
.cover-model-choice,
.cover-big-three {
  background: linear-gradient(135deg, #07111f, #1677ff 52%, #6c5cff);
}

.cover-premium,
.cover-future-work {
  background: linear-gradient(135deg, #0f5132, #13c2b3 58%, #b4f1d3);
}

.cover-robots {
  background: linear-gradient(135deg, #1f2937, #64748b 56%, #38bdf8);
}

.cover-techno-archaeology {
  background: linear-gradient(135deg, #4a2c0a, #d97706 58%, #facc15);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  container-type: inline-size;
}

.article-meta,
.tag-row,
.article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.article-dates {
  margin: -4px 0 18px;
  color: #52627a;
  font-size: 14px;
  font-weight: 750;
}

.category-pill,
.model-tag,
.filter-chip,
.model-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.category-pill {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.accent-cyan { color: #075f66; background: rgba(19, 194, 179, 0.14); }
.accent-teal { color: #07665e; background: rgba(20, 184, 166, 0.14); }
.accent-violet { color: #4c3dcf; background: rgba(108, 92, 255, 0.14); }
.accent-pink { color: #9d174d; background: rgba(236, 72, 153, 0.14); }
.accent-orange { color: #9a3412; background: rgba(249, 115, 22, 0.14); }
.accent-green { color: #166534; background: rgba(34, 197, 94, 0.14); }
.accent-steel { color: #334155; background: rgba(100, 116, 139, 0.16); }
.accent-lime { color: #3f6212; background: rgba(132, 204, 22, 0.14); }
.accent-red { color: #991b1b; background: rgba(239, 68, 68, 0.13); }
.accent-amber { color: #92400e; background: rgba(245, 158, 11, 0.16); }

.model-tag {
  min-height: 30px;
  color: #283854;
  border: 1px solid rgba(173, 190, 215, 0.36);
  background: rgba(247, 250, 255, 0.88);
}

.model-tag-row {
  margin-bottom: 16px;
}

.card-ai-provider-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}

.card-ai-provider-row .ai-provider-button {
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  gap: 5px;
  padding: 4px 6px;
  box-shadow: none;
  font-size: 11px;
}

.card-ai-provider-row .ai-provider-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.card-ai-provider-row .ai-provider-icon svg,
.card-ai-provider-row .ai-provider-icon img {
  width: 16px;
  height: 16px;
}

.card-ai-provider-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@container (max-width: 430px) {
  .card-ai-provider-row .ai-provider-button {
    padding: 4px;
  }

  .card-ai-provider-label {
    display: none;
  }
}

.blog-card h3 {
  font-size: 24px;
}

.blog-card p {
  margin-bottom: 0;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.blog-page,
.author-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.blog-page .breadcrumbs,
.author-page .breadcrumbs {
  width: 100%;
  margin: 42px 0 -28px;
}

.blog-hero,
.author-hero {
  padding: 92px 0 36px;
}

.blog-hero-media-layout {
  position: relative;
  overflow: hidden;
  margin-top: 76px;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 7, 18, 0.97), rgba(7, 17, 31, 0.92) 52%, rgba(22, 119, 255, 0.58)),
    #07111f;
  box-shadow: var(--shadow-lg);
}

.blog-hero-media-layout .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.blog-hero-media-layout h1,
.blog-hero-media-layout h2 {
  color: #ffffff;
}

.blog-hero-media-layout .hero-text,
.blog-hero-media-layout p {
  color: rgba(255, 255, 255, 0.80);
}

.blog-hero-media-layout .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.blog-hero-panel h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.12;
}

.blog-hero-image-card,
.media-channel-note-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: #ffffff;
  background: #07111f;
}

.media-channel-note-visual {
  min-height: 310px;
}

.blog-hero-image-card > img,
.media-channel-note-visual > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.blog-hero-image-card::after,
.media-channel-note-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.20), rgba(3, 7, 18, 0.86)),
    linear-gradient(90deg, rgba(3, 7, 18, 0.70), transparent 72%);
  content: "";
}

.blog-hero-image-card > :not(img),
.media-channel-note-visual > :not(img) {
  position: relative;
  z-index: 2;
}

.blog-hero-image-card p,
.media-channel-note-visual p {
  color: rgba(255, 255, 255, 0.82);
}

.mini-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.mini-topic-grid span {
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(241, 246, 255, 0.92);
  color: #34455f;
  font-size: 13px;
  font-weight: 800;
}

.blog-controls {
  padding-top: 42px;
}

.blog-controls-head {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.54fr);
  margin-bottom: 24px;
}

.filter-row,
.model-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip,
.model-filter {
  cursor: pointer;
  border: 1px solid rgba(173, 190, 215, 0.34);
  color: #314057;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover,
.model-filter:hover {
  transform: translateY(-2px);
}

.filter-chip[aria-pressed="true"],
.model-filter[aria-pressed="true"] {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--violet));
}

.model-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
}

.filter-title {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 900;
}

.featured-article {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.featured-article .blog-card-visual {
  aspect-ratio: 16 / 9;
}

.featured-article .blog-card-body {
  padding: 24px;
}

.featured-article .blog-card h3 {
  font-size: 24px;
}

.featured-article > .blog-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 0;
}

.featured-article > .blog-card:last-child:nth-child(3n + 1) .blog-card-visual {
  height: 100%;
  aspect-ratio: auto;
}

.telegram-headlines-section {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(143, 164, 195, 0.26);
  border-bottom: 1px solid rgba(143, 164, 195, 0.26);
}

.telegram-headlines-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.telegram-headlines-header h2 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(30px, 3vw, 40px);
}

@media (min-width: 1180px) {
  .telegram-headlines-header h2 {
    white-space: nowrap;
  }
}

.telegram-headlines-header p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.telegram-channel-link {
  min-height: 46px;
  white-space: nowrap;
}

.telegram-headlines-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: telegram-headline;
}

.telegram-headlines-list li {
  min-width: 0;
  border-top: 1px solid rgba(143, 164, 195, 0.22);
  counter-increment: telegram-headline;
}

.telegram-headlines-list a {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 12px;
  min-height: 88px;
  padding: 16px 0;
  color: var(--text);
  text-decoration: none;
}

.telegram-headlines-list a::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  content: counter(telegram-headline, decimal-leading-zero);
}

.telegram-headlines-list span {
  grid-column: 2;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.telegram-headlines-list time {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.telegram-headlines-list a:hover span,
.telegram-headlines-list a:focus-visible span {
  color: var(--brand);
}

.telegram-headlines-list a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 4px;
}

.telegram-headlines-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 1840px) {
  .blog-desktop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1180px) 300px;
    gap: 0 24px;
    width: calc(100% + 324px);
    align-items: start;
  }

  .blog-primary-intro,
  .blog-primary-feed {
    grid-column: 1;
    min-width: 0;
  }

  .blog-primary-intro {
    grid-row: 1;
  }

  .blog-primary-feed {
    grid-row: 2;
  }

  .telegram-headlines-section {
    position: relative;
    top: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
    max-height: none;
    margin-top: 76px;
    padding: 4px 0 4px 24px;
    overflow: visible;
    border: 0;
    border-left: 1px solid rgba(143, 164, 195, 0.34);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .telegram-headlines-header {
    display: block;
    margin-bottom: 12px;
  }

  .telegram-headlines-header h2 {
    margin-bottom: 8px;
    font-size: 26px;
    line-height: 1.12;
    white-space: normal;
  }

  .telegram-headlines-header p:last-child {
    font-size: 14px;
    line-height: 1.45;
  }

  .telegram-channel-link {
    width: auto;
    min-height: 42px;
    margin-top: 16px;
    padding: 0;
    color: var(--brand);
    background: transparent;
    box-shadow: none;
  }

  .telegram-headlines-list {
    grid-template-columns: 1fr;
  }

  .telegram-headlines-list a {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 3px 8px;
    min-height: 0;
    padding: 12px 0;
  }

  .telegram-headlines-list span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .telegram-headlines-list time,
  .telegram-headlines-list a::before,
  .telegram-headlines-note {
    font-size: 11px;
  }
}

.blog-empty {
  margin: 24px 0 0;
  text-align: center;
  font-weight: 800;
}

.blog-bottom-cta,
.article-cta {
  position: relative;
  overflow: hidden;
  margin: 18px 0 58px;
  padding: 44px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #07111f, #1677ff 62%, #6c5cff);
  box-shadow: var(--shadow-lg);
}

.blog-bottom-cta p,
.article-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.blog-bottom-cta .eyebrow,
.article-cta .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.blog-bottom-cta h2,
.article-cta h2 {
  max-width: 840px;
  color: #ffffff;
}

.blog-bottom-cta .button.primary,
.article-cta .button.primary {
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: none;
}

.cta-bot {
  background: linear-gradient(135deg, var(--brand), var(--violet) 66%, #0759d6);
}

.cta-channel {
  background: linear-gradient(135deg, #07111f, #1677ff 58%, #13c2b3);
}

/* Compact task-selection CTA shared by every generated article template. */
.article-cta.cta-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  grid-template-rows: auto auto auto;
  gap: 8px 28px;
  align-items: center;
  margin: 30px 0 48px;
  padding: 26px 28px;
  overflow: visible;
  border: 1px solid rgba(22, 119, 255, 0.24);
  border-left: 4px solid #13a7b8;
  border-radius: 8px;
  color: #071326;
  background: #f4f8ff;
  box-shadow: var(--shadow-sm);
}

.article-cta.cta-selection .eyebrow {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
  margin: 0;
  color: #0759d6;
  background: #e1edff;
}

.article-cta.cta-selection h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 720px;
  margin: 0;
  color: #071326;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.14;
}

.article-cta.cta-selection p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 3;
  max-width: 680px;
  margin: 0;
  color: #526783;
  line-height: 1.5;
}

.article-cta.cta-selection > .button {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 7px;
  line-height: 1.25;
  text-align: center;
}

.article-cta.cta-selection > .button.primary {
  grid-column: 2;
  grid-row: 2;
  color: #ffffff;
  background: #126cf3;
  box-shadow: 0 8px 18px rgba(18, 108, 243, 0.16);
}

.article-cta.cta-selection > .button.secondary {
  grid-column: 2;
  grid-row: 3;
  border: 1px solid rgba(22, 119, 255, 0.28);
  color: #0759d6;
  background: #ffffff;
  box-shadow: none;
}

.article-channel-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 650px);
  margin-top: 22px;
}

.article-channel-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-channel-action:hover,
.article-channel-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 20, 42, 0.24);
}

.article-channel-action img {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .article-channel-actions {
    grid-template-columns: 1fr;
  }

  .article-channel-action {
    justify-content: flex-start;
  }
}

.blog-article {
  max-width: 940px;
}

.blog-article .breadcrumbs {
  width: 100%;
  margin: 0 0 26px;
}

.article-header {
  padding-bottom: 30px;
}

.article-header-media {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 8%, rgba(54, 211, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #050506 0%, #07111f 48%, #111827 100%);
  box-shadow: var(--shadow-lg);
}

.article-header-copy {
  min-width: 0;
}

.article-header-media .article-meta,
.article-header-media .article-dates,
.article-header-media .model-tag-row {
  color: rgba(255, 255, 255, 0.78);
}

.article-header-media .article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 18px;
  font-size: 14px;
}

.article-header-media h1 {
  color: #ffffff;
}

.article-header h1 {
  min-width: 0;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.article-lead {
  max-width: 780px;
  color: #42516a;
  font-size: 20px;
}

.article-header-media .article-lead {
  color: rgba(255, 255, 255, 0.82);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  font-style: normal;
}

.article-header-media .author-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.author-card .author-avatar {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.author-card div {
  display: grid;
  gap: 4px;
}

.author-card strong {
  font-size: 18px;
}

.author-card span {
  color: var(--muted);
}

.article-header-media .author-card span {
  color: rgba(255, 255, 255, 0.66);
}

.author-card a {
  margin-left: auto;
  color: var(--brand-dark);
  font-weight: 900;
}

.article-header-media .author-card a {
  color: #ffffff;
}

.mentioned-models {
  margin: 8px 0 28px;
  padding: 22px;
}

.mentioned-models h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.article-body {
  padding-top: 6px;
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
  padding: 18px;
  border-radius: 22px;
  background: #f4f7fb;
}

.article-toc strong {
  flex-basis: 100%;
  color: #0f172a;
}

.article-toc a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #1f3b67;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.blog-article .article-section p {
  color: #34455f;
  font-size: 18px;
}

.blog-article .article-section h3 {
  margin: 34px 0 14px;
  line-height: 1.2;
}

.blog-article .article-section > ul,
.blog-article .article-section > ol {
  margin: 14px 0 30px;
  padding-left: 26px;
}

.blog-article .article-section > ul:not(.article-source-list) {
  padding-left: 0;
  list-style: none;
}

.blog-article .article-section > ul:not(.article-source-list) > li {
  position: relative;
  padding-left: 24px;
}

.blog-article .article-section > ul:not(.article-source-list) > li::before {
  position: absolute;
  top: 0.72em;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #159be8;
  content: "";
  transform: translateY(-50%);
}

.blog-article .article-section li {
  padding-left: 5px;
  color: #34455f;
  line-height: 1.6;
}

.blog-article .article-section li + li {
  margin-top: 8px;
}

.checklist-block-title {
  margin: 28px 0 12px;
  color: #14213a;
  font-size: 19px;
  line-height: 1.35;
}

.blog-article .article-section blockquote,
.blog-article .article-section .expert-note {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 24px 64px 24px 28px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-left: 5px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: #f4f8ff;
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.08);
  color: #17243a;
}

.blog-article .article-section .expert-note {
  border-color: rgba(28, 180, 155, 0.2);
  border-left-color: #20bca4;
  background: #f1fbf8;
  box-shadow: 0 12px 32px rgba(28, 180, 155, 0.08);
}

.blog-article .article-section blockquote::before {
  position: absolute;
  top: 8px;
  right: 20px;
  color: rgba(22, 119, 255, 0.18);
  content: "“";
  font-family: Georgia, serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
}

.editorial-quote-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-article .article-section .expert-note .editorial-quote-label {
  color: #087d6d;
}

.blog-article .article-section .editorial-quote p,
.blog-article .article-section .expert-note p {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #17243a;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.55;
}

.editorial-quote footer,
.expert-note footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.4;
}

.editorial-quote-author {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.editorial-quote-author:hover cite,
.editorial-quote-author:focus-visible cite {
  color: var(--brand-dark);
  text-decoration: underline;
}

.editorial-quote-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.editorial-quote-author > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.editorial-quote cite,
.expert-note cite {
  color: #17243a;
  font-style: normal;
  font-weight: 850;
}

.blog-article .article-section blockquote em {
  position: relative;
  z-index: 1;
  display: block;
  color: inherit;
  font-size: 17px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.65;
}

.editorial-takeaway {
  margin: -16px 0 30px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.editorial-takeaway strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-article .article-section .editorial-takeaway p {
  margin: 0;
  color: #34455f;
  font-size: 16px;
  line-height: 1.6;
}

.article-source-list {
  display: grid;
  gap: 12px;
  padding: 0 !important;
  list-style: none;
}

.blog-article .article-section .article-source-list li {
  margin: 0;
  padding: 0;
}

.article-source-list a {
  position: relative;
  display: block;
  padding: 16px 50px 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: #1559c7;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-source-list a::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "↗";
  font-size: 20px;
  transform: translateY(-50%);
}

.article-source-list a:hover,
.article-source-list a:focus-visible {
  border-color: rgba(22, 119, 255, 0.42);
  box-shadow: 0 10px 28px rgba(22, 119, 255, 0.1);
  transform: translateY(-2px);
}

.article-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 8px;
  padding: 24px;
  border: 1px solid rgba(22, 119, 255, 0.22);
  border-radius: 18px;
  background: #eef5ff;
}

.article-selection-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 30px 0;
  padding: 26px 28px;
  border: 1px solid rgba(22, 119, 255, 0.24);
  border-left: 4px solid #13a7b8;
  border-radius: 8px;
  background: #f4f8ff;
}

.article-selection-cta .eyebrow {
  width: fit-content;
  margin: 0 0 8px;
  color: #0759d6;
  background: #e1edff;
}

.article-selection-cta h2 {
  margin: 0;
  color: #071326;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
}

.article-selection-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 8px 0 0;
  color: #526783;
  line-height: 1.55;
}

.article-selection-cta .button {
  flex: 0 0 auto;
}

.article-selection-cta--end {
  margin-top: 42px;
  background: #edf5ff;
}

.article-top-ranking {
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.article-top-ranking > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(173, 190, 215, 0.34);
  background: #f4f8ff;
}

.article-top-ranking .eyebrow {
  width: fit-content;
  margin: 0 0 8px;
}

.article-top-ranking h2 {
  margin: 0;
  color: #071326;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.article-top-ranking > header > p {
  flex: 0 1 52%;
  max-width: 520px;
  margin: 0;
  color: #5c6f8b;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.article-top-ranking > header a {
  color: #0759d6;
  font-weight: 800;
}

.article-ranking-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-ranking-item {
  display: grid;
  grid-template-columns: 48px minmax(210px, 0.85fr) minmax(0, 2.15fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(173, 190, 215, 0.28);
}

.article-ranking-item:last-child {
  border-bottom: 0;
}

.article-ranking-item::before {
  content: none !important;
}

.article-ranking-number {
  color: #0759d6;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.article-ranking-identity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.article-ranking-logo {
  display: block;
  width: 42px;
  height: 42px;
  padding: 6px;
  border: 1px solid rgba(173, 190, 215, 0.42);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.article-ranking-model strong,
.article-ranking-model span {
  display: block;
}

.article-ranking-model {
  min-width: 0;
}

.article-ranking-model strong {
  color: #101d32;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-ranking-model span {
  margin-top: 4px;
  color: #6a7b94;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.article-ranking-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 12px 28px;
  margin: 0;
}

.article-ranking-metrics div {
  min-width: 0;
}

.article-ranking-metrics div + div {
  padding-left: 20px;
  border-left: 1px solid rgba(173, 190, 215, 0.38);
}

.article-ranking-metrics dt {
  color: #6a7b94;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-ranking-metrics dd {
  margin: 4px 0 0;
  color: #22334f;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.article-inline-cta {
  display: flex;
  margin: 24px 0;
}

.article-inline-cta .button {
  width: auto;
}

.article-download-label {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-article .article-section .article-download h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.blog-article .article-section .article-download p {
  max-width: 680px;
  margin: 0;
  font-size: 16px;
}

.article-download .button {
  flex: 0 0 auto;
}

.article-section {
  scroll-margin-top: 120px;
}

.article-faq {
  margin-top: 34px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.13), transparent 34%),
    #f4f7fb;
}

.faq-item {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  padding: 18px 0;
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item summary {
  cursor: pointer;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.faq-item p {
  margin-top: 12px;
}

.article-cover {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 30px;
  background: #07111f;
  box-shadow: var(--shadow-lg);
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-cover-inline {
  position: sticky;
  top: 112px;
  margin: 0;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.article-cover-inline img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 68% 22%, rgba(54, 211, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.article-header-wide {
  grid-template-columns: 1fr;
}

.article-cover-wide {
  margin: 2px 0 0;
  border-radius: 20px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
}

.article-cover-wide img {
  height: auto;
  aspect-ratio: 2137 / 736;
  object-fit: contain;
  background:
    radial-gradient(circle at 70% 20%, rgba(54, 211, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.article-cover-portrait-source {
  background: #0b1220;
}

.article-cover-portrait-source img {
  width: 100%;
  height: min(78vh, 760px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #0b1220;
}

.article-figure {
  margin: 30px 0 10px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(239, 68, 68, 0.26);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
}

.article-figure figcaption {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.article-figure-portrait {
  width: min(100%, 560px);
  margin-inline: auto;
}

.article-figure-portrait img {
  max-height: 760px;
  object-fit: contain;
}

.article-video {
  margin: 32px 0 12px;
}

.article-video video {
  display: block;
  width: 100%;
  max-height: 76vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(22, 119, 255, 0.20);
  border-radius: 12px;
  background: #050505;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
}

.article-video figcaption {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.article-table-wrap {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: #ffffff;
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  color: #34455f;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: #0f172a;
  background: #f4f7fb;
  font-size: 14px;
  font-weight: 800;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .back-to-top-button {
    display: none;
  }

  .article-table-wrap,
  .gemini-benchmark-table-wrap,
  .claude-benchmark-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .responsive-data-table {
    display: block;
    min-width: 0 !important;
    border-collapse: separate;
  }

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

  .responsive-data-table tbody {
    display: grid;
    gap: 12px;
  }

  .responsive-data-table tbody tr {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(93, 129, 184, 0.24);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(32, 67, 119, 0.07);
  }

  .responsive-data-table tbody th[scope="row"] {
    display: block;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid rgba(93, 129, 184, 0.2);
    background: #edf4ff;
    color: #10284d;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .responsive-data-table tbody td {
    display: grid;
    grid-template-columns: minmax(104px, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
    padding: 11px 16px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #1d3557;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .responsive-data-table tbody td::before {
    content: attr(data-label);
    color: #61728c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
  }

  .responsive-data-table tbody td:last-child {
    border-bottom: 0;
  }
}

.article-takeaway {
  margin: 28px 0 6px;
  padding: 22px 24px;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  background: #fff5f5;
}

.article-takeaway strong {
  display: block;
  margin-bottom: 8px;
  color: #991b1b;
  font-size: 14px;
  text-transform: uppercase;
}

.article-takeaway p {
  margin: 0;
}

.article-sources .source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
}

.article-sources .source-list li {
  position: relative;
  padding-left: 22px;
  color: #52627a;
  line-height: 1.65;
}

.article-sources .source-list li::before {
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1677ff;
  content: "";
}

.article-sources .source-list a {
  display: inline;
  overflow-wrap: anywhere;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(22, 119, 255, 0.32);
  text-underline-offset: 3px;
}

.category-hero {
  position: relative;
  overflow: hidden;
  margin-top: 76px;
  padding: 48px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.20), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(241, 246, 255, 0.82));
  box-shadow: var(--shadow-md);
}

.related-articles {
  margin: 34px 0;
}

.related-articles h2 {
  font-size: 34px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
}

.related-card span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  font-size: 18px;
  line-height: 1.22;
}

.gdebenz-bot-section {
  display: grid;
  gap: 22px;
}

.gdebenz-bot-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.84)),
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.14), transparent 36%);
  box-shadow: 0 24px 64px rgba(31, 68, 118, 0.10);
}

.gdebenz-bot-intro {
  min-width: 0;
}

.gdebenz-bot-intro h2 {
  max-width: 760px;
  margin: 10px 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.gdebenz-bot-intro p {
  max-width: 760px;
  margin: 0;
  color: #4d6079;
  font-size: 19px;
  line-height: 1.65;
}

.gdebenz-bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.gdebenz-bot-flow {
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.gdebenz-bot-flow span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #0e62d2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gdebenz-bot-flow ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: #182235;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.42;
}

.gdebenz-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gdebenz-feature-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(31, 68, 118, 0.08);
}

.gdebenz-feature-card span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: rgba(22, 119, 255, 0.10);
  color: #0e62d2;
  font-size: 13px;
  font-weight: 900;
}

.gdebenz-feature-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.gdebenz-feature-card p {
  margin: 0;
  color: #52647e;
  font-size: 15px;
  line-height: 1.55;
}

.gdebenz-feature-card.warning {
  border-color: rgba(235, 92, 64, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 246, 242, 0.82));
}

.gdebenz-feature-card.warning span {
  background: rgba(235, 92, 64, 0.10);
  color: #c94b32;
}

.gdebenz-user-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid rgba(21, 154, 136, 0.18);
  border-radius: 22px;
  background: rgba(235, 255, 250, 0.78);
  color: #30445f;
  font-size: 17px;
  line-height: 1.55;
}

.gdebenz-user-note strong {
  color: var(--text);
}

.category-hub-feature {
  padding-top: 0;
}

.category-hub-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 320px;
  padding: 34px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 28px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 64px rgba(31, 68, 118, 0.12);
}

.category-hub-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-hub-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 22, 0.90), rgba(5, 11, 22, 0.54) 54%, rgba(5, 11, 22, 0.16)),
    radial-gradient(circle at 20% 20%, rgba(22, 119, 255, 0.30), transparent 32%);
}

.category-hub-card > *:not(img) {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.category-hub-card .eyebrow {
  width: fit-content;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.12);
}

.category-hub-card h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.category-hub-card p {
  margin: 0;
  color: rgba(235, 244, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.category-hub-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #0b5ed7;
  background: #ffffff;
  font-weight: 900;
}

.category-hub-card:hover img {
  transform: scale(1.04);
}

.category-hub-card-google {
  align-content: center;
  border-color: rgba(66, 133, 244, 0.24);
  background:
    radial-gradient(circle at 82% 28%, rgba(66, 133, 244, 0.16), transparent 30%),
    linear-gradient(135deg, #f8fbff, #eef5ff 54%, #f9fbff);
}

.category-hub-card-google::after {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0 56%, rgba(248, 251, 255, 0.74) 72%, rgba(248, 251, 255, 0.3));
}

.category-hub-card-google img {
  inset: 50% 5% auto auto;
  width: min(30%, 250px);
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 32px rgba(66, 133, 244, 0.2));
}

.category-hub-card-google:hover img {
  transform: translateY(-50%) scale(1.04);
}

.category-hub-card-google > *:not(img) {
  max-width: 64%;
}

.category-hub-card-google .eyebrow {
  color: #0b5ed7;
  background: #e7f0ff;
}

.category-hub-card-google h2 {
  color: #111c30;
}

.category-hub-card-google p {
  color: #4e607a;
}

.category-hub-card-google .category-hub-link {
  border: 1px solid rgba(66, 133, 244, 0.2);
  box-shadow: 0 10px 26px rgba(46, 94, 169, 0.1);
}

.openai-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.openai-hub-hero h1 {
  max-width: 940px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
}

.openai-hub-hero .hero-text {
  max-width: 860px;
  line-height: 1.65;
}

.openai-hub-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(31, 68, 118, 0.14);
}

.openai-hub-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.google-development-hub .google-hub-visual {
  display: grid;
  min-height: 360px;
  place-items: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(66, 133, 244, 0.2), transparent 34%),
    linear-gradient(135deg, #f8fbff, #eaf3ff);
}

.google-development-hub .google-hub-visual img {
  width: min(48%, 220px);
  height: auto;
  padding: 18px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(66, 133, 244, 0.22));
}

.openai-context-grid,
.openai-topic-grid,
.openai-method-list {
  display: grid;
  gap: 14px;
}

.openai-context-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.openai-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.openai-context-grid article,
.openai-topic-grid article,
.openai-method-list div {
  padding: 22px;
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(31, 68, 118, 0.08);
}

.openai-context-grid span,
.openai-topic-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: #0e62d2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.openai-context-grid p,
.openai-topic-grid p,
.openai-method-list span {
  margin: 0;
  color: #52647e;
  line-height: 1.55;
}

.openai-topic-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.openai-method-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.openai-method-list div {
  display: grid;
  gap: 10px;
}

.openai-method-list strong {
  font-size: 20px;
}

@media (max-width: 1024px) {
  .openai-hub-hero,
  .openai-context-grid,
  .openai-method-list {
    grid-template-columns: 1fr;
  }

  .openai-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .category-hub-card {
    min-height: 360px;
    padding: 24px;
  }

  .category-hub-card p {
    font-size: 17px;
  }

  .category-hub-card-google {
    min-height: 430px;
    align-content: end;
  }

  .category-hub-card-google::after {
    background: linear-gradient(0deg, rgba(248, 251, 255, 0.99) 0 68%, rgba(248, 251, 255, 0.58));
  }

  .category-hub-card-google img {
    inset: 28px 24px auto auto;
    width: 112px;
    transform: none;
  }

  .category-hub-card-google:hover img {
    transform: scale(1.03);
  }

  .category-hub-card-google > *:not(img) {
    max-width: none;
  }

  .openai-topic-grid {
    grid-template-columns: 1fr;
  }

  .openai-hub-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .google-development-hub .google-hub-visual {
    min-height: 240px;
  }
}

.author-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 76px;
  padding: 42px;
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(54, 211, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #050506, #07111f 58%, #172033);
  box-shadow: var(--shadow-lg);
}

.author-hero h1,
.author-hero .author-role {
  color: #ffffff;
}

.author-hero .hero-text {
  color: rgba(255, 255, 255, 0.76);
}

.author-avatar-large {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  font-size: 34px;
}

.author-profile-card {
  align-self: stretch;
}

.author-avatar.large {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  font-size: 28px;
}

.author-profile-page .breadcrumbs {
  margin-bottom: 0;
}

.author-profile-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 56px;
  padding: 28px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 12%, rgba(54, 211, 255, 0.24), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(22, 119, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #050506 0%, #07111f 52%, #111827 100%);
  box-shadow: var(--shadow-lg);
}

.author-photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.author-photo-card picture,
.author-photo-card img {
  display: block;
  width: 100%;
}

.author-photo-card img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.author-photo-card figcaption {
  padding: 16px 18px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.author-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 12px 18px 0;
}

.author-profile-copy .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.author-profile-copy h1 {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.94;
}

.author-alt-name {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 900;
}

.author-profile-copy .author-role {
  max-width: 760px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.author-profile-copy .hero-text {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.78);
}

.author-badges,
.author-socials,
.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-badges {
  margin-top: 22px;
}

.author-badges span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.author-socials {
  margin-top: 24px;
}

.author-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #07111f;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-socials a:hover,
.author-socials a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.author-content-section {
  margin: 58px 0;
}

.author-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.author-bio,
.author-approach-panel,
.author-team-card {
  padding: 28px;
  border: 1px solid rgba(173, 190, 215, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.author-bio p,
.author-approach-panel p {
  color: #34455f;
  font-size: 18px;
  line-height: 1.72;
}

.author-bio p + p,
.author-approach-panel p + p {
  margin-top: 16px;
}

.expertise-list,
.proof-grid {
  display: grid;
  gap: 14px;
}

.expertise-card,
.proof-card {
  padding: 22px;
  border: 1px solid rgba(173, 190, 215, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-sm);
}

.expertise-card h3,
.proof-card h3,
.author-team-card h3 {
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 20px;
}

.expertise-card p,
.proof-card p,
.author-team-card p {
  color: #52627a;
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.proof-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card a,
.proof-links a {
  width: fit-content;
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 900;
}

.proof-links {
  margin-top: auto;
}

.proof-links a {
  margin-top: 0;
}

.author-topic-card {
  min-height: 0;
}

.author-empty-state {
  padding: 28px;
  border: 1px dashed rgba(22, 119, 255, 0.34);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.author-empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 20px;
}

.author-empty-state p {
  max-width: 760px;
  color: #52627a;
}

.authors-directory-hero {
  max-width: 1040px;
  margin: 64px 0 54px;
}

.authors-directory-hero h1 {
  max-width: 980px;
  margin-top: 14px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
}

.authors-directory-hero > p:last-child {
  max-width: 820px;
  margin-top: 22px;
  color: #52627a;
  font-size: 20px;
  line-height: 1.6;
}

.authors-directory-section {
  margin: 48px 0 64px;
}

.authors-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.author-directory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(173, 190, 215, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-directory-card:hover,
.author-directory-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.author-directory-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #07111f;
}

.author-directory-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.3s ease;
}

.author-directory-card:hover .author-directory-media img,
.author-directory-card:focus-within .author-directory-media img {
  transform: scale(1.025);
}

.editorial-media {
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(54, 211, 255, 0.30), transparent 30%),
    linear-gradient(135deg, #050506, #07111f 58%, #1677ff);
}

.author-directory-media.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-author-page .breadcrumbs {
  margin: 42px 0 0;
}

.editorial-author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  margin-top: 32px;
  padding: 48px;
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(54, 211, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #050506, #07111f 60%, #12304a);
  box-shadow: var(--shadow-lg);
}

.editorial-author-copy {
  min-width: 0;
}

.editorial-author-hero h1 {
  max-width: 760px;
  margin: 20px 0;
  color: #ffffff;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 0.98;
  overflow-wrap: normal;
}

.editorial-author-hero .hero-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  font-weight: 750;
}

.editorial-author-copy > p:not(.eyebrow):not(.hero-text) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 1.65;
}

.editorial-author-summary {
  display: grid;
  gap: 16px;
  align-content: center;
  min-width: 0;
  min-height: 100%;
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.editorial-author-logo {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.editorial-author-summary strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.editorial-author-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .editorial-author-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .editorial-author-summary {
    min-height: 0;
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .editorial-author-page .breadcrumbs {
    margin-top: 24px;
  }

  .editorial-author-hero {
    margin-top: 24px;
    padding: 26px 22px;
    border-radius: 18px;
  }

  .editorial-author-hero h1 {
    font-size: 42px;
  }

  .editorial-author-hero .hero-actions {
    display: grid;
  }

  .editorial-author-hero .hero-actions .button {
    width: 100%;
  }

  .editorial-author-logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }
}

.author-directory-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
}

.author-directory-body .eyebrow {
  align-self: flex-start;
  margin-bottom: 14px;
}

.author-directory-body h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.08;
}

.author-directory-body h3 a {
  color: #0f172a;
}

.author-directory-role {
  margin-bottom: 14px;
  color: #24334a;
  font-weight: 800;
  line-height: 1.45;
}

.author-directory-body > p:not(.eyebrow):not(.author-directory-role) {
  margin-bottom: 24px;
  color: #607089;
  line-height: 1.6;
}

.author-directory-body .button {
  width: fit-content;
  margin-top: auto;
}

.authors-directory-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.author-profile-page .author-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.author-team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.author-final-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.ai-ready-section {
  margin: 24px 0 34px;
}

.article-ai-compact {
  margin-top: 18px;
}

.ai-summary-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(173, 190, 215, 0.26);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.article-header-media + .ai-ready-section .ai-summary-toolbar {
  background: rgba(255, 255, 255, 0.82);
}

.ai-ask-heading {
  min-width: 0;
}

.ai-ask-heading strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.22;
}

.ai-ask-heading span {
  display: block;
  margin-top: 4px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.45;
}

.ai-provider-button:hover,
.ai-provider-button:focus-visible {
  transform: translateY(-2px);
}

.ai-provider-button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.24);
  outline-offset: 3px;
}

.ai-ask-inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: flex-end;
}

.ai-ask-inline-label {
  color: #52627a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-context-section {
  width: min(1180px, 100%);
}

.ai-context-section.ai-ready-section {
  margin-top: 18px;
  margin-bottom: 28px;
}

.ai-context-section .ai-summary-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.ai-context-copy {
  flex: initial;
  min-width: 0;
}

.ai-context-copy h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.ai-context-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #52627a;
}

.ai-context-section .ai-ask-inline {
  flex: initial;
  width: 100%;
  justify-content: flex-end;
  padding: 10px;
  border: 1px solid rgba(173, 190, 215, 0.22);
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.76);
}

.ai-context-section .ai-ask-inline-label {
  flex: 0 0 auto;
}

.ai-context-section .ai-provider-row {
  justify-content: flex-end;
}

.ai-provider-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
}

.ai-provider-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: 8px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(173, 190, 215, 0.30);
  border-radius: 999px;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(28, 56, 95, 0.10);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-provider-button:hover {
  border-color: rgba(22, 119, 255, 0.34);
  box-shadow: 0 16px 36px rgba(28, 56, 95, 0.16);
}

.ai-provider-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
  font-size: 0;
  font-weight: 900;
}

.ai-provider-icon svg,
.ai-provider-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.ai-provider-icon img {
  object-fit: contain;
}

.ai-provider-alice .ai-provider-icon {
  color: #3b82f6;
}

.ai-provider-deepseek .ai-provider-icon {
  background: #f4f7ff;
}

.ai-provider-perplexity .ai-provider-icon {
  color: #111827;
}

.ai-ask-note {
  display: block;
  margin-top: 8px;
  color: #75839a;
  font-size: 13px;
}

.author-card .author-name-link {
  margin-left: 0;
  color: inherit;
  font-weight: inherit;
}

.article-header-media .author-card .author-name-link {
  color: #ffffff;
}

@media (max-width: 1020px) {
  .blog-card-grid,
  .featured-article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-article > .blog-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
    display: flex;
  }

  .featured-article > .blog-card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 0;
  }

  .featured-article > .blog-card:last-child:nth-child(2n + 1) .blog-card-visual {
    height: 100%;
    aspect-ratio: auto;
  }

  .ai-context-section .ai-summary-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ai-context-section .ai-ask-inline,
  .ai-context-section .ai-provider-row {
    justify-content: flex-start;
  }

  .author-profile-hero,
  .author-two-column,
  .proof-grid,
  .author-team-card,
  .author-final-cta,
  .authors-directory-cta {
    grid-template-columns: 1fr;
  }

  .authors-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-profile-copy {
    padding: 0;
  }

  .author-profile-page .author-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-team-card,
  .author-final-cta,
  .authors-directory-cta {
    align-items: flex-start;
  }

  .ai-ask-inline {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .featured-article > .blog-card:last-child:nth-child(2n + 1) {
    grid-column: auto;
    display: flex;
    min-height: 430px;
  }

  .featured-article > .blog-card:last-child:nth-child(2n + 1) .blog-card-visual {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .ai-context-section.ai-ready-section {
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .ai-context-section .ai-summary-toolbar {
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
  }

  .ai-context-copy h2 {
    font-size: 26px;
  }

  .ai-context-section .ai-ask-inline {
    display: grid;
    gap: 10px;
    padding: 10px;
  }

  .ai-context-section .ai-ask-inline-label {
    font-size: 12px;
  }

  .ai-context-section .ai-provider-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .ai-context-section .ai-provider-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 7px;
  }

  .ai-context-section .ai-provider-button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .authors-directory-hero {
    margin: 38px 0 42px;
  }

  .authors-directory-hero h1 {
    font-size: 42px;
  }

  .authors-directory-hero > p:last-child {
    font-size: 17px;
  }

  .authors-directory-grid {
    grid-template-columns: 1fr;
  }

  .author-directory-body {
    padding: 20px;
  }

  .authors-directory-cta {
    flex-direction: column;
  }

  .author-profile-hero {
    margin-top: 34px;
    padding: 18px;
    border-radius: 28px;
  }

  .author-profile-copy h1 {
    font-size: 48px;
  }

  .author-profile-copy {
    order: -1;
  }

  .author-photo-card {
    order: 2;
  }

  .author-profile-copy .author-role {
    font-size: 18px;
  }

  .author-bio,
  .author-approach-panel,
  .author-team-card,
  .expertise-card,
  .proof-card {
    padding: 20px;
  }

  .author-profile-page .author-article-grid {
    grid-template-columns: 1fr;
  }

  .author-final-cta {
    flex-direction: column;
  }

  .ai-summary-toolbar,
  .ai-ask-inline,
  .ai-provider-row {
    width: 100%;
  }

  .ai-provider-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-provider-button {
    justify-content: center;
  }

}

@media (max-width: 1040px) {
  .prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-header {
    border-radius: 24px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero,
  .split,
  .pricing-grid,
  .steps,
  .portal-journey .steps,
  .network-grid,
  .article-grid,
  .blog-card-grid,
  .media-preview-head,
  .blog-hero,
  .blog-controls-head,
  .author-hero,
  .article-header-media,
  .featured-article,
  .model-filter-panel,
  .related-grid,
  .gdebenz-bot-panel,
  .gdebenz-feature-grid,
  .ai-model-grid,
  .seo-copy-grid,
  .model-hero,
  .model-detail {
    grid-template-columns: 1fr;
  }

  .portal-preview .chat-area {
    min-height: 330px;
  }

  .article-cover-inline {
    position: relative;
    top: auto;
  }

  .article-cover-inline img {
    aspect-ratio: 16 / 10;
  }

  .seo-copy-block {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .seo-copy-block::before {
    grid-column: 1;
    grid-row: 1;
  }

  .seo-copy-block h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .seo-copy-block .seo-lead,
  .seo-quick,
  .seo-copy-block details {
    grid-column: 1 / -1;
  }

  .seo-copy-block .seo-lead {
    grid-row: 2;
  }

  .seo-quick {
    grid-row: 3;
  }

  .seo-copy-block details {
    grid-row: 4;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .ai-orb {
    top: -22px;
    right: 50%;
    width: 240px;
    height: 240px;
    transform: translateX(50%);
    opacity: 0.58;
  }

  .phone-shell {
    margin: 0 auto;
  }

  .price-card,
  .steps article {
    min-height: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .blog-page,
  .author-page {
    width: min(100% - 24px, 1180px);
  }

  .filter-row,
  .model-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .filter-chip,
  .model-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .featured-article .blog-card-visual {
    min-height: 190px;
  }

  .telegram-headlines-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .telegram-channel-link {
    justify-self: start;
  }

  .telegram-headlines-list {
    grid-template-columns: 1fr;
  }

  .article-cover-inline {
    position: relative;
    top: auto;
  }

  .blog-hero-media-layout {
    margin-top: 52px;
    padding: 32px;
  }

  .blog-hero-image-card,
  .media-channel-note-visual {
    min-height: 300px;
  }

  .author-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-card a {
    margin-left: 0;
  }
}

/* Neural network hub and compact navigation dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  right: -10px;
  left: -10px;
  z-index: 39;
  height: 24px;
  content: "";
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-toggle::before {
  position: absolute;
  top: 8px;
  left: 9px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle::before {
  top: 11px;
  transform: rotate(225deg);
}

.nav-dropdown-toggle:focus-visible,
.nav-dropdown-menu a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.28);
  outline-offset: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 56px rgba(28, 56, 95, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #24344e;
  white-space: nowrap;
}

.site-nav .nav-dropdown-menu a:hover {
  background: #eef5ff;
}

.network-hub-page {
  overflow: hidden;
}

.network-hub-hero,
.network-hub-page .section,
.network-hub-page .final-cta,
.network-hub-page .network-hub-cta {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.network-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
  padding: 88px 0 58px;
}

.network-hub-hero h1 {
  max-width: 880px;
  margin: 12px 0 24px;
  font-size: 58px;
  line-height: 1.02;
}

.network-hub-hero .hero-text {
  max-width: 780px;
}

.network-hub-visual {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 28px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 24px;
  background: #f2f6fc;
  box-shadow: var(--shadow-md);
}

.network-visual-header {
  display: grid;
  gap: 5px;
}

.network-visual-header span {
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.network-visual-header strong {
  color: #0d1728;
  font-size: 24px;
  line-height: 1.15;
}

.network-route-list {
  display: grid;
  gap: 8px;
}

.network-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px 126px;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(39, 68, 109, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.network-route-task {
  color: #34445e;
  font-size: 14px;
  font-weight: 750;
}

.network-route-arrow {
  color: #7d8da5;
  font-size: 18px;
  text-align: center;
}

.network-route-model {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111c2f;
  font-size: 14px;
  font-weight: 900;
}

.network-model-mark {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.network-model-mark.has-logo {
  padding: 5px;
  border: 1px solid rgba(39, 68, 109, 0.12);
  background: #ffffff;
}

.network-model-mark.has-logo img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mark-gpt {
  background: #111827;
}

.mark-gemini {
  background: #2869e8;
}

.mark-deepseek {
  background: #7057e8;
}

.mark-sonar {
  background: #138f91;
}

.network-visual-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.network-visual-summary span {
  padding: 12px;
  border-radius: 12px;
  background: #e8f1ff;
  color: #40516c;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.network-visual-summary strong {
  color: #1265d6;
  font-size: 18px;
}

.network-visual-more {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.network-task-links a,
.network-card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  background: #ffffff;
  color: #34445e;
  font-size: 13px;
  font-weight: 800;
}

.network-task-picker {
  padding-top: 34px;
  padding-bottom: 30px;
}

.network-task-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.network-task-links a {
  min-height: 44px;
  padding: 11px 16px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.network-task-links a:hover,
.network-task-links a:focus-visible {
  color: var(--brand-dark);
  border-color: rgba(22, 119, 255, 0.38);
  transform: translateY(-2px);
}

.network-catalog-section {
  padding-top: 62px;
}

.network-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.network-catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-top: 4px solid var(--network-accent, #1677ff);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(28, 56, 95, 0.1);
  scroll-margin-top: 120px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.network-catalog-card:hover,
.network-catalog-card:target {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(28, 56, 95, 0.16);
}

.network-catalog-card.accent-gpt { --network-accent: #111827; }
.network-catalog-card.accent-claude { --network-accent: #c86546; }
.network-catalog-card.accent-gemini { --network-accent: #4f75d8; }
.network-catalog-card.accent-deepseek { --network-accent: #17858b; }
.network-catalog-card.accent-alice { --network-accent: #7657ff; }
.network-catalog-card.accent-perplexity { --network-accent: #191919; }
.network-catalog-card.accent-sonar { --network-accent: #1677ff; }
.network-catalog-card.accent-venice { --network-accent: #d15b74; }
.network-catalog-card.accent-tng { --network-accent: #4c8d50; }

.network-card-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.network-card-icon {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #f4f7fb;
}

.network-card-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.network-card-initials {
  color: var(--network-accent);
  font-size: 16px;
  font-weight: 900;
}

.network-card-kicker {
  display: block;
  margin-bottom: 3px;
  color: #667792;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.network-catalog-card h2 {
  margin: 0;
  font-size: 27px;
}

.network-catalog-card > p {
  min-height: 96px;
  margin: 0 0 20px;
  color: #53647c;
  font-size: 15px;
  line-height: 1.55;
}

.network-catalog-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.network-catalog-card dl div {
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.network-catalog-card dt {
  margin-bottom: 4px;
  color: #74839a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.network-catalog-card dd {
  margin: 0;
  color: #18263d;
  font-size: 14px;
  font-weight: 750;
}

.network-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.network-card-actions .button {
  min-height: 42px;
  padding: 10px 13px;
  font-size: 13px;
}

.network-card-status {
  min-height: 42px;
  padding: 9px 11px;
  white-space: normal;
}

.network-comparison-section,
.network-ai-context,
.network-hub-faq {
  padding-top: 80px;
}

.network-comparison-scroll {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
}

.network-comparison-scroll:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.26);
  outline-offset: 4px;
}

.network-comparison-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  color: #34445e;
  font-size: 14px;
}

.network-comparison-table th,
.network-comparison-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}

.network-comparison-table thead th {
  color: #ffffff;
  background: #17243a;
  font-size: 12px;
  text-transform: uppercase;
}

.network-comparison-table tbody th {
  color: #111c2f;
  font-size: 15px;
}

.network-comparison-table tbody tr:last-child th,
.network-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.network-comparison-table a {
  color: var(--brand-dark);
  font-weight: 850;
}

.network-ai-context {
  padding-bottom: 8px;
}

.network-ai-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.network-ai-context-grid div {
  padding: 22px;
  border-left: 4px solid #1677ff;
  border-radius: 8px;
  background: #eef5ff;
}

.network-ai-context-grid dt {
  margin-bottom: 8px;
  color: #0e4eaf;
  font-size: 14px;
  font-weight: 900;
}

.network-ai-context-grid dd {
  margin: 0;
  color: #40516a;
  line-height: 1.6;
}

.network-related {
  padding-top: 54px;
}

.network-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.network-related-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 178px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(173, 190, 215, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(28, 56, 95, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.network-related-card:hover,
.network-related-card:focus-visible {
  border-color: rgba(22, 119, 255, 0.4);
  box-shadow: 0 22px 56px rgba(28, 56, 95, 0.14), 0 0 26px rgba(22, 119, 255, 0.08);
  transform: translateY(-3px);
}

.network-related-card span {
  color: #0e62d2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.network-related-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.network-related-card p {
  margin: 0;
  color: #53647c;
  font-size: 15px;
  line-height: 1.5;
}

.network-related-prompthub {
  border-color: rgba(22, 119, 255, 0.26);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.network-related-prompthub span {
  color: #075ed6;
}

.network-hub-faq details {
  margin-top: 10px;
}

.network-hub-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding: 22px 26px;
  border: 1px solid rgba(96, 126, 166, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(43, 75, 120, 0.08);
  text-align: left;
}

.network-hub-cta > div {
  min-width: 0;
}

.network-hub-cta .eyebrow {
  margin-bottom: 10px;
}

.network-hub-cta h2 {
  max-width: 680px;
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.network-hub-cta p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.network-hub-cta > .button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
}

.network-detail-summary {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.network-detail-summary img {
  display: block;
  width: 94px;
  height: 94px;
  padding: 18px;
  border: 1px solid rgba(38, 67, 108, 0.12);
  border-radius: 24px;
  background: #ffffff;
  object-fit: contain;
}

.network-detail-summary .model-chip-cloud {
  justify-content: center;
}

.network-detail-source {
  margin-top: 20px;
  color: #64748b;
  font-size: 14px;
}

.network-detail-source a {
  color: #0b63d1;
  font-weight: 750;
}

.network-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 36px;
  border-radius: 22px;
  text-align: left;
}

.network-detail-cta h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: 40px;
  line-height: 1.1;
}

@media (max-width: 1100px) {
  .network-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-catalog-card > p {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .portal-final-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .portal-final-copy {
    padding: 0;
  }

  .portal-final-links {
    grid-template-columns: 1fr;
  }

  .portal-final-links a {
    min-height: auto;
  }

  .nav-dropdown::after {
    display: none;
  }

  .site-nav .nav-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 0;
    width: 100%;
  }

  .site-nav .nav-dropdown-link {
    padding: 13px;
  }

  .nav-dropdown-toggle {
    width: 46px;
    height: 46px;
  }

  .nav-dropdown-toggle::before {
    top: 16px;
    left: 18px;
    width: 7px;
    height: 7px;
  }

  .nav-dropdown.is-open .nav-dropdown-toggle::before {
    top: 20px;
  }

  .nav-dropdown-menu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    margin: 2px 0 6px;
    padding: 6px;
    border-radius: 12px;
    background: #f2f6fc;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:not(.is-open) .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .site-nav .nav-dropdown-menu a {
    padding: 11px 13px;
  }

  .network-hub-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 54px;
  }

  .network-hub-hero h1 {
    font-size: 46px;
  }

  .network-hub-visual {
    padding: 26px;
  }
}

@media (max-width: 620px) {
  .network-hub-hero h1 {
    font-size: 38px;
  }

  .network-hub-visual {
    padding: 20px;
  }

  .network-route {
    grid-template-columns: minmax(0, 1fr) 18px 114px;
    padding-left: 12px;
  }

  .network-route-task,
  .network-route-model {
    font-size: 13px;
  }

  .network-visual-summary {
    grid-template-columns: 1fr;
  }

  .network-hub-cta,
  .network-detail-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 26px 22px;
  }

  .network-hub-cta h2,
  .network-detail-cta h2 {
    font-size: 29px;
  }

  .network-catalog-grid,
  .network-related-grid,
  .network-ai-context-grid {
    grid-template-columns: 1fr;
  }

  .network-related-card {
    min-height: 0;
    padding: 18px;
  }

  .network-catalog-card {
    min-height: 0;
    padding: 20px;
  }

  .network-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .network-card-actions .button,
  .network-card-status {
    width: 100%;
  }

  .network-comparison-section,
  .network-related,
  .network-ai-context,
  .network-hub-faq {
    padding-top: 60px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .section,
  .model-hero,
  .article-page,
  .blog-page,
  .author-page,
  .final-cta,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 42px;
    padding-bottom: 50px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-text,
  .section-heading p:last-child {
    font-size: 17px;
  }

  .feature-grid,
  .model-columns,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .chat-preview::before {
    inset: 24px 0 -14px 12px;
  }

  .ai-orb {
    width: 190px;
    height: 190px;
  }

  .chat-area {
    min-height: 410px;
    padding: 14px;
  }

  .message {
    max-width: 94%;
  }

  .section {
    --section-block-padding: 58px;
  }

  .prompt-examples,
  .price-card,
  .feature-card,
  .gdebenz-bot-panel,
  .gdebenz-bot-flow,
  .gdebenz-feature-card,
  .gdebenz-user-note,
  .network-grid article,
  .article-grid article,
  .blog-card-body,
  .media-channel-note,
  .blog-hero-panel,
  .author-profile-card,
  .mentioned-models,
  .article-cta,
  .blog-bottom-cta,
  .steps article,
  .seo-copy-block {
    padding: 24px;
  }

  .blog-card {
    min-height: auto;
  }

  .gdebenz-bot-intro h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .gdebenz-bot-intro p {
    font-size: 17px;
  }

  .gdebenz-bot-actions {
    flex-direction: column;
  }

  .gdebenz-bot-actions .button {
    width: 100%;
  }

  .gdebenz-feature-card {
    min-height: 0;
  }

  .blog-card-visual {
    min-height: 132px;
  }

  .article-header h1 {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.06;
  }

  .article-lead,
  .blog-article .article-section p {
    font-size: 17px;
  }

  .article-body,
  .blog-article .article-section,
  .article-cta {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .blog-article .article-section h2,
  .blog-article .article-section h3,
  .blog-article .article-section p,
  .blog-article .article-section summary,
  .article-cta h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .blog-article .article-section h2,
  .article-cta h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .blog-article .article-section blockquote,
  .blog-article .article-section .expert-note {
    margin: 24px 0;
    padding: 22px 46px 22px 20px;
  }

  .blog-article .article-section blockquote::before {
    right: 10px;
    font-size: 54px;
  }

  .blog-article .article-section .editorial-quote p,
  .blog-article .article-section .expert-note p {
    font-size: 17px;
  }

  .editorial-takeaway {
    margin-top: -14px;
    padding: 16px;
  }

  .blog-article .article-section > ul,
  .blog-article .article-section > ol {
    margin-bottom: 28px;
    padding-left: 22px;
  }

  .checklist-block-title {
    margin-top: 26px;
    font-size: 18px;
  }

  .article-download {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .article-selection-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .article-selection-cta .button {
    width: 100%;
  }

  .article-cta.cta-selection {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 10px;
    padding: 22px;
  }

  .article-cta.cta-selection > * {
    grid-column: 1;
    grid-row: auto;
  }

  .article-cta.cta-selection > .button.primary {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .article-cta.cta-selection > .button.secondary {
    grid-column: 1;
    grid-row: auto;
  }

  .article-download .button {
    width: 100%;
  }

  .article-source-list a {
    padding: 15px 44px 15px 15px;
  }

  .blog-bottom-cta,
  .article-cta {
    border-radius: 24px;
  }

  .category-hero {
    margin-top: 54px;
    padding: 28px;
  }

  .article-cover {
    border-radius: 24px;
  }

  .article-header-media {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding: 20px 14px;
    border-radius: 28px;
  }

  .article-header-copy,
  .article-header-media .article-meta,
  .article-header-media .article-dates,
  .article-header-media .tag-row,
  .article-header-media .article-lead,
  .article-header-media .author-card,
  .article-header-media .article-cover,
  .article-header-media .article-cover-inline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .article-header-media h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-header-media .article-lead,
  .article-header-media .author-card,
  .article-header-media .author-card *,
  .article-header-media .article-dates,
  .article-header-media .tag-row {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-header-media .author-card div {
    width: 100%;
    min-width: 0;
  }

  .article-header-media .author-card span {
    display: block;
    max-width: 100%;
  }

  .seo-copy-block {
    min-height: auto;
  }

  .prompt-examples-heading {
    display: block;
  }

  .final-cta {
    margin-bottom: 44px;
    padding: 44px 20px;
    border-radius: 26px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-details {
    text-align: left;
  }
}

/* Keep the Future of Work answer copy clear of its accent line. */
.future-of-work-hub .future-hub-answer {
  padding: 34px 38px 38px 44px;
}

@media (max-width: 680px) {
  .future-of-work-hub .future-hub-answer {
    padding: 26px 20px 28px 28px;
  }
}

/* OpenAI models reference hub. All rules are intentionally page-scoped. */
.openai-hub-page {
  --openai-ink: #101828;
  --openai-muted: #52637a;
  --openai-line: #dce4ee;
  --openai-blue: #1769e0;
  --openai-teal: #0f766e;
  --openai-soft: #f4f7fb;
  color: var(--openai-ink);
}

.openai-hub-page [id] {
  scroll-margin-top: 120px;
}

.openai-hub-page .openai-hero {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  padding: 52px 0 36px;
}

.openai-hub-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--openai-muted);
  font-size: 14px;
}

.openai-hub-page .breadcrumbs a {
  color: var(--openai-blue);
}

.openai-hub-page .openai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.openai-hub-page .openai-hero-copy h1 {
  max-width: 900px;
  margin: 12px 0 22px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.openai-hub-page .openai-hero-lead {
  max-width: 820px;
  margin: 0 0 18px;
  color: #34445b;
  font-size: 21px;
  line-height: 1.55;
}

.openai-hub-page .openai-check-date {
  margin: 0 0 14px;
  color: var(--openai-teal);
}

.openai-hub-page .openai-disclosure {
  max-width: 820px;
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid #f59e0b;
  color: var(--openai-muted);
  font-size: 15px;
  line-height: 1.6;
}

.openai-hub-page .openai-hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.openai-hub-page .openai-hero-summary {
  padding: 26px;
  border: 1px solid var(--openai-line);
  border-top: 4px solid var(--openai-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 50, 81, 0.1);
}

.openai-hub-page .openai-chat-launch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--openai-line);
  border-radius: 999px;
  background: #f8fbff;
  color: #14223a;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.openai-hub-page .openai-chat-launch:hover {
  border-color: #8db4ff;
  box-shadow: 0 10px 24px rgba(36, 99, 235, 0.14);
  transform: translateY(-1px);
}

.openai-hub-page .openai-chat-launch:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.openai-hub-page .openai-chat-launch img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.openai-hub-page .openai-hero-summary h2 {
  margin: 6px 0 20px;
  font-size: 28px;
}

.openai-hub-page .openai-hero-summary dl,
.openai-hub-page .openai-model-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.openai-hub-page .openai-hero-summary dl div,
.openai-hub-page .openai-model-card dl div {
  padding: 13px 0;
  border-top: 1px solid var(--openai-line);
}

.openai-hub-page .openai-hero-summary dt,
.openai-hub-page .openai-model-card dt {
  color: #718096;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .openai-hero-summary dd,
.openai-hub-page .openai-model-card dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.openai-hub-page .openai-direct-answer {
  max-width: 1120px;
  margin: 28px auto 52px;
  padding: 34px 38px;
  border-left: 5px solid var(--openai-blue);
  background: #eef5ff;
}

.openai-hub-page .openai-direct-answer h2 {
  margin: 8px 0 16px;
  font-size: 34px;
}

.openai-hub-page .openai-direct-answer p:last-child {
  margin-bottom: 0;
  color: #31425a;
  font-size: 18px;
  line-height: 1.75;
}

.openai-hub-page .openai-toc {
  margin: 0 0 54px;
  padding: 20px 24px;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .openai-toc summary {
  cursor: pointer;
  font-weight: 800;
}

.openai-hub-page .openai-toc nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 18px;
}

.openai-hub-page .openai-toc a {
  color: var(--openai-blue);
  font-weight: 700;
}

.openai-hub-page .openai-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.openai-hub-page .openai-decision-grid a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 20px;
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
  color: var(--openai-ink);
  text-decoration: none;
}

.openai-hub-page .openai-decision-grid a:hover,
.openai-hub-page .openai-decision-grid a:focus-visible {
  border-color: var(--openai-blue);
  box-shadow: 0 10px 26px rgba(23, 105, 224, 0.1);
}

.openai-hub-page .openai-decision-grid span {
  color: var(--openai-muted);
  font-size: 14px;
  font-weight: 700;
}

.openai-hub-page .openai-decision-grid strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--openai-blue);
  font-size: 18px;
}

.openai-hub-page .openai-decision-grid small {
  color: #34445b;
  font-size: 15px;
  line-height: 1.45;
}

.openai-hub-page .openai-model-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.openai-hub-page .openai-model-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--openai-line);
  border-top: 4px solid #667085;
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .openai-model-card.is-frontier { border-top-color: #111827; }
.openai-hub-page .openai-model-card.is-current { border-top-color: var(--openai-blue); }
.openai-hub-page .openai-model-card.is-efficient { border-top-color: var(--openai-teal); }

.openai-hub-page .openai-status {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1557b0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .openai-model-card h3 {
  margin: 0 0 12px;
  font-size: 27px;
}

.openai-hub-page .openai-model-card > p:not(.openai-status) {
  min-height: 84px;
  color: var(--openai-muted);
  line-height: 1.55;
}

.openai-hub-page .openai-model-card > a {
  margin-top: auto;
  color: var(--openai-blue);
  font-weight: 800;
}

.openai-hub-page .openai-comparison {
  margin: 0;
}

.openai-hub-page .openai-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .openai-table-scroll:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.35);
  outline-offset: 3px;
}

.openai-hub-page .openai-table-scroll table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.openai-hub-page .openai-table-scroll caption {
  padding: 18px 20px;
  text-align: left;
  font-weight: 800;
}

.openai-hub-page .openai-table-scroll th,
.openai-hub-page .openai-table-scroll td {
  padding: 14px 15px;
  border-top: 1px solid var(--openai-line);
  text-align: left;
  vertical-align: top;
}

.openai-hub-page .openai-table-scroll thead th {
  background: #eef3f8;
  color: #26364d;
  font-size: 13px;
}

.openai-hub-page .openai-table-scroll tbody th {
  min-width: 150px;
}

.openai-hub-page .openai-comparison figcaption {
  margin-top: 12px;
  color: var(--openai-muted);
  font-size: 14px;
  line-height: 1.5;
}

.openai-hub-page .openai-comparison-lab {
  scroll-margin-top: 112px;
}

.openai-hub-page .comparison-lab-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #eef3f8;
}

.openai-hub-page .comparison-lab-tabs button {
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #53637a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.openai-hub-page .comparison-lab-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--openai-ink);
  box-shadow: 0 3px 12px rgba(25, 50, 90, 0.09);
}

.openai-hub-page .comparison-lab-tabs button:focus-visible,
.openai-hub-page .comparison-choice input:focus-visible,
.openai-hub-page .comparison-controls input:focus-visible,
.openai-hub-page .comparison-controls select:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.3);
  outline-offset: 2px;
}

.openai-hub-page .comparison-lab-panel {
  overflow: hidden;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .comparison-lab-layout {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
}

.openai-hub-page .comparison-controls {
  padding: 22px;
  border-right: 1px solid var(--openai-line);
  background: #f7f9fc;
}

.openai-hub-page .comparison-controls fieldset {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.openai-hub-page .comparison-controls legend {
  margin-bottom: 12px;
  color: var(--openai-ink);
  font-size: 16px;
  font-weight: 850;
}

.openai-hub-page .comparison-choice-list {
  display: grid;
  gap: 8px;
}

.openai-hub-page .comparison-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.openai-hub-page .comparison-choice:has(input:checked) {
  border-color: #79aaf2;
  background: #edf5ff;
}

.openai-hub-page .comparison-choice input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--openai-blue);
}

.openai-hub-page .comparison-choice span,
.openai-hub-page .comparison-choice strong,
.openai-hub-page .comparison-choice small {
  display: block;
}

.openai-hub-page .comparison-choice strong {
  color: var(--openai-ink);
  font-size: 14px;
}

.openai-hub-page .comparison-choice small {
  margin-top: 2px;
  color: var(--openai-muted);
  font-size: 12px;
  line-height: 1.35;
}

.openai-hub-page .comparison-input-grid {
  display: grid;
  gap: 12px;
}

.openai-hub-page .comparison-input-grid label,
.openai-hub-page .comparison-priority {
  display: grid;
  gap: 6px;
  color: #3c4d65;
  font-size: 13px;
  font-weight: 750;
}

.openai-hub-page .comparison-controls input[type="number"],
.openai-hub-page .comparison-controls select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  background: #fff;
  color: var(--openai-ink);
  font: inherit;
}

.openai-hub-page .form-hint {
  margin: 9px 0 0;
  color: #6f7f94;
  font-size: 12px;
  line-height: 1.45;
}

.openai-hub-page .comparison-output {
  min-width: 0;
  padding: 22px;
}

.openai-hub-page .comparison-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.openai-hub-page .comparison-summary-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  background: #f8fbff;
}

.openai-hub-page .comparison-summary-grid span,
.openai-hub-page .comparison-summary-grid strong,
.openai-hub-page .comparison-summary-grid small {
  display: block;
}

.openai-hub-page .comparison-summary-grid span {
  color: #66758a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .comparison-summary-grid strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--openai-ink);
  font-size: 17px;
  line-height: 1.25;
}

.openai-hub-page .comparison-summary-grid small {
  margin-top: 4px;
  color: var(--openai-muted);
  line-height: 1.35;
}

.openai-hub-page .comparison-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.openai-hub-page .comparison-result-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .comparison-result-card.is-recommended {
  border-color: #67a1f2;
  box-shadow: inset 0 3px 0 var(--openai-blue);
}

.openai-hub-page .comparison-result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.openai-hub-page .comparison-result-heading span {
  color: #68778c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .comparison-result-heading h3 {
  margin: 4px 0 0;
  font-size: 21px;
}

.openai-hub-page .comparison-result-heading small {
  display: block;
  margin-top: 3px;
  color: var(--openai-muted);
  font-size: 11px;
}

.openai-hub-page .comparison-best-label {
  max-width: 140px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #e9f3ff;
  color: #0d61c8;
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
}

.openai-hub-page .comparison-cost,
.openai-hub-page .comparison-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.openai-hub-page .comparison-cost strong,
.openai-hub-page .comparison-index strong {
  color: var(--openai-ink);
  font-size: 28px;
  line-height: 1;
}

.openai-hub-page .comparison-cost span,
.openai-hub-page .comparison-index span {
  color: var(--openai-muted);
  font-size: 13px;
}

.openai-hub-page .comparison-bar {
  height: 7px;
  margin: 12px 0 16px;
  overflow: hidden;
  border-radius: 4px;
  background: #e9eef5;
}

.openai-hub-page .comparison-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--openai-blue);
}

.openai-hub-page .comparison-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid #e5ebf2;
}

.openai-hub-page .comparison-metrics div {
  min-width: 0;
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid #e5ebf2;
}

.openai-hub-page .comparison-metrics dt {
  color: #718096;
  font-size: 11px;
  font-weight: 750;
}

.openai-hub-page .comparison-metrics dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #24334a;
  font-size: 13px;
  font-weight: 800;
}

.openai-hub-page .comparison-capabilities {
  margin: 12px 0 0;
  color: #65768d;
  font-size: 12px;
  line-height: 1.45;
}

.openai-hub-page .comparison-result-card > a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--openai-blue);
  font-weight: 800;
}

.openai-hub-page .comparison-source-note {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--openai-line);
  background: #f7f9fc;
  color: #65768d;
  font-size: 12px;
  line-height: 1.5;
}

.openai-hub-page .comparison-source-note a {
  color: #155fbe;
  font-weight: 750;
}

.external-model-comparison .section-heading h2,
.reference-model-comparison .section-heading h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.external-model-comparison {
  --comparator-line: #dce4ee;
  --comparator-ink: #142033;
  --comparator-muted: #607087;
}

.external-comparator-shell {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--comparator-line);
  border-radius: 8px;
  background: #fff;
}

.external-comparator-controls {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--comparator-line);
  background: #f7f9fc;
}

.external-comparator-controls > label {
  display: grid;
  gap: 6px;
  color: #40516a;
  font-size: 13px;
  font-weight: 800;
}

.external-comparator-controls select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  background: #fff;
  color: var(--comparator-ink);
  font: inherit;
}

.external-comparator-controls fieldset {
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.external-comparator-controls legend {
  margin-bottom: 9px;
  color: var(--comparator-ink);
  font-size: 14px;
  font-weight: 850;
}

.external-comparator-controls fieldset > div {
  display: grid;
  gap: 7px;
}

.external-comparator-controls [data-external-choice] {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.external-comparator-controls [data-external-choice]:has(input:checked) {
  border-color: #75a7ef;
  background: #edf5ff;
}

.external-comparator-controls [data-external-choice] input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #1769e0;
}

.external-comparator-controls [data-external-choice] span,
.external-comparator-controls [data-external-choice] strong,
.external-comparator-controls [data-external-choice] small {
  display: block;
}

.external-comparator-controls [data-external-choice] strong {
  color: var(--comparator-ink);
  font-size: 13px;
}

.external-comparator-controls [data-external-choice] small {
  margin-top: 2px;
  color: var(--comparator-muted);
  font-size: 11px;
  line-height: 1.35;
}

.external-current-reference-choice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #8db5ec;
  border-left: 3px solid #1769e0;
  border-radius: 7px;
  background: #edf5ff;
}

.external-current-reference-choice > span:last-child,
.external-current-reference-choice strong,
.external-current-reference-choice small {
  display: block;
  min-width: 0;
}

.external-current-reference-choice strong {
  overflow-wrap: anywhere;
  color: var(--comparator-ink);
  font-size: 13px;
}

.external-current-reference-choice small {
  margin-top: 2px;
  color: #53677f;
  font-size: 11px;
  line-height: 1.35;
}

.external-reference-indicator {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #1769e0;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.external-comparison-reference {
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--comparator-line);
  border-top: 0;
  background: #fbfcfe;
  color: #607087;
}

.external-comparison-reference summary {
  padding: 14px 0;
  color: #26364d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.external-comparison-reference p {
  max-width: 780px;
  margin: -2px 0 14px;
  font-size: 12px;
  line-height: 1.5;
}

.external-comparison-reference > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 16px;
}

.external-comparison-reference > div > a,
.external-comparison-reference > div > span {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #dce4ee;
  border-radius: 6px;
  background: #fff;
  color: #53647a;
  text-decoration: none;
}

.external-comparison-reference > div > a:hover,
.external-comparison-reference > div > a:focus-visible {
  border-color: #8eb8ff;
  color: #095ee8;
}

.external-comparison-reference strong,
.external-comparison-reference small {
  min-width: 0;
}

.external-comparison-reference strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 800;
}

.external-comparison-reference small {
  grid-column: 1;
  color: #7a8798;
  font-size: 10px;
  line-height: 1.35;
}

.external-comparison-reference > div > a > span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #176ff2;
  font-size: 14px;
}

@media (max-width: 900px) {
  .external-comparison-reference > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .external-comparison-reference > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.external-comparator-output {
  min-width: 0;
  padding: 20px;
}

.external-comparator-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.external-comparator-summary > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--comparator-line);
  border-radius: 7px;
  background: #f8fbff;
}

.external-comparator-summary span,
.external-comparator-summary strong,
.external-comparator-summary small {
  display: block;
}

.external-comparator-summary span {
  color: #6b7a8f;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.external-comparator-summary strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--comparator-ink);
  font-size: 15px;
  line-height: 1.25;
}

.external-comparator-summary small {
  margin-top: 4px;
  color: var(--comparator-muted);
  font-size: 11px;
}

.external-comparator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.external-model-result {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--comparator-line);
  border-radius: 8px;
  background: #fff;
}

.external-model-result--reference {
  grid-column: 1 / -1;
  border-color: #9bbce7;
  border-left: 3px solid #1769e0;
  background: #f7fbff;
}

.external-reference-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: start;
}

.external-reference-card-heading > span,
.external-reference-card-heading > h3,
.external-reference-card-heading > small {
  grid-column: 1;
}

.external-reference-card-heading > span {
  color: #5c6f87;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.external-model-result--reference h3 {
  margin: 4px 0 1px;
  padding-right: 0;
}

.external-reference-card-heading > small {
  color: var(--comparator-muted);
  font-size: 11px;
}

.external-reference-badge {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  padding: 6px 8px;
  border: 1px solid #bdd4f2;
  border-radius: 6px;
  background: #e8f2ff;
  color: #1262c5;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.external-model-result--reference > p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #52657d;
  font-size: 12px;
  line-height: 1.5;
}

.external-model-result--reference dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.external-model-result.is-best {
  border-color: #6ea3ef;
  box-shadow: inset 0 3px 0 #1769e0;
}

.external-model-result > div > span {
  color: #6b7a8f;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.external-model-result h3 {
  margin: 4px 0 1px;
  padding-right: 110px;
  color: var(--comparator-ink);
  font-size: 20px;
}

.external-model-result > div > small {
  color: var(--comparator-muted);
  font-size: 11px;
}

.external-best-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: 106px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #e8f2ff;
  color: #1262c5;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.external-model-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 0;
  border-top: 1px solid #e4eaf2;
}

.external-model-result dl div {
  min-width: 0;
  padding: 9px 6px 9px 0;
  border-bottom: 1px solid #e4eaf2;
}

.external-model-result dt {
  color: #738198;
  font-size: 10px;
  font-weight: 750;
}

.external-model-result dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #26364d;
  font-size: 12px;
  font-weight: 800;
}

.external-model-result > a {
  display: inline-flex;
  margin-top: 12px;
  color: #1769e0;
  font-size: 13px;
  font-weight: 800;
}

.external-model-status {
  display: inline-flex;
  margin-top: 12px;
  color: #6b7a8f;
  font-size: 12px;
  font-weight: 750;
}

.external-comparator-source {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid var(--comparator-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #f7f9fc;
  color: var(--comparator-muted);
  font-size: 12px;
  line-height: 1.5;
}

.external-comparator-source a {
  color: #155fbe;
  font-weight: 750;
}

.external-comparator-error {
  margin: 0;
  padding: 18px;
  color: #8a2c2c;
}

.network-hub-page .network-comparison-entry {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 32px;
}

.network-hub-page .network-comparison-entry h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.network-hub-page .network-comparison-entry > p:not(.eyebrow) {
  margin: 0;
  color: #5d6f88;
  line-height: 1.55;
}

.network-hub-page .comparison-entry-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.network-hub-page .comparison-entry-metrics span {
  padding: 7px 10px;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  background: #fff;
  color: #42536c;
  font-size: 12px;
  font-weight: 800;
}

.network-hub-page .network-comparison-entry .button {
  width: fit-content;
  margin-top: 4px;
}

.openai-hub-page .openai-product-grid,
.openai-hub-page .openai-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.openai-hub-page .openai-product-grid div,
.openai-hub-page .openai-method-grid div {
  padding: 22px;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .openai-product-grid dt,
.openai-hub-page .openai-method-grid h3 {
  margin: 0 0 8px;
  color: var(--openai-ink);
  font-size: 20px;
  font-weight: 800;
}

.openai-hub-page .openai-product-grid dd,
.openai-hub-page .openai-method-grid p {
  margin: 0;
  color: var(--openai-muted);
  line-height: 1.6;
}

.openai-hub-page .openai-family {
  margin: 30px 0 56px;
  border-top: 1px solid var(--openai-line);
}

.openai-hub-page .openai-family-heading {
  padding: 30px 0 10px;
}

.openai-hub-page .openai-family-heading > span {
  color: var(--openai-teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.openai-hub-page .openai-family-heading h2 {
  margin: 7px 0 12px;
  font-size: 38px;
}

.openai-hub-page .openai-family-heading p {
  max-width: 880px;
  color: var(--openai-muted);
  font-size: 17px;
  line-height: 1.65;
}

.openai-hub-page .openai-model-detail {
  margin: 18px 0;
  padding: 28px 30px;
  border-left: 4px solid #94a3b8;
  background: var(--openai-soft);
}

.openai-hub-page .openai-model-detail h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.openai-hub-page .openai-model-detail h4 {
  margin: 24px 0 8px;
}

.openai-hub-page .openai-model-detail p,
.openai-hub-page .openai-model-detail li {
  max-width: 920px;
  color: #33445b;
  line-height: 1.7;
}

.openai-hub-page .openai-model-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  padding-left: 20px;
}

.openai-hub-page .openai-source-link a,
.openai-hub-page .openai-archive-item > a {
  color: var(--openai-blue);
  font-weight: 750;
}

.openai-hub-page .openai-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.openai-hub-page .openai-archive > .section-heading {
  grid-column: 1 / -1;
}

.openai-hub-page .openai-archive-item {
  padding: 24px;
  border: 1px solid var(--openai-line);
  border-radius: 8px;
  background: #fff;
}

.openai-hub-page .openai-archive-item.is-deprecated {
  border-color: #e7b1b1;
  background: #fff8f8;
}

.openai-hub-page .openai-archive-item h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.openai-hub-page .openai-archive-item p:not(.openai-status) {
  color: var(--openai-muted);
  line-height: 1.65;
}

.openai-hub-page .openai-materials > p:last-child {
  margin-top: 24px;
}

.openai-hub-page .openai-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin-top: 24px;
  padding-left: 20px;
}

.openai-hub-page .openai-source-list a {
  color: var(--openai-blue);
}

.openai-hub-page .openai-bot-cta-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 50px 0 18px;
  padding: 24px 28px;
  border: 1px solid var(--openai-line);
  border-left: 4px solid var(--openai-blue);
  border-radius: 8px;
  background: #f7f9fc;
}

.openai-hub-page .openai-bot-cta-compact h2 {
  margin: 5px 0 7px;
  font-size: 26px;
}

.openai-hub-page .openai-bot-cta-compact p:not(.eyebrow) {
  margin: 0;
  color: var(--openai-muted);
  line-height: 1.5;
}

.openai-hub-page .openai-bot-cta-compact .button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .openai-hub-page .openai-hero-grid,
  .openai-hub-page .openai-model-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .openai-hub-page .openai-hero-copy {
    grid-column: 1 / -1;
  }

  .openai-hub-page .openai-hero-summary {
    grid-column: 1 / -1;
  }

  .openai-hub-page .openai-hero-copy h1 {
    font-size: 52px;
  }
}

@media (max-width: 900px) {
  .article-top-ranking > header {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .article-top-ranking > header > p {
    max-width: none;
    text-align: left;
  }

  .article-ranking-item {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }

  .article-ranking-metrics {
    grid-column: 2;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
}

@media (max-width: 760px) {
  .article-top-ranking > header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .article-ranking-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 18px;
  }

  .article-ranking-number {
    font-size: 23px;
  }

  .article-ranking-identity {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .article-ranking-logo {
    width: 38px;
    height: 38px;
    padding: 5px;
  }

  .article-ranking-metrics {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-ranking-metrics div + div {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .openai-hub-page .openai-hero {
    width: min(100% - 28px, 1440px);
    padding-top: 28px;
  }

  .openai-hub-page .openai-hero-grid,
  .openai-hub-page .openai-model-card-grid,
  .openai-hub-page .openai-decision-grid,
  .openai-hub-page .openai-product-grid,
  .openai-hub-page .openai-method-grid,
  .openai-hub-page .openai-archive {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .openai-hero-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .openai-hub-page .openai-hero-lead {
    font-size: 18px;
  }

  .openai-hub-page .openai-direct-answer,
  .openai-hub-page .openai-model-detail {
    padding: 24px 20px;
  }

  .openai-hub-page .openai-direct-answer h2,
  .openai-hub-page .openai-family-heading h2 {
    font-size: 29px;
  }

  .openai-hub-page .openai-toc nav,
  .openai-hub-page .openai-model-detail ul,
  .openai-hub-page .openai-source-list {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .openai-decision-grid a {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .openai-decision-grid strong {
    grid-row: auto;
    grid-column: auto;
  }

  .openai-hub-page .openai-model-card {
    min-height: 0;
  }

  .openai-hub-page .openai-model-card > p:not(.openai-status) {
    min-height: 0;
  }

  .openai-hub-page .openai-bot-cta-compact {
    display: grid;
    gap: 16px;
    margin-top: 36px;
    padding: 20px;
  }

  .openai-hub-page .openai-bot-cta-compact h2 {
    font-size: 22px;
  }

  .openai-hub-page .openai-bot-cta-compact .button {
    width: 100%;
  }

  .openai-hub-page .comparison-lab-tabs {
    display: grid;
    width: 100%;
  }

  .openai-hub-page .comparison-lab-tabs button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 13px;
  }

  .openai-hub-page .comparison-lab-layout {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .comparison-controls {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--openai-line);
  }

  .openai-hub-page .comparison-output {
    padding: 16px;
  }

  .openai-hub-page .comparison-summary-grid,
  .openai-hub-page .comparison-results {
    grid-template-columns: 1fr;
  }

  .openai-hub-page .comparison-result-heading {
    display: grid;
  }

  .openai-hub-page .comparison-best-label {
    max-width: none;
    width: fit-content;
    text-align: left;
  }

  .openai-hub-page .comparison-cost strong,
  .openai-hub-page .comparison-index strong {
    font-size: 25px;
  }
}

@media (max-width: 900px) {
  .external-comparator-shell {
    grid-template-columns: 1fr;
  }

  .external-comparator-controls {
    border-right: 0;
    border-bottom: 1px solid var(--comparator-line);
  }

  .external-comparator-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .external-comparator-results {
    grid-template-columns: 1fr;
  }

  .external-comparator-controls fieldset > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .openai-hub-page .openai-hero-copy .hero-actions {
    display: grid;
  }

  .openai-hub-page .openai-hero-copy .hero-actions .button {
    width: 100%;
  }

  .external-comparator-controls,
  .external-comparator-output {
    padding: 15px;
  }

  .external-comparator-summary,
  .external-comparator-results {
    grid-template-columns: 1fr;
  }

  .external-comparator-controls fieldset > div {
    grid-template-columns: 1fr;
  }

  .external-model-result dl {
    grid-template-columns: 1fr;
  }

  .external-model-result h3 {
    padding-right: 0;
  }

  .external-best-badge {
    position: static;
    display: inline-flex;
    max-width: none;
    margin-top: 9px;
    text-align: left;
  }

  .network-hub-page .network-comparison-entry {
    padding: 22px;
  }

  .network-hub-page .network-comparison-entry h2 {
    font-size: 25px;
  }

  .network-hub-page .network-comparison-entry .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .openai-hub-page *,
  .openai-hub-page *::before,
  .openai-hub-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Claude provider hub and model pages. Keep these rules page-scoped. */
.claude-hub-page,
.claude-model-page {
  --claude-accent: #c86546;
  --claude-accent-dark: #91452f;
  --claude-soft: #fff7f3;
  --claude-line: #ead7cf;
}

.claude-hub-page {
  --openai-blue: var(--claude-accent);
  --openai-teal: #8f4d39;
  --openai-line: var(--claude-line);
}

.claude-hub-page .openai-hero-summary,
.claude-model-page .model-reference-summary {
  border-color: var(--claude-line);
  border-top: 4px solid var(--claude-accent);
  background: #fffaf7;
}

.claude-provider-mark {
  display: block;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--claude-line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.claude-ask-button {
  gap: 10px;
  border-color: var(--claude-accent) !important;
  background: var(--claude-accent) !important;
  color: #fff !important;
}

.claude-ask-button:hover,
.claude-ask-button:focus-visible {
  border-color: var(--claude-accent-dark) !important;
  background: var(--claude-accent-dark) !important;
}

.claude-ask-button img {
  display: block;
  flex: 0 0 auto;
  filter: none;
}

.claude-hub-page .prompt-copy-status,
.claude-model-page .prompt-copy-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: #765143;
  font-size: 13px;
}

.claude-hub-page .claude-direct-answer {
  border-left-color: var(--claude-accent);
  background: var(--claude-soft);
}

.claude-directory {
  padding-top: 72px;
}

.claude-directory-heading {
  max-width: 820px;
}

.claude-directory-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px 24px;
  align-items: end;
  margin: 28px 0 22px;
  padding: 20px;
  border: 1px solid var(--claude-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.claude-directory-search {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #53637a;
  font-size: 13px;
  font-weight: 800;
}

.claude-directory-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--claude-line);
  border-radius: 8px;
  background: #fff;
  color: #182230;
  font: inherit;
  font-weight: 500;
}

.claude-directory-search input:focus {
  border-color: var(--claude-accent);
  outline: 3px solid rgba(200, 101, 70, 0.16);
}

.claude-directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.claude-directory-filters button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--claude-line);
  border-radius: 999px;
  background: #fff;
  color: #53637a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.claude-directory-filters button:hover,
.claude-directory-filters button:focus-visible {
  border-color: var(--claude-accent);
  color: var(--claude-accent-dark);
}

.claude-directory-filters button.is-active {
  border-color: var(--claude-accent);
  background: var(--claude-accent);
  color: #fff;
}

.claude-directory-count {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: #718096;
  font-size: 13px;
  font-weight: 700;
}

.claude-model-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.claude-model-card {
  min-height: 0;
  border-top-color: var(--claude-accent) !important;
}

.claude-model-card[hidden] {
  display: none !important;
}

.claude-model-card > p:not(.openai-status) {
  min-height: 0;
  line-height: 1.62;
}

.claude-model-card .model-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--claude-line);
}

.claude-model-card .model-card-actions .text-link {
  margin: 0;
  color: var(--claude-accent-dark);
  font-weight: 800;
}

.claude-prompt-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--claude-line);
  border-radius: 50%;
  background: #fff;
}

.claude-prompt-icon:hover,
.claude-prompt-icon:focus-visible {
  border-color: var(--claude-accent);
  background: var(--claude-soft);
}

.claude-prompt-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.claude-directory-empty {
  padding: 28px;
  border: 1px dashed var(--claude-line);
  border-radius: 8px;
  background: var(--claude-soft);
  color: #765143;
  text-align: center;
}

.claude-products .network-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.claude-model-comparison {
  scroll-margin-top: 112px;
}

.claude-quiet-cta {
  border-left-color: var(--claude-accent) !important;
}

.claude-model-page .model-reference-hero,
.claude-model-page .model-reference-section,
.claude-model-page .model-reference-cta {
  border-color: rgba(200, 101, 70, 0.2);
}

.claude-model-page .model-reference-hero-grid {
  align-items: start;
}

.claude-model-page .model-reference-hero h1 {
  font-size: clamp(42px, 5.5vw, 70px);
}

.claude-model-page .model-reference-summary {
  padding: 24px;
  border-radius: 8px;
}

.claude-model-page .model-reference-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.claude-model-page .model-reference-split > div {
  min-width: 0;
}

.claude-model-page .model-feature-list {
  display: block;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.claude-model-page .model-feature-list li {
  position: relative;
  padding: 14px 10px 14px 30px;
  border: 0;
  border-bottom: 1px solid var(--claude-line);
  border-radius: 0;
  background: transparent;
  color: #2f4058;
  line-height: 1.5;
}

.claude-model-page .model-feature-list li:last-child {
  border-bottom: 0;
}

.claude-model-page .model-feature-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--claude-accent);
}

.claude-model-page .openai-faq details {
  border-color: var(--claude-line);
  background: #fffaf7;
}

.claude-latest-update {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-block: 28px 12px;
  padding: 28px;
  border: 1px solid var(--claude-line);
  border-left: 5px solid var(--claude-accent);
  border-radius: 8px;
  background: var(--claude-soft);
}

.claude-latest-update h2,
.claude-latest-update p {
  margin-top: 0;
}

.claude-latest-update h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.08;
}

.claude-latest-update p:last-child {
  margin-bottom: 0;
  color: #6c544c;
  line-height: 1.65;
}

.claude-latest-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.claude-model-page .model-direct-answer,
.claude-model-article {
  border-left: 4px solid var(--claude-accent);
  background: var(--claude-soft);
}

.claude-model-facts dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--claude-line);
  border-left: 1px solid var(--claude-line);
}

.claude-model-facts dl div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--claude-line);
  border-bottom: 1px solid var(--claude-line);
  background: #fff;
}

.claude-model-facts dt {
  margin-bottom: 7px;
  color: #79675f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.claude-model-facts dd {
  margin: 0;
  color: #251f1d;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.claude-benchmark-table-wrap {
  max-width: 100%;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--claude-line);
  border-radius: 8px;
  background: #fff;
}

.claude-model-benchmarks table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #352a26;
  font-size: 14px;
}

.claude-model-benchmarks th,
.claude-model-benchmarks td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--claude-line);
  text-align: left;
  vertical-align: top;
}

.claude-model-benchmarks thead th,
.claude-model-benchmarks tbody th[scope="row"] {
  background: #fff2ec;
  color: #693927;
  font-weight: 850;
}

.claude-model-benchmarks thead th {
  font-size: 12px;
  text-transform: uppercase;
}

.claude-model-benchmarks tbody tr:last-child th,
.claude-model-benchmarks tbody tr:last-child td {
  border-bottom: 0;
}

.claude-model-article .button {
  margin-top: 8px;
}

/* Claude hub and model pages: final responsive contract */
.claude-model-card .model-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.claude-model-card .model-card-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.claude-model-card .model-card-actions .claude-card-details,
.claude-model-card .model-card-actions .claude-card-compare {
  border: 1px solid var(--claude-line);
  background: #fff;
  color: #372b27;
}

.claude-model-card .model-card-actions .claude-card-details:hover,
.claude-model-card .model-card-actions .claude-card-details:focus-visible,
.claude-model-card .model-card-actions .claude-card-compare:hover,
.claude-model-card .model-card-actions .claude-card-compare:focus-visible {
  border-color: var(--claude-accent);
  background: var(--claude-soft);
  color: var(--claude-accent-dark);
}

.claude-model-card .model-card-actions .claude-card-ask {
  grid-column: 1 / -1;
  border-color: var(--claude-accent) !important;
  background: var(--claude-accent) !important;
  color: #fff !important;
}

.claude-model-card .model-card-actions .claude-card-ask:hover,
.claude-model-card .model-card-actions .claude-card-ask:focus-visible {
  border-color: var(--claude-accent-dark) !important;
  background: var(--claude-accent-dark) !important;
}

.claude-model-card .model-card-actions img,
.claude-model-page [data-claude-prompt] img {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.claude-model-card .claude-card-ask img,
.claude-model-page .claude-ask-button img,
.claude-hub-page .claude-ask-button img {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  filter: none;
}

.claude-model-card dl {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--claude-line);
}

.claude-model-card dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--claude-line);
}

.claude-model-card dt {
  margin-bottom: 4px;
  color: #7b6c66;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.claude-model-card dd {
  margin: 0;
  color: #202b3c;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.claude-hub-page .openai-faq,
.claude-model-page .openai-faq {
  display: grid;
  width: min(100%, 960px);
  gap: 10px;
  margin: 26px auto 0;
}

.claude-hub-page .openai-faq details,
.claude-model-page .openai-faq details {
  padding: 0 20px;
  border: 1px solid var(--claude-line);
  border-radius: 8px;
  background: #fff;
}

.claude-hub-page .openai-faq details[open],
.claude-model-page .openai-faq details[open] {
  border-color: rgba(200, 101, 70, 0.52);
  background: var(--claude-soft);
}

.claude-hub-page .openai-faq summary,
.claude-model-page .openai-faq summary {
  padding: 17px 0;
  color: #172033;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

.claude-hub-page .openai-faq p,
.claude-model-page .openai-faq p {
  max-width: 820px;
  margin: 0;
  padding: 0 0 18px;
  color: #52647e;
  line-height: 1.65;
}

.claude-model-card [data-claude-prompt-status],
.claude-model-page [data-claude-prompt-status] {
  min-height: 20px;
  margin: 10px 0 0;
  color: #765143;
  font-size: 12px;
  line-height: 1.45;
}

.ai-prompt-toast {
  position: fixed;
  z-index: 5000;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid #dfb29f;
  border-radius: 8px;
  background: #211c1a;
  box-shadow: 0 16px 36px rgba(20, 16, 14, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ai-prompt-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.claude-model-page .model-reference-hero-grid,
.claude-model-page .model-reference-hero-grid > *,
.claude-model-page .model-reference-section,
.claude-model-page .external-comparator-output,
.claude-hub-page .external-comparator-output {
  min-width: 0;
}

.claude-model-page .model-reference-hero h1,
.claude-hub-page h1 {
  overflow-wrap: break-word;
  word-break: normal;
}

.claude-model-page .model-reference-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.claude-model-page .model-reference-hero .hero-actions .button {
  min-height: 48px;
  margin: 0;
}

.site-footer {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(107, 126, 151, 0.24);
}

.site-footer-brand {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.site-footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--brand-dark);
}

@media (max-width: 980px) {
  .claude-model-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .claude-directory-tools {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .claude-products .network-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claude-model-page .model-reference-hero-grid {
    grid-template-columns: 1fr;
  }

  .external-comparator-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .external-model-comparison .section-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .article-cover-portrait-source img {
    height: auto;
    max-height: none;
  }

  .claude-directory {
    padding-top: 48px;
  }

  .claude-directory-tools {
    margin-top: 20px;
    padding: 16px;
  }

  .claude-directory-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claude-directory-filters button {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
  }

  .claude-model-card-grid,
  .claude-products .network-related-grid,
  .claude-model-page .model-reference-split,
  .claude-model-page .model-feature-list {
    grid-template-columns: 1fr !important;
  }

  .claude-latest-update {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px 22px 24px;
  }

  .claude-latest-update h2 {
    font-size: 30px;
  }

  .claude-latest-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .claude-latest-actions .button {
    width: 100%;
  }

  .claude-model-facts dl {
    grid-template-columns: 1fr;
  }

  .claude-model-card {
    min-height: 0;
  }

  .claude-model-card > p:not(.openai-status) {
    min-height: 0;
  }

  .claude-model-page {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .claude-model-page .model-reference-hero,
  .claude-model-page .model-reference-section {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .claude-model-page .model-reference-hero .breadcrumbs {
    margin-bottom: 24px;
  }

  .claude-model-page .model-reference-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .claude-model-page .model-reference-hero .hero-text {
    font-size: 18px;
  }

  .claude-model-page .model-reference-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .claude-model-page .model-reference-hero .hero-actions .button {
    width: 100%;
  }

  .claude-model-card .model-card-actions {
    grid-template-columns: 1fr;
  }

  .claude-model-card .model-card-actions .claude-card-ask {
    grid-column: auto;
  }

  .external-comparator-shell {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .external-comparator-controls {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--comparator-line);
  }

  .external-comparator-output {
    padding: 16px;
  }

  .external-comparator-summary {
    grid-template-columns: 1fr 1fr;
  }

  .external-comparator-results {
    grid-template-columns: 1fr;
  }

  .external-model-result h3 {
    padding-right: 0;
    font-size: 19px;
  }

  .external-best-badge {
    position: static;
    display: inline-flex;
    max-width: none;
    margin-top: 9px;
    text-align: left;
  }

  .site-footer {
    width: min(100% - 24px, 1180px);
    padding-bottom: 30px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px 16px;
  }

  .ai-prompt-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  .external-comparator-summary,
  .site-footer-links {
    grid-template-columns: 1fr;
  }

  .external-model-result dl {
    grid-template-columns: 1fr;
  }

  .external-reference-card-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .external-reference-badge {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 8px;
  }
}

/* Shared responsive contract for every compact AI toolbar surface. */
@media (max-width: 980px) {
  .article-ai-compact .ai-summary-toolbar,
  .ai-summary-section .ai-summary-toolbar,
  .network-ai-ask .ai-summary-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .article-ai-compact .ai-ask-inline,
  .article-ai-compact .ai-provider-row,
  .ai-summary-section .ai-ask-inline,
  .ai-summary-section .ai-provider-row,
  .network-ai-ask .ai-ask-inline,
  .network-ai-ask .ai-provider-row {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .ai-summary-section .ai-ask-inline,
  .network-ai-ask .ai-ask-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .ai-summary-section .ai-provider-row,
  .network-ai-ask .ai-provider-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .ai-summary-section .ai-provider-button,
  .network-ai-ask .ai-provider-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 7px;
  }

  .ai-summary-section .ai-provider-button > span:last-child,
  .network-ai-ask .ai-provider-button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Mobile accent-rail spacing contract: colored rails never touch content. */
@media (max-width: 680px) {
  :is(
    .future-hub-answer,
    .knowledge-definition,
    .model-source-note,
    .gemini-model-page .model-direct-answer,
    .gemini-latest-update,
    .gemini-model-article,
    .claude-model-page .model-direct-answer,
    .claude-latest-update,
    .claude-model-article,
    .blog-article .article-section blockquote,
    .blog-article .article-section .expert-note,
    .article-selection-cta,
    .article-takeaway,
    .network-ai-context-grid > div,
    .openai-hub-page .openai-disclosure,
    .openai-hub-page .openai-direct-answer,
    .openai-hub-page .openai-model-detail,
    .openai-hub-page .openai-bot-cta-compact
  ) {
    padding-inline-start: 24px;
  }

  .future-of-work-hub .future-hub-answer {
    padding-inline-start: 28px;
  }
}

/* Canonical portal footer: compact, consistent and independent of page generators. */
.site-footer {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(42px, 7vw, 76px) auto 0;
  padding: 0 0 28px;
  color: var(--muted);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 32px;
  padding: 22px 0 18px;
  border-top: 1px solid rgba(107, 126, 151, 0.24);
}

.site-footer-about {
  display: grid;
  gap: 7px;
  max-width: 440px;
}

.site-footer .site-footer-brand {
  width: max-content;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.site-footer-about p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer .site-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 10px 18px;
}

.site-footer .site-footer-links a {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer .site-footer-links a:hover,
.site-footer .site-footer-links a:focus-visible,
.site-footer .site-footer-brand:hover,
.site-footer .site-footer-brand:focus-visible {
  color: var(--brand-dark);
}

.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(107, 126, 151, 0.16);
  color: color-mix(in srgb, var(--muted) 84%, transparent);
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .site-footer {
    width: min(100% - 24px, 1180px);
    margin-top: 42px;
    padding-bottom: 24px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer .site-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 12px;
  }
}

@media (max-width: 390px) {
  .site-footer .site-footer-links,
  .site-footer-meta {
    grid-template-columns: 1fr;
  }
}

/* Long API identifiers must wrap in model descriptions and answers. */
.model-reference-page p,
.model-reference-page li,
.model-reference-page dd {
  overflow-wrap: anywhere;
}

/* Reviewed editorial facts: flowing groups, not a fixed spreadsheet grid. */
.model-profile-groups { display: block; margin-top: 22px; }
.model-profile-group { min-width: 0; padding: 22px 0; border-top: 1px solid #d7e0eb; }
.model-profile-group h3, .model-profile-group h4 { margin: 0 0 14px; color: #1265d6; font-size: 17px; line-height: 1.35; }
.model-profile-group dl { display: block; margin: 0; }
.model-profile-group dl > div { display: grid; grid-template-columns: minmax(120px, 0.7fr) minmax(0, 2fr); gap: 22px; padding: 10px 0; border: 0; background: none; }
.model-profile-group dt { margin: 0; color: #586a84; font-size: 14px; font-weight: 600; line-height: 1.5; }
.model-profile-group dd { margin: 0; color: #17243a; font-size: 15px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.external-model-result .model-profile-group dl > div, .comparison-result-card .model-profile-group dl > div { grid-template-columns: 1fr; gap: 4px; }
.external-model-result .model-profile-group, .comparison-result-card .model-profile-group { padding: 14px 0; }
.model-directory-filter-help { margin: 10px 0; color: #586a84; font-size: 14px; line-height: 1.5; }
.model-directory-clear { padding: 9px 14px; border: 1px solid #b9cada; border-radius: 7px; background: #fff; color: #1265d6; font: inherit; cursor: pointer; }
.openai-model-directory .openai-model-filter-row { display: flex; flex-wrap: wrap; overflow: visible; max-width: 100%; }
.openai-model-directory .openai-model-filter-row button { flex: 0 1 auto; white-space: normal; }
@media (max-width: 680px) {
  .model-profile-group dl > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .model-profile-group { padding: 18px 0; }
  .model-profile-group h3, .model-profile-group h4 { font-size: 16px; }
}

/* Approved compact model UI components */
.model-comparison-ui.model-reference-section *,.model-capabilities.model-reference-section *{box-sizing:border-box}.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{--ink:#111c30;--muted:#60718a;--line:#dce5f0;--blue:#0864ed;--tint:#eef5ff}.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{margin:0;background:#f5f8fd;color:var(--ink);font:15px/1.55 Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}.model-comparison-ui.model-reference-section button,.model-capabilities.model-reference-section button,.model-comparison-ui.model-reference-section input,.model-capabilities.model-reference-section input{font:inherit}.model-comparison-ui.model-reference-section button,.model-capabilities.model-reference-section button,.model-comparison-ui.model-reference-section a,.model-capabilities.model-reference-section a,.model-comparison-ui.model-reference-section input,.model-capabilities.model-reference-section input,.model-comparison-ui.model-reference-section summary,.model-capabilities.model-reference-section summary{outline-offset:4px}.model-comparison-ui.model-reference-section a,.model-capabilities.model-reference-section a{color:var(--blue);text-decoration:none}.model-comparison-ui.model-reference-section a:hover,.model-capabilities.model-reference-section a:hover{text-decoration:underline}.model-comparison-ui.model-reference-section button,.model-capabilities.model-reference-section button{cursor:pointer}.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{background:white;border:1px solid var(--line);border-radius:22px;padding:28px;margin:0 0 24px;box-shadow:0 9px 26px rgba(41,70,115,.025)}.model-comparison-ui.model-reference-section .section-head,.model-capabilities.model-reference-section .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.model-comparison-ui.model-reference-section .section-head h2,.model-capabilities.model-reference-section .section-head h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:0 0 8px}.model-comparison-ui.model-reference-section .section-head p,.model-capabilities.model-reference-section .section-head p{margin:0;color:var(--muted);font-size:13px}.model-comparison-ui.model-reference-section .small-link,.model-capabilities.model-reference-section .small-link{font-size:12px;white-space:nowrap;margin-top:6px}.model-comparison-ui.model-reference-section .features,.model-capabilities.model-reference-section .features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.model-comparison-ui.model-reference-section .feature-card,.model-capabilities.model-reference-section .feature-card{background:#f7f9fd;border:1px solid #e9eef6;border-radius:14px;padding:18px;min-width:0}.model-comparison-ui.model-reference-section .feature-icon,.model-capabilities.model-reference-section .feature-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#e9f1ff;border-radius:9px;margin-bottom:11px;color:var(--blue)}.model-comparison-ui.model-reference-section .feature-icon svg,.model-capabilities.model-reference-section .feature-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.model-comparison-ui.model-reference-section .feature-card h3,.model-capabilities.model-reference-section .feature-card h3{font-size:14px;line-height:1.3;margin:0 0 7px}.model-comparison-ui.model-reference-section .feature-card p,.model-capabilities.model-reference-section .feature-card p{font-size:13px;line-height:1.5;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.model-comparison-ui.model-reference-section .fact-toggle,.model-capabilities.model-reference-section .fact-toggle{margin-top:20px;border-top:1px solid var(--line);padding-top:17px}.model-comparison-ui.model-reference-section .fact-toggle summary,.model-capabilities.model-reference-section .fact-toggle summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--blue);width:fit-content}.model-comparison-ui.model-reference-section .fact-toggle dl,.model-capabilities.model-reference-section .fact-toggle dl{margin:16px 0 0;display:grid;gap:0}.model-comparison-ui.model-reference-section .fact-toggle [data-fact],.model-capabilities.model-reference-section .fact-toggle [data-fact]{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:22px;padding:11px 0;border-top:1px solid #eef2f7}.model-comparison-ui.model-reference-section .fact-toggle dt,.model-capabilities.model-reference-section .fact-toggle dt{font-size:13px;font-weight:600;color:var(--muted)}.model-comparison-ui.model-reference-section .fact-toggle dd,.model-capabilities.model-reference-section .fact-toggle dd{font-size:13px;margin:0;overflow-wrap:anywhere}.model-comparison-ui.model-reference-section .calc-head .eyebrow,.model-capabilities.model-reference-section .calc-head .eyebrow{margin-bottom:9px}.model-comparison-ui.model-reference-section .source-top,.model-capabilities.model-reference-section .source-top{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap;padding-top:8px}.model-comparison-ui.model-reference-section .source-top:before,.model-capabilities.model-reference-section .source-top:before{content:'';width:6px;height:6px;border-radius:50%;background:#20a88b}.model-comparison-ui.model-reference-section .calc-toolbar,.model-capabilities.model-reference-section .calc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#f7f9fd;border:1px solid #e7edf6;border-radius:14px;padding:16px 18px}.model-comparison-ui.model-reference-section .control-label,.model-capabilities.model-reference-section .control-label{display:block;font-size:11px;color:var(--muted);font-weight:600;margin-bottom:7px}.model-comparison-ui.model-reference-section .segmented,.model-capabilities.model-reference-section .segmented{display:flex;border:1px solid #dce4ef;padding:3px;background:white;border-radius:10px;gap:3px}.model-comparison-ui.model-reference-section .segmented button,.model-capabilities.model-reference-section .segmented button{padding:8px 18px;font-size:13px;border:0;border-radius:7px;background:transparent;color:#536882;font-weight:600}.model-comparison-ui.model-reference-section .segmented button[aria-pressed=true],.model-capabilities.model-reference-section .segmented button[aria-pressed=true]{background:#e9f1ff;color:#065cdc;box-shadow:0 1px 2px #173e7e0d}.model-comparison-ui.model-reference-section .volume-control,.model-capabilities.model-reference-section .volume-control{display:flex;gap:10px;align-items:center}.model-comparison-ui.model-reference-section .volume-control input,.model-capabilities.model-reference-section .volume-control input{width:128px;min-width:0;border:1px solid #d4deec;border-radius:9px;padding:8px 12px;color:var(--ink);background:white;font-size:15px;font-weight:700}.model-comparison-ui.model-reference-section .volume-control span,.model-capabilities.model-reference-section .volume-control span{font-size:12px;color:var(--muted)}.model-comparison-ui.model-reference-section .models-label,.model-capabilities.model-reference-section .models-label{display:flex;align-items:center;justify-content:space-between;margin:22px 0 9px;font-size:12px;color:var(--muted)}.model-comparison-ui.model-reference-section .models-label strong,.model-capabilities.model-reference-section .models-label strong{font-weight:600;color:#344b69}.model-comparison-ui.model-reference-section .model-choices,.model-capabilities.model-reference-section .model-choices{display:flex;flex-wrap:wrap;gap:8px}.model-comparison-ui.model-reference-section .model-choice,.model-capabilities.model-reference-section .model-choice{position:relative;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:600;color:#60718a;cursor:pointer;background:white;min-width:0}.model-comparison-ui.model-reference-section .model-choice:has(input:checked),.model-capabilities.model-reference-section .model-choice:has(input:checked){background:#f0f6ff;border-color:#9dbfff;color:#164a94}.model-comparison-ui.model-reference-section .model-choice input,.model-capabilities.model-reference-section .model-choice input{accent-color:var(--blue);width:14px;height:14px;margin:0;flex:none}.model-comparison-ui.model-reference-section .choice-provider,.model-capabilities.model-reference-section .choice-provider{font-weight:400;font-size:11px;color:var(--muted)}.model-comparison-ui.model-reference-section .result-grid,.model-capabilities.model-reference-section .result-grid{display:grid;grid-template-columns:repeat(var(--cards,3),minmax(0,1fr));gap:12px;margin-top:20px;align-items:start}.model-comparison-ui.model-reference-section .result-card,.model-capabilities.model-reference-section .result-card{min-width:0;position:relative;border:1px solid #d9e3f1;border-radius:14px;padding:20px;background:white;display:flex;flex-direction:column}.model-comparison-ui.model-reference-section .result-card.is-current,.model-capabilities.model-reference-section .result-card.is-current{border-color:#adc8f9;box-shadow:inset 0 3px 0 #418aff}.model-comparison-ui.model-reference-section .result-top,.model-capabilities.model-reference-section .result-top{min-height:73px;display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.model-comparison-ui.model-reference-section .result-provider,.model-capabilities.model-reference-section .result-provider{font-size:10px;letter-spacing:.07em;color:#70839c;text-transform:uppercase;font-weight:700}.model-comparison-ui.model-reference-section .result-card h3,.model-capabilities.model-reference-section .result-card h3{font-size:18px;line-height:1.22;letter-spacing:-.35px;margin:7px 0 4px;overflow-wrap:anywhere}.model-comparison-ui.model-reference-section .result-variant,.model-capabilities.model-reference-section .result-variant{font-size:11px;color:var(--muted);min-height:17px}.model-comparison-ui.model-reference-section .provider-symbol,.model-capabilities.model-reference-section .provider-symbol{height:28px;width:28px;flex:none;border:1px solid #e3e9f1;display:flex;justify-content:center;align-items:center;border-radius:8px;font-weight:700;font-size:12px;color:#71859e}.model-comparison-ui.model-reference-section .result-quality,.model-capabilities.model-reference-section .result-quality{margin:15px 0 16px}.model-comparison-ui.model-reference-section .metric-label,.model-capabilities.model-reference-section .metric-label{font-size:11px;color:var(--muted);display:block}.model-comparison-ui.model-reference-section .elo-line,.model-capabilities.model-reference-section .elo-line{display:flex;align-items:baseline;gap:9px;margin-top:4px}.model-comparison-ui.model-reference-section .elo-line strong,.model-capabilities.model-reference-section .elo-line strong{font-size:34px;font-weight:700;letter-spacing:-1px;line-height:1.2}.model-comparison-ui.model-reference-section .elo-line span,.model-capabilities.model-reference-section .elo-line span{font-size:12px;color:#73849c}.model-comparison-ui.model-reference-section .result-price,.model-capabilities.model-reference-section .result-price{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #edf1f7;padding-top:12px;font-size:12px;color:var(--muted)}.model-comparison-ui.model-reference-section .result-price strong,.model-capabilities.model-reference-section .result-price strong{font-size:14px;color:#233b5b;font-weight:600;white-space:nowrap}.model-comparison-ui.model-reference-section .budget-box,.model-capabilities.model-reference-section .budget-box{flex-wrap:wrap;margin:15px -6px 0;padding:12px;background:#f3f7fd;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.model-comparison-ui.model-reference-section .budget-box span,.model-capabilities.model-reference-section .budget-box span{font-size:11px;line-height:1.45;color:#536e93}.model-comparison-ui.model-reference-section .budget-box strong,.model-capabilities.model-reference-section .budget-box strong{font-size:23px;letter-spacing:-.5px;white-space:nowrap;color:#155bad}.model-comparison-ui.model-reference-section .budget-box small,.model-capabilities.model-reference-section .budget-box small{display:block;font-size:10px;color:#70849f;margin-top:2px}.model-comparison-ui.model-reference-section .result-link,.model-capabilities.model-reference-section .result-link{font-size:11px;margin-top:13px;display:flex;justify-content:space-between;gap:5px}.model-comparison-ui.model-reference-section .sample-count,.model-capabilities.model-reference-section .sample-count{color:#7c8da4;white-space:nowrap}.model-comparison-ui.model-reference-section .calc-note,.model-capabilities.model-reference-section .calc-note{font-size:12px;color:var(--muted);padding:15px 0 0;margin:0;line-height:1.65}.model-comparison-ui.model-reference-section .calc-footer,.model-capabilities.model-reference-section .calc-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:20px;margin-top:16px;padding-top:15px;font-size:11px;color:var(--muted)}.model-comparison-ui.model-reference-section .plain-button,.model-capabilities.model-reference-section .plain-button{background:white;border:1px solid #dce5f0;color:#48678f;border-radius:8px;padding:7px 10px;font-size:11px;flex:none;display:flex;align-items:center;gap:7px}.model-comparison-ui.model-reference-section .plain-button:hover,.model-capabilities.model-reference-section .plain-button:hover{background:#f3f7fd}.model-comparison-ui.model-reference-section .preview-note,.model-capabilities.model-reference-section .preview-note{font-size:12px;color:#6b7e99;margin:20px 0 0;max-width:960px}.model-comparison-ui.model-reference-section .error,.model-capabilities.model-reference-section .error{font-size:13px;color:#8a5830;background:#fff8eb;padding:10px;border-radius:8px}.model-comparison-ui.model-reference-section .carousel-hint,.model-capabilities.model-reference-section .carousel-hint{display:none;font-size:11px;color:var(--muted);margin:12px 0 0}.model-comparison-ui.model-reference-section .source-status.is-error,.model-capabilities.model-reference-section .source-status.is-error{color:#965b20}.model-comparison-ui.model-reference-section button:disabled,.model-capabilities.model-reference-section button:disabled{opacity:.55;cursor:wait}@media(max-width:1024px){.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{padding:23px}.model-comparison-ui.model-reference-section .result-card,.model-capabilities.model-reference-section .result-card{padding:16px}.model-comparison-ui.model-reference-section .budget-box strong,.model-capabilities.model-reference-section .budget-box strong{font-size:21px}.model-comparison-ui.model-reference-section .result-link,.model-capabilities.model-reference-section .result-link{flex-wrap:wrap}.model-comparison-ui.model-reference-section .feature-card,.model-capabilities.model-reference-section .feature-card{padding:15px}.model-comparison-ui.model-reference-section .result-top,.model-capabilities.model-reference-section .result-top{min-height:78px}.model-comparison-ui.model-reference-section .section-head h2,.model-capabilities.model-reference-section .section-head h2{font-size:25px}}@media(max-width:800px){.model-comparison-ui.model-reference-section .section-head,.model-capabilities.model-reference-section .section-head{flex-wrap:wrap;gap:8px}.model-comparison-ui.model-reference-section .source-top,.model-capabilities.model-reference-section .source-top{padding-top:0}.model-comparison-ui.model-reference-section .calc-toolbar,.model-capabilities.model-reference-section .calc-toolbar{align-items:flex-start;gap:15px}.model-comparison-ui.model-reference-section .segmented button,.model-capabilities.model-reference-section .segmented button{padding:8px 13px}.model-comparison-ui.model-reference-section .result-grid,.model-capabilities.model-reference-section .result-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(245px,1fr);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:3px 2px 14px;margin-right:-4px}.model-comparison-ui.model-reference-section .result-card,.model-capabilities.model-reference-section .result-card{scroll-snap-align:start;min-height:0}.model-comparison-ui.model-reference-section .carousel-hint,.model-capabilities.model-reference-section .carousel-hint{display:block}.model-comparison-ui.model-reference-section .features,.model-capabilities.model-reference-section .features{grid-template-columns:repeat(2,minmax(0,1fr))}.model-comparison-ui.model-reference-section .result-link,.model-capabilities.model-reference-section .result-link{flex-wrap:nowrap}}@media(max-width:520px){.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{font-size:14px}.model-comparison-ui.model-reference-section,.model-capabilities.model-reference-section{padding:19px 16px;border-radius:17px;margin-bottom:17px}.model-comparison-ui.model-reference-section .section-head h2,.model-capabilities.model-reference-section .section-head h2{font-size:23px}.model-comparison-ui.model-reference-section .section-head p,.model-capabilities.model-reference-section .section-head p{font-size:12px}.model-comparison-ui.model-reference-section .features,.model-capabilities.model-reference-section .features{grid-template-columns:1fr;gap:9px}.model-comparison-ui.model-reference-section .feature-card,.model-capabilities.model-reference-section .feature-card{padding:13px 14px 13px 52px;position:relative}.model-comparison-ui.model-reference-section .feature-icon,.model-capabilities.model-reference-section .feature-icon{position:absolute;left:13px;top:14px;width:27px;height:27px;margin:0}.model-comparison-ui.model-reference-section .feature-card h3,.model-capabilities.model-reference-section .feature-card h3{font-size:13px}.model-comparison-ui.model-reference-section .feature-card p,.model-capabilities.model-reference-section .feature-card p{font-size:12px;line-height:1.5;-webkit-line-clamp:3}.model-comparison-ui.model-reference-section .feature-card:nth-child(n+4),.model-capabilities.model-reference-section .feature-card:nth-child(n+4){display:none}.model-comparison-ui.model-reference-section .fact-toggle,.model-capabilities.model-reference-section .fact-toggle{margin-top:15px;padding-top:14px}.model-comparison-ui.model-reference-section .fact-toggle [data-fact],.model-capabilities.model-reference-section .fact-toggle [data-fact]{grid-template-columns:1fr;gap:4px}.model-comparison-ui.model-reference-section .calc-toolbar,.model-capabilities.model-reference-section .calc-toolbar{flex-direction:column;padding:13px;gap:13px}.model-comparison-ui.model-reference-section .calc-toolbar>div,.model-capabilities.model-reference-section .calc-toolbar>div{width:100%}.model-comparison-ui.model-reference-section .segmented button,.model-capabilities.model-reference-section .segmented button{flex:1;padding:8px 10px}.model-comparison-ui.model-reference-section .volume-control input,.model-capabilities.model-reference-section .volume-control input{width:110px;padding:7px 10px}.model-comparison-ui.model-reference-section .volume-control span,.model-capabilities.model-reference-section .volume-control span{font-size:11px}.model-comparison-ui.model-reference-section .control-label,.model-capabilities.model-reference-section .control-label{margin-bottom:6px}.model-comparison-ui.model-reference-section .models-label,.model-capabilities.model-reference-section .models-label{margin-top:18px}.model-comparison-ui.model-reference-section .model-choices,.model-capabilities.model-reference-section .model-choices{gap:6px}.model-comparison-ui.model-reference-section .model-choice,.model-capabilities.model-reference-section .model-choice{padding:7px 8px;font-size:11px;gap:6px}.model-comparison-ui.model-reference-section .choice-provider,.model-capabilities.model-reference-section .choice-provider{display:none}.model-comparison-ui.model-reference-section .result-grid,.model-capabilities.model-reference-section .result-grid{grid-auto-columns:calc(100% - 19px);gap:10px;margin-top:15px}.model-comparison-ui.model-reference-section .result-card,.model-capabilities.model-reference-section .result-card{padding:17px}.model-comparison-ui.model-reference-section .result-top,.model-capabilities.model-reference-section .result-top{min-height:60px}.model-comparison-ui.model-reference-section .result-quality,.model-capabilities.model-reference-section .result-quality{margin-top:11px;margin-bottom:13px}.model-comparison-ui.model-reference-section .elo-line strong,.model-capabilities.model-reference-section .elo-line strong{font-size:32px}.model-comparison-ui.model-reference-section .result-price,.model-capabilities.model-reference-section .result-price{font-size:11px}.model-comparison-ui.model-reference-section .budget-box strong,.model-capabilities.model-reference-section .budget-box strong{font-size:23px}.model-comparison-ui.model-reference-section .calc-footer,.model-capabilities.model-reference-section .calc-footer{align-items:flex-start;gap:8px;font-size:10px}.model-comparison-ui.model-reference-section .plain-button,.model-capabilities.model-reference-section .plain-button{font-size:10px;padding:6px 8px}.model-comparison-ui.model-reference-section .calc-note,.model-capabilities.model-reference-section .calc-note{font-size:11px}.model-comparison-ui.model-reference-section .preview-note,.model-capabilities.model-reference-section .preview-note{font-size:11px}.model-comparison-ui.model-reference-section .small-link,.model-capabilities.model-reference-section .small-link{font-size:11px}}.model-comparison-ui.model-reference-section .input-error,.model-capabilities.model-reference-section .input-error{color:#a25a24;font-size:11px;margin:7px 0 0}.model-comparison-ui.model-reference-section .budget-box strong.is-unavailable,.model-capabilities.model-reference-section .budget-box strong.is-unavailable{font-size:13px;letter-spacing:0;color:#687b96}@media(min-width:521px) and (max-width:800px){.model-comparison-ui.model-reference-section .result-grid,.model-capabilities.model-reference-section .result-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;overflow:visible}.model-comparison-ui.model-reference-section .carousel-hint,.model-capabilities.model-reference-section .carousel-hint{display:none}}.model-comparison-ui.model-reference-section .calc-method,.model-capabilities.model-reference-section .calc-method{margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}.model-comparison-ui.model-reference-section .calc-method summary,.model-capabilities.model-reference-section .calc-method summary{cursor:pointer;font-size:12px;font-weight:600;color:#48678f;width:fit-content}.model-comparison-ui.model-reference-section .calc-method .calc-note,.model-capabilities.model-reference-section .calc-method .calc-note{padding-top:10px}.model-comparison-ui.model-reference-section .calc-method .preview-note,.model-capabilities.model-reference-section .calc-method .preview-note{margin-top:10px}@media(max-width:520px){.model-comparison-ui.model-reference-section .calc-method summary,.model-capabilities.model-reference-section .calc-method summary{font-size:11px}}

/* Compact measured text comparisons */
.external-comparator-results,.comparison-results{align-items:start}
.external-model-result{align-self:start;min-height:0}
.external-current-reference-choice{display:block;padding:12px 16px;margin:0 0 16px;border-radius:12px;background:#f6f8fb;color:#526174;line-height:1.5}

/* Bounded image choice list */
.model-comparison-ui [data-model-choices]{max-height:min(28rem,55vh);overflow-y:auto}
