/* Shared visual language for the Cloud landing page and developer reference. */
:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #101013;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #92929e;
  --accent: #c4b5fd;
  --cyan: #a5dce6;
  --line: #27272d;
  --line-strong: #45454f;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--text); }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #514174; color: #fff; }
.wrap { max-width: 1232px; margin: auto; padding: 0 40px; }
.site-header { position: sticky; top: 0; z-index: 10; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: auto; min-height: 80px; margin-inline: calc(50% - 50vw); padding-inline: max(40px, calc((100vw - 1232px) / 2 + 40px)); border-bottom: 1px solid var(--line); background: rgba(9,9,11,.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 550; letter-spacing: -.035em; }
.brand img { display: block; }
.product-label { margin-left: 2px; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; font: 11px/1.3 var(--mono); letter-spacing: .02em; color: var(--muted); }
.top-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.top-links a { text-decoration: none; font-size: 13px; color: var(--muted); }
.top-links a:hover, .top-links a[aria-current] { color: var(--text); }
.language-switcher { display: inline-flex; align-items: center; gap: 2px; padding-left: 10px; border-left: 1px solid var(--line); }
.language-switcher button { min-width: 27px; padding: 5px 4px; border: 0; border-radius: 4px; background: transparent; color: var(--dim); font: 10px/1.2 var(--mono); cursor: pointer; }
.language-switcher button:hover, .language-switcher button[aria-pressed="true"] { background: var(--line); color: var(--text); }
.icon { display: inline-block; width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-inline { width: 14px; height: 14px; vertical-align: -.2em; margin-left: 3px; transition: transform .18s ease; }
a:hover .icon-inline { transform: translateX(2px); }
.agent-brands { position: relative; display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; perspective: 80px; }
.agent-brand { position: absolute; inset: 0; width: 16px; height: 16px; fill: currentColor; stroke: none; opacity: 0; transform: rotateY(-90deg) scale(.72); animation: agent-brand-flip 7.5s ease-in-out infinite; }
.agent-brand use { fill: currentColor; }
.agent-brand-cursor { animation-delay: 0s; }
.agent-brand-claude { animation-delay: -2.5s; }
.agent-brand-chatgpt { animation-delay: -5s; }
.agent-brands + span { white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 5px; background: transparent; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 550; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { background: #1b1b21; border-color: #777780; }
.button.primary { background: var(--text); border-color: var(--text); color: #141416; }
.button.primary:hover { background: #dcd5f4; border-color: #dcd5f4; }
.top-links .nav-cta { min-height: 36px; padding: 7px 12px; gap: 8px; color: var(--text); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: center; gap: 64px; padding: 110px 0 92px; }
.hero::before { content: ""; position: absolute; z-index: -2; top: -150px; right: -54px; width: min(680px, 76vw); height: 570px; pointer-events: none; border-radius: 50%; background: radial-gradient(ellipse 54% 48% at 66% 28%,rgba(191,159,255,.2),transparent 70%), radial-gradient(ellipse 62% 70% at 82% 44%,rgba(132,106,190,.14),transparent 72%); filter: blur(12px); opacity: .95; animation: hero-cloud-drift 14s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; z-index: -1; top: -30px; right: 0; width: min(620px, 72vw); height: 390px; pointer-events: none; background: radial-gradient(circle at 22% 22%,rgba(224,207,255,.62) 0 1px,transparent 2px), radial-gradient(circle at 52% 13%,rgba(196,165,255,.5) 0 1.5px,transparent 2.5px), radial-gradient(circle at 76% 31%,rgba(224,207,255,.54) 0 1px,transparent 2px), radial-gradient(circle at 36% 49%,rgba(176,140,255,.42) 0 1px,transparent 2px), radial-gradient(circle at 88% 63%,rgba(210,190,255,.4) 0 1.5px,transparent 2.5px), radial-gradient(circle at 61% 78%,rgba(196,165,255,.3) 0 1px,transparent 2px); opacity: .72; animation: hero-dust-drift 11s ease-in-out infinite alternate; }
.eyebrow, .mono-label, .card-index { font: 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin-bottom: 18px; }
h1, h2, h3 { color: var(--text); font-weight: 500; }
h1 { margin: 0 0 25px; font-size: clamp(42px,4.35vw,63px); line-height: 1.09; letter-spacing: -.055em; }
h1 span { color: #b9b9c5; }
.hero-copy h1 { font-size: clamp(42px, 4.35vw, 43px); }
h2 { font-size: clamp(28px,3vw,38px); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 18px; }
h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.025em; margin: 0 0 10px; }
p { color: var(--muted); margin: 0 0 20px; }
.lead { max-width: 510px; font-size: 16px; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { margin: 18px 0 0; color: var(--dim); font-size: 12px; }
.workflow { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); box-shadow: 0 0 0 1px rgba(196,181,253,.02), 0 18px 60px rgba(0,0,0,.18); }
.workflow::after { content: ""; position: absolute; z-index: 2; inset: -1px 0 auto; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; animation: terminal-scan 5s ease-in-out infinite; }
.workflow-top, .workflow-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.workflow-top { border-bottom: 1px solid var(--line); }
.workflow-title { display: flex; align-items: center; min-width: 0; gap: 10px; }
.workflow-top .eyebrow { margin: 0; color: var(--dim); font-size: 9px; letter-spacing: .07em; }
.terminal-dots { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.terminal-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.terminal-dots i:first-child { background: var(--accent); animation: terminal-pulse 1.8s ease-in-out infinite; }
.terminal-dots i:nth-child(2) { animation: terminal-pulse 1.8s .2s ease-in-out infinite; }
.terminal-dots i:nth-child(3) { animation: terminal-pulse 1.8s .4s ease-in-out infinite; }
.protocol { color: var(--accent); font: 10px var(--mono); border: 1px solid #443653; border-radius: 3px; padding: 4px 6px; }
.workflow-prompt { padding: 23px 24px 18px; }
.mono-label { color: var(--dim); font-size: 9px; }
.workflow-prompt p { margin: 7px 0 0; font-size: 14px; color: var(--text); }
.workflow-prompt p::after { content: "▋"; display: inline-block; margin-left: 4px; color: var(--accent); font-size: .8em; animation: cursor-blink 1s steps(2, end) infinite; }
.workflow-steps { margin: 0; padding: 0 24px 22px; list-style: none; }
.workflow-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; opacity: 0; transform: translateY(8px); animation: workflow-step-in .55s cubic-bezier(.2,.7,.2,1) forwards; }
.workflow-steps li:nth-child(1) { animation-delay: .35s; }
.workflow-steps li:nth-child(2) { animation-delay: .75s; }
.workflow-steps li:nth-child(3) { animation-delay: 1.15s; }
.workflow-steps li:nth-child(4) { animation-delay: 1.55s; }
.workflow-steps li:not(:last-child)::before { content: ""; position: absolute; top: 36px; bottom: -10px; left: 12px; width: 1px; background: var(--line-strong); }
.step-number { flex: 0 0 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); background: var(--panel); font: 9px var(--mono); transition: border-color .4s ease, color .4s ease, background .4s ease; }
.step-number > * { grid-area: 1 / 1; }
.sn-num { transition: opacity .3s ease, transform .3s ease; }
.sn-check { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); }
.sn-check path { stroke-dasharray: 32; stroke-dashoffset: 32; }
.workflow-steps li.checked .step-number { border-color: var(--accent); color: var(--accent); background: #211a2e; }
.workflow-steps li.checked .sn-num { opacity: 0; transform: scale(.3); }
.workflow-steps li.checked .sn-check { opacity: 1; transform: scale(1); transition: opacity .3s ease .08s, transform .4s cubic-bezier(.2,.9,.3,1.5) .08s; }
.workflow-steps li.checked .sn-check path { animation: sn-draw .45s ease .14s forwards; }
@keyframes sn-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sn-num, .sn-check, .sn-check path, .step-number { transition: none; animation: none; }
  .workflow-steps li.checked .sn-check { opacity: 1; transform: none; }
  .workflow-steps li.checked .sn-check path { stroke-dashoffset: 0; }
}
.workflow-steps strong { display: block; font-size: 12px; font-weight: 500; color: var(--text); }
.workflow-steps code { display: block; margin-top: 4px; font-size: 9px; color: var(--dim); line-height: 1.6; }
.workflow-steps code.server-ip { display: inline-flex; align-items: center; gap: 5px; }
.workflow-steps .approval strong { color: var(--accent); font-size: 11px; padding-top: 3px; }
.approval .step-number { border-color: #443653; color: var(--accent); }
.workflow-bottom { border-top: 1px solid var(--line); padding-block: 14px; }
.workflow-bottom code { color: var(--muted); font-size: 11px; }
.capabilities { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.capabilities span { padding: 20px 12px; text-align: center; color: var(--muted); font: 10px/1.5 var(--mono); }
.capabilities span + span { border-left: 1px solid var(--line); }
main > section { margin-top: 88px; }
main > section > p { max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 28px; }
.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { min-width: 0; padding: 30px; background: var(--panel); }
.card + .card { border-left: 1px solid var(--line); }
.card-index { display: block; color: var(--dim); font-size: 9px; margin-bottom: 26px; }
.card-icon { display: block; width: 26px; height: 26px; margin-bottom: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.steps .card-icon { margin-bottom: 20px; }
.card p { margin: 0; font-size: 13px; line-height: 1.85; }
.server-ip { display: inline-flex; align-items: center; gap: 7px; }
.server-dot { display: block; flex: 0 0 6px; aspect-ratio: 1 / 1; height: 7px; background: #25bd52; box-shadow: 0 0 0 0 rgba(114,151,125,.38); animation: server-pulse 1.8s ease-out infinite; }
@keyframes server-pulse { 0% { box-shadow: 0 0 0 0 rgba(114,151,125,.36); } 70% { box-shadow: 0 0 0 4px rgba(114,151,125,0); } 100% { box-shadow: 0 0 0 0 rgba(114,151,125,0); } }
@media (prefers-reduced-motion: reduce) { .server-dot { animation: none; } }
.table-shell { max-width: 100%; overflow-x: auto; margin: 24px 0 18px; border: 1px solid var(--line); border-radius: 6px; scrollbar-color: var(--line-strong) var(--panel); }
table { width: 100%; border-collapse: collapse; text-align: left; background: var(--panel); }
th, td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #141418; color: var(--dim); font: 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
td { color: var(--muted); font-size: 13px; }
td:first-child { color: var(--text); }
td.table-loading { color: var(--dim); text-align: center; font-family: var(--mono); font-size: 11px; }
.plan-configuration, .plan-resources { display: block; }
.plan-configuration { color: var(--text); font-size: 13px; font-weight: 500; }
.plan-resources { margin-top: 5px; color: var(--dim); font: 10px/1.5 var(--mono); }
.unavailable-value { color: var(--dim); font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.availability-badge { display: inline-block; padding: 4px 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--dim); font: 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tr.plan-unavailable td { color: var(--dim); opacity: .52; }
tr.plan-unavailable .plan-configuration, tr.plan-unavailable .plan-resources { color: var(--dim); }
tr:last-child td { border-bottom: 0; }
.price { color: var(--text); white-space: nowrap; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.price-level-1 { font-size: 17px; }
.price-level-2 { font-size: 16px; }
.price-level-3 { font-size: 15px; }
.price-level-4 { font-size: 14px; }
.price-level-5 { font-size: 13px; }
.price-level-6 { font-size: 12px; }
.price span { color: var(--muted); font-size: 12px; font-weight: 400; }
.small { color: var(--dim); font-size: 12px; }
.locations-block { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.locations-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.locations-heading .eyebrow { margin-bottom: 8px; }
.locations-heading h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.locations-status { color: var(--dim); font: 10px/1.5 var(--mono); white-space: nowrap; }
.location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.location-card { display: flex; align-items: flex-start; gap: 13px; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); cursor: pointer; user-select: none; transition: border-color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease; }
.location-card:hover { border-color: var(--line-strong); background: #17171d; transform: translateY(-2px); }
.location-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196,181,253,.12); }
.location-card:active { transform: translateY(0) scale(.99); background: #1d1d24; }
.location-card.is-unavailable { opacity: .48; filter: grayscale(1); }
.location-card.is-unavailable:hover { opacity: .65; }
.location-card.is-partial { border-color: rgba(196,181,253,.35); }
.location-flag-wrap { flex: 0 0 42px; display: grid; place-items: center; }
.location-flag { display: block; width: 42px; height: 28px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.location-flag-placeholder { background: linear-gradient(135deg, var(--line-strong), var(--line)); }
.location-copy { min-width: 0; }
.location-copy strong, .location-copy span, .location-copy code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-copy strong { color: var(--text); font-size: 13px; font-weight: 500; }
.location-copy span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.location-copy code { margin-top: 5px; color: var(--dim); font-size: 9px; }
.location-copy .availability-badge { margin-top: 7px; }
.location-card { position: relative; }
.location-card.has-more .location-copy { padding-right: 40px; }
.location-city { margin-top: 4px; }
.location-more { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: #17171d; color: var(--text); font: 10px/1.2 var(--mono); letter-spacing: .04em; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.location-more:hover { border-color: var(--accent); color: var(--accent); }
.location-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.location-tooltip { position: absolute; right: 8px; bottom: 40px; z-index: 30; min-width: 150px; padding: 10px 13px; background: #000; border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: 0 14px 34px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
/* Scroll lives on the list, not the tooltip box: the hover-bridge ::after below
   would otherwise inflate the box's scrollHeight and force a scrollbar for even
   two cities. The list (below) scrolls only once it exceeds its own max-height. */
.location-tooltip ul::-webkit-scrollbar { width: 5px; }
.location-tooltip ul::-webkit-scrollbar-track { background: transparent; }
.location-tooltip ul::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.location-tooltip ul::-webkit-scrollbar-thumb:hover { background: var(--dim); }
/* Only the "+N" pill (or a tap) opens the tooltip — not hovering the whole card.
   A transparent bridge below the tooltip bridges the gap to the pill so the
   cursor can travel into the tooltip to scroll it. */
.location-more:hover ~ .location-tooltip, .location-tooltip:hover, .location-card.show-tooltip .location-tooltip { opacity: 1; visibility: visible; transform: none; }
.location-tooltip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.location-tooltip ul { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.location-tooltip li { display: flex; align-items: center; gap: 9px; padding: 3px 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.location-tooltip li::before { content: ""; flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .location-tooltip { transition: none; } }
/* Collapsible reveal: the first rows/cards stay visible; the rest sit under a
   dark-to-transparent gradient labelled "Need more power?" with a down arrow.
   The gradient bar itself is the clickable control (no pill button). */
.plans-collapsed .plan-row-extra { display: none; }
.gpu-collapsed .gpu-card-extra { display: none; }
.reveal { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; margin: -70px 0 18px; padding: 48px 22px 16px; position: relative; z-index: 2; background: linear-gradient(180deg, rgba(9,9,11,0) 0%, var(--bg) 72%); color: #fff; font: 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.reveal .reveal-label { color: #fff; transition: opacity .2s ease; }
.reveal:hover .reveal-label, .reveal:hover .reveal-arrow { opacity: .68; }
.reveal:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.reveal-arrow { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.reveal.is-open { margin: 14px 0 18px; padding: 8px 22px; background: none; }
.reveal.is-open .reveal-arrow { transform: rotate(180deg); }
/* Ceremonial reveal: newly shown rows/cards rise and fade in (staggered for GPU). */
@keyframes revealRise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.gpu-card-extra { animation: revealRise .55s cubic-bezier(.22,.9,.28,1) both; }
.plan-row-extra { animation: revealRise .5s cubic-bezier(.22,.9,.28,1) both; }
@media (prefers-reduced-motion: reduce) { .gpu-card-extra, .plan-row-extra { animation: none; } }
/* GPU / AI compute section */
.gpu-heading { margin-top: 26px; }
.gpu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.gpu-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); transition: border-color .2s ease, transform .2s ease; }
.gpu-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.gpu-card.is-unavailable { opacity: .5; filter: grayscale(.7); }
.gpu-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gpu-model { color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.gpu-chips { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: default; }
.gpu-chip { padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--accent); font: 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.gpu-chip-spot { color: var(--cyan); border-color: rgba(165,220,230,.4); }
.gpu-vram { color: var(--cyan); font: 11px/1.3 var(--mono); letter-spacing: .03em; }
.gpu-spec { color: var(--muted); font-size: 12px; line-height: 1.6; }
.gpu-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--line); }
.gpu-price { color: var(--text); font-size: 20px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; cursor: default; }
.gpu-price small { margin-left: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.gpu-price-hour { color: var(--dim); font: 11px/1.2 var(--mono); }
/* Skeleton loaders shown while live blocks (plans, locations, GPU, projects) fetch. */
.skel { position: relative; overflow: hidden; background: #1c1c22; border-radius: 5px; }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: skel-shimmer 1.3s ease-in-out infinite; }
@keyframes skel-shimmer { 100% { transform: translateX(100%); } }
.skel-line { height: 12px; }
.skel-line.sm { height: 9px; }
.skel-line.price { height: 18px; width: 78px; }
.skeleton-card { pointer-events: none; }
.gpu-card.skeleton-card { justify-content: flex-start; }
.plan-skeleton td { vertical-align: middle; }
.plan-skeleton .skel-stack { display: flex; flex-direction: column; gap: 7px; }
@media (prefers-reduced-motion: reduce) { .skel::after { animation: none; } }
.project-showcase { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.project-showcase-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.project-showcase-heading .eyebrow { margin-bottom: 8px; }
.project-showcase-heading h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.project-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.project-card { display: flex; min-width: 0; min-height: 170px; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease; }
.project-card:hover { border-color: var(--line-strong); background: #17171d; color: var(--text); transform: translateY(-2px); }
.project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196,181,253,.12); }
.project-card:active { transform: translateY(0) scale(.99); background: #1d1d24; }
.project-favicon { display: block; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid var(--line-strong); border-radius: 8px; background: #18181d; object-fit: contain; }
.project-card strong, .project-card span { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-card strong { margin-top: auto; color: var(--text); font-size: 14px; font-weight: 500; }
.project-card-description { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.project-card span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.project-showcase-empty { margin: 24px 0 0; }
code, pre, .agent-instructions { font-family: var(--mono); }
code { color: var(--cyan); font-size: .88em; overflow-wrap: anywhere; }
pre, .agent-instructions { padding: 24px; margin: 24px 0; overflow: auto; max-height: 510px; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 6px; background: #0e0e11; color: #c9c9d2; font-size: 12px; line-height: 1.9; tab-size: 2; scrollbar-color: var(--line-strong) var(--panel); }
pre code { color: inherit; font-size: inherit; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; margin-top: 26px; border: 1px solid var(--line); border-radius: 6px 6px 0 0; background: #16161b; }
.copy-button { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); background: transparent; font-size: 11px; cursor: pointer; }
.copy-button:hover { background: #27272d; }
.copy-button .icon-check { display: none; color: var(--accent); transform: scale(.5); }
.copy-button.copied .icon-copy { display: none; }
.copy-button.copied .icon-check { display: inline-block; animation: copy-check-pop .35s cubic-bezier(.2,.9,.3,1.5) forwards; }
@keyframes copy-check-pop { from { transform: scale(.5); opacity: .2; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .copy-button.copied .icon-check { animation: none; transform: none; opacity: 1; } }
@keyframes copy-glow {
  0%   { box-shadow: 0 0 0 0 rgba(196,181,253,0); border-color: var(--line-strong); }
  25%  { box-shadow: 0 0 0 3px rgba(196,181,253,.30), 0 0 20px 5px rgba(196,181,253,.60); border-color: var(--accent); background: #27272d; }
  60%  { box-shadow: 0 0 0 2px rgba(196,181,253,.18), 0 0 14px 3px rgba(196,181,253,.35); border-color: var(--accent); }
  100% { box-shadow: 0 0 0 0 rgba(196,181,253,0); border-color: var(--line-strong); }
}
.copy-button.copy-glow { animation: copy-glow 1.1s ease-out 2; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .copy-button.copy-glow { animation: none; } }
.code-toolbar + pre, .code-toolbar + .agent-instructions { margin-top: 0; border-top: 0; border-radius: 0 0 6px 6px; }
#agent-instructions { max-height: none; padding: 16px 20px; white-space: nowrap; overflow-x: auto; line-height: 1.6; }
.copy-status { font-size: 12px; color: var(--accent); }
.copy-status:empty { display: none; }
.note { border-left: 2px solid var(--accent); padding: 10px 0 10px 16px; font-size: 12px; }
footer { margin-top: 96px; padding: 30px 0 36px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer .brand { font-size: 13px; letter-spacing: 0; }
.footer-top > div { display: flex; gap: 24px; }
footer a { color: var(--muted); text-decoration: none; font-size: 12px; }
footer p { max-width: 680px; margin: 20px 0 0; color: var(--dim); font-size: 11px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--text); color: var(--bg); padding: 10px 18px; }
.skip-link:focus { top: 12px; color: var(--bg); }
/* Compact reference typography and persistent in-page navigation. */
.docs-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 58px; align-items: start; }
.docs-sidebar { position: sticky; top: 80px; padding: 43px 22px 40px 0; border-right: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
.docs-sidebar .eyebrow { color: var(--dim); font-size: 9px; }
.docs-sidebar nav { display: flex; flex-direction: column; gap: 3px; }
.docs-sidebar nav a { padding: 5px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.docs-sidebar nav a:hover, .sidebar-back:hover { color: var(--text); }
.sidebar-label { display: block; margin-top: 24px; padding-bottom: 6px; color: var(--text); font: 10px/1.5 var(--mono); }
.sidebar-back { display: block; margin-top: 32px; color: var(--dim); font-size: 11px; text-decoration: none; }
.docs-content { min-width: 0; padding: 52px 0 60px; }
.docs-content h1 { font-size: clamp(36px,4vw,48px); letter-spacing: -.045em; margin-bottom: 20px; }
.docs-content > p:first-of-type { font-size: 15px; line-height: 1.8; }
.docs-content h2 { font-size: 26px; margin: 54px 0 18px; padding-top: 30px; border-top: 1px solid var(--line); letter-spacing: -.03em; }
.docs-content h3 { font-size: 18px; margin: 36px 0 16px; }
.docs-content p { font-size: 13px; line-height: 1.85; }
.docs-content td { font-size: 12px; padding: 15px; }
.docs-content th { padding: 13px 15px; }
.docs-content table { min-width: 610px; }
.docs-content td:first-child { width: 25%; }
.docs-content td:nth-child(2) { width: 30%; }
.pill { display: inline-block; padding: 4px 8px; margin: 0 6px 8px 0; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 10px/1.5 var(--mono); overflow-wrap: anywhere; }
.pill:first-child { color: var(--cyan); }
.guide-content { max-width: 980px; padding: 74px 0 24px; }
.guide-content h1 { max-width: 820px; margin-bottom: 24px; }
.guide-intro { max-width: 760px; font-size: 18px; line-height: 1.8; }
.guide-hero-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 42px; }
.guide-callout { min-width: 0; padding: 25px 28px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); }
.guide-callout strong { display: block; max-width: 300px; margin: 18px 0 10px; color: var(--text); font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -.025em; }
.guide-callout p { margin: 0; font-size: 13px; }
.guide-callout-accent { border-color: #514174; background: linear-gradient(135deg,#15131d,#101013); }
.guide-callout-accent code { display: block; margin: 18px 0 10px; color: var(--cyan); font-size: 14px; line-height: 1.6; }
.guide-content section { margin-top: 96px; }
.guide-content section > p { max-width: 800px; }
.guide-content h2 { margin-bottom: 20px; }
.guide-cards { margin-top: 30px; }
.guide-steps { max-width: 800px; margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.guide-steps li > span { color: var(--accent); font: 11px/1.6 var(--mono); }
.guide-steps strong { display: block; margin-bottom: 5px; color: var(--text); font-size: 16px; font-weight: 500; }
.guide-steps p { margin: 0; font-size: 14px; line-height: 1.8; }
.game-tag { display: block; margin-bottom: 18px; color: var(--accent); font: 10px/1.5 var(--mono); letter-spacing: .12em; }
.guide-end { padding-bottom: 30px; }
.guide-end p { font-size: 16px; }
@keyframes terminal-scan {
  0%, 12% { transform: translateY(0); opacity: 0; }
  20% { opacity: .6; }
  72% { opacity: .6; }
  88%, 100% { transform: translateY(430px); opacity: 0; }
}
@keyframes terminal-pulse {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
@keyframes workflow-step-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-cloud-drift {
  from { transform: translate3d(14px, -8px, 0) scale(.96); opacity: .7; }
  to { transform: translate3d(-8px, 12px, 0) scale(1.04); opacity: 1; }
}
@keyframes hero-dust-drift {
  from { transform: translate3d(12px, 8px, 0); opacity: .38; }
  to { transform: translate3d(-10px, -12px, 0); opacity: .86; }
}
@keyframes agent-brand-flip {
  0%, 27% { opacity: 0; transform: rotateY(-90deg) scale(.72); }
  33%, 60% { opacity: 1; transform: rotateY(0) scale(1); }
  66%, 100% { opacity: 0; transform: rotateY(90deg) scale(.72); }
}
@media (max-width: 800px) {
  .guide-hero-grid { grid-template-columns: 1fr; }
  .guide-content { padding-top: 48px; }
}
@media (max-width: 1050px) {
  .hero { gap: 32px; padding-block: 80px; }
  h1 { font-size: 46px; }
  .workflow-top, .workflow-bottom { padding-inline: 16px; }
  .workflow-prompt { padding-inline: 18px; }
  .workflow-steps { padding-inline: 18px; }
  .docs-layout { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
  .card { padding: 24px; }
  .location-grid, .project-showcase-grid, .gpu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  h1 { font-size: clamp(38px,7.4vw,60px); }
  .hero-copy { max-width: 610px; }
  .workflow { max-width: 540px; width: 100%; }
  .hero::before { top: -100px; right: -72px; width: 118vw; height: 390px; background: radial-gradient(ellipse 54% 48% at 68% 24%,rgba(191,159,255,.2),transparent 70%), radial-gradient(ellipse 68% 72% at 82% 42%,rgba(132,106,190,.14),transparent 72%); }
  .hero::after { top: -18px; right: -18px; width: 108vw; height: 300px; }
  .grid, .grid-two { grid-template-columns: 1fr; }
  .location-grid, .project-showcase-grid, .gpu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .card-index { margin-bottom: 14px; }
  .top-links { gap: 18px; }
  .docs-layout { grid-template-columns: 1fr; gap: 0; }
  .docs-sidebar { position: static; max-height: none; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .docs-sidebar .sidebar-label, .sidebar-back { display: none; }
  .docs-sidebar nav a { padding: 3px 0; }
  .docs-sidebar .eyebrow { margin-bottom: 10px; }
  .docs-content { padding-top: 34px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .site-header { min-height: 104px; flex-wrap: wrap; gap: 8px; padding-block: 14px; }
  html { scroll-padding-top: 160px; }
  .brand { font-size: 17px; }
  .brand img { width: 24px; height: 27px; }
  .top-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px 14px; }
  .top-links a { font-size: 11px; }
  .top-links .nav-cta { min-height: 32px; padding: 5px 8px; gap: 7px; }
  .language-switcher { flex-basis: 100%; justify-content: flex-start; margin-left: 0; padding-left: 0; border-left: 0; }
  .language-switcher button { min-width: 24px; padding-inline: 2px; }
  .hero { padding: 50px 0 38px; gap: 32px; }
  h1 { font-size: clamp(29px,7.8vw,43px); }
  .lead { font-size: 14px; }
  .actions { gap: 10px; }
  .actions .button { flex: 1 1 145px; }
  .button { font-size: 12px; padding-inline: 14px; gap: 8px; }
  .hero-note { font-size: 11px; }
  .locations-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .location-grid, .project-showcase-grid, .gpu-grid { grid-template-columns: 1fr; }
  .workflow-top, .workflow-bottom { padding-inline: 14px; }
  .workflow-title { gap: 7px; }
  .workflow-top .eyebrow { letter-spacing: .045em; }
  .workflow-prompt { padding: 18px 16px 14px; }
  .workflow-steps { padding-inline: 16px; }
  .workflow-steps li { gap: 10px; }
  .workflow-steps code { font-size: 8px; }
  .capabilities { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capabilities span { font-size: 9px; padding: 15px 7px; }
  .capabilities span:nth-child(3) { border-left: 0; }
  .capabilities span:nth-child(n+3) { border-top: 1px solid var(--line); }
  main > section { margin-top: 58px; }
  .card { padding: 22px; }
  #pricing table { min-width: 560px; }
  th, td { padding: 15px; }
  pre { padding: 18px; font-size: 11px; }
  .code-toolbar { padding: 10px 12px; gap: 8px; }
  .code-toolbar .mono-label { font-size: 8px; }
  .copy-button { font-size: 10px; gap: 6px; }
  #agent-instructions { padding-inline: 16px; }
  footer { margin-top: 64px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .workflow-steps li { opacity: 1; transform: none; }
}
