:root {
    --bg: #090b0f;
    --panel: #121720;
    --panel2: #1a2130;
    --panel3: #0d1219;
    --border: #2d3543;
    --text: #f3f6fa;
    --muted: #9ba6b5;
    --soft: #d8dee8;
    --accent: #4ade80;
    --accent-2: #5f8fff;
    --gold: #d6b46d;
    --ink: #080a0d;
    --green: #34d399;
    --red: #fb7185;
    --yellow: #fbbf24;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 14px/1.5 Inter, "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif; }
  body { min-height: 100vh; overflow-x: hidden; }
  body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 55% -10%, rgba(95,143,255,.18), transparent 35%), radial-gradient(circle at 10% 10%, rgba(74,222,128,.13), transparent 30%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 38%); }
  header { position: relative; padding: 0 32px 32px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(11,14,19,.98), rgba(9,11,15,.94)); backdrop-filter: blur(14px); }
  .site-nav { height: 76px; max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 18px; font-weight: 850; color: var(--text); text-decoration: none; }
  .brand-logo { display: block; width: 250px; max-width: 58vw; height: auto; }
  .brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(95,143,255,.16); color: var(--accent); border: 1px solid rgba(95,143,255,.28); font-weight: 900; }
  .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 26px; color: var(--muted); font-size: 13px; font-weight: 700; }
  .nav-links a { color: inherit; text-decoration: none; white-space: nowrap; }
  .nav-links a:hover { color: var(--text); }
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 578px); align-items: start; gap: 48px; max-width: 1320px; margin: 54px auto 0; }
  .brand { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
  .eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  header h1 { margin: 0; font: 820 64px/1.05 Inter, "Avenir Next", "PingFang SC", sans-serif; letter-spacing: 0; max-width: 760px; }
  header p { margin: 0; color: var(--soft); font-size: 18px; line-height: 1.65; max-width: 690px; }
  .header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .contact-group { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .contact { flex: 0 0 auto; color: var(--text); border: 1px solid var(--border); background: rgba(255,255,255,.04); padding: 10px 12px; border-radius: 8px; font-weight: 650; text-decoration: none; }
  .contact:hover { border-color: var(--accent); color: var(--accent); filter: none; }
  .contact span { color: var(--muted); font-weight: 500; margin-right: 6px; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
  .hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border-radius: 8px; font-weight: 800; text-decoration: none; }
  .hero-link.primary { background: var(--accent-2); color: #fff; }
  .hero-link.secondary { border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,.04); }
  .hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
  .hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-proof span::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
  .hero-console { min-width: 0; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: linear-gradient(180deg, rgba(18,23,32,.98), rgba(10,14,20,.98)); box-shadow: 0 38px 110px rgba(0,0,0,.44); overflow: hidden; }
  .console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
  .console-status { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; font-weight: 750; }
  .console-status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.12); }
  .console-body { padding: 20px; display: grid; gap: 16px; }
  .console-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .console-metric { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.045); }
  .console-metric strong { display: block; color: var(--text); font-size: 28px; line-height: 1.1; }
  .console-metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .console-panel { border: 1px solid var(--border); border-radius: 14px; background: rgba(8,11,16,.54); overflow: hidden; }
  .console-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--soft); font-size: 13px; font-weight: 800; }
  .console-panel-head span { color: var(--accent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  .pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .pipeline-step { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: rgba(255,255,255,.03); }
  .pipeline-step strong { display: block; color: var(--text); font-size: 12px; }
  .pipeline-step span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
  .task-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 11px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 12px; }
  .task-row:first-of-type { border-top: 0; }
  .task-row strong { display: block; color: var(--text); font-size: 12px; }
  .task-row span:last-child { color: var(--accent); font-weight: 800; white-space: nowrap; }
  .console-case { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px; align-items: center; }
  .case-strip { height: 112px; border-radius: 7px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(214,180,109,.18), rgba(122,167,255,.08)), #090c11; position: relative; overflow: hidden; }
  .case-strip::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 5px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 18px); filter: blur(.2px); opacity: .62; }
  .case-copy strong { display: block; color: var(--text); font-size: 13px; }
  .case-copy p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
  .case-copy .mini-pill { margin-top: 10px; display: inline-flex; }
  .lang-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid rgba(95,143,255,.42); background: rgba(95,143,255,.09); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
  .lang-toggle button { min-height: 38px; padding: 7px 13px; background: transparent; color: var(--soft); font-size: 13px; border-radius: 6px; }
  .lang-toggle button.is-active { background: var(--accent); color: var(--ink); }
  .hero-trust { max-width: 1320px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .trust-item { min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); border-radius: 8px; }
  .trust-item strong { display: block; color: var(--text); font-size: 13px; }
  .trust-item span { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
  .capability-strip { max-width: 1320px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .metric { min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); border-radius: 8px; }
  .metric strong { display: block; color: var(--text); font-size: 24px; line-height: 1.1; font-weight: 800; }
  .metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-trust, .capability-strip { display: none; }
  .console-body .console-panel:nth-of-type(2), .console-body .console-panel:nth-of-type(3) { display: none; }
  main { position: relative; display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 22px; padding: 42px 32px 48px; max-width: 1320px; margin: 0 auto; }
  .solution-section { grid-column: 1 / -1; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .solution-section, .analytics-section, .capability-panel, .process-section { display: none; }
  .solution-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
  .positioning-panel, .market-panel { padding: 24px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(18,23,32,.94); }
  .positioning-panel h2, .market-panel h2 { margin: 0 0 12px; color: var(--text); font-size: 30px; line-height: 1.18; letter-spacing: 0; text-transform: none; }
  .market-panel h2 { font-size: 24px; }
  .positioning-panel p, .market-panel p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
  .value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .value-card { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.035); }
  .value-card strong { display: block; color: var(--text); font-size: 14px; }
  .value-card span { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; }
  .market-list { display: grid; gap: 8px; margin-top: 14px; }
  .market-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--soft); }
  .analytics-section { grid-column: 1 / -1; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .analytics-copy { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: end; margin-bottom: 22px; }
  .analytics-copy h2 { margin: 0; color: var(--text); font-size: 42px; line-height: 1.16; letter-spacing: 0; text-transform: none; }
  .analytics-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
  .analytics-dashboard { border: 1px solid rgba(255,255,255,.09); border-radius: 24px; padding: 32px; background: linear-gradient(180deg, rgba(18,23,32,.97), rgba(12,16,22,.94)); box-shadow: 0 24px 90px rgba(0,0,0,.24); }
  .dashboard-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; }
  .dashboard-head h2 { margin: 0; color: var(--text); font-size: 22px; letter-spacing: 0; text-transform: none; }
  .dashboard-pills { display: flex; gap: 10px; flex-wrap: wrap; }
  .dashboard-pill { border: 1px solid var(--border); border-radius: 999px; color: var(--muted); padding: 7px 12px; font-size: 12px; font-weight: 800; }
  .dashboard-pill.active { color: var(--text); border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.11); }
  .analytics-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
  .analytics-metric { min-width: 0; padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.035); }
  .analytics-metric span { display: block; color: var(--muted); font-size: 12px; font-weight: 750; }
  .analytics-metric strong { display: block; margin-top: 8px; color: var(--text); font-size: 30px; line-height: 1.1; }
  .analytics-metric::after { content: ""; display: block; height: 4px; margin-top: 14px; border-radius: 999px; background: var(--accent); }
  .analytics-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
  .trend-card, .readiness-card { border: 1px solid var(--border); border-radius: 18px; background: rgba(8,11,16,.46); padding: 24px; }
  .trend-card h3, .readiness-card h3 { margin: 0 0 24px; color: var(--text); font-size: 17px; }
  .trend-bars { height: 240px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 24px; align-items: end; padding: 8px 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .trend-bars i { display: block; min-height: 40px; border-radius: 9px 9px 0 0; background: linear-gradient(180deg, var(--accent-2), rgba(95,143,255,.58)); }
  .trend-bars i:nth-child(n+7) { background: linear-gradient(180deg, var(--accent), rgba(74,222,128,.55)); }
  .readiness-list { display: grid; gap: 18px; }
  .readiness-row { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; color: var(--soft); }
  .readiness-row b { width: 18px; height: 18px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 5px rgba(74,222,128,.11); }
  .readiness-row span:last-child { color: var(--accent); font-size: 12px; font-weight: 850; }
  .market-list span { color: var(--accent); font-weight: 800; font-size: 12px; }
  .process-section { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; padding: 24px; border: 1px solid rgba(74,222,128,.16); border-radius: 18px; background: linear-gradient(135deg, rgba(74,222,128,.07), rgba(95,143,255,.06)); }
  .process-copy h2 { margin: 0 0 8px; color: var(--text); font-size: 19px; letter-spacing: 0; text-transform: none; }
  .process-copy p { margin: 0; color: var(--muted); max-width: 560px; }
  .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .process-card { min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(8,10,13,.24); }
  .process-card span { display: block; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .process-card strong { display: block; margin-top: 8px; color: var(--text); font-size: 14px; }
  .process-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
  .workspace-intro { grid-column: 1 / -1; order: -4; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .workspace-intro h2 { margin: 0; color: var(--text); font-size: 42px; line-height: 1.16; letter-spacing: 0; text-transform: none; max-width: 760px; }
  .workspace-intro p { margin: 16px 0 0; color: var(--muted); max-width: 760px; font-size: 17px; line-height: 1.7; }
  .workspace-intro .mini-pill { display: inline-flex; width: fit-content; margin-bottom: 10px; }
  section { min-width: 0; background: rgba(18,23,32,.94); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 20px; box-shadow: 0 18px 60px rgba(0,0,0,.18); }
  section h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .06em; }
  .stack { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 18px; align-self: start; min-width: 0; }
  .stack { order: -2; }
  .workspace { display: contents; min-width: 0; }
  #evaluation, .results-panel, .contact-banner { grid-column: 2; }
  #evaluation { order: -2; }
  .results-panel { order: -1; }
  .contact-banner { order: 1; }
  .stack > section, .workspace > section { border-radius: 18px; }
  .samples { padding: 0; overflow: hidden; }
  .samples { grid-column: 1 / -1; order: -3; background: linear-gradient(180deg, rgba(17,23,32,.98), rgba(12,16,22,.94)); }
  .samples-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 16px 0; }
  .samples-head p { margin: 0; color: var(--muted); font-size: 12px; }
  .sample-grid { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 12px; padding: 16px; }
  .sample-card { background: var(--panel3); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; min-width: 0; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
  .sample-card:hover, .sample-card.is-selected { border-color: rgba(214,180,109,.75); box-shadow: 0 12px 36px rgba(0,0,0,.28); }
  .sample-card.is-selected { transform: translateY(-2px); }
  .sample-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: #000; color: var(--text); overflow: hidden; }
  .sample-poster img, .sample-card video { display: block; width: 100%; aspect-ratio: 9 / 14; object-fit: cover; background: #000; }
  .sample-card:not(.is-revealed) .sample-poster img { filter: blur(9px) saturate(.78) brightness(.66); transform: scale(1.06); }
  .sample-card:not(.is-revealed) .sample-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,13,.32), rgba(8,10,13,.52)); pointer-events: none; }
  .sample-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; text-align: left; pointer-events: none; }
  .sample-cover span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .sample-cover strong { color: var(--text); font-size: 18px; line-height: 1.15; }
  .sample-cover small { color: var(--muted); font-size: 12px; line-height: 1.35; }
  .sample-card.is-revealed .sample-cover { display: none; }
  .sample-card video { display: none; }
  .sample-card.is-previewing .sample-poster { display: none; }
  .sample-card.is-previewing video { display: block; }
  .sample-use { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; min-height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgba(8,12,18,.76); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); font-weight: 750; }
  .sample-card .sample-meta { padding: 9px 10px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sample-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px 10px; }
  .sample-action, .sample-preview { min-height: 36px; padding: 8px 10px; background: #243244; color: var(--text); font-size: 13px; }
  .sample-action { background: var(--accent); color: var(--ink); }
  .sample-action:hover, .sample-preview:hover { background: #334155; color: var(--text); filter: none; }
  .sample-card.is-selected .sample-action { background: #0f513c; color: var(--accent); }
  .sample-card.is-selected .sample-meta { color: var(--accent); }
  .empty-samples { color: var(--muted); padding: 0 16px 16px; }
  .contact-banner { padding: 18px; border: 1px solid rgba(214,180,109,.18); background: linear-gradient(135deg, rgba(214,180,109,.075), rgba(122,167,255,.04)); }
  .contact-banner h2 { margin-bottom: 8px; color: var(--text); font-size: 18px; letter-spacing: 0; text-transform: none; }
  .contact-banner p { margin: 0; color: var(--muted); }
  .contact-banner .hero-actions { margin-top: 14px; }
  .trust-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 12px; }
  .trust-links a { color: var(--muted); text-decoration: none; }
  .trust-links a:hover { color: var(--accent); }
  label { display: block; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
  label .lab { display: block; margin-bottom: 4px; font-size: 12px; }
  .upload-card { margin-bottom: 14px; }
  .mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
  .mode-option { min-height: 58px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--soft); text-align: left; }
  .mode-option strong { display: block; color: var(--text); font-size: 13px; line-height: 1.2; }
  .mode-option span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.25; }
  .mode-option.is-active { border-color: rgba(214,180,109,.78); background: rgba(214,180,109,.13); }
  .mode-option.is-active strong { color: var(--accent); }
  .field-hidden { display: none !important; }
  .upload-target { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px dashed #405064; background: rgba(25,31,43,.72); border-radius: 8px; color: var(--text); font-weight: 700; cursor: pointer; }
  .upload-target:hover { border-color: var(--accent); color: var(--accent); }
  .upload-target input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
  select, input[type=number], input[type=text], textarea {
    width: 100%; background: var(--panel2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; font: inherit;
  }
  textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
  .config-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .config-row > label { min-width: 0; }
  .checks { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 14px; color: var(--text); }
  .checks label { display: inline-flex; align-items: center; gap: 6px; color: var(--text); margin: 0; cursor: pointer; }
  .trial-panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
  .trial-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
  .trial-row label { margin: 0; }
  .trial-row button { min-height: 38px; padding: 8px 12px; background: #263243; color: var(--text); white-space: nowrap; }
  .trial-row button:hover { background: #334155; filter: none; }
  .trial-status { margin-top: 8px; min-height: 18px; color: var(--muted); font-size: 12px; }
  .trial-status.ok { color: var(--accent); }
  .trial-status.error { color: var(--red); }
  .preset-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
  .preset-row button { background: #263243; color: var(--text); padding: 8px 10px; font-size: 13px; }
  .preset-row button:hover { background: #334155; }
  button { background: var(--accent); color: var(--ink); border: 0; padding: 10px 14px; border-radius: 6px; font-weight: 760; cursor: pointer; font-size: 14px; }
  button:hover { filter: brightness(1.1); }
  button:disabled { background: #444; cursor: not-allowed; }
  #image-preview { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  #image-preview img { display: block; width: auto; max-width: 100%; max-height: 320px; border-radius: 6px; border: 1px solid var(--border); }
  #image-preview .meta { color: var(--muted); font-size: 12px; }
  .hint { color: var(--muted); font-size: 12px; margin: 6px 0 12px; }
  .section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .section-title-row h2 { margin: 0; }
  .mini-pill { color: var(--accent); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.22); border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
  .capability-panel { grid-column: 1 / -1; background: linear-gradient(180deg, rgba(22,27,36,.98), rgba(17,22,30,.94)); }
  .capability-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
  .capability-head h2 { margin: 0; }
  .capability-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; max-width: 620px; }
  .capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .capability-item { min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.035); }
  .capability-item strong { display: block; color: var(--text); font-size: 15px; }
  .capability-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
  .studio-kicker { grid-column: 1 / -1; padding: 16px 18px; margin-bottom: 14px; border: 1px solid rgba(214,180,109,.18); border-radius: 8px; background: rgba(214,180,109,.055); }
  .studio-kicker { display: none; }
  .studio-kicker h2 { margin: 0; color: var(--text); font-size: 18px; letter-spacing: 0; text-transform: none; }
  .studio-kicker p { margin: 5px 0 0; color: var(--muted); max-width: 850px; }
  .solution-section, .analytics-section, .capability-panel, .process-section { display: none; }
  ul#results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .empty-results { border: 1px dashed var(--border); border-radius: 8px; background: rgba(25,31,43,.5); padding: 18px; color: var(--muted); text-align: center; }
  .empty-results strong { display: block; color: var(--soft); margin-bottom: 4px; }
  .row { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 280px; gap: 14px; align-items: start; }
  .row .left .prompt { font-weight: 500; white-space: pre-wrap; word-break: break-word; }
  .row .left .meta { color: var(--muted); font-size: 12px; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
  .row .right video, .row .right img { width: 280px; border-radius: 6px; background: #000; display: block; }
  .row .right .nofile { color: var(--muted); font-size: 12px; }
  .badge { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; }
  .b-pending { background: rgba(255,200,87,.15); color: var(--yellow); }
  .b-processing { background: rgba(78,161,255,.15); color: var(--accent-2); }
  .b-success { background: rgba(61,220,132,.15); color: var(--green); }
  .b-saved { background: rgba(124,92,255,.18); color: #ad97ff; }
  .b-failed { background: rgba(255,107,107,.15); color: var(--red); }
  .progress { height: 4px; background: #2a2e42; border-radius: 2px; overflow: hidden; margin-top: 8px; }
  .progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0%; transition: width .4s ease; }
  .filename { color: var(--green); font-size: 12px; font-family: ui-monospace, Menlo, monospace; }
  details { margin-top: 8px; }
  details summary { color: var(--muted); cursor: pointer; font-size: 12px; }
  details pre { white-space: pre-wrap; word-break: break-all; background: #0b0d14; padding: 8px 10px; border-radius: 6px; font-size: 11px; color: var(--muted); }
  @media (max-width: 1100px) {
    .topbar { grid-template-columns: 1fr; }
    main { grid-template-columns: 1fr; }
    .stack { position: static; }
    .sample-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
    .capability-strip, .capability-grid, .solution-grid, .analytics-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solution-grid { grid-template-columns: 1fr; }
    .analytics-copy, .analytics-grid { grid-template-columns: 1fr; }
    .process-section { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    html, body { font-size: 15px; }
    header { padding: 0 14px 22px; }
    .site-nav { height: auto; min-height: 68px; padding: max(14px, env(safe-area-inset-top)) 0 14px; align-items: flex-start; flex-direction: column; gap: 12px; }
    .nav-links { width: 100%; justify-content: space-between; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
    .topbar { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 24px; }
    .brand { gap: 6px; }
    .eyebrow { font-size: 11px; }
    header h1 { font-size: 34px; line-height: 1.08; }
    header p { font-size: 13px; line-height: 1.45; }
    .header-actions, .contact-group { width: 100%; justify-content: stretch; }
    .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .hero-link { width: 100%; }
    .contact-group { display: grid; grid-template-columns: 1fr 1fr; }
    .contact { width: 100%; text-align: center; padding: 11px 12px; }
    .lang-toggle { width: 100%; }
    .lang-toggle button { flex: 1; min-height: 40px; }
    .hero-trust, .capability-strip { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
    .hero-console { width: 100%; }
    .console-bar { align-items: stretch; flex-direction: column; }
    .console-metrics, .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .console-metric { padding: 12px 10px; }
    .console-metric strong { font-size: 24px; }
    .pipeline { gap: 6px; }
    .pipeline-step { padding: 9px 7px; }
    .pipeline-step strong, .pipeline-step span { font-size: 10px; }
    .console-case { grid-template-columns: 1fr; }
    .case-strip { height: 96px; }
    .metric { padding: 10px; }
    .metric strong { font-size: 16px; }
    .metric span { white-space: normal; }
    .analytics-copy h2, .workspace-intro h2 { font-size: 30px; }
    .analytics-copy p, .workspace-intro p { font-size: 14px; }
    .analytics-dashboard { padding: 16px; border-radius: 16px; }
    .dashboard-head { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
    .analytics-metrics, .analytics-grid { grid-template-columns: 1fr; gap: 12px; }
    .trend-card, .readiness-card { padding: 16px; border-radius: 14px; }
    .trend-bars { height: 150px; gap: 10px; }
    .readiness-row { grid-template-columns: 22px 1fr; }
    .readiness-row span:last-child { grid-column: 2; }
    main { display: flex; flex-direction: column; gap: 14px; padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }
    #evaluation, .results-panel, .contact-banner { grid-column: auto; }
    section { padding: 14px; border-radius: 10px; }
    section h2 { margin-bottom: 10px; font-size: 12px; }
    .stack { gap: 14px; }
    .stack { align-self: stretch; }
    .samples-head { padding: 14px 14px 0; }
    .sample-grid {
      display: flex;
      grid-template-columns: none;
      gap: 10px;
      overflow-x: auto;
      padding: 14px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .sample-card {
      flex: 0 0 min(72vw, 260px);
      scroll-snap-align: start;
    }
    .capability-head { flex-direction: column; }
    .capability-grid, .value-grid, .process-grid { grid-template-columns: 1fr; }
    .sample-poster img, .sample-card video { aspect-ratio: 10 / 13; }
    .sample-use { min-height: 38px; }
    .sample-action, .sample-preview { min-height: 42px; }
    .config-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mode-switch { grid-template-columns: 1fr; }
    .mode-option { min-height: 52px; }
    label { margin-bottom: 8px; }
    select, input[type=number], input[type=text], textarea {
      min-height: 44px;
      padding: 10px 11px;
      font-size: 16px;
    }
    textarea { min-height: 220px; }
    .checks { gap: 8px; margin: 4px 0 12px; }
    .checks label {
      min-height: 40px;
      flex: 1 1 150px;
      justify-content: center;
      padding: 8px 10px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--panel2);
      font-size: 13px;
    }
    .trial-row { grid-template-columns: 1fr; }
    .trial-row button { width: 100%; min-height: 44px; }
    .preset-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .preset-row button {
      min-height: 44px;
      padding: 10px 8px;
      white-space: normal;
      line-height: 1.2;
    }
    button { min-height: 44px; font-size: 15px; touch-action: manipulation; }
    #generate-btn { width: 100%; margin-top: 2px; }
    #image-preview { align-items: center; }
    #image-preview img {
      width: auto;
      height: auto;
      max-width: min(100%, 260px);
      max-height: 360px;
      object-fit: contain;
      background: #080a0d;
    }
    #image-preview .meta { align-self: stretch; }
    .row { grid-template-columns: 1fr; }
    .row .left .meta { gap: 8px; }
    .row .right video, .row .right img { width: 100%; max-height: 70vh; object-fit: contain; }
    details pre { max-height: 180px; overflow: auto; }
  }
  @media (max-width: 380px) {
    header h1 { font-size: 24px; }
    main { padding-left: 10px; padding-right: 10px; }
    .config-row, .preset-row { grid-template-columns: 1fr; }
    .sample-card { flex-basis: 82vw; }
  }

  /* Light pastel demo-first redesign based on the Figma concept. */
  :root {
    --bg: #fff7fc;
    --panel: rgba(255,255,255,.78);
    --panel2: #fffafd;
    --panel3: #ffffff;
    --border: #ead8ea;
    --text: #1d1325;
    --muted: #6f6179;
    --soft: #45334f;
    --accent: #ff6fae;
    --accent-2: #9a87f5;
    --gold: #f3b65f;
    --ink: #fff;
    --green: #21b57b;
    --red: #e65370;
    --yellow: #d99b25;
  }
  html, body {
    background: linear-gradient(135deg, #fff8fb 0%, #fffdf9 48%, #f7f4ff 100%);
    color: var(--text);
  }
  body::before {
    background:
      radial-gradient(circle at 12% 18%, rgba(255,111,174,.22), transparent 32%),
      radial-gradient(circle at 82% 8%, rgba(230,178,153,.24), transparent 30%),
      radial-gradient(circle at 72% 72%, rgba(154,135,245,.14), transparent 36%),
      linear-gradient(180deg, rgba(255,255,255,.18), transparent 38%);
  }
  header {
    padding: 22px 32px 28px;
    border-bottom: 0;
    background: transparent;
  }
  .site-nav {
    height: 70px;
    padding: 0 16px 0 18px;
    border: 1px solid rgba(232,214,232,.86);
    border-radius: 24px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 20px 70px rgba(167,139,246,.12);
    backdrop-filter: blur(20px);
  }
  .nav-brand { color: var(--text); }
  .brand-mark {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 12px 32px rgba(255,111,174,.24);
  }
  .nav-links { color: #7a6c86; }
  .nav-links a:hover { color: var(--accent); }
  .topbar {
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: 54px;
    margin-top: 52px;
    align-items: center;
  }
  .brand { gap: 18px; padding-top: 0; }
  .eyebrow {
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(255,111,174,.23);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    color: #c34a85;
    letter-spacing: .12em;
  }
  header h1 {
    max-width: 760px;
    color: var(--text);
    font-size: clamp(56px, 5.35vw, 82px);
    line-height: .98;
    letter-spacing: 0;
  }
  header p {
    max-width: 600px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
  }
  .hero-link {
    min-height: 52px;
    border-radius: 999px;
    box-shadow: none;
  }
  .hero-link.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 18px 38px rgba(255,111,174,.23);
  }
  .hero-link.secondary {
    border-color: rgba(232,214,232,.96);
    background: rgba(255,255,255,.72);
    color: var(--text);
  }
  .hero-link.secondary:hover, .contact:hover {
    border-color: rgba(255,111,174,.42);
    color: #c34a85;
    background: #fff;
  }
  .hero-proof { color: #796b84; gap: 16px; }
  .hero-proof span::before {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 4px rgba(255,111,174,.12);
  }
  .hero-console {
    border: 1px solid rgba(232,214,232,.88);
    border-radius: 28px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 32px 95px rgba(154,135,245,.16), 0 18px 65px rgba(198,112,120,.10);
    backdrop-filter: blur(22px);
  }
  .console-bar {
    padding: 18px;
    border-bottom: 1px solid rgba(232,214,232,.74);
    background: rgba(255,255,255,.42);
  }
  .console-status { color: var(--soft); }
  .console-status::before {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(255,111,174,.13);
  }
  .console-body { gap: 14px; padding: 18px; }
  .console-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .console-demo-card {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid rgba(232,214,232,.88);
    border-radius: 20px;
    background:
      linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,247,252,.62)),
      radial-gradient(circle at 72% 24%, rgba(255,111,174,.22), transparent 35%);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    position: relative;
  }
  .console-demo-card::after {
    content: "";
    position: absolute;
    inset: auto -20px -24px auto;
    width: 120px;
    height: 96px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255,111,174,.28), rgba(154,135,245,.24));
    filter: blur(10px);
  }
  .console-demo-card.main {
    min-height: 244px;
    grid-row: span 2;
    background:
      linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.82)),
      radial-gradient(circle at 50% 20%, rgba(255,111,174,.35), transparent 34%),
      radial-gradient(circle at 68% 72%, rgba(154,135,245,.30), transparent 42%);
  }
  .console-demo-card span,
  .console-demo-card small {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .console-demo-card strong {
    position: relative;
    z-index: 1;
    max-width: 210px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.18;
  }
  .console-demo-card.main strong { font-size: 28px; }
  .hero-sample-card {
    isolation: isolate;
    border-color: rgba(255,255,255,.7);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), 0 16px 38px rgba(29,19,37,.10);
  }
  .hero-sample-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(32,18,25,.10), rgba(32,18,25,.36));
  }
  .hero-sample-card::after { display: none; }
  .hero-sample-card img {
    position: absolute;
    inset: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    object-fit: cover;
    filter: blur(10px) saturate(.88) brightness(.88);
    transform: scale(1.02);
  }
  .hero-sample-card span,
  .hero-sample-card small,
  .hero-sample-card strong {
    z-index: 2;
  }
  .hero-sample-card strong {
    place-self: center;
    max-width: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 1px 18px rgba(0,0,0,.34);
  }
  .hero-sample-card .hero-sample-meta,
  .hero-sample-card small {
    width: fit-content;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(29,19,37,.48);
    color: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
  }
  .hero-sample-card small {
    align-self: flex-start;
    margin-top: auto;
  }
  .view-samples-link {
    color: var(--soft);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
  .view-samples-link:hover { color: #c34a85; }
  .console-panel {
    border-color: rgba(232,214,232,.88);
    border-radius: 20px;
    background: rgba(255,255,255,.68);
  }
  .hero-code-panel { display: block !important; }
  .hero-console .auxiliary-panel { display: none !important; }
  .console-case {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px;
  }
  .case-copy strong { color: var(--text); font-size: 15px; }
  .case-copy p { color: var(--muted); }
  .mini-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
  }
  .contact-group, .hero-contact-row { justify-content: flex-start; }
  .hero-contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .contact {
    border-color: rgba(232,214,232,.94);
    border-radius: 999px;
    background: rgba(255,255,255,.64);
    color: var(--text);
  }
  .lang-toggle {
    border-color: rgba(232,214,232,.94);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
  }
  .lang-toggle button {
    border-radius: 999px;
    color: var(--muted);
  }
  .lang-toggle button.is-active {
    background: var(--text);
    color: #fff;
  }
  main {
    max-width: 1320px;
    grid-template-columns: minmax(260px, 365px) minmax(320px, 430px) minmax(280px, 1fr);
    gap: 18px;
    padding: 30px 32px 56px;
  }
  .hero-trust {
    max-width: 1320px;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(232,214,232,.88);
    border-radius: 24px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 22px 70px rgba(154,135,245,.11);
    backdrop-filter: blur(18px);
  }
  .trust-item {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 20px 22px;
    box-shadow: none;
  }
  .trust-item + .trust-item {
    border-left: 1px solid rgba(232,214,232,.92);
  }
  .trust-item strong {
    color: var(--text);
    font-size: 15px;
  }
  .trust-item span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .workspace-intro {
    padding: 0 0 4px;
    text-align: left;
  }
  .workspace-intro h2 {
    max-width: 760px;
    color: var(--text);
    font-size: 42px;
  }
  .workspace-intro p {
    max-width: 680px;
    color: var(--muted);
  }
  section {
    border: 1px solid rgba(232,214,232,.88);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 20px 70px rgba(154,135,245,.10);
    backdrop-filter: blur(18px);
  }
  section h2 { color: var(--soft); }
  .mini-pill {
    border-color: rgba(255,111,174,.22);
    background: rgba(255,111,174,.08);
    color: #c34a85;
  }
  .samples {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,247,252,.64));
  }
  .samples-head {
    padding: 22px 22px 0;
  }
  .samples-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
  }
  .sample-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 16px;
    padding: 22px;
  }
  .sample-card {
    border-color: rgba(232,214,232,.92);
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 45px rgba(154,135,245,.10);
  }
  .sample-card:hover,
  .sample-card.is-selected {
    border-color: rgba(255,111,174,.48);
    box-shadow: 0 22px 55px rgba(255,111,174,.14);
  }
  .sample-poster { background: #fff1f8; }
  .sample-poster img,
  .sample-card video {
    aspect-ratio: 16 / 10;
    background: #fff1f8;
  }
  .sample-card:not(.is-revealed) .sample-poster img {
    filter: blur(7px) saturate(.92) brightness(1.04);
    transform: scale(1.04);
  }
  .sample-card:not(.is-revealed) .sample-poster::after {
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,246,251,.66));
  }
  .sample-cover { padding: 16px; }
  .sample-cover span { color: #c34a85; }
  .sample-cover strong { color: var(--text); font-size: 20px; }
  .sample-cover small { color: var(--muted); }
  .sample-use {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 38px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    color: var(--text);
    box-shadow: 0 10px 28px rgba(29,19,37,.12);
  }
  .sample-card .sample-meta {
    padding: 12px 14px 8px;
    color: var(--soft);
    font-weight: 800;
  }
  .sample-actions { padding: 0 14px 14px; }
  .sample-action,
  .sample-preview,
  .preset-row button,
  .trial-row button {
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(232,214,232,.92);
    color: var(--text);
  }
  .sample-action,
  #generate-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: 0;
  }
  .sample-action:hover,
  .sample-preview:hover,
  .preset-row button:hover,
  .trial-row button:hover {
    background: #fff;
    color: #c34a85;
    border-color: rgba(255,111,174,.45);
  }
  .stack {
    grid-column: 1;
    order: 0;
    position: sticky;
    top: 18px;
  }
  #evaluation {
    grid-column: 2;
    order: 0;
  }
  .results-panel {
    grid-column: 3;
    order: 0;
  }
  .privacy-note {
    grid-column: 1 / -1;
    order: 1;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 18px;
    align-items: start;
    padding: 24px;
    background: rgba(255,255,255,.72);
  }
  .privacy-copy h2 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: 0;
    text-transform: none;
  }
  .privacy-copy p {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .privacy-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .privacy-points div {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(232,214,232,.92);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
  }
  .privacy-points strong {
    display: block;
    color: var(--text);
    font-size: 14px;
  }
  .privacy-points span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .contact-banner {
    grid-column: 1 / -1;
    order: 2;
  }
  .workspace { display: contents; }
  .mode-option,
  select,
  input[type=number],
  input[type=text],
  textarea {
    border-color: rgba(232,214,232,.92);
    background: rgba(255,255,255,.82);
    color: var(--text);
  }
  .mode-option {
    border-radius: 16px;
    color: var(--muted);
  }
  .mode-option strong { color: var(--text); }
  .mode-option.is-active {
    border-color: rgba(255,111,174,.48);
    background: linear-gradient(135deg, rgba(255,111,174,.12), rgba(154,135,245,.10));
  }
  .mode-option.is-active strong { color: #c34a85; }
  .upload-target {
    border-color: rgba(255,111,174,.34);
    border-radius: 16px;
    background: rgba(255,247,252,.82);
    color: var(--text);
  }
  .checks label {
    color: var(--soft);
  }
  button {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
  }
  button:disabled {
    background: #d6cedb;
    color: #fff;
  }
  .trial-panel { border-top-color: rgba(232,214,232,.92); }
  #image-preview img {
    border-color: rgba(232,214,232,.92);
    border-radius: 16px;
  }
  .empty-results {
    border-color: rgba(232,214,232,.92);
    border-radius: 18px;
    background: rgba(255,249,253,.8);
  }
  .empty-results strong { color: var(--text); }
  .row {
    grid-template-columns: 1fr;
    border-color: rgba(232,214,232,.92);
    border-radius: 18px;
    background: rgba(255,255,255,.8);
  }
  .row .right video,
  .row .right img {
    width: 100%;
    border-radius: 14px;
  }
  details pre {
    background: #fff7fc;
    color: var(--muted);
  }
  .contact-banner {
    background: linear-gradient(135deg, rgba(29,19,37,.96), rgba(107,55,82,.84));
    border-color: rgba(255,255,255,.16);
  }
  .contact-banner h2 { color: #fff; }
  .contact-banner p,
  .contact-banner .trust-links,
  .contact-banner .trust-links a { color: rgba(255,255,255,.72); }
  .contact-banner .hero-link.secondary {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    color: #fff;
  }
  .trust-links a:hover { color: #c34a85; }

  @media (max-width: 1100px) {
    .topbar { grid-template-columns: 1fr; }
    .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(232,214,232,.92); }
    .trust-item:nth-child(4) { border-top: 1px solid rgba(232,214,232,.92); }
    main { grid-template-columns: 1fr 1fr; }
    .stack { grid-column: 1; }
    #evaluation, .results-panel { grid-column: 2; }
    .privacy-note, .contact-banner { grid-column: 1 / -1; }
    .privacy-note { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    header { padding: 12px 14px 24px; }
    .site-nav {
      height: auto;
      min-height: 68px;
      padding: max(12px, env(safe-area-inset-top)) 14px 14px;
      border-radius: 22px;
      align-items: flex-start;
      flex-direction: column;
      gap: 12px;
    }
    .nav-links {
      width: 100%;
      justify-content: flex-start;
      gap: 18px;
      overflow-x: auto;
      padding-bottom: 2px;
      font-size: 12px;
    }
    .topbar { margin-top: 28px; gap: 22px; }
    header h1 { font-size: 40px; line-height: 1.04; }
    header p { font-size: 15px; line-height: 1.6; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-proof { gap: 10px 14px; }
    .hero-contact-row { display: grid; grid-template-columns: 1fr; }
    .hero-trust {
      margin-top: 20px;
      grid-template-columns: 1fr;
      border-radius: 20px;
    }
    .trust-item,
    .trust-item + .trust-item,
    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
      border-left: 0;
      border-top: 1px solid rgba(232,214,232,.92);
    }
    .trust-item:first-child { border-top: 0; }
    .hero-console { border-radius: 24px; }
    .console-demo-grid { grid-template-columns: 1fr 1fr; }
    .console-demo-card,
    .hero-sample-card { min-height: 128px; }
    .console-demo-card strong { font-size: 12px; }
    .console-case {
      grid-template-columns: 1fr;
    }
    .contact-group { grid-template-columns: 1fr; }
    .contact { text-align: center; }
    main {
      display: flex;
      flex-direction: column;
      padding: 16px 12px calc(26px + env(safe-area-inset-bottom));
      gap: 14px;
    }
    .workspace-intro h2 { font-size: 30px; }
    .workspace-intro p { font-size: 14px; }
    section { border-radius: 20px; }
    .sample-grid {
      padding: 16px;
      gap: 12px;
    }
    .sample-card { flex-basis: min(76vw, 280px); border-radius: 20px; }
    .sample-poster img,
    .sample-card video { aspect-ratio: 4 / 5; }
    .brand-logo { width: min(230px, 72vw); }
    .privacy-note {
      padding: 18px;
      grid-template-columns: 1fr;
    }
    .privacy-copy h2 { font-size: 22px; }
    .privacy-points { grid-template-columns: 1fr; }
  }
  @media (max-width: 380px) {
    header h1 { font-size: 34px; }
    .sample-card { flex-basis: 82vw; }
  }

  /* Enterprise Control Room redesign. */
  :root {
    --bg: #f7f9fc;
    --panel: #ffffff;
    --panel2: #fbfcfe;
    --panel3: #ffffff;
    --border: #dce3ec;
    --text: #111827;
    --muted: #637083;
    --soft: #2f3b4a;
    --accent: #c83473;
    --accent-2: #e15b8f;
    --ink: #ffffff;
    --green: #25b87a;
  }
  html, body {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f8fafc 100%);
    color: var(--text);
  }
  body::before {
    background:
      linear-gradient(180deg, rgba(244,248,252,.78), transparent 34%),
      radial-gradient(circle at 76% 16%, rgba(61,91,128,.06), transparent 34%);
  }
  header {
    padding: 0 36px 18px;
    background: #fff;
    border-bottom: 1px solid #e4e9f0;
  }
  .site-nav {
    max-width: 1360px;
    height: 62px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .brand-logo {
    width: 214px;
    max-width: 42vw;
  }
  .nav-links {
    gap: 40px;
    color: #172033;
    font-size: 14px;
    font-weight: 750;
  }
  .nav-links a:hover { color: var(--accent); }
  .topbar {
    max-width: 1360px;
    grid-template-columns: minmax(460px, .86fr) minmax(620px, 1.14fr);
    gap: 64px;
    margin-top: 28px;
  }
  .brand {
    gap: 18px;
  }
  .eyebrow {
    padding: 7px 14px;
    border-color: #ead2dd;
    background: #fff7fb;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: none;
  }
  header h1 {
    max-width: 620px;
    font-size: clamp(42px, 4.25vw, 62px);
    line-height: 1.12;
    letter-spacing: 0;
  }
  header p {
    max-width: 575px;
    color: #4f5f74;
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-actions {
    margin-top: 2px;
    gap: 14px;
  }
  .hero-link {
    min-height: 46px;
    padding: 10px 26px;
    border-radius: 6px;
    font-weight: 850;
  }
  .hero-link.primary {
    background: linear-gradient(180deg, #d9477c, #c83473);
    box-shadow: 0 14px 28px rgba(200,52,115,.20);
  }
  .hero-link.secondary {
    border-color: #dce3ec;
    background: #fff;
    color: var(--text);
  }
  .hero-proof {
    display: none;
  }
  .hero-contact-row {
    gap: 0;
    align-items: stretch;
  }
  .hero-contact-row .contact {
    min-width: 172px;
    border-radius: 8px;
    border-color: #dce3ec;
    background: #fff;
    padding: 10px 14px;
    color: #172033;
  }
  .hero-contact-row .contact + .contact {
    margin-left: 18px;
  }
  .hero-contact-row .contact span {
    display: block;
    margin: 0 0 2px;
    color: #6b7788;
    font-size: 11px;
  }
  .enterprise-console {
    border-color: #dce3ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(31,45,61,.06);
    backdrop-filter: none;
  }
  .console-bar {
    padding: 16px 20px;
    border-bottom-color: #e4e9f0;
    background: #fff;
  }
  .console-status {
    color: #172033;
    font-size: 17px;
  }
  .console-status::before {
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(37,184,122,.10);
  }
  .view-samples-link {
    color: #4f5f74;
    font-size: 12px;
    font-weight: 700;
  }
  .console-body {
    padding: 16px;
    gap: 16px;
  }
  .enterprise-pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 16px;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #fbfcfe;
  }
  .pipeline-card {
    min-height: 112px;
    position: relative;
    padding: 16px 14px 14px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fff;
  }
  .pipeline-card + .pipeline-card::before {
    content: ">";
    position: absolute;
    left: -15px;
    top: 44px;
    color: #8b97a8;
    font-weight: 800;
  }
  .pipeline-card span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
    border: 1px solid #aab5c3;
    border-radius: 999px;
    color: #405063;
    font-size: 13px;
    font-weight: 850;
  }
  .pipeline-card strong {
    display: block;
    color: #172033;
    font-size: 13px;
  }
  .pipeline-card p {
    margin: 8px 0 0;
    color: #6b7788;
    font-size: 12px;
    line-height: 1.45;
  }
  .enterprise-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }
  .enterprise-metrics div {
    min-height: 92px;
    padding: 22px 20px;
  }
  .enterprise-metrics div + div {
    border-left: 1px solid #dce3ec;
  }
  .enterprise-metrics span {
    display: block;
    color: #172033;
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
  }
  .enterprise-metrics strong {
    display: block;
    margin-top: 8px;
    color: #647287;
    font-size: 12px;
    font-weight: 700;
  }
  .enterprise-console-note {
    display: none;
  }
  .hero-trust {
    display: none;
  }
  main {
    max-width: 1360px;
    grid-template-columns: minmax(292px, 332px) minmax(420px, 1fr) minmax(360px, 470px);
    gap: 12px;
    padding: 14px 36px 42px;
  }
  .workspace-intro {
    grid-column: 1 / -1;
    order: -2;
    padding: 18px 20px 6px;
  }
  .workspace-intro h2 {
    font-size: 22px;
    line-height: 1.2;
    max-width: none;
  }
  .workspace-intro p {
    margin-top: 6px;
    max-width: none;
    font-size: 13px;
    line-height: 1.55;
  }
  section {
    border-color: #dce3ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }
  .samples {
    grid-column: 1 / -1;
    order: -4;
    background: #fff;
  }
  .samples-head {
    padding: 14px 20px 0;
  }
  .samples-head h2 {
    font-size: 18px;
  }
  .sample-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 16px 20px 14px;
  }
  .sample-card {
    border-radius: 7px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
  .sample-card:hover,
  .sample-card.is-selected {
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }
  .sample-poster {
    border-radius: 7px;
  }
  .sample-poster img,
  .sample-card video {
    aspect-ratio: 16 / 9;
    border-radius: 7px 7px 0 0;
  }
  .sample-cover strong {
    color: #fff;
    font-size: 0;
  }
  .sample-cover strong::after {
    display: none;
  }
  .sample-cover small { display: none; }
  .sample-use {
    left: auto;
    right: 10px;
    bottom: 10px;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 5px;
    background: rgba(17,24,39,.74);
    color: #fff;
    font-size: 12px;
  }
  .sample-card .sample-meta {
    padding: 10px 0 0;
    color: #172033;
    font-weight: 800;
  }
  .sample-actions {
    padding: 8px 0 0;
  }
  .sample-action,
  .sample-preview,
  .preset-row button,
  .trial-row button {
    border-radius: 6px;
    border-color: #dce3ec;
  }
  .privacy-note {
    grid-column: 1 / -1;
    order: -3;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    background: #fff;
  }
  .privacy-copy h2 {
    margin-top: 0;
    font-size: 16px;
  }
  .privacy-copy p {
    display: none;
  }
  .privacy-points {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .privacy-points div {
    min-height: 58px;
    padding: 6px 22px;
    border: 0;
    border-left: 1px solid #dce3ec;
    border-radius: 0;
    background: transparent;
  }
  .privacy-points strong {
    font-size: 13px;
  }
  .privacy-points span {
    color: #6b7788;
    font-size: 11px;
  }
  .stack {
    grid-column: 1;
    order: 0;
  }
  #evaluation {
    grid-column: 2;
    order: 0;
  }
  .results-panel {
    grid-column: 3;
    order: 0;
  }
  .stack > section,
  #evaluation,
  .results-panel {
    min-height: 266px;
  }
  .mode-switch {
    grid-template-columns: 1fr;
  }
  .mode-option {
    min-height: 48px;
    border-radius: 6px;
  }
  .mode-option.is-active {
    border-color: rgba(200,52,115,.35);
    background: #fff5f9;
  }
  .mode-option.is-active strong {
    color: var(--accent);
  }
  select,
  input[type=number],
  input[type=text],
  textarea {
    border-radius: 6px;
    border-color: #dce3ec;
    background: #fff;
  }
  .upload-target {
    border-color: #dce3ec;
    border-radius: 6px;
    background: #fbfcfe;
  }
  textarea {
    min-height: 112px;
  }
  #generate-btn {
    border-radius: 6px;
    background: #d3d9e2;
    color: #fff;
  }
  .empty-results {
    min-height: 190px;
    border-color: #dce3ec;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(17,24,39,.94), rgba(74,85,104,.82));
  }
  .empty-results strong,
  .empty-results span {
    color: rgba(255,255,255,.86);
  }
  .contact-banner {
    background: #fff;
    border-color: #dce3ec;
  }
  .contact-banner h2 {
    color: var(--text);
  }
  .contact-banner p,
  .contact-banner .trust-links,
  .contact-banner .trust-links a {
    color: var(--muted);
  }

  @media (max-width: 1100px) {
    header { padding-left: 20px; padding-right: 20px; }
    .topbar { grid-template-columns: 1fr; }
    main { grid-template-columns: 1fr 1fr; padding-left: 20px; padding-right: 20px; }
    .enterprise-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pipeline-card + .pipeline-card::before { display: none; }
    .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-note { grid-template-columns: 1fr; }
    .privacy-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-points div:nth-child(odd) { border-left: 0; }
    #evaluation, .results-panel { grid-column: 2; }
  }

  @media (max-width: 720px) {
    header { padding: 12px 14px 18px; }
    .site-nav {
      min-height: 104px;
      padding: 12px;
      border: 1px solid #dce3ec;
      border-radius: 14px;
      background: #fff;
      align-items: flex-start;
      flex-direction: column;
    }
    .brand-logo { width: 190px; }
    .nav-links {
      gap: 16px;
      font-size: 12px;
      overflow-x: auto;
      width: 100%;
    }
    .topbar { margin-top: 24px; gap: 18px; }
    header h1 { font-size: 38px; line-height: 1.08; }
    header p { font-size: 14px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-contact-row .contact + .contact { margin-left: 0; margin-top: 10px; }
    .enterprise-console { border-radius: 8px; }
    .console-bar { align-items: flex-start; flex-direction: column; gap: 10px; }
    .enterprise-pipeline,
    .enterprise-metrics,
    .sample-grid,
    .privacy-points {
      grid-template-columns: 1fr;
    }
    .enterprise-metrics div + div,
    .privacy-points div {
      border-left: 0;
      border-top: 1px solid #dce3ec;
    }
    .privacy-points div:first-child { border-top: 0; }
    main {
      display: flex;
      flex-direction: column;
      padding: 14px 12px 28px;
    }
    .workspace-intro { padding: 14px 0 0; }
    .workspace-intro h2 { font-size: 24px; }
    .sample-card { flex-basis: auto; }
    .sample-poster img,
    .sample-card video { aspect-ratio: 16 / 10; }
  }

  /* User-selected target: Bright Premium AI Evaluation. */
  html, body {
    background:
      radial-gradient(circle at 3% 80%, rgba(255,92,169,.14), transparent 34%),
      radial-gradient(circle at 78% 14%, rgba(142,98,255,.10), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #fbfcff 48%, #fff7fc 100%);
  }
  body::before {
    background:
      linear-gradient(180deg, rgba(248,250,255,.62), transparent 42%),
      radial-gradient(circle at 12% 58%, rgba(255,92,169,.12), transparent 24%);
  }
  header {
    padding: 0 64px 28px;
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid #edf0f6;
  }
  .site-nav {
    max-width: 1320px;
    height: 70px;
    border: 0;
    background: transparent;
  }
  .brand-logo {
    width: 218px;
    max-width: 48vw;
  }
  .brand-icon {
    display: block;
    width: 32px;
    height: 32px;
  }
  .brand-word {
    color: #050816;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .nav-links {
    gap: 44px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 650;
  }
  .topbar {
    max-width: 1320px;
    grid-template-columns: minmax(0, .86fr) minmax(590px, 1.06fr);
    gap: 72px;
    margin-top: 44px;
  }
  .brand {
    gap: 20px;
  }
  .eyebrow {
    padding: 7px 12px;
    border-color: #f5cfe3;
    background: #fff3fa;
    color: #d93582;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
  }
  header h1 {
    max-width: 640px;
    font-size: clamp(56px, 5.3vw, 76px);
    line-height: 1.05;
    letter-spacing: 0;
    color: #040712;
  }
  header h1::first-line {
    color: #040712;
  }
  header p {
    max-width: 600px;
    color: #506178;
    font-size: 17px;
    line-height: 1.5;
  }
  .hero-link {
    min-height: 50px;
    min-width: 176px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
  }
  .hero-link.primary {
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    box-shadow: 0 18px 34px rgba(206,71,169,.24);
  }
  .hero-link.secondary {
    border-color: #dde4ee;
    background: rgba(255,255,255,.88);
    color: #111827;
    box-shadow: 0 8px 20px rgba(17,24,39,.06);
  }
  .hero-contact-row {
    gap: 22px;
    margin-top: 2px;
  }
  .hero-contact-row .contact {
    min-width: 204px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    color: #111827;
    font-weight: 800;
  }
  .hero-contact-row .contact::before {
    display: none;
  }
  .hero-contact-row .contact + .contact {
    margin-left: 0;
    padding-left: 22px;
    border-left: 1px solid #dfe5ee;
  }
  .hero-contact-row .contact-icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    box-shadow: 0 12px 24px rgba(218, 72, 157, .2);
  }
  .hero-contact-row .whatsapp-contact .contact-icon {
    background: #54c554;
    box-shadow: 0 12px 24px rgba(84, 197, 84, .18);
  }
  .hero-contact-row .contact-icon svg {
    width: 23px;
    height: 23px;
    fill: #fff;
  }
  .hero-contact-row .contact span {
    grid-column: 2;
    margin: 0;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.18;
  }
  .hero-contact-row .contact b {
    grid-column: 2;
    display: block;
    color: #111827;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .protected-preview-console {
    border: 1px solid #e4e8f0;
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 26px 70px rgba(55,65,81,.10);
    overflow: hidden;
  }
  .protected-preview-console .console-bar {
    min-height: 62px;
    padding: 16px 18px;
    border-bottom: 1px solid #e8ecf3;
    background: rgba(255,255,255,.94);
  }
  .protected-preview-console .console-status {
    gap: 10px;
    color: #101828;
    font-size: 17px;
    font-weight: 820;
  }
  .protected-preview-console .console-status::before {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #ffeaf4;
    box-shadow: none;
  }
  .protected-preview-console .console-body {
    padding: 16px;
    gap: 14px;
  }
  .featured-sample-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 14px;
    align-items: start;
  }
  .protected-preview-console .featured-sample-card {
    position: relative;
    min-height: 0;
    height: clamp(320px, 30vw, 460px);
    aspect-ratio: auto;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 24px 54px rgba(15,23,42,.18);
  }
  .protected-preview-console .featured-sample-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 28px 62px rgba(15,23,42,.20);
  }
  .protected-preview-console .featured-sample-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111827;
    filter: blur(16px) saturate(.92) brightness(.72);
    transform: scale(1.08);
  }
  .protected-preview-console .featured-sample-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(17,24,39,.78), rgba(17,24,39,.22) 42%, rgba(17,24,39,.18)),
      radial-gradient(circle at 82% 18%, rgba(255,61,134,.26), transparent 26%);
    pointer-events: none;
  }
  .protected-preview-console .featured-sample-card::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 16px 34px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
  }
  .featured-sample-copy,
  .featured-sample-actions,
  .featured-sample-badges {
    position: absolute;
    z-index: 3;
  }
  .featured-sample-copy {
    left: 18px;
    bottom: 18px;
    width: min(310px, calc(100% - 36px));
    color: #fff;
  }
  .featured-sample-copy span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.86);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .protected-preview-console .featured-sample-card .featured-sample-copy strong {
    display: block;
    width: auto;
    height: auto;
    margin-top: 10px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 28px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
    backdrop-filter: none;
  }
  .protected-preview-console .featured-sample-card .featured-sample-copy strong::before,
  .protected-preview-console .featured-sample-card .featured-sample-copy strong::after {
    content: none;
    display: none;
  }
  .featured-sample-copy p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 12px;
    line-height: 1.42;
  }
  .featured-sample-actions {
    right: 14px;
    top: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .featured-preview-button,
  .protected-preview-console .featured-sample-card .hero-sample-apply {
    position: static;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 12px 26px rgba(0,0,0,.16);
  }
  .featured-preview-button {
    background: rgba(255,255,255,.92);
    color: #111827;
    border: 1px solid rgba(255,255,255,.38);
  }
  .protected-preview-console .featured-sample-card .hero-sample-apply {
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    color: #fff;
  }
  .featured-sample-badges {
    left: 18px;
    top: 18px;
    display: flex;
    gap: 8px;
  }
  .protected-preview-console .featured-sample-card .hero-sample-meta,
  .protected-preview-console .featured-sample-card small {
    position: static;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin: 0;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(15,23,42,.62);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
  }
  .protected-preview-console .featured-sample-card video {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
  }
  .protected-preview-console .featured-sample-card.is-revealed img {
    filter: blur(16px) saturate(.92) brightness(.62);
    transform: scale(1.08);
  }
  .protected-preview-console .featured-sample-card.is-previewing .featured-sample-copy,
  .protected-preview-console .featured-sample-card.is-previewing .featured-sample-badges,
  .protected-preview-console .featured-sample-card.is-previewing::before,
  .protected-preview-console .featured-sample-card.is-previewing::after {
    display: none;
  }
  .protected-preview-console .featured-sample-card.is-previewing img {
    display: block;
  }
  .protected-preview-console .featured-sample-card.is-previewing video {
    display: block;
  }
  .protected-preview-console .featured-sample-card.is-portrait-media.is-previewing video {
    left: 50%;
    right: auto;
    width: auto;
    height: 100%;
    max-width: min(58%, 430px);
    object-fit: contain;
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 68px rgba(0,0,0,.35);
  }
  .protected-preview-console .featured-sample-card.is-previewing .featured-sample-actions {
    z-index: 5;
  }
  .protected-preview-console .featured-sample-card.is-selected {
    outline: 2px solid rgba(217, 53, 130, .5);
    outline-offset: 2px;
  }
  .featured-sample-thumbs {
    display: grid;
    grid-auto-rows: minmax(88px, 1fr);
    gap: 10px;
    height: clamp(320px, 30vw, 460px);
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
  }
  .featured-thumb {
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 12px;
    background: #111827;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
  }
  .featured-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px) saturate(.86) brightness(.78);
    transform: scale(1.06);
  }
  .featured-thumb span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    min-width: 28px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.90);
    color: #111827;
    font-size: 11px;
    font-weight: 900;
  }
  .featured-thumb.is-active {
    border-color: rgba(217,53,130,.70);
    box-shadow: 0 0 0 2px rgba(217,53,130,.14), 0 14px 30px rgba(217,53,130,.16);
  }
  .featured-thumb.is-active span {
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    color: #fff;
  }
  .protected-preview-console .console-demo-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    gap: 16px;
    padding: 2px 2px 10px;
  }
  .protected-preview-console .hero-sample-card {
    position: relative;
    flex: 0 0 min(420px, 82vw);
    scroll-snap-align: start;
    cursor: pointer;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(15,23,42,.12);
  }
  .protected-preview-console .hero-sample-card:hover {
    transform: translateY(-1px);
  }
  .protected-preview-console .hero-sample-card img {
    filter: blur(11px) saturate(.96) brightness(.92);
    object-fit: contain;
    background: #111827;
  }
  .protected-preview-console .hero-sample-card video {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f1117;
  }
  .protected-preview-console .hero-sample-card.is-revealed img {
    filter: none;
    transform: scale(1);
  }
  .protected-preview-console .hero-sample-card.is-previewing img {
    display: none;
  }
  .protected-preview-console .hero-sample-card.is-previewing video {
    display: block;
  }
  .protected-preview-console .hero-sample-card.is-previewing::before {
    display: none;
  }
  .protected-preview-console .hero-sample-card.is-selected {
    outline: 2px solid rgba(217, 53, 130, .5);
    outline-offset: 2px;
  }
  .protected-preview-console .hero-sample-card::before {
    background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.34));
  }
  .protected-preview-console .hero-sample-card strong {
    align-self: center;
    justify-self: center;
    place-self: center;
    font-size: 0;
  }
  .protected-preview-console .hero-sample-card strong::after {
    content: "";
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
  }
  .protected-preview-console .hero-sample-card .hero-sample-meta,
  .protected-preview-console .hero-sample-card small {
    position: absolute;
    bottom: 12px;
    margin: 0;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: rgba(20,20,26,.62);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    z-index: 3;
  }
  .protected-preview-console .hero-sample-card .hero-sample-meta { left: 12px; }
  .protected-preview-console .hero-sample-card small { right: 12px; left: auto; }
  .hero-sample-apply {
    position: absolute;
    z-index: 4;
    right: 12px;
    top: 12px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    color: #fff;
    font-size: 12px;
    box-shadow: 0 12px 24px rgba(217,53,130,.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .protected-preview-console .hero-sample-card.is-revealed .hero-sample-apply {
    opacity: 1;
    pointer-events: auto;
  }
  .protected-preview-console .hero-sample-card.is-previewing .hero-sample-meta,
  .protected-preview-console .hero-sample-card.is-previewing small {
    display: none;
  }
  .protected-preview-console .featured-sample-card.hero-sample-card {
    flex: initial;
    width: 100%;
    height: clamp(320px, 30vw, 460px);
    aspect-ratio: auto;
    padding: 0;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 16px;
    box-shadow: 0 24px 54px rgba(15,23,42,.18);
  }
  .protected-preview-console .featured-sample-card.hero-sample-card img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(.92) brightness(.72);
    transform: scale(1.08);
    background: #111827;
  }
  .protected-preview-console .featured-sample-card.hero-sample-card.is-revealed img,
  .protected-preview-console .featured-sample-card.hero-sample-card.is-previewing img {
    display: block;
    filter: blur(16px) saturate(.92) brightness(.62);
    transform: scale(1.08);
  }
  .protected-preview-console .featured-sample-card.hero-sample-card video {
    z-index: 4;
    object-position: center center;
    background: transparent;
  }
  .protected-preview-console .featured-sample-card.hero-sample-card.is-portrait-media.is-previewing video {
    left: 50%;
    right: auto;
    width: auto;
    height: 100%;
    max-width: min(58%, 430px);
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 68px rgba(0,0,0,.35);
  }
  .protected-preview-console .featured-sample-card.hero-sample-card .hero-sample-meta,
  .protected-preview-console .featured-sample-card.hero-sample-card small {
    position: static;
  }
  .preview-feature-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .preview-feature-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    background: #fff;
    color: #56657a;
    font-size: 13px;
    font-weight: 650;
  }
  main {
    max-width: 1320px;
    grid-template-columns: 320px minmax(420px, 1fr) 420px;
    gap: 18px;
    padding: 18px 64px 42px;
  }
  .samples { display: none; }
  .privacy-note {
    order: -4;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
    padding: 20px 24px;
    border: 1px solid #e9edf4;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(67,76,94,.08);
  }
  .privacy-copy {
    display: none;
  }
  .privacy-points {
    display: contents;
  }
  .privacy-points div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 70px;
    padding: 0 28px;
    border-top: 0;
    border-left: 1px solid #e3e8f0;
  }
  .privacy-points div:first-child { border-left: 0; }
  .privacy-points div::before {
    content: "";
    width: 52px;
    height: 52px;
    grid-row: span 2;
    border-radius: 999px;
    background: #ffedf5;
  }
  .privacy-points strong {
    font-size: 15px;
    color: #111827;
  }
  .privacy-points span {
    margin-top: -8px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
  }
  .workspace-intro {
    display: none;
  }
  .stack, #evaluation, .results-panel {
    min-height: 320px;
  }
  .stack {
    grid-column: 1;
  }
  #evaluation {
    grid-column: 2;
  }
  .results-panel {
    grid-column: 3;
  }
  .stack > section, #evaluation, .results-panel {
    border-radius: 16px;
    border-color: #e8ecf3;
    box-shadow: 0 18px 44px rgba(67,76,94,.08);
  }
  .stack > section::before {
    content: attr(data-workspace-title);
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 16px;
    font-weight: 850;
  }
  .stack > section::after {
    content: attr(data-workspace-body);
    display: block;
    margin-top: -4px;
    margin-bottom: 18px;
    color: #667085;
    font-size: 12px;
  }
  .stack > section > h2:first-child {
    display: none;
  }
  .mode-switch {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .mode-option {
    min-height: 42px;
    border-color: transparent;
    background: #fbfcff;
    text-align: center;
  }
  .mode-option span { display: none; }
  .mode-option.is-active {
    background: #fff0f7;
    border-color: #ffd8eb;
  }
  .mode-option.is-active strong { color: #d93582; }
  #image-config {
    display: block;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f6;
  }
  .frame-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }
  .frame-title-row h2 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
  #restore-template-btn {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    background: #fff;
    color: #c8337d;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(67,76,94,.06);
  }
  #restore-template-btn:hover {
    border-color: #ffc9e1;
    background: #fff6fa;
  }
  .section-title-row {
    margin-top: 0;
  }
  .studio-kicker {
    display: none;
  }
  #evaluation .section-title-row h2 {
    display: none;
  }
  #evaluation textarea {
    min-height: 92px;
    border-radius: 10px;
  }
  #generate-btn {
    width: min(220px, 100%);
    min-height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
  }
  .results-panel h2 {
    color: #111827;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
  .empty-results {
    min-height: 168px;
    border: 0;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.28)),
      radial-gradient(circle at 50% 55%, rgba(255,255,255,.24), transparent 19%),
      linear-gradient(135deg, #f1a9bb, #cfa7bd 48%, #dfa8bf);
  }
  .empty-results strong {
    display: none;
  }
  .empty-results span {
    color: rgba(255,255,255,.78);
  }
  .solution-section,
  .analytics-section,
  .capability-panel,
  .process-section,
  .capability-strip,
  .hero-trust,
  .contact-banner {
    display: none !important;
  }
  .site-nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
  .nav-links {
    justify-content: center;
  }
  .site-nav > .lang-toggle {
    justify-self: end;
  }
  .lang-toggle {
    border-color: #e3e6ef;
    background: rgba(255,255,255,.68);
    border-radius: 999px;
    box-shadow: none;
  }
  .lang-toggle button {
    min-height: 36px;
    padding: 6px 9px;
    color: #6b7280;
    border-radius: 999px;
  }
  .lang-toggle button + button::before {
    content: "/";
    margin-right: 9px;
    color: #9aa3b5;
    font-weight: 500;
  }
  .lang-toggle button.is-active {
    background: transparent;
    color: #c834c2;
  }
  header h1 .accent-word {
    background: linear-gradient(90deg, #ff3d86, #9a62f5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-link.primary::before {
    content: "";
    width: 0;
    height: 0;
    margin-right: 12px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
  }
  .hero-link.secondary::after,
  .view-samples-link::after {
    content: ">";
    margin-left: 12px;
    color: currentColor;
  }
  .protected-preview-console .console-status::before {
    content: "";
    position: relative;
  }
  .protected-preview-console .console-status::after {
    display: none;
  }
  .protected-preview-console .hero-sample-card strong {
    position: relative;
  }
  .protected-preview-console .hero-sample-card.is-revealed strong {
    display: none;
  }
  .protected-preview-console .hero-sample-card strong::before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 15px;
    height: 12px;
    left: 50%;
    top: 50%;
    border: 2px solid rgba(255,255,255,.88);
    border-radius: 3px;
    transform: translate(-50%, -20%);
  }
  .protected-preview-console .hero-sample-card strong::after {
    content: "";
  }
  .protected-preview-console .hero-sample-card strong span,
  .protected-preview-console .hero-sample-card strong em {
    display: none;
  }
  .protected-preview-console .hero-sample-card strong {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
  }
  .protected-preview-console .hero-sample-card strong::after {
    position: absolute;
    z-index: 2;
    width: 17px;
    height: 13px;
    left: 50%;
    top: 50%;
    border: 2px solid rgba(255,255,255,.88);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: transparent;
    box-shadow: none;
    transform: translate(-50%, -84%);
  }
  .privacy-note {
    grid-column: 1 / -1;
  }
  .privacy-points div:nth-child(1)::before { background: #ffedf5; }
  .privacy-points div:nth-child(2)::before { background: #fff1f8; }
  .privacy-points div:nth-child(3)::before { background: #fff0f5; }
  .privacy-points div:nth-child(4)::before { background: #fff0f4; }
  .stack > section {
    padding: 24px;
  }
  #evaluation,
  .results-panel {
    padding: 28px 24px;
  }
  .config-row {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
  .checks {
    display: grid !important;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
  .checks label:first-child {
    display: none;
  }
  .checks label {
    min-height: 42px;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
    color: #425066;
  }
  .hint {
    display: none;
  }
  .samples {
    display: block;
    grid-column: 1 / -1;
    order: 1;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid #e8ecf3;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 44px rgba(67,76,94,.08);
  }
  .samples-head {
    padding: 0 0 16px;
  }
  .samples-head h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
  }
  .sample-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    gap: 16px;
    padding: 0 0 8px;
  }
  .sample-card {
    flex: 0 0 min(360px, 78vw);
    scroll-snap-align: start;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,.07);
  }
  .sample-card:hover,
  .sample-card.is-selected {
    border-color: rgba(217,53,130,.38);
    box-shadow: 0 18px 38px rgba(217,53,130,.12);
  }
  .sample-poster {
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 9;
    background: #111827;
  }
  .sample-poster img {
    aspect-ratio: 16 / 9;
    height: 100%;
    object-fit: contain;
    background: #111827;
  }
  .sample-card video {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    background: #111827;
  }
  .sample-card:not(.is-revealed) .sample-poster img {
    filter: blur(9px) saturate(.82) brightness(.78);
    transform: scale(1.02);
  }
  .sample-card:not(.is-revealed) .sample-poster::after {
    background: linear-gradient(180deg, rgba(15,23,42,.12), rgba(15,23,42,.28));
  }
  .sample-cover strong::after {
    display: none;
  }
  .sample-use {
    left: 12px;
    right: auto;
    bottom: 12px;
    min-height: 31px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(20,20,26,.68);
    color: #fff;
    font-size: 12px;
  }
  .sample-card .sample-meta {
    padding: 10px 12px 0;
    color: #111827;
    font-weight: 800;
  }
  .sample-preset-link {
    margin: 7px 12px 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff1f8;
    color: #d93582;
    font-size: 11px;
    font-weight: 800;
  }
  .sample-actions {
    padding: 10px 12px 12px;
  }
  .sample-action,
  .sample-preview {
    min-height: 36px;
    border-radius: 8px;
    font-size: 12px;
  }
  .sample-action {
    background: linear-gradient(135deg, #ff3d86, #9a62f5);
    color: #fff;
  }
  .sample-preview {
    background: #fff;
    color: #111827;
    border: 1px solid #dde4ee;
  }
  .sample-card.is-selected .sample-action {
    background: #111827;
    color: #fff;
  }
  .sample-card.is-display-only .sample-action,
  .protected-preview-console .hero-sample-card.is-display-only .hero-sample-apply {
    display: none;
  }
  .sample-card.is-display-only .sample-preset-link {
    color: #8a6c80;
  }
  .sample-preset-link:empty,
  .sample-cover small:empty {
    display: none;
  }
  .featured-thumb.is-display-only::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f33b8f, #a855f7);
    box-shadow: 0 0 0 3px rgba(255,255,255,.72);
  }
  .workspace-samples {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    border-color: #edf0f6;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 10px 24px rgba(67,76,94,.05);
  }
  .workspace-samples .samples-head {
    padding: 0 0 10px;
  }
  .workspace-samples .samples-head h2 {
    font-size: 14px;
  }
  .workspace-samples .samples-head p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
  }
  .workspace-samples .sample-grid {
    gap: 12px;
    padding-bottom: 6px;
  }
  .workspace-samples .sample-card {
    flex-basis: min(260px, 72vw);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(15,23,42,.06);
  }
  .workspace-samples .sample-poster {
    border-radius: 10px 10px 0 0;
  }
  .workspace-samples .sample-card .sample-meta {
    font-size: 12px;
  }
  .workspace-samples .sample-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .prompt-samples {
    margin: 0 0 18px;
    padding: 16px;
  }
  .prompt-samples .sample-grid {
    gap: 12px;
  }
  .prompt-samples .sample-card {
    flex-basis: min(238px, 76vw);
  }
  .prompt-samples .sample-poster,
  .prompt-samples .sample-card video {
    aspect-ratio: 16 / 9;
  }
  .prompt-samples + .section-title-row {
    margin-top: 0;
  }
  #image-preview {
    width: 100%;
    overflow: hidden;
  }
  #image-preview img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #111827;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15,23,42,.10);
  }
  #image-preview .meta {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #e8ecf3;
    border-radius: 8px;
    background: #fbfcff;
    color: #5d687a;
  }

  @media (max-width: 1100px) {
    header { padding-left: 24px; padding-right: 24px; }
    .topbar { grid-template-columns: 1fr; }
    main { grid-template-columns: 1fr 1fr; padding-left: 24px; padding-right: 24px; }
    .privacy-note { grid-template-columns: 1fr 1fr; }
    .privacy-points div:nth-child(odd) { border-left: 0; }
    .results-panel { grid-column: 1 / -1; }
  }

  @media (max-width: 720px) {
    header { padding: 12px 14px 18px; }
    .site-nav {
      display: grid;
      grid-template-columns: 1fr auto;
      min-height: 112px;
      padding: 12px;
      border: 1px solid #e8ecf3;
      border-radius: 16px;
      background: rgba(255,255,255,.88);
    }
    .brand-icon { width: 30px; height: 30px; }
    .brand-word { font-size: 21px; }
    .nav-links {
      grid-column: 1 / -1;
      justify-content: flex-start;
      gap: 18px;
      overflow-x: auto;
      width: 100%;
      padding-bottom: 2px;
    }
    .site-nav > .lang-toggle {
      grid-column: 2;
      grid-row: 1;
      width: auto;
    }
    .topbar { margin-top: 28px; gap: 22px; }
    header h1 { font-size: 40px; line-height: 1.04; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-contact-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .hero-contact-row .contact + .contact {
      padding-left: 0;
      border-left: 0;
      margin-top: 0;
    }
    .protected-preview-console .console-demo-grid { gap: 12px; }
    .featured-sample-gallery {
      grid-template-columns: 1fr;
    }
    .protected-preview-console .featured-sample-card.hero-sample-card,
    .protected-preview-console .featured-sample-card {
      height: auto;
      aspect-ratio: 16 / 9;
    }
    .protected-preview-console .featured-sample-card.hero-sample-card.is-portrait-media,
    .protected-preview-console .featured-sample-card.is-portrait-media {
      aspect-ratio: 4 / 5;
      min-height: 320px;
      max-height: 560px;
    }
    .protected-preview-console .featured-sample-card.hero-sample-card.is-portrait-media.is-previewing video,
    .protected-preview-console .featured-sample-card.is-portrait-media.is-previewing video {
      max-width: min(74%, 280px);
    }
    .featured-sample-thumbs {
      grid-template-columns: repeat(4, minmax(92px, 1fr));
      grid-template-rows: none;
      overflow-x: auto;
      height: auto;
      padding-bottom: 4px;
    }
    .featured-thumb {
      aspect-ratio: 16 / 9;
    }
    .featured-sample-actions {
      left: 12px;
      right: 12px;
      top: 12px;
      justify-content: flex-end;
    }
    .featured-preview-button,
    .protected-preview-console .featured-sample-card .hero-sample-apply {
      min-height: 32px;
      padding: 7px 9px;
      font-size: 11px;
    }
    .featured-sample-copy {
      left: 14px;
      right: 14px;
      bottom: 14px;
      width: auto;
    }
    .protected-preview-console .featured-sample-card .featured-sample-copy strong {
      font-size: 23px;
    }
    .featured-sample-copy p {
      display: none;
    }
    .featured-sample-badges {
      left: 14px;
      top: 14px;
      max-width: calc(100% - 28px);
      flex-wrap: wrap;
    }
    .protected-preview-console .hero-sample-card {
      flex-basis: min(320px, 82vw);
    }
    .preview-feature-row,
    .privacy-note,
    main {
      grid-template-columns: 1fr;
    }
    .preview-feature-row { gap: 8px; }
    .samples { padding: 18px; }
    .workspace-samples {
      padding: 14px;
    }
    .frame-title-row {
      align-items: flex-start;
      flex-direction: column;
    }
    #restore-template-btn {
      width: 100%;
    }
    .privacy-points div,
    .privacy-points div:nth-child(odd) {
      border-left: 0;
      border-top: 1px solid #e3e8f0;
      padding: 14px 4px;
    }
    .privacy-points div:first-child { border-top: 0; }
    main {
      display: flex;
      flex-direction: column;
      padding: 14px 14px 28px;
    }
    .stack, #evaluation, .results-panel {
      min-height: auto;
      grid-column: auto;
    }
  }

  /* Test-console entry page: focused B2B demo flow after traffic lands from ads or sales links. */
  body.test-console-page .solution-section,
  body.test-console-page .analytics-section,
  body.test-console-page .capability-panel,
  body.test-console-page .process-section,
  body.test-console-page .workspace-intro,
  body.test-console-page .legacy-sections {
    display: none !important;
  }
  body.test-console-page {
    min-height: 100vh;
    background:
      radial-gradient(circle at 10% 0%, rgba(209,11,101,.25), transparent 30%),
      radial-gradient(circle at 74% 14%, rgba(154,56,211,.12), transparent 28%),
      radial-gradient(circle at 20% 78%, rgba(209,11,101,.1), transparent 34%),
      linear-gradient(135deg, #0d050a 0%, #050506 45%, #0a0710 100%);
  }
  body.test-console-page header {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 34px 0;
    border-bottom: 0;
    background:
      linear-gradient(180deg, rgba(5,5,6,.94), rgba(5,5,6,.72) 70%, rgba(5,5,6,0));
    backdrop-filter: blur(18px);
  }
  body.test-console-page .topbar,
  body.test-console-page .capability-strip,
  body.test-console-page .hero-trust {
    display: none !important;
  }
  body.test-console-page .site-nav {
    width: min(100%, 1500px);
    max-width: 1500px;
    height: 74px;
    padding: 0 18px 0 20px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(17,13,18,.82);
    box-shadow: 0 22px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
  }
  body.test-console-page .nav-brand {
    gap: 12px;
  }
  body.test-console-page .brand-icon {
    width: 34px;
    height: 34px;
  }
  body.test-console-page .brand-word {
    font-size: 21px;
    font-weight: 1000;
    color: #f8f1ea;
  }
  body.test-console-page .nav-links {
    gap: 26px;
    color: rgba(246,241,234,.68);
    font-size: 14px;
    font-weight: 850;
  }
  body.test-console-page .nav-links a:hover {
    color: #f8f1ea;
  }
  body.test-console-page .nav-links .nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d10b65, #9a38d3);
    color: #fff;
    box-shadow: 0 18px 44px rgba(209,11,101,.28);
  }
  body.test-console-page .nav-links .nav-cta:hover {
    color: #fff;
    transform: translateY(-1px);
  }
  body.test-console-page .lang-toggle {
    display: none;
  }
  body.test-console-page main {
    display: block;
    width: min(100%, 1500px);
    min-height: calc(100vh - 88px);
    margin: 0 auto;
    padding: 24px 34px 34px;
  }
  body.test-console-page .test-console-layout {
    min-height: calc(100vh - 122px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 450px);
    gap: 26px;
    align-items: stretch;
  }
  body.test-console-page .demo-preview-panel,
  body.test-console-page .test-control-panel {
    min-width: 0;
  }
  body.test-console-page #demo-workspace {
    position: static;
    top: auto;
    align-self: stretch;
    order: 0;
    display: block;
  }
  body.test-console-page .demo-preview-panel > section,
  body.test-console-page .test-control-panel {
    min-height: calc(100vh - 68px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
      rgba(12,10,14,.93);
    box-shadow: 0 28px 90px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.06);
  }
  body.test-console-page .demo-preview-panel > section {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
    padding: 26px;
    overflow: hidden;
  }
  body.test-console-page .demo-preview-panel > section::before,
  body.test-console-page .demo-preview-panel > section::after {
    display: none;
  }
  body.test-console-page .demo-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  body.test-console-page .demo-preview-head h2 {
    margin: 14px 0 8px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    letter-spacing: 0;
  }
  body.test-console-page .demo-preview-head p {
    max-width: 720px;
    color: rgba(246,241,234,.68);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 650;
  }
  body.test-console-page .demo-preview-head .view-samples-link {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    color: #f6f1ea;
    font-weight: 900;
    text-decoration: none;
  }
  body.test-console-page .demo-preview-head .view-samples-link:hover {
    border-color: rgba(194,24,91,.62);
    color: #fff;
  }
  body.test-console-page #demo-samples {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
  }
  body.test-console-page #demo-workspace .sample-grid {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) 126px;
    gap: 14px;
    padding: 0;
  }
  body.test-console-page #demo-workspace .sample-card {
    min-width: 0;
    min-height: 0;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #050506;
    border-color: rgba(255,255,255,.11);
  }
  body.test-console-page #demo-workspace .sample-card:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    border-radius: 26px;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) {
    grid-row: 2;
    border-radius: 18px;
    cursor: pointer;
  }
  body.test-console-page #demo-workspace .sample-poster {
    height: 100%;
    width: 100%;
    position: relative;
    display: block;
    border: 0;
    padding: 0;
    background: #050506;
  }
  body.test-console-page #demo-workspace .sample-poster img,
  body.test-console-page #demo-workspace .sample-card video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    display: block;
    background: #050506;
  }
  body.test-console-page #demo-workspace .sample-poster img {
    object-fit: cover;
  }
  body.test-console-page #demo-workspace .sample-card.is-previewing video {
    object-fit: contain;
  }
  body.test-console-page #demo-workspace .sample-card:not(.is-previewing) video {
    display: none;
  }
  body.test-console-page #demo-workspace .sample-card.is-previewing .sample-poster {
    display: none;
  }
  body.test-console-page #demo-workspace .sample-card:not(.is-revealed) .sample-poster img {
    filter: blur(12px) saturate(.82) brightness(.58);
    transform: scale(1.06);
  }
  body.test-console-page #demo-workspace .sample-card:not(.is-revealed) .sample-poster::after,
  body.test-console-page #demo-workspace .sample-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  body.test-console-page #demo-workspace .sample-card:not(.is-revealed) .sample-poster::after {
    background: linear-gradient(180deg, rgba(5,5,6,.18), rgba(5,5,6,.62));
  }
  body.test-console-page #demo-workspace .sample-card::after {
    background: linear-gradient(180deg, transparent 44%, rgba(5,5,6,.84));
  }
  body.test-console-page #demo-workspace .sample-cover,
  body.test-console-page #demo-workspace .sample-use {
    display: none !important;
  }
  body.test-console-page #demo-workspace .sample-meta {
    position: absolute;
    left: 24px;
    bottom: 28px;
    z-index: 4;
    padding: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: 0;
    text-transform: uppercase;
    background: transparent;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta {
    left: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d10b65, #9a38d3);
    font-size: 16px;
    color: #fff;
  }
  body.test-console-page #demo-workspace .sample-preset-link {
    position: absolute;
    left: 24px;
    bottom: 78px;
    z-index: 4;
    max-width: calc(100% - 48px);
    border: 1px solid rgba(194,24,91,.42);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(209,11,101,.22);
    color: #ff4e9d;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-preset-link {
    display: none;
  }
  body.test-console-page #demo-workspace .sample-actions {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    gap: 10px;
  }
  body.test-console-page #demo-workspace .sample-card:first-child .sample-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease;
  }
  body.test-console-page #demo-workspace .sample-card:first-child:hover .sample-actions,
  body.test-console-page #demo-workspace .sample-card:first-child:focus-within .sample-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  body.test-console-page #demo-workspace .sample-card:first-child.is-previewing .sample-actions {
    display: none;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-actions {
    display: none;
  }
  body.test-console-page #demo-workspace .sample-action,
  body.test-console-page #demo-workspace .sample-preview {
    min-height: 44px;
    border-radius: 14px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.16);
    font-size: 14px;
    font-weight: 950;
    box-shadow: none;
  }
  body.test-console-page #demo-workspace .sample-action {
    background: linear-gradient(135deg, #d10b65, #9a38d3);
    color: #fff;
  }
  body.test-console-page #demo-workspace .sample-preview {
    background: rgba(255,255,255,.92);
    color: #111014;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-action,
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-preview {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-action::after {
    content: "+";
    color: #fff;
    font-size: 22px;
    line-height: 1;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-preview::after {
    content: "▶";
    color: #111014;
    font-size: 14px;
    line-height: 1;
  }
  body.test-console-page #demo-workspace .sample-card.is-selected {
    border-color: rgba(194,24,91,.86);
    box-shadow: 0 0 0 2px rgba(194,24,91,.16), 0 22px 60px rgba(209,11,101,.26);
  }
  body.test-console-page .test-control-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
    overflow: auto;
  }
  body.test-console-page .control-panel-title { order: 0; }
  body.test-console-page .trial-panel { order: 1; }
  body.test-console-page .mode-switch { order: 2; }
  body.test-console-page #image-config { order: 3; }
  body.test-console-page .model-settings { order: 4; }
  body.test-console-page #evaluation { order: 5; }
  body.test-console-page .results-panel { order: 6; }
  body.test-console-page .control-panel-title h1 {
    margin: 0;
    color: #f6f1ea;
    font-size: clamp(38px, 4vw, 58px);
    line-height: .95;
    letter-spacing: 0;
    font-weight: 1000;
  }
  body.test-console-page .control-panel-title p {
    margin-top: 10px;
    color: rgba(246,241,234,.68);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
  }
  body.test-console-page .trial-panel,
  body.test-console-page .model-settings,
  body.test-console-page #evaluation,
  body.test-console-page .results-panel,
  body.test-console-page #image-config {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body.test-console-page .trial-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.test-console-page .trial-row label,
  body.test-console-page .model-settings label {
    min-width: 0;
  }
  body.test-console-page input[type=text],
  body.test-console-page input[type=number],
  body.test-console-page select,
  body.test-console-page textarea {
    min-height: 52px;
    border-radius: 15px;
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.14);
    color: #f6f1ea;
  }
  body.test-console-page #verify-trial-btn,
  body.test-console-page #generate-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d10b65 0%, #e32891 52%, #9a38d3 100%);
    color: #fff;
    box-shadow: 0 18px 52px rgba(209,11,101,.32);
  }
  body.test-console-page .trial-status {
    margin-top: 10px;
    color: rgba(246,241,234,.66);
    font-size: 13px;
    line-height: 1.45;
  }
  body.test-console-page .trial-status.ok {
    color: #83e89d;
  }
  body.test-console-page .trial-status.error {
    color: #ff7d9d;
  }
  body.test-console-page .mode-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  body.test-console-page .mode-option {
    min-width: 0;
    min-height: 54px;
    padding: 10px 8px;
    border-radius: 15px;
    text-align: center;
  }
  body.test-console-page .mode-option strong {
    display: block;
    font-size: 13px;
    line-height: 1.15;
  }
  body.test-console-page .mode-option span {
    display: none;
  }
  body.test-console-page .mode-option.is-active {
    background: #fff2f7;
    border-color: rgba(194,24,91,.88);
    color: #d10b65;
  }
  body.test-console-page .mode-option.is-active strong {
    color: #d10b65;
  }
  body.test-console-page #image-config {
    display: grid;
    gap: 10px;
  }
  body.test-console-page .frame-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  body.test-console-page .frame-title-row h2,
  body.test-console-page .model-settings h2,
  body.test-console-page #evaluation .section-title-row h2,
  body.test-console-page .results-panel h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    color: #f6f1ea;
  }
  body.test-console-page #restore-template-btn {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.13);
    color: #f6f1ea;
  }
  body.test-console-page .upload-card {
    padding: 12px;
    border-radius: 15px;
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.11);
    gap: 10px;
  }
  body.test-console-page .upload-card .lab {
    font-size: 12px;
    line-height: 1.35;
  }
  body.test-console-page .upload-target {
    min-height: 42px;
    border-radius: 12px;
  }
  body.test-console-page #image-preview {
    min-height: 0;
  }
  body.test-console-page #image-preview img {
    max-height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
  }
  body.test-console-page .reference-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  body.test-console-page .reference-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    aspect-ratio: 1 / 1;
  }
  body.test-console-page .reference-preview-card img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
  }
  body.test-console-page .reference-preview-card span {
    position: absolute;
    left: 7px;
    top: 7px;
    min-width: 30px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f92f88, #a64df4);
    color: white;
    font-size: 12px;
    font-weight: 900;
  }
  body.test-console-page #image-preview .meta {
    margin-top: 8px;
    max-height: 48px;
    overflow: hidden;
  }
  body.test-console-page .model-settings {
    display: grid;
    gap: 12px;
  }
  body.test-console-page .config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  body.test-console-page .checks {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  body.test-console-page .checks label {
    min-height: 46px;
    border-radius: 14px;
    padding: 0 12px;
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.11);
    color: #f6f1ea;
    font-size: 13px;
  }
  body.test-console-page .checks label:first-child {
    display: none;
  }
  body.test-console-page #evaluation {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  body.test-console-page .studio-kicker {
    display: none;
  }
  body.test-console-page .section-title-row {
    margin: 0;
  }
  body.test-console-page .section-title-row .mini-pill {
    font-size: 11px;
    padding: 5px 9px;
  }
  body.test-console-page .preset-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  body.test-console-page .preset-row button {
    min-height: 42px;
    padding: 0 8px;
    border-radius: 13px;
    font-size: 12px;
    white-space: normal;
  }
  body.test-console-page textarea {
    min-height: 136px;
    resize: vertical;
  }
  body.test-console-page .hint {
    margin: -2px 0 0;
    color: rgba(246,241,234,.56);
    font-size: 12px;
    line-height: 1.45;
  }
  body.test-console-page .results-panel {
    display: grid;
    gap: 12px;
  }
  body.test-console-page .empty-results {
    min-height: 210px;
    border-radius: 20px;
    border: 1px solid rgba(194,24,91,.18);
    background:
      radial-gradient(circle at 72% 52%, rgba(255,255,255,.09), transparent 12%),
      linear-gradient(135deg, rgba(209,11,101,.36), rgba(14,11,15,.9) 58%, #050506);
  }
  body.test-console-page #results {
    display: grid;
    gap: 12px;
  }
  @media (max-width: 1180px) {
    body.test-console-page main {
      padding: 18px;
    }
    body.test-console-page .test-console-layout {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    body.test-console-page .demo-preview-panel > section,
    body.test-console-page .test-control-panel {
      min-height: auto;
    }
    body.test-console-page #demo-workspace .sample-grid {
      grid-template-rows: minmax(360px, 52vh) 118px;
    }
  }
  @media (max-width: 720px) {
    body.test-console-page main {
      padding: 12px;
    }
    body.test-console-page .test-console-layout {
      gap: 12px;
    }
    body.test-console-page .demo-preview-panel > section,
    body.test-console-page .test-control-panel {
      border-radius: 22px;
      padding: 16px;
    }
    body.test-console-page .demo-preview-head {
      display: grid;
      gap: 12px;
    }
    body.test-console-page .demo-preview-head h2 {
      font-size: 34px;
    }
    body.test-console-page .demo-preview-head p {
      font-size: 14px;
    }
    body.test-console-page .demo-preview-head .view-samples-link {
      width: 100%;
    }
    body.test-console-page #demo-workspace .sample-grid {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 4px;
    }
    body.test-console-page #demo-workspace .sample-card,
    body.test-console-page #demo-workspace .sample-card:first-child,
    body.test-console-page #demo-workspace .sample-card:not(:first-child) {
      flex: 0 0 min(86vw, 340px);
      min-height: 260px;
      grid-column: auto;
      grid-row: auto;
      scroll-snap-align: start;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta {
      left: 16px;
      bottom: 18px;
      width: 44px;
      height: 44px;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-actions {
      top: 16px;
      right: 16px;
      bottom: auto;
    }
    body.test-console-page .control-panel-title h1 {
      font-size: 40px;
    }
    body.test-console-page .mode-switch,
    body.test-console-page .config-row,
    body.test-console-page .checks,
    body.test-console-page .preset-row {
      grid-template-columns: 1fr;
    }
    body.test-console-page textarea {
      min-height: 150px;
    }
  }

  /* Minuit API dark brand theme. */
  :root {
    --bg: #050506;
    --panel: rgba(13, 11, 15, .92);
    --panel2: #121016;
    --panel3: #0b0a0e;
    --border: #2b252d;
    --text: #f6f1ea;
    --muted: #a9a0a3;
    --soft: #d8d0d1;
    --accent: #d10b65;
    --accent-2: #c2185b;
    --gold: #d5b070;
    --ink: #ffffff;
    --green: #d10b65;
    --red: #ff5f7e;
    --yellow: #f0b457;
  }
  html,
  body {
    background:
      radial-gradient(circle at 18% 16%, rgba(209, 11, 101, .13), transparent 30%),
      radial-gradient(circle at 78% 10%, rgba(255, 45, 134, .08), transparent 28%),
      linear-gradient(180deg, #070608 0%, #050506 52%, #09070a 100%);
    color: var(--text);
  }
  body::before {
    background:
      radial-gradient(circle at 18% 24%, rgba(209, 11, 101, .15), transparent 24%),
      linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%);
  }
  header {
    background:
      linear-gradient(90deg, rgba(209, 11, 101, .08), transparent 38%),
      #050506;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav {
    border-color: rgba(255,255,255,.08);
    background: transparent;
    box-shadow: none;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 10px 24px rgba(209, 11, 101, .32));
  }
  .brand-word {
    color: var(--text);
    font-size: 28px;
    letter-spacing: 0;
  }
  .nav-links {
    color: rgba(246,241,234,.68);
  }
  .nav-links a:hover,
  .sample-card.is-selected .sample-meta {
    color: var(--accent-2);
  }
  .lang-toggle {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
  }
  .lang-toggle button {
    color: rgba(246,241,234,.72);
  }
  .lang-toggle button + button::before {
    color: rgba(246,241,234,.42);
  }
  .lang-toggle button.is-active {
    color: var(--accent-2);
  }
  .eyebrow {
    border-color: rgba(209, 11, 101, .42);
    background: rgba(209, 11, 101, .09);
    color: var(--accent-2);
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  header h1,
  .workspace-intro h2,
  .samples-head h2,
  .results-panel h2,
  .frame-title-row h2,
  #evaluation .section-title-row h2,
  .privacy-copy h2,
  .contact-banner h2,
  section h2 {
    color: var(--text);
    letter-spacing: 0;
  }
  header h1 {
    -webkit-text-fill-color: var(--text);
    text-shadow: none;
  }
  header p,
  .workspace-intro p,
  .samples-head p,
  .privacy-copy p,
  .contact-banner p,
  .hint {
    color: var(--muted);
  }
  header h1 .accent-word {
    background: linear-gradient(90deg, var(--accent-2), #b80f63 72%, #f6f1ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .hero-link.primary,
  #generate-btn,
  button,
  .sample-action,
  .trial-row button {
    background: linear-gradient(135deg, #d10b65, #9d0b4d);
    color: #fff;
    box-shadow: 0 18px 44px rgba(209, 11, 101, .24);
  }
  .hero-link.secondary,
  .sample-preview,
  #restore-template-btn,
  .contact {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
    color: var(--text);
    box-shadow: none;
  }
  .hero-proof span::before,
  .console-status::before,
  .readiness-row b,
  .analytics-metric::after {
    background: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(209, 11, 101, .15);
  }
  .hero-console,
  .protected-preview-console,
  section,
  .samples,
  .workspace-samples,
  #demo-workspace > section,
  #evaluation,
  .results-panel,
  .privacy-note,
  .contact-banner,
  .positioning-panel,
  .market-panel,
  .analytics-dashboard {
    border-color: rgba(255,255,255,.1);
    background:
      linear-gradient(180deg, rgba(19,17,22,.94), rgba(9,8,11,.96));
    box-shadow: 0 26px 90px rgba(0,0,0,.42);
  }
  .protected-preview-console .console-bar {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
  }
  .protected-preview-console .console-status,
  .console-status,
  .lab,
  .sample-card .sample-meta,
  .mode-option strong,
  .privacy-points strong {
    color: var(--text);
  }
  .featured-sample-copy span,
  .sample-cover span,
  .sample-preset-link,
  .mini-pill,
  .trial-status.ok,
  .mode-option.is-active strong {
    color: var(--accent-2);
  }
  .preview-feature-row span,
  .metric,
  .trust-item,
  .value-card,
  .analytics-metric,
  .trend-card,
  .readiness-card,
  .mode-option,
  .upload-card,
  .checks label,
  .sample-card,
  .privacy-points div,
  .empty-results,
  .row {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.035);
    color: var(--soft);
    box-shadow: none;
  }
  .mode-option.is-active,
  .sample-card:hover,
  .sample-card.is-selected,
  .protected-preview-console .featured-sample-card.is-selected {
    border-color: rgba(255, 45, 134, .65);
    box-shadow: 0 18px 48px rgba(209, 11, 101, .24);
  }
  select,
  input[type=number],
  input[type=text],
  textarea,
  #image-preview .meta {
    border-color: rgba(255,255,255,.13);
    background: rgba(255,255,255,.045);
    color: var(--text);
    box-shadow: none;
  }
  select:focus,
  input[type=number]:focus,
  input[type=text]:focus,
  textarea:focus {
    border-color: rgba(255, 45, 134, .7);
    box-shadow: 0 0 0 4px rgba(209, 11, 101, .16);
    outline: none;
  }
  ::placeholder {
    color: rgba(246,241,234,.42);
  }
  .sample-card,
  .sample-preview,
  #restore-template-btn,
  .checks label,
  .trial-row button {
    color: var(--text);
  }
  .sample-preset-link,
  .mini-pill {
    background: rgba(209, 11, 101, .1);
    border-color: rgba(209, 11, 101, .24);
  }
  .sample-card.is-selected .sample-action {
    background: #f6f1ea;
    color: #09070a;
  }
  .sample-poster,
  .sample-poster img,
  .sample-card video,
  #image-preview img,
  .empty-results {
    background: #050506;
  }
  .empty-results {
    background:
      radial-gradient(circle at 50% 56%, rgba(255,255,255,.08), transparent 18%),
      linear-gradient(135deg, rgba(209,11,101,.32), rgba(12,10,14,.9) 58%, #050506);
  }
  .trial-panel {
    border-top-color: rgba(255,255,255,.1);
  }
  .trial-status,
  .privacy-points span,
  .sample-cover small,
  .mode-option span,
  .sample-preset-link {
    color: var(--muted);
  }
  .view-samples-link {
    color: rgba(246,241,234,.76);
  }
  .view-samples-link:hover {
    color: var(--accent-2);
  }
  .hero-contact-row .contact span,
  .hero-contact-row .contact b {
    color: rgba(246,241,234,.72);
  }
  .hero-contact-row .contact b {
    color: rgba(246,241,234,.84);
  }
  .stack > section::before {
    color: #f8f1ea;
    -webkit-text-fill-color: #f8f1ea;
    text-shadow: none;
  }
  .stack > section::after {
    color: rgba(246,241,234,.72);
    -webkit-text-fill-color: rgba(246,241,234,.72);
  }
  label,
  .lab,
  label .lab,
  .upload-card .lab,
  .trial-status,
  #image-preview .meta {
    color: rgba(246,241,234,.78);
  }
  .upload-target {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.055);
    color: #f8f1ea;
    -webkit-text-fill-color: #f8f1ea;
  }
  .upload-target:hover {
    border-color: rgba(194,24,91,.72);
    background: rgba(209,11,101,.12);
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
  .samples-head p,
  .workspace-samples .samples-head p,
  .mode-option span,
  .privacy-points span,
  .trust-item span,
  .empty-results span,
  .row .right .nofile {
    color: rgba(246,241,234,.72);
  }
  .empty-results strong {
    color: #f8f1ea;
  }
  .empty-results span {
    font-weight: 650;
  }
  .preview-feature-row span,
  .trust-item,
  .privacy-points div {
    color: rgba(246,241,234,.86);
  }
  .trust-item strong,
  .privacy-points strong,
  .sample-card .sample-meta {
    color: #f8f1ea;
  }
  .sample-preview,
  #restore-template-btn {
    color: #f8f1ea;
    -webkit-text-fill-color: #f8f1ea;
  }
  .preset-row button {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.055);
    color: #f8f1ea;
    -webkit-text-fill-color: #f8f1ea;
    box-shadow: none;
  }
  .preset-row button:hover {
    border-color: rgba(194,24,91,.65);
    background: rgba(209,11,101,.16);
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
  .mode-option:not(.is-active) strong {
    color: rgba(246,241,234,.88);
  }
  .mode-option.is-active {
    background: rgba(194,24,91,.12);
  }
  @media (max-width: 720px) {
    .site-nav {
      border-color: rgba(255,255,255,.1);
      background: rgba(10,9,12,.92);
    }
    .brand-icon {
      width: 32px;
      height: 32px;
    }
    .brand-word {
      font-size: 22px;
    }
    .nav-links {
      color: rgba(246,241,234,.72);
      gap: 10px;
      font-size: 12px;
    }
    .featured-sample-badges {
      display: none;
    }
    .featured-sample-actions {
      justify-content: flex-start;
    }
    .featured-preview-button,
    .protected-preview-console .featured-sample-card .hero-sample-apply {
      flex: 0 1 auto;
      max-width: calc(50% - 4px);
      white-space: normal;
    }
  }

  /* Final overrides for the compact Demo-first test console. */
  body.test-console-page main {
    display: block;
  }
  body.test-console-page .test-console-layout {
    align-items: start;
  }
  body.test-console-page .demo-preview-panel > section,
  body.test-console-page .test-control-panel {
    height: calc(100vh - 68px);
    min-height: 720px;
    max-height: calc(100vh - 68px);
  }
  body.test-console-page #demo-workspace .sample-grid {
    grid-template-rows: minmax(0, 1fr) 132px;
    overflow: visible;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) {
    height: 132px;
  }
  body.test-console-page .test-control-panel {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(194,24,91,.42) rgba(255,255,255,.06);
  }
  body.test-console-page .test-control-panel::-webkit-scrollbar {
    width: 8px;
  }
  body.test-console-page .test-control-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(194,24,91,.42);
  }
  body.test-console-page #demo-workspace .sample-preview {
    background: #f6f1ea;
    color: #151016;
    -webkit-text-fill-color: #151016;
  }
  body.test-console-page #demo-workspace .sample-action {
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta {
    font-size: 0;
    white-space: normal;
    overflow: visible;
  }
  body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta::after {
    content: attr(data-short-case);
    color: #fff;
    font-size: 16px;
    font-weight: 1000;
  }
  .auth-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }
  .auth-button,
  .auth-user button {
    min-height: 38px;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #d10b65, #9a38d3);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }
  .auth-user {
    display: none;
    align-items: center;
    gap: 8px;
    max-width: 320px;
  }
  .auth-user span {
    min-width: 0;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(246,241,234,.78);
    font-size: 12px;
    font-weight: 750;
  }
  .auth-nav[data-auth-state="signed-in"] .auth-button {
    display: none;
  }
  .auth-nav[data-auth-state="signed-in"] .auth-user {
    display: inline-flex;
  }
  .auth-nav[data-auth-state="pending"] .auth-button,
  .auth-nav[data-auth-state="loading"] .auth-button {
    opacity: .72;
  }
  .auth-card {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  }
  .auth-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }
  .auth-card-head h2 {
    margin: 0 0 4px;
    color: #f6f1ea;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
  }
  .auth-card-head p {
    margin: 0;
    color: rgba(246,241,234,.66);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
  }
  #auth-state-badge {
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 5px 9px;
    color: rgba(246,241,234,.78);
    background: rgba(255,255,255,.04);
    font-size: 11px;
    font-weight: 900;
  }
  .auth-status {
    min-height: 20px;
    color: rgba(246,241,234,.68);
    font-size: 12px;
    font-weight: 700;
  }
  .auth-status.ok { color: #55d58c; }
  .auth-status.error { color: #ff7aa8; }
  .access-request {
    display: none;
    gap: 10px;
  }
  .auth-card.is-signed-in .access-request {
    display: grid;
  }
  .access-request .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .access-request textarea {
    min-height: 72px;
  }
  .access-request button {
    justify-self: start;
    min-height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d10b65, #9a38d3);
    color: #fff;
  }
  @media (max-width: 1180px) {
    body.test-console-page .site-nav {
      height: auto;
      min-height: 74px;
      align-items: flex-start;
      flex-direction: column;
      gap: 12px;
      padding: 16px;
    }
    body.test-console-page .nav-links {
      width: 100%;
      justify-content: flex-start;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 2px;
      scrollbar-width: none;
    }
    body.test-console-page .nav-links::-webkit-scrollbar {
      display: none;
    }
    body.test-console-page .nav-links a {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.04);
    }
    body.test-console-page .nav-links .nav-cta {
      min-height: 38px;
      padding: 0 14px;
      flex: 0 0 auto;
    }
    body.test-console-page .auth-nav {
      width: 100%;
      justify-content: flex-start;
    }
    body.test-console-page .demo-preview-panel > section,
    body.test-console-page .test-control-panel {
      height: auto;
      max-height: none;
      min-height: auto;
    }
  }
  @media (max-width: 720px) {
    body.test-console-page header {
      padding: 10px 12px 0;
    }
    body.test-console-page .site-nav {
      border-radius: 18px;
    }
    body.test-console-page .brand-word {
      font-size: 19px;
    }
    body.test-console-page .nav-links {
      flex-wrap: wrap;
      overflow: visible;
    }
    body.test-console-page .nav-links a {
      flex: 0 0 auto;
    }
    body.test-console-page .auth-nav,
    body.test-console-page .auth-button,
    body.test-console-page .auth-user,
    body.test-console-page .auth-user button {
      width: 100%;
    }
    body.test-console-page .auth-user {
      flex-direction: column;
      align-items: stretch;
      max-width: none;
    }
    body.test-console-page .auth-user span {
      max-width: 100%;
    }
    body.test-console-page .access-request .grid {
      grid-template-columns: 1fr;
    }
    body.test-console-page main {
      padding: 14px 12px 24px;
    }
    body.test-console-page .demo-preview-panel > section {
      height: auto;
      max-height: none;
      min-height: auto;
      overflow: visible;
    }
    body.test-console-page #demo-workspace .sample-grid {
      display: flex;
      flex-wrap: wrap;
      height: auto;
      gap: 10px;
      overflow: visible;
      padding-bottom: 0;
      scroll-snap-type: none;
    }
    body.test-console-page #demo-workspace .sample-card,
    body.test-console-page #demo-workspace .sample-card:not(:first-child) {
      flex: 1 1 calc(33.333% - 8px);
      min-width: 0;
      height: 98px;
      min-height: 98px;
      grid-column: auto;
      grid-row: auto;
      scroll-snap-align: none;
    }
    body.test-console-page #demo-workspace .sample-card:first-child {
      flex: 0 0 100%;
      height: 250px;
      min-height: 250px;
      grid-column: auto;
      grid-row: auto;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta {
      left: 10px;
      bottom: 10px;
      width: 36px;
      height: 36px;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-meta::after {
      font-size: 14px;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-actions {
      display: none;
    }
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-action,
    body.test-console-page #demo-workspace .sample-card:not(:first-child) .sample-preview {
      width: 32px;
      min-width: 32px;
      height: 32px;
      min-height: 32px;
      border-radius: 12px;
    }
  }
