/* Paper: Home · Desktop v5 Dark. Values from the design export. */
:root {
  --v5-ink: #0a0f10;
  --v5-muted: #8a9a99;
  --v5-text: #f2f5f5;
  --v5-bg: #04090a;
  --v5-surface: #0c1617;
  --v5-accent: #22d3c5;
  --v5-bright: #5cefe0;
  --v5-tint: #070f10;
  --v5-border: #ffffff14;
  --v5-mono: 'Geist Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--v5-text); background: var(--v5-bg); font-family: 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, summary, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid var(--v5-bright); outline-offset: 5px; }
h1, h2, h3, p, pre, dl, dd { margin: 0; }
button { border: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.v5-container { width: min(100% - 160px, 1280px); margin-inline: auto; }
.v5-logo { display: inline-block; flex-shrink: 0; }
.v5-hero { background: #0b2423; background: linear-gradient(180deg in oklab, oklab(13.3% -0.009 -0.005) 0%, oklab(15.5% -0.013 -0.008) 18%, oklab(28.2% -0.042 -0.009) 40%, oklab(44% -0.071 -0.010) 58%, oklab(49.4% -0.080 -0.013) 66%, oklab(38.1% -0.061 -0.011) 78%, oklab(20.2% -0.025 -0.009) 90%, oklab(13.3% -0.009 -0.005) 100%); padding-bottom: 120px; }
.v5-nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; color: white; }
.v5-nav nav { display: flex; gap: 36px; color: #ffffffcc; font-size: 15px; }
.v5-nav a:hover, .v5-footer a:hover { color: var(--v5-bright); }
.v5-nav-actions { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.v5-button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; border-radius: 100px; font-size: 16px; line-height: 20px; font-weight: 500; border: 1px solid transparent; transition: transform .18s, background .18s; text-align: center; }
.v5-button:hover { transform: translateY(-2px); }
.v5-button[aria-disabled="true"] { cursor: default; }
.v5-button[aria-disabled="true"]:hover { transform: none; }
.v5-button.v5-accent { background: var(--v5-accent); color: #04201e; font-weight: 600; }
.v5-button.v5-accent:hover { background: #5cefe0; color: #04201e; }
.v5-small { padding: 11px 20px; font-size: 15px; line-height: 18px; }
.v5-nav-actions .v5-button { font-weight: 500; }
.v5-white { background: #fff; color: #04090a; font-weight: 600; }
.v5-outline { background: #ffffff0d; border-color: #ffffff40; color: white; }
.v5-outline:hover { background: #ffffff1f; }
.v5-soft { background: transparent; border-color: #ffffff24; color: var(--v5-text); }
.v5-soft:hover { background: #ffffff0d; }
.v5-menu, .v5-nav nav .v5-mobile-signin { display: none; }
.v5-hero-body { display: grid; grid-template-columns: 600px 560px; justify-content: space-between; align-items: center; gap: 40px; padding-top: 110px; }
.v5-hero-copy { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.v5-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid #ffffff24; border-radius: 100px; color: #ffffffcc; background: #ffffff0a; font: 12px/16px var(--v5-mono); letter-spacing: .08em; }
.v5-hero-badge i { width: 7px; height: 7px; background: var(--v5-bright); border-radius: 50%; flex-shrink: 0; }
.v5-hero h1 { color: #fff; font-size: 84px; font-weight: 500; line-height: 86px; letter-spacing: -.045em; }
.v5-hero h1 span, .v5-final h2 span { color: var(--v5-bright); }
.v5-hero-copy > p { color: #ffffffb8; font-size: 19px; line-height: 30px; max-width: 520px; }
.v5-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v5-rates > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.v5-rates dd { font-size: 26px; line-height: 32px; letter-spacing: -.03em; font-weight: 500; }
.v5-rates dt { font-size: 13px; line-height: 16px; color: var(--v5-muted); }
.v5-code-link { display: inline-flex; align-items: center; gap: 10px; color: var(--v5-bright); font-size: 14px; line-height: 18px; }
.v5-code-link:hover { color: #fff; }
.v5-code-link span { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1px solid #22d3c566; border-radius: 6px; background: #04201e; font: 600 10px/12px var(--v5-mono); }
.v5-terminal { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffff1f; border-radius: 16px; background: #070d0e; box-shadow: 0 30px 80px #00000099, 0 0 0 1px #00000066, 0 0 60px #22d3c51a; font: 13px/22px var(--v5-mono); }
.v5-terminal-bar { display: flex; align-items: center; padding: 14px 18px; background: #0e1718; border-bottom: 1px solid #ffffff14; }
.v5-terminal-bar > span { display: flex; gap: 8px; width: 80px; flex-shrink: 0; }
.v5-terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff26; }
.v5-terminal-bar p { flex: 1; text-align: center; color: #ffffff73; font-size: 12px; line-height: 16px; }
.v5-terminal-body { display: flex; flex-direction: column; gap: 20px; padding: 24px 24px 28px; }
.v5-terminal-body p { display: flex; gap: 10px; }
.v5-terminal-body b { width: 12px; flex-shrink: 0; font-weight: 400; color: var(--v5-bright); }
.v5-term-other { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; border-bottom: 1px dashed #ffffff1a; color: #ffffff8c; }
.v5-term-other b { color: #ffffff4d; }
.v5-term-other .v5-term-no { color: #ffffff73; }
.v5-term-other .v5-term-no b { color: #f2877c; }
.v5-term-ours { display: flex; flex-direction: column; gap: 6px; color: var(--v5-text); }
.v5-term-out { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 0 22px; color: #d6e2e1; }
.v5-term-out pre { font: inherit; white-space: pre; overflow-x: auto; }
.v5-term-out .v5-term-code { padding: 12px 16px; border-left: 2px solid var(--v5-bright); border-radius: 8px; background: #ffffff08; color: var(--v5-bright); }
.v5-term-done { padding-top: 10px; color: #ffffff73; }
.v5-term-cursor { align-items: center; }
.v5-term-cursor i { width: 8px; height: 16px; background: var(--v5-bright); animation: v5-blink 1.1s steps(1) infinite; }
@keyframes v5-blink { 50% { opacity: 0; } }
.v5-terminal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-top: 1px solid #5cefe026; background: #22d3c514; font-size: 12px; line-height: 16px; }
.v5-term-model { display: flex; align-items: center; gap: 8px; color: var(--v5-bright); }
.v5-term-model i { width: 6px; height: 6px; border-radius: 50%; background: var(--v5-bright); }
.v5-term-stats { display: flex; gap: 20px; color: #ffffffa6; }
.v5-stack { padding-top: 40px; padding-bottom: 120px; text-align: center; }
.v5-stack > p { color: var(--v5-muted); font-size: 15px; line-height: 18px; margin-bottom: 28px; }
.v5-stack > div { display: flex; align-items: center; justify-content: center; gap: 72px; flex-wrap: wrap; }
.v5-stack span { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.03em; }
.v5-stack .v5-mono { font: 20px/24px var(--v5-mono); letter-spacing: 0; }
.v5-rules, .v5-setup { display: grid; grid-template-columns: 520px minmax(0,1fr); align-items: center; gap: 80px; padding-bottom: 140px; }
.v5-section-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.v5-badge { display: inline-block; align-self: flex-start; border-radius: 100px; padding: 6px 14px; background: #22d3c51f; color: var(--v5-bright); font-size: 13px; line-height: 16px; font-weight: 500; }
h2 { font-size: 56px; line-height: 60px; letter-spacing: -.045em; font-weight: 500; }
.v5-section-copy > p { font-size: 18px; line-height: 29px; color: var(--v5-muted); }
.v5-controls-backdrop { padding: 40px; border: 1px solid #ffffff0f; border-radius: 28px; background: linear-gradient(180deg in oklab, oklab(20.2% -0.025 -0.009) 0%, oklab(38.1% -0.061 -0.011) 50%, oklab(49.4% -0.080 -0.013) 100%); }
.v5-controls { background: var(--v5-surface); border: 1px solid #ffffff1a; border-radius: 20px; box-shadow: 0 20px 50px #00000073; overflow: hidden; }
.v5-controls-heading { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--v5-border); }
.v5-controls-heading strong { font-size: 16px; font-weight: 500; line-height: 20px; }
.v5-controls-heading span { font: 12px/16px var(--v5-mono); color: var(--v5-muted); }
.v5-control-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--v5-border); }
.v5-control-row:last-child { border: 0; }
.v5-control-row h3 { font-size: 15px; line-height: 18px; font-weight: 500; }
.v5-control-row p { color: var(--v5-muted); font-size: 13px; line-height: 16px; margin-top: 3px; }
.v5-switch { width: 42px; height: 24px; padding: 3px; border-radius: 12px; background: #ffffff1f; flex-shrink: 0; position: relative; }
.v5-switch::before { content: ''; display: block; width: 18px; height: 18px; background: #ffffff8c; border-radius: 50%; transition: transform .16s; }
.v5-switch[aria-checked="true"] { background: var(--v5-accent); }
.v5-switch[aria-checked="true"]::before { transform: translateX(18px); background: #04201e; }
.v5-switch::after { content: ''; position: absolute; inset: -10px 0; }
.v5-tinted { background: var(--v5-tint); }
.v5-section { padding-block: 120px; }
.v5-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.v5-section-heading .v5-badge { margin-bottom: 20px; }
.v5-section-heading > p { font-size: 16px; line-height: 26px; color: var(--v5-muted); width: 380px; flex-shrink: 0; }
.v5-model-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.v5-model { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px; border: 1px solid var(--v5-border); border-radius: 24px; background: var(--v5-surface); }
.v5-model .v5-mono-label { color: var(--v5-muted); display: block; }
.v5-model h3 { font-size: 44px; line-height: 54px; letter-spacing: -.045em; font-weight: 500; margin-block: 10px; }
.v5-model p { font-size: 18px; line-height: 28px; color: var(--v5-muted); }
.v5-model-dark { border-color: #5cefe04d; background: linear-gradient(180deg in oklab, oklab(28.2% -0.042 -0.009) 0%, oklab(44% -0.071 -0.010) 55%, oklab(60.6% -0.099 -0.015) 100%); color: white; }
.v5-model-dark p { color: #ffffffc7; }
.v5-model-dark .v5-mono-label { color: var(--v5-bright); }
.v5-rates { border-top: 1px solid var(--v5-border); padding-top: 24px; display: flex; gap: 40px; }
.v5-model-dark .v5-rates { border-color: #ffffff2e; }
.v5-model-dark dt { color: #ffffffb3; }
.v5-use-cases { padding-block: 140px; }
.v5-use-cases .v5-section-heading { margin-bottom: 56px; }
.v5-case-grid, .v5-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.v5-case { padding: 28px; border: 1px solid #ffffff14; border-radius: 20px; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; color: white; }
.v5-case-0 { background: radial-gradient(circle farthest-corner at 70% 10% in oklab, oklab(49% -0.081 -0.010) 0%, oklab(25.4% -0.036 -0.013) 45%, oklab(19.1% -0.014 -0.006) 100%); }
.v5-case-1 { background: radial-gradient(circle farthest-corner at 20% 90% in oklab, oklab(57.2% -0.096 -0.010) 0%, oklab(25.4% -0.036 -0.013) 50%, oklab(19.1% -0.014 -0.006) 100%); }
.v5-case-2 { background: radial-gradient(circle farthest-corner at 90% 60% in oklab, oklab(78.2% -0.131 -0.014) 0%, oklab(40.7% -0.066 -0.011) 40%, oklab(19.1% -0.014 -0.006) 100%); }
.v5-case pre { font: 13px/22px var(--v5-mono); color: #a0fff4c7; white-space: pre-wrap; overflow-wrap: anywhere; }
.v5-case h3 { font-size: 20px; line-height: 24px; font-weight: 500; margin-bottom: 8px; }
.v5-case p { color: #ffffffb3; font-size: 14px; line-height: 22px; }
.v5-setup { grid-template-columns: 440px minmax(0,1fr); }
.v5-text-link { font-weight: 500; color: var(--v5-bright); }
.v5-code-panel { background: var(--v5-surface); border: 1px solid #ffffff1a; border-radius: 24px; min-width: 0; color: white; overflow: hidden; }
.v5-tabs { display: flex; gap: 4px; border-bottom: 1px solid #ffffff14; padding: 12px; overflow-x: auto; }
.v5-tabs button { background: transparent; color: #ffffff99; padding: 8px 14px; border-radius: 100px; font: 13px/16px var(--v5-mono); white-space: nowrap; min-height: 32px; }
.v5-tabs button[aria-selected="true"] { background: var(--v5-accent); color: #04201e; font-weight: 500; }
.v5-code-content { padding: 24px 28px 28px; }
.v5-code-content p { font: 12px/16px var(--v5-mono); color: #ffffff80; }
.v5-code-content pre { margin-top: 12px; padding: 14px 18px; border-radius: 10px; background: #00000059; font: 14px/24px var(--v5-mono); overflow: auto; }
.v5-code-content code { font: inherit; }
.v5-code-example { height: 196px; }
.v5-code-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.v5-code-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.v5-copy { background: transparent; color: var(--v5-bright); font: 12px/16px var(--v5-mono); position: relative; }
.v5-copy::after { content: ''; position: absolute; inset: -12px -6px; }
.v5-code-app { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 160px; text-align: center; }
.v5-code-app .v5-badge { align-self: center; }
.v5-code-app h2 { max-width: 860px; }
.v5-code-app > p { max-width: 620px; font-size: 18px; line-height: 29px; color: var(--v5-muted); }
.v5-code-app .v5-actions { margin-top: 8px; justify-content: center; }
.v5-code-app small { font-size: 13px; line-height: 16px; color: var(--v5-muted); }
.v5-code-app figure { width: min(100%, 1120px); margin: 32px 0 0; padding: 10px; border-radius: 22px; background: linear-gradient(180deg in oklab, oklab(78.2% -0.131 -0.014 / 35%) 0%, oklab(78.2% -0.131 -0.014 / 3%) 100%); }
.v5-code-app img { width: 100%; height: auto; border-radius: 14px; }
#pricing h2 { max-width: 720px; }
.v5-plan { padding: 36px; border: 1px solid var(--v5-border); border-radius: 24px; background: var(--v5-surface); display: flex; flex-direction: column; gap: 24px; }
.v5-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v5-plan-name h3 { font-size: 18px; line-height: 22px; font-weight: 500; }
.v5-plan-name > span { background: var(--v5-accent); color: #04201e; padding: 4px 10px; border-radius: 100px; font-size: 12px; line-height: 16px; font-weight: 600; }
.v5-price { font-size: 60px; line-height: 60px; letter-spacing: -.05em; font-weight: 500; }
.v5-price span { font-size: 15px; line-height: 18px; letter-spacing: 0; font-weight: 400; color: var(--v5-muted); margin-left: 6px; }
.v5-allowance { font-size: 15px; font-weight: 500; line-height: 18px; }
.v5-plan ul { list-style: none; padding: 24px 0 0; border-top: 1px solid var(--v5-border); margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--v5-muted); font-size: 15px; line-height: 18px; flex: 1; }
.v5-plan .v5-button { padding: 13px; font-size: 15px; line-height: 18px; }
.v5-plan-dark { color: white; border-color: #5cefe066; box-shadow: 0 0 60px #22d3c526; background: linear-gradient(180deg in oklab, oklab(28.2% -0.042 -0.009) 0%, oklab(44% -0.071 -0.010) 60%, oklab(60.6% -0.099 -0.015) 100%); }
.v5-plan-dark .v5-price span { color: #ffffffb3; }
.v5-plan-dark ul { color: #ffffffcc; }
.v5-plan-dark ul { border-color: #ffffff2e; }
.v5-pricing-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 24px; border: 1px solid var(--v5-border); border-radius: 16px; background: var(--v5-surface); margin-top: 48px; }
.v5-pricing-note p { font-size: 15px; line-height: 18px; color: var(--v5-muted); }
.v5-pricing-note a { font: 13px/16px var(--v5-mono); }
.v5-faq { padding-block: 140px; display: grid; grid-template-columns: 440px minmax(0,1fr); gap: 96px; }
.v5-faq h2 { margin-top: 20px; }
.v5-questions { display: flex; flex-direction: column; gap: 12px; }
.v5-questions details { background: var(--v5-surface); border: 1px solid var(--v5-border); border-radius: 18px; padding: 24px 28px; }
.v5-questions summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 18px; line-height: 22px; font-weight: 500; }
.v5-questions summary::-webkit-details-marker { display: none; }
.v5-questions summary span { display: grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; flex-shrink: 0; background: #ffffff14; font-size: 16px; }
.v5-questions summary span::before { content: '+'; }
.v5-questions details[open] summary span { background: var(--v5-accent); color: #04201e; }
.v5-questions details[open] summary span::before { content: '−'; }
.v5-questions details p { font-size: 15px; line-height: 24px; color: var(--v5-muted); margin-top: 10px; padding-right: 52px; }
.v5-questions p a { text-decoration: underline; text-underline-offset: 3px; }
.v5-final { background: #0b2423; background: linear-gradient(180deg in oklab, oklab(13.3% -0.009 -0.005) 0%, oklab(20.2% -0.025 -0.009) 20%, oklab(38.1% -0.061 -0.011) 45%, oklab(49.4% -0.080 -0.013) 55%, oklab(38.1% -0.061 -0.011) 70%, oklab(20.2% -0.025 -0.009) 88%, oklab(13.3% -0.009 -0.005) 100%); padding: 180px 40px; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; color: white; }
.v5-final h2 { font-size: 96px; line-height: 98px; letter-spacing: -.05em; }
.v5-final p { font-size: 19px; line-height: 30px; color: #ffffffbf; }
.v5-footer { background: var(--v5-bg); border-top: 1px solid #ffffff14; color: white; padding-block: 56px; }
.v5-footer > div { display: flex; justify-content: space-between; gap: 48px; }
.v5-footer p { margin-top: 14px; font-size: 14px; line-height: 18px; color: #ffffff99; }
.v5-footer-links { display: flex; gap: 80px; }
.v5-footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.v5-footer h2 { font-size: 13px; line-height: 16px; letter-spacing: 0; font-weight: 400; color: #ffffff99; }
.v5-footer-links a { font-size: 14px; line-height: 18px; }
.v5-sr-only, .v5-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v5-skip:focus { position: absolute; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; background: white; color: var(--v5-ink); }
@media (max-width: 1300px) {
  .v5-container { width: calc(100% - 96px); }
  .v5-hero-body { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 40px; }
  .v5-hero h1 { font-size: clamp(52px,5.8vw,84px); line-height: 1.04; }
  .v5-hero-badge { font-size: 10px; letter-spacing: .04em; }
  .v5-rules { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 48px; }
  .v5-setup, .v5-faq { grid-template-columns: minmax(0,.72fr) minmax(0,1fr); gap: 48px; }
  h2 { font-size: 48px; line-height: 1.08; }
  .v5-section-heading > p { width: 32%; }
  .v5-rates { gap: 28px; }
  .v5-plan { padding: 28px; }
  .v5-allowance { line-height: 22px; }
  .v5-stack > div { gap: 48px; }
  .v5-controls-backdrop { padding: 28px; }
}
@media (max-width: 980px) {
  .v5-container { width: calc(100% - 64px); }
  .v5-nav { position: relative; flex-wrap: wrap; gap: 20px; }
  .v5-menu { display: flex; gap: 16px; align-items: center; margin-left: auto; color: white; padding: 10px 14px; background: #ffffff14; border: 1px solid #ffffff33; border-radius: 100px; }
  .v5-nav-actions { display: none; }
  .v5-nav nav { display: none; width: 100%; padding: 20px; background: #0b2423; border: 1px solid #ffffff2e; border-radius: 16px; flex-direction: column; gap: 0; }
  .v5-nav nav.is-open { display: flex; }
  .v5-nav nav a { padding: 12px; }
  .v5-nav nav .v5-mobile-signin { display: block; color: var(--v5-bright); }
  .v5-hero { padding-bottom: 100px; }
  .v5-hero-body { grid-template-columns: 1fr; padding-top: 60px; gap: 56px; }
  .v5-hero-copy { max-width: 680px; }
  .v5-hero h1 { font-size: 76px; }
  .v5-hero-badge { font-size: 12px; }
  .v5-terminal { max-width: 620px; width: 100%; justify-self: end; }
  .v5-rules, .v5-setup, .v5-faq { grid-template-columns: 1fr; gap: 40px; }
  .v5-section-copy { max-width: 640px; }
  .v5-section, .v5-use-cases, .v5-faq { padding-block: 88px; }
  .v5-stack { padding-bottom: 88px; }
  .v5-rules, .v5-setup { padding-bottom: 88px; }
  .v5-code-app { padding-bottom: 88px; }
  .v5-section-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .v5-section-heading > p { width: 100%; max-width: 540px; }
  .v5-model { padding: 28px; }
  .v5-rates { gap: 20px; flex-wrap: wrap; }
  .v5-case-grid { grid-template-columns: 1fr; }
  .v5-case { min-height: 340px; }
  .v5-plan-grid { grid-template-columns: 1fr; }
  .v5-plan { padding: 36px; }
  .v5-pricing-note { align-items: flex-start; flex-direction: column; gap: 16px; }
  .v5-final { padding-block: 160px 100px; }
  .v5-final h2 { font-size: 80px; line-height: 1.02; }
  .v5-footer-links { gap: 40px; }
}
@media (max-width: 600px) {
  .v5-container { width: calc(100% - 40px); }
  .v5-nav { padding-block: 22px; }
  .v5-logo img { width: 126px; height: auto; }
  .v5-hero-body { padding-top: 40px; gap: 40px; }
  .v5-hero-copy { gap: 24px; }
  .v5-hero-badge { font-size: 9px; line-height: 14px; letter-spacing: .01em; padding: 6px 10px; gap: 7px; }
  .v5-hero h1 { font-size: clamp(40px,10.7vw,64px); line-height: 1.04; }
  .v5-hero-copy > p { font-size: 17px; line-height: 27px; }
  .v5-button { font-size: 14px; padding: 14px 20px; }
  .v5-actions { gap: 10px; }
  .v5-terminal { font-size: 11px; line-height: 19px; }
  .v5-terminal-body { padding: 18px 16px 20px; gap: 16px; }
  .v5-term-other { padding-bottom: 16px; }
  .v5-term-out { padding-left: 0; }
  .v5-term-out pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .v5-term-out .v5-term-code { padding: 10px 12px; }
  .v5-terminal-foot { flex-wrap: wrap; padding: 12px 16px; font-size: 11px; }
  .v5-term-stats { gap: 14px; }
  .v5-code-app { padding-top: 24px; padding-bottom: 72px; }
  .v5-code-app > p { font-size: 17px; line-height: 27px; }
  .v5-code-app figure { margin-top: 20px; padding: 6px; border-radius: 16px; }
  .v5-code-app img { border-radius: 11px; }
  .v5-code-actions { gap: 12px; }
  .v5-stack > div { column-gap: 28px; row-gap: 22px; }
  .v5-stack span { font-size: 20px; }
  .v5-stack .v5-mono { font-size: 16px; }
  h2 { font-size: 38px; line-height: 1.08; }
  .v5-section, .v5-use-cases, .v5-faq { padding-block: 72px; }
  .v5-stack { padding-bottom: 72px; }
  .v5-rules, .v5-setup { padding-bottom: 72px; }
  .v5-controls-backdrop { padding: 16px; border-radius: 22px; }
  .v5-controls-heading, .v5-control-row { padding: 16px; }
  .v5-controls-heading span { font-size: 9px; }
  .v5-control-row { gap: 12px; }
  .v5-control-row p { font-size: 12px; line-height: 17px; }
  .v5-model-grid { grid-template-columns: 1fr; }
  .v5-model { padding: 28px; }
  .v5-rates { justify-content: space-between; gap: 14px; }
  .v5-rates dd { font-size: 24px; }
  .v5-rates dt { font-size: 11px; }
  .v5-use-cases .v5-section-heading { margin-bottom: 32px; }
  .v5-case { padding: 26px; }
  .v5-code-content { padding: 20px 16px; }
  .v5-code-content pre { font-size: 12px; padding: 14px; }
  .v5-code-label { gap: 8px; }
  .v5-code-label p { font-size: 10px; }
  .v5-plan { padding: 28px; }
  .v5-questions details { padding: 20px; }
  .v5-questions summary { font-size: 16px; line-height: 23px; gap: 16px; }
  .v5-questions details p { padding-right: 0; }
  .v5-final { padding: 140px 20px 88px; gap: 28px; }
  .v5-final h2 { font-size: clamp(44px,12vw,70px); }
  .v5-final p { font-size: 16px; line-height: 26px; }
  .v5-final .v5-actions { justify-content: center; }
  .v5-footer > div { flex-direction: column; gap: 40px; }
  .v5-footer-links { justify-content: space-between; gap: 20px; }
  .v5-footer-links a { font-size: 13px; }
}
/* Language switcher (footer, every page) and right-to-left editions (src/i18n.mjs). */
.v5-langs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #ffffff14; font-size: 13px; line-height: 18px; }
.v5-langs a { color: #ffffff99; }
.v5-langs a[aria-current="true"] { color: white; }
[dir="rtl"] pre, [dir="rtl"] code, [dir="rtl"] .v5-terminal, [dir="rtl"] .v5-code-panel, [dir="rtl"] .v5-stack div { direction: ltr; text-align: left; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .v5-term-cursor i { animation: none; }
}
