@layer views {

  .v-home, .v-why, .v-models, .v-pricing, .v-docs, .v-faq, .v-404, .v-security, .v-legal {
    box-sizing: border-box; width: 100%; max-width: var(--container); height: 100%; min-height: 0; margin-inline: auto;
    padding: var(--pad-view) var(--gutter); display: grid; gap: var(--gap-y) var(--gap-x);
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch;
  }
  .view-head { display: grid; gap: clamp(6px, 1.2cqb, 14px); align-content: start; min-width: 0; }
  .view-head .lede { max-width: 46ch; margin: 0; }
  .view-head .eyebrow { margin: 0; }
  .view .title { margin: 0; text-wrap: balance; }
  .view .title:focus { outline: none; }
  .view .title__line { display: block; }
  .view .title .grad { display: inline-block; padding-block: .12em .2em; margin-block: -.12em -.2em; }
  .view-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-width: 0; }
  .view-foot__notes { display: grid; gap: 2px; min-width: 0; }

  @media (max-width: 639px) { .tx > span { display: none; } .tx::after { content: attr(data-short); } }
  .view .fineprint { margin: 0; max-width: 80ch; }
  .view .notice p { margin: 0; }

  .view .chips--static { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
  .view .chips--static .chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600;
    line-height: 1.3; white-space: nowrap; }
  .view .chips--static .chip:hover { border-color: var(--border); background: var(--surface); }

  @media (scripting: enabled) { .view [data-no-js] { display: none; } }

  .v-home { grid-template-rows: auto minmax(0, 1fr); align-items: start; }
  .hero { display: grid; gap: clamp(8px, 1.6cqb, 20px); align-content: center; min-width: 0; }
  .hero .cta-row { flex-wrap: wrap; }
  .hero .title--display { font-size: clamp(1.75rem, min(0.75rem + 3.3cqi, 7.4cqb), 4.5rem); }
  .hero .lede { max-width: 50ch; margin: 0; }
  .eyebrow--live { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px 5px 10px;
    border: 1px solid var(--border-active); border-radius: 999px; background: var(--surface); color: var(--text-2);
    font-size: 13px; font-weight: 600; box-shadow: var(--sh-sm); }
  .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--glow-blue); }
  .credit-line { margin: 0; color: var(--text-2); font-size: 14px; text-wrap: pretty; }
  .credit-line .icon { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--success); }
  .credit-line .icon:has([href$="-clock"]) { color: var(--blue-600); }
  .proof { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
  .proof__item { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
  .proof__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px;
    background: var(--blue-50); color: var(--blue-700); }
  .proof__item:nth-child(2) .proof__icon { background: var(--violet-50); color: var(--violet-700); }
  .proof__icon .icon { width: 18px; height: 18px; }
  .proof__body { display: grid; gap: 1px; min-width: 0; }
  .proof__title { font-size: 15px; font-weight: 700; color: var(--text); }
  .proof__text { font-size: 14px; line-height: 1.45; color: var(--text-2); }
  .home-chat { min-height: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr); }
  .home-chat > .chat { min-height: 0; min-width: 0; height: auto; grid-template-columns: minmax(0, 1fr); }
  .v-home .chat[data-state="idle"] .chat__new { display: none; }

  .v-home:has(.chat[data-state="active"]) { grid-template-rows: minmax(0, 1fr); }

  @media (max-width: 1023px), (max-height: 559px) {
    .v-home:has(.chat[data-state="active"]) .hero { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .v-home:has(.chat[data-state="active"]) .hero > :not(.title) { display: none; }
  }

  @media (max-width: 1023px) {
    .v-home { justify-items: center; text-align: center; max-width: 760px; }
    .hero { justify-items: center; }
    .eyebrow--live { justify-self: center; }
    .hero .lede { margin-inline: auto; }
    .hero .cta-row { justify-content: center; }
    .proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 0; }
    .proof__item { align-items: center; gap: 8px; }
    .proof__icon { width: 28px; height: 28px; border-radius: 9px; }
    .proof__icon .icon { width: 15px; height: 15px; }
    .proof__title { font-size: 14px; font-weight: 600; color: var(--text-2); }
    .proof__text { display: none; }
    .home-chat { justify-self: stretch; width: 100%; min-width: 0; text-align: start; }
    .home-chat > .chat { min-width: 0; }
    .hero .btn--lg { min-height: 46px; padding-inline: var(--sp-5); font-size: var(--fs-ui); }
  }

  @media (max-width: 419px) {
    .hero .cta-row { gap: 8px; }
    .hero .btn--lg { padding-inline: 14px; gap: 6px; }
  }
  @media (max-width: 359px) { .hero .btn--lg { font-size: var(--fs-small); } .hero .btn--lg .icon { display: none; } }
  @media (max-width: 639px) { .hero .lede { font-size: var(--fs-body); } }

  @media (max-width: 767px) and (min-height: 560px), (max-height: 559px) {
    .v-home .chat[data-state="idle"] { grid-template-rows: none; grid-auto-rows: auto; align-content: start; }
    .v-home .chat[data-state="idle"] .chat__log { display: none; }
  }
  @media (max-height: 559px) { .v-home:has(.chat[data-state="idle"]) .home-chat { align-self: center; } }

  .v-home:has(.chat[data-state="idle"]) .home-chat { height: auto; max-height: 100%; }
  @media (max-width: 1023px) and (min-height: 560px) {
    .v-home:has(.chat[data-state="idle"]) { grid-template-rows: auto auto; align-content: center; }
  }

  @media (min-width: 768px) and (min-height: 560px) {
    .v-home .chat[data-state="idle"] .chat__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
    .v-home .chat[data-state="idle"] .chip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; justify-items: start;
      gap: 2px 6px; min-height: 64px; padding: 10px 14px; border-radius: var(--r-lg); white-space: normal; text-align: left; box-shadow: none; }
    .v-home .chat[data-state="idle"] .chip::after { content: attr(data-prompt); grid-column: 1 / -1; display: -webkit-box; overflow: hidden;
      -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--text-2); }
  }

  @media (max-height: 559px) {
    .v-home .chat[data-state="active"] .chat__chips, .v-home .chat[data-state="active"] .chat__note,
    .v-home .chat[data-state="active"] .composer__hint { display: none; }
    .v-home .chat[data-state="active"] { gap: 6px; padding: 8px; }
  }
  @container view (max-height: 300px) {
    .v-home:has(.chat[data-state="active"]) { padding-block: 4px; }
    .v-home .chat[data-state="active"] { padding: 6px; gap: 4px; }
    .v-home .chat[data-state="active"] .chat__bar { min-height: 30px; }
  }

  @media (min-width: 1024px) and (min-height: 560px) {
    .v-home { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: minmax(0, 1fr);
      align-items: center; gap: var(--gap-y) clamp(32px, 4cqi, 88px); }
    .home-chat { align-self: center; }
    .v-home:has(.chat[data-state="active"]) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .v-home:has(.chat[data-state="active"]) .home-chat { height: 100%; }
  }

  @media (max-height: 559px) and (min-width: 568px) {
    .v-home { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr); max-width: none;
      align-items: center; text-align: start; justify-items: stretch; }
    .hero { justify-items: start; }
    .hero .cta-row, .credit-line { justify-content: flex-start; }
    .hero .lede, .proof, .eyebrow--live { display: none; }
    .home-chat { height: 100%; }
    .v-home:has(.chat[data-state="active"]) { grid-template-columns: minmax(0, 1fr); }
  }

  @container view (max-height: 760px) { .proof__text { display: none; } .proof { gap: 8px; } }
  @container view (max-height: 640px) { .eyebrow--live { display: none; } }
  @container view (max-height: 600px) { .proof { display: none; } }
  @container view (max-height: 520px) { .hero .lede { display: none; } }
  @container view (max-height: 440px) { .hero .cta-row .btn--secondary, .credit-line { display: none; } }

  .why-intro { display: grid; gap: clamp(10px, 2cqb, 24px); align-content: start; min-width: 0; }
  .why-cards { margin: 0; background: none; padding: 2px; }

  .why-cards[data-more]::after, .pricing-cards[data-more]::after { content: ""; position: sticky; bottom: 0; display: block; height: 32px; pointer-events: none;
    background: linear-gradient(transparent, var(--bg) 85%); }
  .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 0; padding: 0;
    list-style: none; }
  .tiles__item { display: grid; min-width: 0; }
  .tile { height: 100%; box-sizing: border-box; }
  .tile__icon { color: var(--blue-700); }
  @media (max-width: 767px) {
    .tile { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 12px; align-content: start; }
    .tile__icon { grid-row: span 2; }
  }
  .tiles__item:nth-child(even) .tile__icon { background: var(--violet-50); color: var(--violet-700); }
  .tile__icon .icon { width: 20px; height: 20px; }
  .tile__title { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--text); }
  .tile__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
  .tile--audiences { background: var(--surface-2); }
  .audiences { display: grid; gap: 8px; margin: 4px 0 0; }
  .audiences__row { display: grid; gap: 0; align-content: start; }
  .audiences dt { font-size: 14px; font-weight: 700; color: var(--text); }
  .audiences dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }

  @media (min-width: 768px) {
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1024px) and (min-height: 560px) {
    .v-why { grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr);
      align-items: start; gap: var(--gap-y) clamp(32px, 4cqi, 80px); }
    .why-cards { max-height: 100%; }
  }

  @media (min-width: 1280px) and (min-height: 560px) {
    .v-why { grid-template-columns: minmax(280px, 4.7fr) minmax(0, 7.3fr); }
    .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tiles__item { grid-column: span 2; }
    .tiles__item:nth-child(4), .tiles__item:nth-child(5) { grid-column: span 3; }
    .tiles__item--wide { grid-column: 1 / -1; }
    .tiles__item--wide .audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
  }
  @media (max-height: 559px) and (min-width: 568px) {
    .v-why { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr); max-width: none; }
    .why-intro .lede, .why-intro .eyebrow { display: none; }
    .v-why .tx > span { display: none; }
    .v-why .tx::after { content: attr(data-short); }
  }
  @container view (max-height: 760px) {
    .v-why .tx > span { display: none; }
    .v-why .tx::after { content: attr(data-short); }
  }
  @container view (max-height: 860px) { .v-why .audiences .tx > span { display: none; } .v-why .audiences .tx::after { content: attr(data-short); } }
  @container view (max-height: 520px) { .why-intro .lede { display: none; } }
  @container view (max-height: 440px) { .why-intro .cta-row .btn--secondary { display: none; } }

  .models-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; min-width: 0; }
  .models-top .view-head { flex: 1 1 380px; }
  .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }

  .table-wrap { border: 1px solid var(--border); border-radius: 16px; scroll-padding-top: 44px; }
  .models-table tr[data-recommended] > * { background: var(--indigo-50); }
  .models-table .col-in, .models-table .col-out { font-weight: 700; }
  .models-table td.col-in, .models-table td.col-out { color: var(--text); }
  .models-table td.col-context, .models-table td.col-output, .models-table td.col-cache { color: var(--text-2); }
  .model { display: grid; gap: 2px; min-width: 0; }
  .model__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 15px; font-weight: 700; }
  .model__id { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-2); overflow-wrap: anywhere; }
  .model__meta { display: none; font-size: 13px; font-weight: 500; color: var(--text-2); }
  .col-actions { width: 1%; white-space: nowrap; }
  .row-actions { display: inline-flex; gap: 4px; align-items: center; }
  .no-match { margin: 0; padding: 20px; text-align: center; color: var(--text-2); }
  .toolbar .search__input { width: 220px; min-height: 38px; font-size: var(--fs-small); }
  .models-table { border-collapse: separate; border-spacing: 0; }
  .models-table tbody tr:last-child > * { border-bottom: 0; }

  .v-models:has(input[name="family"][value="fable"]:checked) .model-row:not([data-family="fable"]),
  .v-models:has(input[name="family"][value="opus"]:checked) .model-row:not([data-family="opus"]),
  .v-models:has(input[name="family"][value="sonnet"]:checked) .model-row:not([data-family="sonnet"]),
  .v-models:has(input[name="family"][value="haiku"]:checked) .model-row:not([data-family="haiku"]),
  .v-models:has(input[name="family"][value="gpt"]:checked) .model-row:not([data-family="gpt"]),
  .v-models:has(input[name="family"][value="gemini"]:checked) .model-row:not([data-family="gemini"]),
  .v-models:has(input[name="family"][value="other"]:checked) .model-row:not([data-family="other"]),
  .model-row[data-hidden] { display: none; }

  @container view (max-width: 1199px) { .models-table .row-actions .btn__label { display: none; } }
  @container view (max-width: 1199px) { .models-table .col-cache { display: none; } }
  @container view (max-width: 899px) {
    .models-table .col-context, .models-table .col-output { display: none; }
    .model__meta { display: block; }
  }
  @container view (max-width: 599px) {
    .models-table th, .models-table td { padding: 10px 10px; }
    .models-table .col-actions { display: none; }
    .model__id { overflow-wrap: normal; white-space: nowrap; }
    .models-top .view-head { flex-basis: 100%; }
    .toolbar { width: 100%; flex-wrap: nowrap; }
    .toolbar .seg { flex: 1 1 auto; }
    .search { flex: 0 1 auto; }
    .toolbar .search__input { width: 40px; padding-right: 0; transition: width 200ms var(--ease-out); }
    .toolbar .search__input:focus, .toolbar .search__input:not(:placeholder-shown) { width: 150px; padding-right: 10px; }
  }
  @container view (max-height: 560px) { .v-models .view-head .lede, .v-models .view-head .eyebrow { display: none; } }
  @container view (max-height: 640px) { .v-models .view-foot__notes .fineprint:not(.trademark) { display: none; } }
  @container view (max-height: 420px) { .v-models .view-foot .cta-row, .v-models .view-foot .trademark, .v-models .model__meta { display: none; } }

  .pricing-plan { display: grid; gap: clamp(10px, 1.8cqb, 20px); align-content: start; min-width: 0; }
  .rules { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .rules__item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-2); }
  .rules__item strong { color: var(--text); font-weight: 700; }
  .rules__item .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
  .pricing-cards { margin: 0; padding: 14px 2px 2px; background: none; }
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr)); gap: 16px; margin: 0; padding: 0;
    list-style: none; align-items: stretch; }
  .cards__item { display: grid; min-width: 0; }
  .price-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.4cqb, 26px) clamp(16px, 1.6cqi, 24px);
    border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-sm); min-width: 0; }
  .price-card[data-recommended] { border-color: var(--border-active); box-shadow: var(--sh-lg); }
  .price-card__badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
  .price-card__name { margin: 0; font-size: clamp(1.0625rem, .85rem + .45cqi, 1.375rem); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
  .price-card__family { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--text-2); }
  .price-card__price { display: grid; gap: 2px; margin: 2px 0 0; }
  .price-card__price strong { font-size: clamp(1.375rem, .8rem + 1.05cqi, 2rem); line-height: 1.1; font-weight: 800;
    letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
  .price-card__unit { font-size: var(--fs-min); font-weight: 600; color: var(--text-3); }
  .price-card__facts { display: grid; gap: 7px; margin: 4px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--border);
    font-size: var(--fs-min); color: var(--text-2); }
  .price-card__facts li { display: flex; gap: 8px; align-items: center; min-width: 0; }
  .price-card__facts .icon { flex: none; width: 15px; height: 15px; color: var(--text-3); }
  .price-card__facts code { font-family: var(--font-mono); font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
  .price-card__try { margin-top: auto; padding-inline: var(--sp-3); }
  .cards__item { container-type: inline-size; }
  @container (max-width: 179px) {
    .price-card__facts { display: none; }
    .price-card__name { font-size: 1.0625rem; }
  }
  .pricing-plan .pill { justify-self: start; margin: 0; }

  @media (min-width: 1024px) and (min-height: 560px) {
    .v-pricing { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.6fr); grid-template-rows: minmax(0, 1fr) auto;
      align-items: start; gap: var(--gap-y) clamp(32px, 3.6cqi, 72px); }
    .pricing-cards { max-height: 100%; }
    .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(10px, 1.2cqi, 16px); }
    .v-pricing > .view-foot { grid-column: 1 / -1; }
  }
  @media (max-width: 1279px) { .pricing-plan .pill { display: none; } }
  @media (min-width: 1024px) and (max-width: 1279px) and (min-height: 560px) {
    .v-pricing .pricing-plan .cta-row .btn--secondary { display: none; }
  }
  @media (max-width: 767px) {

    .pricing-plan .rules, .pricing-plan .pill, .v-pricing .pricing-plan .cta-row .btn--secondary, .v-pricing .fineprint__more { display: none; }
    .cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .pricing-cards { padding-top: 2px; }
    .price-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-radius: var(--r-lg);
      box-shadow: none; }
    .price-card__badge { position: static; transform: none; grid-column: 1 / -1; justify-self: start; }
    .price-card__name { grid-column: 1; font-size: 1.0625rem; }
    .price-card__price { grid-column: 2; grid-row: span 2; justify-items: end; text-align: right; margin: 0; }
    .price-card__price strong { font-size: 1.25rem; }
    .price-card__family { grid-column: 1; }
    .price-card__facts { display: none; }
    .price-card__try { grid-column: 1 / -1; min-height: 40px; margin-top: 6px; }
  }
  @media (max-height: 559px) and (min-width: 568px) {
    .v-pricing { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr) auto; max-width: none; }
    .v-pricing > .view-foot { grid-column: 1 / -1; }
    .pricing-plan .rules, .pricing-plan .lede, .pricing-plan .eyebrow { display: none; }
  }
  @container view (max-height: 760px) { .price-card__facts li:nth-child(3) { display: none; } }
  @container view (max-height: 640px) { .price-card__facts { display: none; } .rules__item:nth-child(4) { display: none; } }
  @container view (max-height: 600px) { .v-pricing .view-head .lede { display: none; } .v-pricing .view-foot .trademark { display: none; } }
  @container view (max-height: 520px) { .v-pricing .rules, .v-pricing .view-head .eyebrow { display: none; } }
  @container view (max-height: 440px) { .v-pricing .pill, .v-pricing .view-foot { display: none; } }

  .docs-intro { display: grid; gap: clamp(10px, 1.8cqb, 20px); align-content: start; min-width: 0; }
  .steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
  .steps__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; align-content: start; }
  .steps__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600);
    color: var(--surface); font-size: 14px; font-weight: 800; }
  .steps__body { display: grid; gap: 2px; min-width: 0; padding-top: 3px; }
  .steps__title { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; }
  .steps__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
  .also { display: grid; gap: 8px; }
  .also__title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
  .also .chip { min-height: 26px; font-size: 13px; }

  .docs-code { display: grid; min-height: 0; min-width: 0; }
  .v-docs .code { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; margin: 0; overflow: hidden;
    border-radius: 20px; background: var(--code-bg); color: var(--code-text); box-shadow: var(--sh-xl); }
  .v-docs .code__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 12px;
    border-bottom: 1px solid var(--s800); }
  .v-docs .code__body { min-height: 0; display: grid; }
  .v-docs .code__panel { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
  .v-docs .code:has(input[name="lang"][value="python"]:checked) .code__panel:not([data-lang="python"]),
  .v-docs .code:has(input[name="lang"][value="typescript"]:checked) .code__panel:not([data-lang="typescript"]),
  .v-docs .code:has(input[name="lang"][value="curl"]:checked) .code__panel:not([data-lang="curl"]) { display: none; }
  .v-docs .code__install { margin: 0; padding: 12px 18px 0; font-family: var(--font-mono); font-size: 13px; color: var(--code-muted); }
  .v-docs .code__install code { color: var(--code-text); }
  .v-docs .code__prompt { color: var(--code-muted); }
  .v-docs .code__pre { margin: 0; padding: 14px 18px 18px; overflow: auto; min-height: 0; font-family: var(--font-mono);
    font-size: 13px; line-height: 1.65; tab-size: 2; font-variant-ligatures: none; scrollbar-color: var(--s600) transparent; }
  .v-docs .code__pre:focus-visible { outline: 2px solid var(--blue-200); outline-offset: -4px; }
  .v-docs .code__bar > .seg { min-width: 0; }
  .v-docs .code__bar > .btn { flex: none; }
  @media (max-width: 399px) { .v-docs .code__bar { gap: 6px; } .v-docs .code__bar .seg__item > span { padding-inline: 9px; } }
  .v-docs .code__model { color: var(--violet-200); font-weight: 600; }
  .v-docs .code__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
    padding: 10px 12px 10px 18px; border-top: 1px solid var(--s800); font-size: 13px; color: var(--code-muted); }
  .v-docs .code__picker-label { font-weight: 600; }
  .v-docs .code__picker { display: flex; align-items: center; gap: 6px; color: var(--code-muted); }
  .v-docs .select { position: relative; display: inline-flex; align-items: center; }
  .v-docs .select select { appearance: none; height: 34px; padding: 0 32px 0 12px; border: 1px solid var(--s700); border-radius: 10px;
    background: var(--s800); color: var(--code-text); font: inherit; font-size: 13px; cursor: pointer; max-width: 210px; }
  .v-docs .select select:focus-visible { outline: 2px solid var(--blue-200); outline-offset: 2px; }
  .v-docs .select__icon { position: absolute; right: 10px; width: 14px; height: 14px; pointer-events: none; color: var(--code-muted); }
  .v-docs .code__endpoint code { font-family: var(--font-mono); color: var(--code-text); }

  @media (min-width: 1024px) and (min-height: 560px) {
    .v-docs { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch;
      gap: var(--gap-y) clamp(32px, 3.6cqi, 72px); }
    .docs-intro { overflow: auto; min-height: 0; }
    .docs-code { max-height: 100%; }
  }
  @media (max-width: 1023px) {
    .v-docs { grid-template-rows: auto minmax(0, 1fr); }
    .also, .docs-intro > .fineprint { display: none; }
  }
  @media (max-width: 767px) {
    .steps { gap: 6px; }
    .steps__text { display: none; }
    .steps__title { font-size: 15px; }
    .steps__num { width: 24px; height: 24px; font-size: 12.5px; }
    .v-docs .code__foot { padding: 8px 10px 8px 14px; }
    .v-docs .code__endpoint { display: none; }
    .v-docs .code__pre { padding: 12px 14px 14px; font-size: 12.5px; }
    .v-docs .code__install { padding: 10px 14px 0; }
  }
  @media (max-width: 479px) { .docs-intro .cta-row .btn--secondary { display: none; } }
  @media (min-width: 768px) and (max-width: 1023px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps__item { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-height: 559px) and (min-width: 568px) {
    .v-docs { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr); max-width: none; }
    .docs-intro { overflow: auto; min-height: 0; }
    .docs-intro .lede, .docs-intro .eyebrow, .steps__text, .also, .docs-intro > .fineprint { display: none; }
  }
  @container view (max-height: 800px) { .also { display: none; } }
  @container view (max-height: 700px) { .docs-intro > .fineprint, .steps__text .tx > span { display: none; } .steps__text .tx::after { content: attr(data-short); } }
  @container view (max-height: 600px) { .v-docs .view-head .lede { display: none; } }
  @container view (max-height: 520px) { .v-docs .view-head .eyebrow, .steps__text { display: none; } }
  @container view (max-height: 440px) { .v-docs .docs-intro .cta-row .btn--secondary, .v-docs .code__install { display: none; } }

  .faq-intro { display: grid; gap: clamp(10px, 2cqb, 24px); align-content: start; min-width: 0; }
  .faq { border: 1px solid var(--border); border-radius: 16px; }
  .faq__item { border-bottom: 1px solid var(--border); }
  .faq__item:last-child { border-bottom: 0; }
  .faq__title { margin: 0; font-size: 15.5px; line-height: 1.4; font-weight: 600; }
  .faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 18px;
    text-align: left; color: var(--text); }
  .faq__q:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 12px; }
  .faq__q:hover, .faq__item[data-open] .faq__q { color: var(--blue-700); }
  .faq__chevron { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform 200ms var(--ease-out); }
  .faq__item[data-open] .faq__chevron { transform: rotate(180deg); }

  @media (scripting: enabled) {
    .faq[data-on] .faq__item:not([data-open]) .faq__a { display: none; }
    .faq:not([data-on]) .faq__item:not([data-open]) .faq__a { max-height: 0; padding-block: 0; overflow: hidden; visibility: hidden;
      animation: faq-open 0s 4s forwards; }
  }
  @keyframes faq-open { to { max-height: none; padding-bottom: 16px; visibility: visible; } }
  @media (scripting: none) { .faq__chevron { display: none; } .faq__q { cursor: text; } }
  .faq__a { padding: 0 18px 16px; }
  .faq__a p { margin: 0; max-width: 72ch; font-size: 15px; line-height: 1.65; color: var(--text-2); }

  @media (min-width: 1024px) and (min-height: 560px) {
    .v-faq { grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); align-items: start;
      gap: var(--gap-y) clamp(32px, 4cqi, 80px); }
    .v-faq .faq { max-height: 100%; }
  }
  @media (max-height: 559px) and (min-width: 568px) {
    .v-faq { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr); max-width: none; }
    .faq-intro .lede, .faq-intro .eyebrow { display: none; }
  }
  @media (max-width: 1023px) and (min-height: 560px) { .v-faq { grid-template-rows: auto minmax(0, 1fr); } }
  @container view (max-height: 560px) { .v-faq .view-head .lede { display: none; } }
  @container view (max-height: 440px) { .v-faq .faq-intro .cta-row .btn--secondary { display: none; } }

  .v-404 { grid-template-rows: minmax(0, 1fr); place-items: center; }
  .nf { display: grid; justify-items: center; gap: clamp(10px, 2cqb, 18px); max-width: 560px; text-align: center; }
  .nf__logo { width: 72px; height: 72px; }
  .nf__badge { background: var(--blue-50); color: var(--blue-700); }
  .nf .lede { margin: 0; color: var(--text-2); }
  .nf .cta-row { justify-content: center; }
  .nf__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
  .nf__links a { color: var(--link); font-weight: 600; font-size: 15px; text-decoration: none; }
  .nf__links a:hover { text-decoration: underline; }
  @container view (max-height: 480px) { .nf__logo { display: none; } }
  @container view (max-height: 380px) { .nf .lede { display: none; } }

  .v-security, .v-legal { grid-template-rows: auto minmax(0, 1fr); max-width: 880px; }
  .doc { padding: 4px 2px 12px; font-size: 15px; line-height: 1.7; color: var(--text-2); }
  .doc h2, .doc h3, .doc h4 { margin: 1.4em 0 .4em; color: var(--text); line-height: 1.3; }
  .doc h2 { display: flex; gap: 8px; align-items: center; font-size: var(--fs-h2); }
  .doc h2 .icon { width: 20px; height: 20px; color: var(--blue-700); }
  .doc > :first-child, .doc > .doc-section:first-child > :first-child { margin-top: 0; }
  .doc p, .doc ul, .doc ol, .doc blockquote { margin: 0 0 .9em; max-width: 72ch; }
  .doc a { color: var(--link); }
  .doc blockquote { padding-left: 14px; border-left: 3px solid var(--border-strong); }
  .doc-table { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--border); border-radius: 12px; }
  .doc-list { padding-left: 1.3em; }
  .doc-list li + li { margin-top: .3em; }

  @media (max-height: 319px) {
    .v-home, .v-why, .v-models, .v-pricing, .v-docs, .v-faq, .v-404, .v-security, .v-legal {
      height: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
    .view .scroll-region { overflow: visible; max-height: none; }
    .model__id { white-space: normal; overflow-wrap: anywhere; }
  }
  @media print {
    .v-home, .v-why, .v-models, .v-pricing, .v-docs, .v-faq, .v-404, .v-security, .v-legal { height: auto; display: block; }
    .view .scroll-region { overflow: visible; max-height: none; border: 0; }
  }

  @media (pointer: coarse) {
    .toolbar .search__input, .price-card__try { min-height: 44px; }
    .v-docs .select select { height: 44px; }
    .row-actions .btn { min-width: 44px; }
    .nf__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  }
  @container view (max-width: 599px) { @media (pointer: coarse) { .toolbar .search__input { width: 44px; } } }
}
