@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-regular.woff2?v=2026.09.7") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-semibold.woff2?v=2026.09.7") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-bold.woff2?v=2026.09.7") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-variable.woff2?v=2026.09.7") format("woff2"); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-regular.ttf?v=2026.09.7") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --ink: #121522;
  --muted: #687188;
  --line: #dfe3ec;
  --line-strong: #c7cdda;
  --primary: #5b49dd;
  --primary-2: #4938c8;
  --accent-text: #5b49dd;
  --success-text: #08795f;
  --danger-text: #a72f54;
  --mint: #29c7ac;
  --gold: #ffcf70;
  --pink: #ff6f91;
  --vip-orange: #fa7d00;
  --vip-orange-dark: #b25200;
  --vip-cream: #fdfaf5;
  --dark: #111421;
  --dark-2: #1a1e2d;
  --shadow-sm: 0 8px 24px rgba(25, 30, 50, .08);
  --shadow-lg: 0 30px 80px rgba(25, 30, 50, .17);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100vw - 40px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1019;
  --surface: #151925;
  --surface-2: #1b2030;
  --ink: #f5f7ff;
  --muted: #a8b0c5;
  --line: #292f42;
  --line-strong: #3a4259;
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, .22);
  --shadow-lg: 0 34px 88px rgba(0, 0, 0, .34);
  --accent-text: #a89fff;
  --success-text: #29c7ac;
  --danger-text: #ff6f91;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    color-scheme: dark;
    --bg: #0d1019;
    --surface: #151925;
    --surface-2: #1b2030;
    --ink: #f5f7ff;
    --muted: #a8b0c5;
    --line: #292f42;
    --line-strong: #3a4259;
    --shadow-sm: 0 8px 26px rgba(0, 0, 0, .22);
    --shadow-lg: 0 34px 88px rgba(0, 0, 0, .34);
    --accent-text: #a89fff;
    --success-text: #29c7ac;
    --danger-text: #ff6f91;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.62 "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3 { font-family: "Space Grotesk", "Poppins", system-ui, sans-serif; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary), transparent 55%); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 900px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--surface); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 20%); background: color-mix(in srgb, var(--bg), transparent 12%); backdrop-filter: blur(18px); }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--primary) 0 58%, var(--mint) 78%, var(--vip-orange) 100%); }
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; margin-right: auto; }
.brand img { width: 218px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a { position: relative; padding: 10px 13px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 4px; height: 2px; border-radius: 3px; background: var(--primary); }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 19px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-text); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint), transparent 84%); }
.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); align-items: center; gap: 64px; padding-block: 76px 66px; }
.hero h1, .page-hero h1, .generator-heading h1 { margin: 16px 0 22px; font-family: "Space Grotesk", "Poppins", system-ui, sans-serif; font-size: clamp(43px, 5.3vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: var(--accent-text); }
.lead { color: var(--muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.hero-copy .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary), transparent 72%); }
.button-primary:hover { background: var(--primary-2); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-ghost { border-color: var(--line); color: var(--ink); }
.quick-url { margin-top: 34px; min-height: 52px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 13px; padding: 7px 7px 7px 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.quick-url code { overflow: hidden; color: var(--ink); font: 600 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.quick-url button, .code-window button { border: 0; border-radius: 8px; background: var(--surface-2); color: var(--ink); padding: 8px 11px; font-size: 12px; font-weight: 750; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.traffic-lights i:nth-child(2) { background: #ffcf70; }
.traffic-lights i:nth-child(3) { background: #29c7ac; }
.microcopy { margin: 10px 2px 0; color: var(--muted); font-size: 12px; }
.microcopy code { color: var(--ink); }
.hero-visual { position: relative; min-height: 530px; isolation: isolate; }
.visual-orbit { position: absolute; inset: 4% 0 2% 5%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .24); border-radius: 34px; background: #171827; box-shadow: var(--shadow-lg); transform: rotate(2.5deg); }
.visual-orbit::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(145deg, rgba(255,255,255,.10), transparent 42%); pointer-events: none; }
.visual-orbit img { width: 100%; height: 100%; object-fit: cover; }
.visual-card { position: absolute; z-index: 3; overflow: hidden; border: 1px solid rgba(255,255,255,.48); background: var(--surface); box-shadow: var(--shadow-lg); }
.visual-avatar { left: -3%; bottom: 8%; width: 142px; border-radius: 28px; transform: rotate(-7deg); }
.visual-logo { right: -2%; top: 3%; width: 290px; border-radius: 18px; transform: rotate(4deg); }
.visual-logo, .module-logo .module-preview { background: #fff; }
.seed-chip { position: absolute; z-index: 4; right: 2%; bottom: 3%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(16,19,31,.84); color: #fff; box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); font: 11px ui-monospace, monospace; }
.seed-chip span { color: #b9c1d5; }
.seed-chip i { border-radius: 99px; padding: 3px 7px; background: rgba(41,199,172,.18); color: #6ee8d2; font-style: normal; }
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .shell { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.section { padding-block: 104px; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2, .reliability h2, .final-cta h2, .gallery-license h2 { margin: 13px 0 16px; font-size: clamp(34px, 4vw, 55px); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p, .reliability p, .final-cta p, .gallery-license p { color: var(--muted); font-size: 18px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.module-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 16px 24px; background: var(--surface); box-shadow: 0 0 0 rgba(0,0,0,0); transition: transform .22s ease, box-shadow .22s ease, border .22s ease; }
.module-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.module-card.wide { grid-column: span 2; }
.module-preview { aspect-ratio: 1.62; overflow: hidden; border-radius: 17px; background: var(--surface-2); }
.module-preview img { width: 100%; height: 100%; object-fit: cover; }
.module-card > span { display: block; margin-top: 20px; color: var(--accent-text); font: 700 11px ui-monospace, monospace; }
.module-card h3 { margin: 8px 0 7px; font-size: 25px; letter-spacing: -.03em; }
.module-card p { min-height: 50px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.module-card b { color: var(--ink); font-size: 13px; }
.module-card b i { color: var(--accent-text); font-style: normal; }
.avatar-row { min-height: 198px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.avatar-row img { width: 38%; max-width: 128px; border: 4px solid var(--surface); border-radius: 50%; box-shadow: var(--shadow-sm); }
.avatar-row img + img { margin-left: -18px; }

.section-dark { overflow: hidden; background: var(--dark); color: #f7f8ff; }
.section-dark .section-heading { max-width: 780px; }
.section-dark .eyebrow { color: #8d81ff; }
.inverse h2 { color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { border: 1px solid #2b3043; border-radius: 20px; padding: 28px; background: #171b29; }
.steps-grid article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(109,93,252,.18); color: #a89fff; font: 750 12px ui-monospace, monospace; }
.steps-grid h3 { margin: 22px 0 8px; font-size: 21px; }
.steps-grid p { color: #aab2c7; font-size: 14px; }
.code-window { margin-top: 26px; overflow: hidden; border: 1px solid #30364b; border-radius: 18px; background: #0d101a; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.code-window > div { min-height: 47px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #272c3e; }
.code-window > div > span { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
.code-window > div > span:nth-child(2) { background: #ffcf70; }
.code-window > div > span:nth-child(3) { background: #29c7ac; }
.code-window b { margin-left: 7px; color: #828ba0; font: 700 10px ui-monospace, monospace; letter-spacing: .09em; }
.code-window button { margin-left: auto; background: #202536; color: #dfe4f4; }
.code-window pre { margin: 0; padding: 28px; overflow: auto; color: #dce1f2; font: 14px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.reliability { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.text-link { display: inline-flex; gap: 9px; color: var(--accent-text); font-weight: 750; }
.reliability dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.reliability dl div { padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reliability dl div:nth-child(2n) { border-right: 0; }
.reliability dl div:nth-last-child(-n+2) { border-bottom: 0; }
.reliability dt { color: var(--accent-text); font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.reliability dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.final-cta { margin-bottom: 104px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 32px; padding-inline: 46px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary), transparent 93%), color-mix(in srgb, var(--mint), transparent 93%)), var(--surface); }
.final-cta h2 { max-width: 700px; }

.page-hero { padding-block: 92px 55px; }
.page-hero h1 { max-width: 940px; }
.page-hero .lead { max-width: 820px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; padding-bottom: 110px; }
.prose { min-width: 0; }
.prose > section { padding: 34px 0; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.03em; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.prose code { border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; background: var(--surface-2); color: var(--ink); font-size: .88em; }
.prose pre { max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--dark); color: #e7ebf7; line-height: 1.7; }
.prose pre code { border: 0; padding: 0; background: transparent; color: inherit; }
.docs-aside { position: sticky; top: 100px; display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.docs-aside strong { padding: 7px 8px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.docs-aside a { padding: 9px 8px; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.docs-aside a:hover { color: var(--ink); background: var(--surface-2); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.doc-grid a { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); text-decoration: none; }
.doc-grid a span { color: var(--muted); font-size: 13px; }
.parameter-table { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.parameter-table div { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.parameter-table div:last-child { border-bottom: 0; }
.parameter-table code { align-self: start; }
.parameter-table span { color: var(--muted); }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.preset-grid a { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); text-decoration: none; }
.preset-grid a > span { color: var(--accent-text); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.preset-grid code { width: max-content; }

.generator-heading { display: flex; justify-content: space-between; gap: 60px; align-items: flex-end; padding-block: 62px 34px; }
.generator-heading h1 { margin: 12px 0 13px; font-size: clamp(38px, 4.5vw, 60px); }
.generator-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.generator-promise { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 310px; padding-bottom: 8px; }
.generator-promise span { border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.generator-app { padding-bottom: 70px; }
.generator-tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 13px; scrollbar-width: thin; }
.generator-tabs button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; padding: 9px 15px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
.generator-tabs button[aria-selected="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.generator-workspace { display: grid; grid-template-columns: 318px minmax(380px, 1fr) 328px; min-height: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.control-panel, .output-panel { min-width: 0; padding: 19px; background: var(--surface); }
.control-panel { max-height: 760px; overflow-y: auto; border-right: 1px solid var(--line); }
.output-panel { border-left: 1px solid var(--line); }
.panel-title { min-height: 48px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.panel-title div { display: grid; }
.panel-title span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.panel-title strong { font-size: 17px; }
.panel-title button { border: 0; background: transparent; color: var(--accent-text); font-size: 12px; font-weight: 700; }
.control-panel fieldset { min-width: 0; margin: 0 0 16px; border: 0; padding: 0; }
.control-panel legend { width: 100%; margin-bottom: 11px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.control-panel label, .output-panel label { min-width: 0; display: grid; gap: 6px; margin-bottom: 11px; }
.control-panel label > span:first-child, .output-panel label > span:first-child { display: flex; justify-content: space-between; color: var(--ink); font-size: 11px; font-weight: 750; }
.control-panel label small { color: var(--muted); font-size: 9px; font-weight: 500; }
.control-panel input:not([type="checkbox"]):not([type="range"]):not([type="color"]), .control-panel select, .control-panel textarea, .output-panel textarea, .gallery-toolbar select { width: 100%; min-height: 39px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--bg); color: var(--ink); font-size: 12px; }
.control-panel textarea { resize: vertical; }
.field-grid { display: grid; gap: 9px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.color-field { min-width: 0; display: grid !important; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
.color-field input[type="color"] { width: 34px; height: 39px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--bg); }
.check-field { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; min-height: 36px; }
.check-field input { width: 16px; height: 16px; accent-color: var(--primary); }
.check-field span { font-size: 11px !important; }
.control-panel input[type="range"] { width: 100%; accent-color: var(--primary); }
.control-panel label:has(input[type="range"]) { position: relative; padding-bottom: 16px; }
.control-panel output { position: absolute; right: 0; bottom: 0; color: var(--muted); font: 10px ui-monospace, monospace; }
.module-fields { padding-top: 12px; border-top: 1px solid var(--line); }
.preview-panel { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--surface-2); }
.preview-toolbar { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.preview-toolbar > div { display: flex; align-items: center; gap: 8px; }
.preview-toolbar strong { font-size: 12px; }
.preview-status { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint), transparent 84%); }
.preview-toolbar button { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); }
.preview-stage { position: relative; min-height: 510px; display: grid; place-items: center; padding: 34px; overflow: hidden; background-image: linear-gradient(45deg, color-mix(in srgb, var(--line), transparent 20%) 25%, transparent 25%), linear-gradient(-45deg, color-mix(in srgb, var(--line), transparent 20%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, color-mix(in srgb, var(--line), transparent 20%) 75%), linear-gradient(-45deg, transparent 75%, color-mix(in srgb, var(--line), transparent 20%) 75%); background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }
.preview-stage[data-background="dark"] { background-color: #151925; }
.preview-stage[data-background="light"] { background-color: #fff; }
.preview-stage img { max-width: 100%; max-height: 540px; width: auto; height: auto; border-radius: 6px; box-shadow: 0 18px 54px rgba(27,32,50,.18); }
.preview-stage span { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--surface-2), transparent 16%); color: var(--muted); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.preview-stage.is-loading span { opacity: 1; }
.preview-stage.has-error .preview-status { background: var(--pink); }
.preview-meta { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 10px; }
.output-panel textarea { min-height: 86px; resize: none; font-family: ui-monospace, monospace; line-height: 1.5; }
.output-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 18px; }
.output-actions .button { min-height: 41px; padding-inline: 10px; }
.snippet-tabs { display: flex; gap: 3px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.snippet-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 9px 7px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.snippet-tabs button[aria-selected="true"] { border-color: var(--primary); color: var(--ink); }
.snippet-box { position: relative; min-height: 174px; overflow: hidden; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--dark); }
.snippet-box pre { margin: 0; padding: 17px 14px 52px; overflow: auto; color: #dfe5f7; font: 10.5px/1.7 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.snippet-box > button { position: absolute; right: 9px; bottom: 9px; border: 1px solid #32384d; border-radius: 7px; padding: 6px 8px; background: #202536; color: #dfe5f7; font-size: 9px; font-weight: 700; }
.output-note { display: grid; grid-template-columns: 20px 1fr; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.output-note span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--primary), transparent 85%); color: var(--accent-text); font-weight: 800; }
.generator-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 110px; }
.generator-help article { border-top: 1px solid var(--line); padding-top: 22px; }
.generator-help article > span { color: var(--accent-text); font: 700 11px ui-monospace, monospace; }
.generator-help h2 { margin: 9px 0 7px; font-size: 20px; }
.generator-help p { color: var(--muted); font-size: 13px; }

.gallery-hero { max-width: 940px; }
.gallery-shell { padding-bottom: 100px; }
.gallery-toolbar { position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; background: color-mix(in srgb, var(--bg), transparent 8%); backdrop-filter: blur(12px); }
.filter-buttons { display: flex; gap: 7px; overflow-x: auto; }
.filter-buttons button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 99px; padding: 7px 10px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 700; }
.filter-buttons button span { margin-left: 4px; opacity: .65; }
.filter-buttons button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.gallery-toolbar select { min-width: 160px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.gallery-card[hidden] { display: none; }
.gallery-image { aspect-ratio: 1.5; display: block; overflow: hidden; background: var(--surface-2); }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-card:hover .gallery-image img { transform: scale(1.025); }
.gallery-card > div { padding: 16px; }
.gallery-card > div > span { color: var(--accent-text); font: 700 9px ui-monospace, monospace; text-transform: uppercase; }
.gallery-card h2 { margin: 7px 0 4px; font-size: 18px; }
.gallery-card p { min-height: 20px; margin: 0; color: var(--muted); font-size: 11px; }
.gallery-card nav { display: flex; gap: 11px; margin-top: 14px; }
.gallery-card nav a, .gallery-card nav button { border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 10px; font-weight: 750; }
.gallery-card nav a:hover, .gallery-card nav button:hover { color: var(--accent-text); }
.empty-gallery { border: 1px dashed var(--line-strong); border-radius: 22px; padding: 50px; text-align: center; background: var(--surface); }
.empty-gallery strong { display: block; font-size: 24px; }
.empty-gallery p { color: var(--muted); }
.empty-gallery .button { margin-top: 8px; }
.gallery-license { margin-bottom: 104px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 28px; padding: 40px; background: var(--surface); }
.gallery-license h2 { margin-block: 10px; font-size: 34px; }

.status-panel { padding-bottom: 110px; }
.status-overview { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--surface); }
.status-overview strong { font-size: 18px; }
.status-overview p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.status-overview time { color: var(--muted); font: 11px ui-monospace, monospace; }
.status-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px color-mix(in srgb, var(--mint), transparent 84%); }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.status-grid div { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); font-size: 13px; }
.status-grid b { font-size: 11px; }
.status-grid .up { color: var(--success-text); }
.status-grid .down { color: var(--danger-text); }
.status-note { color: var(--muted); font-size: 12px; }
.status-note code { color: var(--accent-text); }
.error-page { min-height: 680px; text-align: center; }
.error-page .lead { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; }
.error-page img { max-width: 700px; margin: 54px auto 0; border-radius: 24px; box-shadow: var(--shadow-lg); }

.ad-break { margin-bottom: 34px; }
.ad-slot { width: 100%; display: grid; justify-items: center; gap: 7px; }
.ad-slot-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.ad-slot picture { display: block; max-width: 100%; }
.ad-slot img { width: auto; max-width: 100%; height: auto; border-radius: 16px; background: #fff6ec; box-shadow: 0 8px 30px rgba(138, 72, 0, .07); }
.ad-slot--leaderboard img { width: min(970px, 100%); }
.ad-slot--rectangle { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.ad-slot--rectangle img { width: min(300px, 100%); }
.output-panel .ad-slot { grid-column: 1 / -1; }

.house-ad { position: relative; margin-bottom: 70px; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 30px; overflow: hidden; border: 1px solid rgba(250, 125, 0, .36); border-radius: 22px; padding: 27px 30px; background: linear-gradient(120deg, #fffaf4, #fff 52%, #fff4e7); box-shadow: 0 18px 50px rgba(105, 55, 0, .08); color: #121827; }
.house-ad::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--vip-orange), var(--vip-orange-dark)); }
.house-ad-logo { width: 150px; height: auto; }
.house-ad .eyebrow { color: var(--vip-orange-dark); }
.house-ad strong { display: block; margin-top: 5px; font-family: "Space Grotesk", "Poppins", sans-serif; font-size: 18px; }
.house-ad p { margin: 4px 0 0; color: #687188; font-size: 13px; }
.house-ad .button { border-color: rgba(250,125,0,.38); color: #8a4800; }
.house-ad .button:hover { border-color: var(--vip-orange); background: #fff7ed; }

.site-footer { border-top: 1px solid #273047; background: #0f172a; color: #f8fafc; }
.footer-grid { display: grid; grid-template-columns: minmax(290px, 2.15fr) repeat(3, 1fr); gap: 50px; padding-block: 66px; }
.footer-identity { max-width: 390px; }
.footer-product-logo { width: 205px !important; height: auto; border-radius: 12px; padding: 8px 10px; background: #fff; }
.footer-grid p { color: #aeb8ca; font-size: 12px; }
.footer-grid nav { display: grid; align-content: start; gap: 9px; }
.footer-grid nav strong { margin-bottom: 5px; color: #f8fafc; font-size: 12px; }
.footer-grid nav a, .footer-link-button { color: #aeb8ca; font-size: 12px; }
.footer-grid nav a:hover, .footer-link-button:hover { color: #fff; }
.footer-link-button { width: fit-content; border: 0; padding: 0; background: transparent; text-align: left; }
.vip-card { position: relative; margin-top: 20px; overflow: hidden; border: 1px solid rgba(250, 125, 0, .28); border-radius: 16px; padding: 17px 18px 16px; background: linear-gradient(135deg, rgba(250,125,0,.12), rgba(255,255,255,.035)); }
.vip-card::after { content: ""; position: absolute; width: 115px; height: 115px; right: -58px; bottom: -70px; border-radius: 50%; background: rgba(250,125,0,.12); filter: blur(2px); }
.vip-card-kicker { display: block; margin-bottom: 10px; color: #ffad5c; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vip-card img { width: 150px; height: auto; }
.vip-card p { max-width: 320px; margin: 10px 0 11px; }
.vip-card a { position: relative; z-index: 1; color: #ffad5c; font-size: 11px; font-weight: 700; }
.vip-card a:hover { color: #ffd3a7; }
.legacy-trigger { margin-top: 14px; border: 0; padding: 0; background: transparent; color: #9da9be; font-size: 10px; font-weight: 600; text-align: left; }
.legacy-trigger span { margin-right: 6px; color: #7f8ba1; }
.legacy-trigger:hover { color: #fff; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #273047; color: #8e9bb0; font-size: 10px; }

.inline-history-button { border: 0; border-bottom: 1px dotted currentColor; padding: 0; background: transparent; color: var(--accent-text); font: inherit; font-weight: 700; }
.legacy-dialog { width: min(1080px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 28px)); overflow: auto; border: 0; border-radius: 26px; padding: 0; background: #fff; color: #192033; box-shadow: 0 36px 110px rgba(4, 8, 18, .45); }
.legacy-dialog::backdrop { background: rgba(8, 12, 23, .76); backdrop-filter: blur(8px); }
.legacy-dialog-close { position: sticky; z-index: 4; top: 10px; height: 0; display: flex; justify-content: flex-end; padding-right: 10px; }
.legacy-dialog-close button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(25,32,51,.16); border-radius: 50%; background: rgba(255,255,255,.92); color: #192033; font-size: 25px; line-height: 1; box-shadow: 0 5px 18px rgba(16,25,44,.12); }
.legacy-dialog-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.legacy-recreation { padding: 34px; background: #e8e8e8; }
.legacy-browser-bar { min-height: 36px; display: flex; align-items: center; gap: 7px; border-radius: 12px 12px 0 0; padding: 0 12px; background: #252936; color: #c8cede; font: 10px "JetBrains Mono", ui-monospace, monospace; }
.legacy-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff6f72; }
.legacy-browser-bar i:nth-child(2) { background: #ffcf70; }
.legacy-browser-bar i:nth-child(3) { background: #48cfad; }
.legacy-browser-bar span { margin-left: 5px; opacity: .74; }
.legacy-page { border-radius: 0 0 5px 5px; padding: 24px; background: #fff; box-shadow: 0 7px 24px rgba(0,0,0,.13); color: #333; font-family: Arial, sans-serif; text-align: center; }
.legacy-page > img { width: 150px; height: auto; margin: 0 auto 8px; }
.legacy-page h2 { margin: 0 0 5px; color: #222; font: 700 22px Arial, sans-serif; }
.legacy-page > p { margin: 0 0 15px; color: #555; font-size: 11px; }
.legacy-example { border-radius: 7px; padding: 10px; background: #f9f9f9; font-size: 10px; }
.legacy-example strong, .legacy-example code { display: block; margin-bottom: 6px; }
.legacy-example code { overflow-wrap: anywhere; color: #333; font: 9px ui-monospace, monospace; }
.legacy-example img { width: min(300px, 100%); height: auto; margin: 8px auto 0; border: 1px solid #ddd; }
.legacy-form { margin-top: 13px; border-radius: 7px; padding: 12px; background: #f1f1f1; text-align: left; }
.legacy-form strong { display: block; margin-bottom: 5px; font-size: 12px; }
.legacy-form div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; margin-top: 6px; font-size: 9px; }
.legacy-form div > b { min-width: 0; border: 1px solid #ddd; border-radius: 3px; padding: 5px 6px; background: #fff; color: #555; font: 400 9px Arial, sans-serif; }
.legacy-form .legacy-muted { color: #666; }
.legacy-page small { display: block; margin-top: 12px; color: #555; font-size: 8px; }
.legacy-story { padding: 62px 48px 42px; background: radial-gradient(circle at 100% 0, rgba(250,125,0,.14), transparent 35%), #fff; }
.legacy-story .eyebrow { color: var(--vip-orange-dark); }
.legacy-story h2 { margin: 14px 0 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.legacy-story > p { color: #687188; font-size: 13px; }
.legacy-timeline { position: relative; display: grid; gap: 14px; margin: 26px 0; padding: 0; list-style: none; }
.legacy-timeline::before { content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 1px; background: #e7c8a7; }
.legacy-timeline li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 13px; align-items: start; }
.legacy-timeline b { z-index: 1; border: 1px solid #efc79f; border-radius: 99px; padding: 4px 5px; background: #fff8f0; color: #9b5000; font: 700 10px "JetBrains Mono", monospace; text-align: center; }
.legacy-timeline span { padding-top: 2px; color: #4f5a70; font-size: 11px; }
.legacy-note { border-left: 3px solid var(--vip-orange); padding-left: 13px; font-size: 10px !important; }
.legacy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.legacy-actions form { margin: 0; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(740px, 100%); min-height: 560px; margin-inline: auto; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.wide { grid-column: span 2; }
  .generator-workspace { grid-template-columns: 290px minmax(390px, 1fr); }
  .output-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .output-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .output-panel .panel-title, .output-panel .output-note { grid-column: 1 / -1; }
  .snippet-box { min-height: 150px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: minmax(280px, 1.5fr) repeat(3, 1fr); gap: 34px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 26px, 1180px); }
  .nav-shell { min-height: 66px; gap: 10px; }
  .brand img { width: 176px; }
  .main-nav { position: absolute; top: 66px; left: 0; width: 100%; overflow-x: auto; border-bottom: 1px solid var(--line); padding: 7px 13px; background: var(--bg); }
  .main-nav a { flex: 0 0 auto; font-size: 12px; }
  .theme-toggle { width: 35px; height: 35px; }
  main { padding-top: 49px; }
  .hero { min-height: auto; padding-block: 58px 45px; }
  .hero h1, .page-hero h1, .generator-heading h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-visual { min-height: 410px; }
  .visual-orbit { inset: 5% 0 3% 0; border-radius: 25px; }
  .visual-avatar { left: -2%; bottom: 5%; width: 100px; border-radius: 20px; }
  .visual-logo { right: -2%; top: 1%; width: 220px; }
  .seed-chip { max-width: 92%; right: 1%; overflow: hidden; }
  .seed-chip strong { overflow: hidden; text-overflow: ellipsis; }
  .trust-strip .shell { overflow-x: auto; justify-content: flex-start; }
  .trust-strip span { flex: 0 0 auto; }
  .section { padding-block: 74px; }
  .module-grid, .steps-grid, .generator-help, .gallery-grid, .status-grid { grid-template-columns: 1fr; }
  .module-card.wide { grid-column: auto; }
  .reliability { grid-template-columns: 1fr; gap: 34px; }
  .final-cta, .gallery-license { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .house-ad { grid-template-columns: 1fr; justify-items: start; padding: 30px 24px; }
  .content-layout { grid-template-columns: 1fr; gap: 20px; }
  .docs-aside { position: static; order: -1; grid-template-columns: repeat(2, 1fr); }
  .docs-aside strong { grid-column: 1 / -1; }
  .doc-grid, .preset-grid { grid-template-columns: 1fr; }
  .parameter-table div { grid-template-columns: 1fr; gap: 7px; }
  .generator-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .generator-promise { justify-content: flex-start; }
  .generator-workspace { display: flex; flex-direction: column; border-radius: 16px; }
  .control-panel { max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-stage { min-height: 360px; padding: 20px; }
  .output-panel { display: block; border-top: 1px solid var(--line); }
  .field-grid.three { grid-template-columns: 1fr 1fr; }
  .preview-meta { align-items: flex-start; flex-direction: column; justify-content: center; }
  .gallery-toolbar { top: 115px; align-items: stretch; flex-direction: column; }
  .filter-buttons { width: 100%; }
  .gallery-toolbar select { width: 100%; }
  .status-overview { grid-template-columns: auto 1fr; }
  .status-overview time { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .legacy-dialog-layout { grid-template-columns: 1fr; }
  .legacy-recreation { padding: 30px; }
  .legacy-story { padding: 42px 34px 36px; }
}

.consently-policy {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.compatibility-helper { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.compatibility-helper label { font-weight: 700; }
.compatibility-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.compatibility-row input { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--bg); font: inherit; }
.compatibility-output { display: block; overflow-wrap: anywhere; padding: 13px 14px; border-radius: 10px; background: var(--code-bg, #111827); color: #fff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

@media (max-width: 430px) {
  .brand img { width: 159px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 340px; }
  .visual-logo { width: 178px; }
  .visual-avatar { width: 82px; }
  .quick-url { grid-template-columns: minmax(0, 1fr) auto; }
  .quick-url .traffic-lights { display: none; }
  .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
  .reliability dl { grid-template-columns: 1fr; }
  .reliability dl div { border-right: 0; }
  .reliability dl div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
  .legacy-recreation { padding: 18px; }
  .legacy-page { padding: 17px; }
  .legacy-story { padding: 35px 22px 28px; }
  .legacy-story h2 { font-size: 34px; }
  .legacy-form div { grid-template-columns: 78px 1fr; }
  .compatibility-row { grid-template-columns: 1fr; }
}

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