/* A restrained product page: black, white, blue, and the product itself. */
:root {
  color-scheme: dark;
  --background: #000; --foreground: #f5f5f5; --card: #0c0c0c;
  --muted: #151515; --muted-foreground: #a3a3a3; --subtle: #888;
  --border: #222; --divider: #171717; --primary: #3266f5;
  --primary-hover: #4778ff; --primary-foreground: #fff; --ring: #7297ff;
  --success: #4ade80; --logo-filter: invert(1); --header-bg: #000e;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
:root[data-theme='light'] {
  color-scheme: light;
  --background: #fafafa; --foreground: #171717; --card: #fff;
  --muted: #f0f0f0; --muted-foreground: #626262; --subtle: #737373;
  --border: #dedede; --divider: #e5e5e5; --primary: #2457e3;
  --primary-hover: #1746ca; --success: #188545; --logo-filter: none; --header-bg: #fafafaed;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:disabled { cursor: default; }
button, a, summary { touch-action: manipulation; }
button, a, summary, [tabindex] { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--ring); }
::selection { background: #3266f54d; color: var(--foreground); }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.container { width: min(1176px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 80px; }
main > section { position: relative; }
.section-heading { margin-bottom: 40px; }
h2 { max-width: 760px; font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.section-description { max-width: 660px; margin-top: 20px; color: var(--muted-foreground); font-size: 18px; line-height: 1.5; }
.centered { text-align: center; }
.centered h2, .centered .section-description { margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 51px; padding: 14px 22px; border: 1px solid transparent; border-radius: 10px; background: var(--primary); color: var(--primary-foreground); font-size: 15px; line-height: 21px; font-weight: 600; transition: background .18s, border-color .18s; white-space: nowrap; }
.button:hover { background: var(--primary-hover); }
.button .icon { width: 18px; height: 18px; }
.button-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.button-outline:hover { background: var(--muted); border-color: var(--subtle); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; color: var(--primary); font-size: 14px; font-weight: 500; }
[data-theme='dark'] .text-link { color: #739bff; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.check-list { display: grid; gap: 16px; color: var(--muted-foreground); font-size: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--success); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--primary); color: #fff; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* The same quiet, 60px navigation bar at every size. */
.site-header { position: sticky; z-index: 30; top: 0; background: var(--header-bg); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; height: 60px; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: 100px; height: auto; filter: var(--logo-filter); }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: var(--muted-foreground); }
.desktop-nav a, .header-cta { padding-block: 12px; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .header-cta:hover { color: var(--foreground); }
.header-end { display: flex; align-items: center; gap: 10px; }
.header-cta { font-size: 13px; color: var(--muted-foreground); margin-left: 12px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: transparent; color: var(--muted-foreground); }
.icon-button:hover { background: var(--muted); color: var(--foreground); }
.icon-button .icon { width: 16px; height: 16px; }
.language-picker { position: relative; color: var(--muted-foreground); font-size: 12px; }
.language-picker summary { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px; cursor: pointer; list-style: none; border-radius: 6px; }
summary::-webkit-details-marker { display: none; }
.language-picker summary:hover { color: var(--foreground); }
.language-picker summary .icon { width: 14px; height: 14px; }
.language-chevron { display: none; }
.language-options { position: absolute; top: calc(100% + 10px); right: 0; min-width: 145px; padding: 5px; border: 1px solid var(--border); background: var(--card); border-radius: 8px; box-shadow: 0 10px 30px #0004; }
.language-options a { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-radius: 4px; }
.language-options a:hover { background: var(--muted); }
.language-options a[aria-current] { color: var(--foreground); }
.language-options .icon { width: 14px; height: 14px; }
[data-theme='dark'] .moon-icon, [data-theme='light'] .sun-icon { display: none; }
.menu-toggle { display: none; }
.menu-toggle .close-icon, .menu-toggle[aria-expanded='true'] .menu-icon { display: none; }
.menu-toggle[aria-expanded='true'] .close-icon { display: block; }
.mobile-nav { padding-block: 8px 16px; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; font-size: 14px; color: var(--muted-foreground); }
/* Hero: white type, a single blue action, and familiar providers around it. */
.hero { padding: 120px 0 0; isolation: isolate; }
.hero-inner { position: relative; }
.hero-copy { position: relative; z-index: 2; max-width: 800px; margin-inline: auto; text-align: center; animation: enter .65s ease both; }
h1 { font-size: 76px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.headline-line { display: block; }
.hero-description { max-width: 640px; margin: 24px auto 0; color: var(--muted-foreground); font-size: 20px; line-height: 1.4; text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.hero-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 24px; font-size: 14px; font-weight: 500; color: var(--muted-foreground); }
.hero-secondary:hover { color: var(--foreground); }
.hero-secondary .icon { width: 15px; height: 15px; }
.hero-secondary .icon:last-child { width: 12px; height: 12px; }
.duration { color: var(--subtle); font-variant-numeric: tabular-nums; font-size: 12px; }
.hero-meta { margin-top: 22px; color: var(--subtle); font-size: 13px; }
.hero-floats { position: absolute; inset: -120px 0 auto; height: 620px; pointer-events: none; z-index: 1; }
.hero-float { position: absolute; display: grid; place-items: center; width: 92px; height: 92px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: inset 0 1px 0 #ffffff06, 0 6px 30px #0002; transform: rotate(var(--tilt)); animation: float-in .8s ease both; }
.hero-float img { width: 52%; height: 52%; }
.provider-logo { filter: var(--logo-filter); flex-shrink: 0; }
.provider-claude { filter: invert(54%) sepia(64%) saturate(491%) hue-rotate(336deg) brightness(97%) contrast(86%); }
.provider-gemini { filter: invert(48%) sepia(94%) saturate(2212%) hue-rotate(212deg) brightness(102%) contrast(94%); }
.float-claude { top: 130px; left: -12px; --tilt: -11deg; }
.float-opencode { top: 24px; left: 282px; width: 66px; height: 66px; border-radius: 14px; --tilt: -6deg; }
.float-gemini { top: 24px; right: 282px; width: 66px; height: 66px; border-radius: 14px; --tilt: 7deg; }
.float-openai { top: 130px; right: -12px; --tilt: 10deg; }
.float-openrouter { top: 444px; left: 114px; width: 78px; height: 78px; --tilt: -9deg; }
.float-codex { top: 444px; right: 114px; width: 78px; height: 78px; --tilt: 10deg; }
.hero-product { margin-top: 64px; animation: enter .8s .12s ease both; }
/* A single tablet slab; the shadow fades into the following section. */
.tablet-scene { --scene-tail: clamp(56px, 7vw, 120px); position: relative; width: 100%; padding: 0 clamp(12px, 3.33vw, 64px) var(--scene-tail); isolation: isolate; }
.tablet-scene::before { content: ''; position: absolute; z-index: -1; inset: 12% 0 0; background: radial-gradient(ellipse 64% 50% at 50% 65%, #ffffff0b, transparent 80%); pointer-events: none; }
.tablet-scene::after { content: ''; position: absolute; z-index: 2; inset: auto 0 -1px; height: var(--scene-tail); background: linear-gradient(to bottom, transparent, var(--background) 94%); pointer-events: none; }
.tablet { --tablet-bezel: clamp(8px, 1.15vw, 20px); --tablet-radius: clamp(16px, 2.65vw, 44px); position: relative; width: 100%; max-width: 1600px; margin-inline: auto; padding: var(--tablet-bezel); border: 1px solid #5b5d61; border-radius: var(--tablet-radius); background: linear-gradient(135deg, #292b2e, #08090b 12%, #090a0c 88%, #242629); box-shadow: 0 0 0 1px #08090a, inset 0 0 0 2px #111214, 0 24px 72px #0006; }
.tablet::before, .tablet::after { content: ''; position: absolute; right: -3px; width: 2px; border-radius: 0 2px 2px 0; background: linear-gradient(to bottom, #64666b, #242629 20%, #383a3e 80%, #64666b); }
.tablet::before { top: 12%; height: 6%; }.tablet::after { top: 20%; height: 4%; }
.tablet-camera { position: absolute; top: calc(var(--tablet-bezel) / 2); left: 50%; transform: translate(-50%, -50%); width: clamp(3px, .35vw, 6px); aspect-ratio: 1; border-radius: 50%; background: #090a0c; box-shadow: inset 0 0 0 1px #292c30; }
.tablet-camera::after { content: ''; position: absolute; inset: 32%; border-radius: 50%; background: #243344; }
.tablet-display { overflow: hidden; border: 1px solid #050505; border-radius: calc(var(--tablet-radius) - var(--tablet-bezel)); background: #101010; }
.hero-slides { display: grid; aspect-ratio: 2720 / 1800; }
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .75s ease, visibility 0s .75s; }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; }
.slideshow-controls { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--scene-tail) / 2 - 16px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.slideshow-dots { display: flex; align-items: center; }
.slide-dot { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; background: transparent; border-radius: 6px; }
.slide-dot span { width: 5px; height: 5px; border-radius: 50%; background: var(--subtle); opacity: .55; transition: opacity .2s, transform .2s; }
.slide-dot[aria-pressed='true'] span { opacity: 1; background: var(--foreground); transform: scale(1.35); }
.slide-dot:hover span { opacity: 1; }
.slideshow-toggle.icon-button { width: 30px; height: 32px; }
.slideshow-toggle .icon { width: 13px; height: 13px; }
.slideshow-toggle .play-icon, .slideshow-toggle[data-paused='true'] .pause-icon { display: none; }
.slideshow-toggle[data-paused='true'] .play-icon { display: block; }

[data-theme='light'] .tablet-scene::before { background: radial-gradient(ellipse 62% 36% at 50% 70%, #00000009, transparent 80%); }
[data-theme='light'] .tablet { box-shadow: 0 0 0 1px #08090a, inset 0 0 0 2px #111214, 0 24px 64px #0002; }
.features { padding-top: 40px; }
.app-window { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.screenshot { display: block; position: relative; width: 100%; padding: 0; background: none; cursor: zoom-in; }
.screenshot img { width: 100%; }
.zoom-hint { position: absolute; display: grid; place-items: center; right: 14px; bottom: 14px; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 7px; background: var(--header-bg); color: var(--foreground); opacity: 0; transition: opacity .2s; }
.screenshot:hover .zoom-hint, .screenshot:focus-visible .zoom-hint { opacity: 1; }
/* Simple scenario cards, followed by the compact provider rail. */
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-case { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 26px; }
.case-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--subtle); }
.case-label .icon { width: 16px; height: 16px; }
.use-case h3 { margin-top: 24px; font-size: 21px; line-height: 1.25; font-weight: 550; letter-spacing: -.025em; }
.use-case > p:not(.case-label) { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.prompt-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding-top: 26px; margin-top: auto; font-size: 13px; color: var(--foreground); }
.prompt-link:hover { color: var(--ring); }
.prompt-link .icon { width: 15px; height: 15px; }
.provider-list { display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; }
.provider-item { display: flex; align-items: center; gap: 16px; padding: 24px 20px; min-width: 0; }
.provider-item + .provider-item { border-left: 1px solid var(--divider); }
.provider-item img { width: 23px; height: 23px; }
.provider-item strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; }
.provider-item small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; color: var(--muted-foreground); white-space: nowrap; }
.provider-proof { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; padding-top: 24px; font-size: 13px; }
.connection-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 28px; }
.fine-print { max-width: 660px; font-size: 12px; line-height: 1.6; color: var(--subtle); }
.connection-bottom .text-link { flex-shrink: 0; font-size: 12px; }
/* A tabbed product walkthrough, kept close to the actual app. */
.tour-tabs { display: flex; width: fit-content; gap: 4px; padding: 4px; margin-bottom: 32px; background: var(--card); border: 1px solid var(--border); border-radius: 9px; }
.tour-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: transparent; color: var(--muted-foreground); font-size: 13px; border-radius: 5px; }
.tour-tabs button .icon { width: 16px; height: 16px; }
.tour-tabs button:hover { color: var(--foreground); }
.tour-tabs button[aria-selected='true'] { color: var(--foreground); background: var(--muted); }
.tour-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.tour-copy { grid-column: 2; grid-row: 1; }
.tour-copy h3 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.tour-copy p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--muted-foreground); }
.example-prompt { position: relative; margin-top: 28px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.example-prompt > span { display: block; margin-bottom: 8px; color: var(--subtle); font-size: 11px; }
.example-prompt blockquote { max-width: calc(100% - 24px); font-size: 14px; line-height: 1.6; }
.example-prompt > .icon { position: absolute; right: 20px; bottom: 22px; width: 16px; color: var(--subtle); }
.tour-visual { min-width: 0; grid-row: 1; grid-column: 1; }
.screenshot-note { margin-top: 20px; font-size: 11px; color: var(--subtle); }
/* Wide alternating product stories instead of nested card grids. */
.product-row { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 80px; padding-block: 80px; }
.product-copy h2 { max-width: 550px; }
.product-copy > p, .control-copy > p { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--muted-foreground); }
.product-copy .check-list, .control-copy .check-list { margin-top: 28px; }
.product-visual { min-width: 0; }
.reading-row .product-visual { max-width: 410px; width: 100%; justify-self: center; }
.reading-row .app-window { max-height: 420px; }
.notes-row { grid-template-columns: 1.1fr 1fr; }
.notes-row .product-copy { grid-column: 2; grid-row: 1; }
.notes-row .product-visual { grid-column: 1; grid-row: 1; }
.control-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.control-copy { grid-column: 2; grid-row: 1; }
.control-copy h2 span { display: block; }
.control-visual { grid-column: 1; grid-row: 1; min-width: 0; }
.control-visual figcaption { margin-top: 14px; color: var(--subtle); text-align: center; font-size: 12px; }
.workflow-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; }
.hero-showreel { min-width: 0; scroll-margin-top: 90px; }
.showreel-frame { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.showreel-frame video { width: 100%; }
.showreel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: #0007; color: #fff; font-size: 14px; }
.showreel-play > .icon { width: 42px; height: 42px; border: 1px solid #ffffff50; border-radius: 50%; padding: 11px; background: #0005; }
.showreel-play .duration { color: #ddd; }
.hero-showreel figcaption { margin-top: 12px; font-size: 12px; color: var(--subtle); }
.workflow-steps { display: grid; gap: 26px; }
.workflow-steps li { display: flex; align-items: flex-start; gap: 16px; }
.step-number { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px; border: 1px solid var(--border); border-radius: 50%; color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.workflow-steps h3 { font-size: 17px; font-weight: 500; }
.workflow-steps p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px 0 0; padding-top: 24px; }
.spec-list dt { font-size: 12px; color: var(--subtle); }
.spec-list dd { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }
.faq-heading .section-description { max-width: 320px; font-size: 16px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: 15px; line-height: 1.4; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary .icon { width: 16px; height: 16px; color: var(--muted-foreground); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }
.faq-answer .text-link { margin-top: 16px; }
/* The source section exposes the real setup and its access requirement. */
.source-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.code-block, .source-info { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.terminal-title { display: inline-flex; align-items: center; gap: 14px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #4a4a4a; }
.window-dots i:first-child { background: #e45c57; }.window-dots i:nth-child(2) { background: #e4b34e; }.window-dots i:nth-child(3) { background: #54b658; }
.code-toolbar button { padding: 4px 0; background: none; font-family: var(--font); font-size: 11px; color: var(--muted-foreground); }
.code-toolbar button:hover { color: var(--foreground); }
.code-block pre { margin: 0; padding: 24px; overflow-x: auto; font-family: var(--mono); font-size: 12px; line-height: 2.4; }
.code-command::before { content: '$ '; color: #739bff; user-select: none; }
.copy-status { min-height: 18px; margin: 0 24px 12px; color: var(--success); font-size: 11px; }
.source-info { padding: 28px; }
.source-info .check-list { gap: 16px; font-size: 14px; color: var(--foreground); }
.source-info > p { margin-top: 24px; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--subtle); }
.source-info > a { margin-top: 18px; }
.cta-section { padding-block: 96px; text-align: center; }
.cta-inner h2 { max-width: none; font-size: 72px; line-height: 1.05; }
.cta-inner h2 span { display: block; }
.cta-inner > p { max-width: 660px; margin: 24px auto 0; color: var(--muted-foreground); font-size: 18px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.site-footer { padding-block: 32px; font-size: 12px; color: var(--subtle); }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.site-footer .brand { color: var(--foreground); }
.site-footer .brand-logo { width: 88px; }
.site-footer nav { display: flex; gap: 24px; margin-left: auto; }
.site-footer a:hover { color: var(--foreground); }
.footer-languages { display: flex; gap: 12px; margin-left: 14px; }
.footer-languages a { font-size: 11px; }
.footer-languages a[aria-current] { color: var(--foreground); }
.footer-languages .icon { display: none; }
/* Large product images stay inspectable on small screens. */
.lightbox { width: min(1400px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--foreground); }
.lightbox::backdrop { background: #000d; backdrop-filter: blur(8px); }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 20px; }
.lightbox-toolbar p { font-size: 12px; color: var(--subtle); }
.lightbox-scroll { overflow: auto; max-height: calc(100dvh - 180px); }
.lightbox-scroll img { width: 100%; }
.lightbox-scroll.portrait img { width: min(100%, 720px); margin-inline: auto; }
.lightbox-caption { padding: 14px 20px; font-size: 12px; color: var(--muted-foreground); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1150px) {
  .float-opencode { left: 22%; }.float-gemini { right: 22%; }
  .float-claude { left: 0; }.float-openai { right: 0; }
  .float-openrouter { left: 6%; }.float-codex { right: 6%; }
  .hero-float { width: 70px; height: 70px; }
  .hero-float img { width: 50%; height: 50%; }
  .provider-item { padding: 22px 12px; gap: 10px; }
  .provider-item strong { font-size: 12px; }.provider-item small { font-size: 9px; }
  .product-row, .control-inner, .tour-panel, .workflow-grid { gap: 40px; }
  .connection-bottom { flex-direction: column; gap: 14px; }
}
@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .header-end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  h1 { font-size: 62px; } h2 { font-size: 40px; }
  .hero { padding-top: 140px; }.hero-floats { top: -140px; }
  .float-claude, .float-openai { top: 48px; }
  .float-opencode, .float-gemini { top: 25px; }
  .float-openrouter, .float-codex { top: 440px; width: 60px; height: 60px; }
  .hero-description { max-width: 580px; font-size: 18px; }
  .use-case { padding: 20px; }.use-case h3 { font-size: 19px; }
  .provider-list { grid-template-columns: repeat(3, 1fr); }
  .provider-item { padding: 22px; gap: 16px; }
  .provider-item:nth-child(4) { border-left: 0; }
  .provider-item strong { font-size: 14px; }.provider-item small { font-size: 10px; }
  .product-row, .control-inner, .tour-panel, .workflow-grid { gap: 32px; }
  .tour-copy h3 { font-size: 28px; }.tour-copy p { font-size: 15px; }
  .product-copy > p, .control-copy > p { font-size: 16px; }
  .source-grid { grid-template-columns: 1fr; }
  .faq-section { grid-template-columns: 1fr 1.3fr; gap: 32px; }
  .cta-inner h2 { font-size: 58px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }.footer-languages { margin-left: auto; }
  .site-footer nav { order: 2; width: 100%; margin-top: 8px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .section-pad { padding-block: 64px; }
  .header-inner { gap: 16px; }.header-end { gap: 4px; }
  .brand-logo { width: 92px; }
  .language-picker summary > .icon { display: none; }
  .icon-button { width: 32px; height: 36px; }
  h2 { font-size: 36px; line-height: 1.08; }
  .section-heading { margin-bottom: 28px; }
  .section-description { margin-top: 18px; font-size: 16px; line-height: 1.6; }
  .hero { padding: 146px 0 0; }
  h1 { font-size: clamp(32px, 9.5vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
  .hero-copy { max-width: 480px; }
  .hero-description { max-width: 330px; margin-top: 24px; font-size: 16px; line-height: 1.6; }
  .hero-actions { gap: 17px; margin-top: 32px; }
  .hero-actions .button { padding-inline: 18px; font-size: 14px; }
  .hero-secondary { font-size: 13px; }
  .hero-meta { margin-top: 22px; font-size: 11px; }
  .hero-floats { top: -146px; height: 560px; }
  .hero-float { width: 58px; height: 58px; border-radius: 13px; }
  .float-claude { top: 44px; left: 0; }.float-openai { top: 44px; right: 0; }
  .float-opencode { top: 51px; left: calc(33% - 19px); width: 52px; height: 52px; }
  .float-gemini { top: 51px; right: calc(33% - 19px); width: 52px; height: 52px; }
  .float-openrouter, .float-codex { top: 454px; width: 52px; height: 52px; opacity: .8; }
  .float-openrouter { left: 0; }.float-codex { right: 0; }
  .hero-product { margin-top: 48px; }
  .tablet-scene { --scene-tail: 44px; padding-inline: 10px; }
  .features { padding-top: 28px; }
  .app-window { border-radius: 9px; }
  .zoom-hint { opacity: 1; width: 25px; height: 25px; right: 8px; bottom: 8px; }
  .zoom-hint .icon { width: 14px; height: 14px; }
  .use-cases { grid-template-columns: 1fr; gap: 12px; }
  .use-case { padding: 24px; }.use-case h3 { margin-top: 18px; font-size: 22px; }
  .use-case > p:not(.case-label) { margin-top: 12px; }
  .prompt-link { padding-top: 24px; }
  .provider-list { grid-template-columns: repeat(2, 1fr); }
  .provider-item { padding: 20px 15px; gap: 12px; }
  .provider-item:nth-child(odd) { border-left: 0; }.provider-item:nth-child(even) { border-left: 1px solid var(--divider); }
  .provider-item img { width: 22px; height: 22px; }.provider-item strong { font-size: 13px; }.provider-item small { font-size: 9px; }
  .provider-proof { display: grid; gap: 16px; margin-top: 24px; }
  .connection-bottom { margin-top: 24px; gap: 20px; }
  .tour-tabs { width: 100%; margin-bottom: 28px; gap: 2px; }
  .tour-tabs button { flex: 1; gap: 5px; padding: 10px 5px; font-size: 11px; white-space: nowrap; }
  .tour-tabs button .icon { width: 13px; height: 13px; }
  .tour-panel { grid-template-columns: 1fr; gap: 28px; }
  .tour-copy { grid-column: auto; grid-row: auto; }.tour-visual { grid-column: auto; grid-row: auto; }
  .tour-copy h3 { font-size: 28px; }.tour-copy p { margin-top: 14px; font-size: 16px; }
  .example-prompt { margin-top: 20px; padding: 16px 20px; }
  .screenshot-note { font-size: 11px; line-height: 1.6; }
  .product-row, .control-inner, .workflow-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-row { padding-block: 64px; }
  .product-copy, .product-visual, .control-copy, .control-visual { grid-column: auto !important; grid-row: auto !important; }
  .product-copy > p, .control-copy > p { font-size: 16px; line-height: 1.6; }
  .reading-row .product-visual { max-width: 330px; }.reading-row .app-window { max-height: 340px; }
  .check-list { font-size: 13px; }.control-visual figcaption { font-size: 11px; }
  .workflow-steps { gap: 24px; }.workflow-steps h3 { font-size: 17px; }
  .spec-list { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .spec-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
  .spec-list dd { margin: 0; text-align: right; font-size: 10px; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading .section-description { max-width: 100%; }
  .faq-list summary { font-size: 14px; padding-block: 20px; }
  .source-grid { gap: 16px; }.source-section .centered { text-align: left; }
  .code-toolbar { padding: 12px 16px; gap: 8px; }.terminal-title { gap: 10px; }
  .code-block pre { padding: 20px 16px; font-size: 10px; }
  .source-info { padding: 24px; }.source-info .check-list { font-size: 13px; }
  .source-info .text-link { font-size: 13px; }
  .cta-section { padding-block: 80px; }
  .cta-inner h2 { font-size: clamp(36px, 10.5vw, 52px); }
  .cta-inner > p { font-size: 16px; line-height: 1.6; }
  .cta-actions { gap: 12px; }.cta-actions .button { font-size: 14px; }
  .site-footer { padding-block: 28px; }.copyright { font-size: 10px; }
  .footer-inner { gap: 12px; }.site-footer nav { flex-wrap: wrap; gap: 20px; font-size: 12px; }
  .footer-languages { gap: 10px; }.footer-languages a { font-size: 10px; }
  .lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 24px); }
  .lightbox-toolbar { padding: 8px 12px; gap: 12px; }.lightbox-toolbar p { font-size: 10px; }
  .lightbox-scroll { max-height: calc(100dvh - 160px); }
  .lightbox-scroll:not(.portrait) img { width: 900px; max-width: none; }
  .lightbox-caption { font-size: 10px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .hero-float { width: 50px; height: 50px; }
  .float-opencode, .float-gemini { width: 46px; height: 46px; }
  .float-openrouter, .float-codex { width: 38px; height: 38px; top: 445px; }
  .hero-description { max-width: 290px; }
  .hero-meta { font-size: 10px; }
  .tour-tabs button { font-size: 10px; }.tour-tabs button .icon { display: none; }
  .footer-languages { margin-left: 0; }
}
html:not(.js) [role='tabpanel'][hidden] { display: block !important; }
html:not(.js) [role='tabpanel'] + [role='tabpanel'] { margin-top: 48px; padding-top: 32px; }
html:not(.js) .tour-tabs, html:not(.js) .menu-toggle, html:not(.js) .theme-toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { --background: #fff; --foreground: #171717; --muted-foreground: #525252; --card: #fff; --border: #ddd; --subtle: #525252; }
  .site-header, .hero-actions, .hero-floats, .tour-tabs, .zoom-hint, .showreel-play, .cta-actions, .lightbox { display: none !important; }
  .section-pad, .product-row { padding-block: 24px; }
  [role='tabpanel'][hidden] { display: block !important; }
}
