:root {
  color-scheme: light;
  --canvas: #f8f7f1;
  --surface: #fff;
  --ink: #263747;
  --muted: #4d5d6b;
  --line: #dce2e3;
  --blue: #a8c7e8;
  --blue-soft: #e8f0f9;
  --blue-dark: #2d4968;
  --yellow: #f3e1a0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.trial-workbench { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.trial-controls { padding: 30px; min-width: 0; }
.trial-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.trial-controls label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.trial-controls select, .trial-controls textarea, .trial-controls input[type="file"] { width: 100%; max-width: 100%; border: 1px solid #bdcbd7; border-radius: 9px; background: var(--canvas); padding: 12px; font-size: 13px; }
.trial-controls textarea { resize: vertical; min-height: 125px; }
.trial-controls input[type="file"] { font-size: 11px; padding: 10px; }
.trial-controls input::file-selector-button { border: 0; background: var(--blue-soft); padding: 8px; border-radius: 5px; margin-right: 8px; cursor: pointer; }
.trial-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sample-button { background: transparent; border: 0; padding: 6px 0; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
.trial-allowance { background: var(--yellow); border-radius: 8px; padding: 12px; font-size: 12px; line-height: 1.7; }
.trial-help { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 7px; }
.trial-input-preview { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.trial-input-preview img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.trial-input-preview span { font-size: 11px; overflow-wrap: anywhere; flex: 1; }
.trial-reference-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trial-reference-previews img { width: 65px; height: 65px; object-fit: contain; background: var(--canvas); border-radius: 7px; }
.trial-result { padding: 30px; min-width: 0; background: var(--blue-soft); display: flex; flex-direction: column; }
.trial-empty { display: grid; place-content: center; text-align: center; padding: 60px 20px; flex: 1; }
.trial-empty > span { color: var(--blue-dark); font-size: 54px; font-weight: 300; }
.trial-empty h3 { font-size: 26px; margin-block: 15px; }
.trial-empty p { color: var(--muted); font-size: 13px; max-width: 300px; margin-inline: auto; }
.trial-loading { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 320px; padding: 45px 20px; }
.trial-loading h3 { font-size: 26px; margin-block: 24px 15px; }
.trial-loading p { max-width: 300px; color: var(--muted); font-size: 13px; }
.trial-spinner, .is-loading::before { display: inline-block; width: 46px; height: 46px; border: 4px solid #c1d4e7; border-top-color: var(--blue-dark); border-radius: 50%; animation: trial-spin .85s linear infinite; flex-shrink: 0; }
.is-loading::before { content: ''; width: 17px; height: 17px; border-width: 2px; border-color: #6b8bad; border-top-color: #1d3249; }
.trial-output-muted { display: none; }
@keyframes trial-spin { to { transform: rotate(360deg); } }
.trial-output-image { width: 100%; max-height: 530px; object-fit: contain; background: repeating-conic-gradient(#fff 0% 25%, #edf0f2 0% 50%) 0 0 / 20px 20px; border-radius: 12px; margin-top: 24px; }
.trial-status { font-size: 13px; line-height: 1.8; margin-top: 18px; }
.trial-error { background: #fff3e6; color: #7b3d1d; border: 1px solid #e5c7a8; padding: 14px; border-radius: 9px; font-size: 12px; line-height: 1.8; margin-top: 12px; }
.trial-result-actions { margin-block: 16px; gap: 12px; }
.trial-result > .text-link { font-size: 12px; margin-top: auto; padding-top: 12px; }
.trial-workbench button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 760px) {
  .trial-workbench { grid-template-columns: 1fr; }
  .trial-controls, .trial-result { padding: 22px; }
  .trial-empty { padding: 35px 8px; }
  .trial-result .result-heading { gap: 12px; }
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: linear-gradient(180deg, var(--blue-soft), var(--canvas) 850px); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #476f98; outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 78px; }
.site-header { max-width: 1440px; margin: auto; padding: 23px 40px; display: flex; gap: 28px; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 23px; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.brand-ai { font-weight: 400; color: var(--muted); }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.site-header nav a:hover, .text-link:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 11px 23px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .15s; }
.button-primary { background: var(--blue); color: #1d3249; }
.button-primary:hover { background: #91b7df; }
.button-outline { border-color: #bdcbd7; background: transparent; }
.button-outline:hover { background: var(--blue-soft); }
.button-small { background: var(--surface); min-height: 42px; padding: 9px 17px; font-size: 13px; border-color: #bdcbd7; }
.button-small:hover { background: var(--blue-soft); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { font-size: 14px; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 650; letter-spacing: 1.8px; color: var(--blue-dark); line-height: 1.6; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #476f98; }
.hero { display: grid; grid-template-columns: 1fr 1.06fr; gap: 56px; padding-block: 75px 105px; align-items: center; }
h1 { font-size: clamp(40px, 4.5vw, 62px); letter-spacing: -2.8px; margin: 23px 0; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 460px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.hero-tags span { font-size: 11px; color: var(--muted); border: 1px solid #bdcbd7; border-radius: 40px; padding: 4px 11px; }
.hero-visual { position: relative; min-width: 0; margin-bottom: 30px; }
.hero-photo { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 18px 45px -24px #26374788; transform: rotate(2deg); }
.hero-photo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; object-position: center; }
.photo-tag { position: absolute; left: 20px; right: 20px; top: 20px; width: fit-content; padding: 8px 14px; border-radius: 8px; background: #ffffffed; font-size: 11px; }
.source-photo { position: absolute; left: -25px; bottom: -55px; width: 39%; border: 7px solid white; background: white; border-radius: 10px; transform: rotate(-7deg); box-shadow: 0 8px 24px #26374718; }
.source-photo img { aspect-ratio: 1.45; object-fit: cover; border-radius: 5px; }
.source-photo span { display: block; padding: 6px 2px 0; text-align: center; font-size: 8px; font-weight: 650; letter-spacing: 1px; }
.idea-note { position: absolute; right: 8px; bottom: -52px; display: flex; gap: 12px; align-items: center; padding: 16px 20px; background: var(--yellow); border-radius: 12px; transform: rotate(3deg); font-size: 12px; line-height: 1.6; }
.idea-note > span:first-child { font-size: 26px; }
.section-heading { max-width: 650px; margin-bottom: 36px; }
h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.4px; margin-top: 14px; }
.section-heading > p:last-child, .heading-row > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 18px; }
.about-section { border-top: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 42px; }
.number { font-size: 11px; letter-spacing: 1px; color: var(--blue-dark); }
.benefit-grid h3 { font-size: 19px; margin-top: 15px; }
.benefit-grid p, .steps p { color: var(--muted); font-size: 13px; margin-top: 13px; line-height: 1.85; }
.showcase-section { padding-top: 30px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 40px; }
.heading-row > p { max-width: 360px; font-size: 13px; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.showcase-tabs button { border: 1px solid var(--line); padding: 9px 17px; border-radius: 30px; background: var(--surface); font-size: 12px; min-height: 42px; }
.showcase-tabs button[aria-pressed="true"] { background: var(--blue-dark); border-color: var(--blue-dark); color: white; }
.showcase-tabs button:hover:not([aria-pressed="true"]) { background: var(--blue-soft); }
.showcase-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 38px; align-items: center; }
.comparison { --position: 50%; position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; background: #e6e8e4; }
.comparison img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.before-image { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.comparison input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-label { position: absolute; top: 15px; z-index: 1; color: white; background: #263747b8; padding: 3px 10px; border-radius: 30px; font-size: 10px; pointer-events: none; }
.label-left { left: 15px; }
.label-right { right: 15px; }
.divider { position: absolute; left: var(--position); top: 0; bottom: 0; width: 2px; background: white; pointer-events: none; }
.divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: white; width: 40px; height: 40px; border-radius: 50%; font-size: 21px; box-shadow: 0 2px 8px #0002; }
.comparison:focus-within .divider span { outline: 3px solid #476f98; outline-offset: 3px; }
figcaption { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 11px; }
.showcase-copy { padding-bottom: 25px; }
.showcase-copy h3 { font-size: 29px; letter-spacing: -.8px; margin-top: 12px; }
.showcase-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.8; }
.prompt-quote { padding: 16px 18px; border-left: 2px solid #bdcbd7; margin-block: 22px; background: #ffffff88; }
.tiny-label { font-size: 9px; letter-spacing: 1px; font-weight: 650; color: var(--blue-dark); }
.prompt-quote p { font-size: 12px; margin-top: 8px; line-height: 1.8; }
.tools-section { background: #e8f0f970; border-block: 1px solid var(--line); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { display: flex; flex-direction: column; min-height: 235px; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 25px; transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: #8aafd4; box-shadow: 0 7px 20px #26374708; }
.tool-kicker { font-size: 9px; letter-spacing: 1.2px; color: var(--blue-dark); font-weight: 650; }
.tool-card h3 { font-size: 20px; margin-top: 14px; }
.tool-card p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-block: 12px 20px; }
.tool-card .tool-action { font-size: 12px; margin-top: auto; color: var(--blue-dark); display: flex; justify-content: space-between; align-items: center; }
.more-tools { margin-top: 25px; border-top: 1px solid #bdcbd7; }
summary { list-style: none; padding-block: 19px; font-size: 14px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; font-size: 20px; font-weight: 400; line-height: 1; margin-left: 16px; }
details[open] > summary::after { content: '−'; }
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; padding-bottom: 15px; }
.directory a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
.directory a:hover { color: #476f98; text-decoration: underline; }
.lab { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; }
.lab-controls { padding: 32px; display: flex; flex-direction: column; min-width: 0; }
.lab-controls > label { font-size: 12px; font-weight: 600; margin: 22px 0 8px; }
.lab-controls > label:first-child { margin-top: 0; }
.lab-controls select, .lab-controls input[type="text"], .lab-controls textarea { display: block; width: 100%; border: 1px solid #bdcbd7; border-radius: 8px; background: #fafbf9; min-height: 44px; padding: 10px 12px; font-size: 12px; }
.lab-controls textarea { resize: vertical; }
.lab-controls input::placeholder, .lab-controls textarea::placeholder { color: #647482; opacity: 1; }
.optional { font-weight: 400; color: var(--muted); }
.lab-controls .checkbox-label { font-size: 11px; font-weight: 400; display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; line-height: 1.6; cursor: pointer; }
.checkbox-label input { accent-color: var(--blue-dark); margin: 3px 0 0; width: 16px; height: 16px; flex-shrink: 0; }
.lab-result { background: var(--blue-soft); padding: 32px; min-width: 0; display: flex; flex-direction: column; }
.result-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.local-badge { border: 1px solid #bdcbd7; padding: 3px 7px; border-radius: 30px; font-size: 8px; color: var(--blue-dark); }
#prompt-output { width: 100%; flex-grow: 1; min-height: 245px; resize: vertical; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 15px 0; margin-top: 15px; font-size: 14px; line-height: 1.9; }
.lab-result .button-row { gap: 12px; margin-top: 20px; }
.lab-note { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
.copy-status { min-height: 20px; font-size: 11px; color: var(--blue-dark); margin-top: 10px; }
.how-section { padding-top: 25px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; background: var(--yellow); border-radius: 50%; font-size: 14px; margin-bottom: 20px; }
.steps h3 { font-size: 18px; }
.faq-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; padding: 20px 0; }
.faq-list p { font-size: 12px; color: var(--muted); padding-bottom: 20px; line-height: 1.9; }
.final-section { text-align: center; background: var(--blue-soft); border-radius: 22px; padding: 60px 30px; margin-bottom: 70px; }
.final-section .eyebrow { justify-content: center; }
.final-section h2 { font-size: 43px; }
.final-section p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-block: 18px 26px; }
.site-footer { padding-block: 28px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650; }
.footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.site-footer p { font-size: 10px; color: var(--muted); margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 11px; }
.footer-links select { background: transparent; border: 1px solid #bdcbd7; padding: 7px; border-radius: 7px; font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; left: 15px; padding: 10px 16px; background: white; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 12px; }
html[lang="zh-CN"] h1 { letter-spacing: -1px; line-height: 1.25; }
html[lang="zh-CN"] h2 { line-height: 1.35; }
@media (max-width: 1000px) {
  .hero { gap: 32px; padding-block: 55px 90px; }
  h1 { letter-spacing: -2px; font-size: 46px; }
  .hero .button-row { gap: 16px; }
  .hero-visual { margin-left: 10px; }
  .idea-note { padding: 12px; right: -5px; font-size: 10px; }
  .showcase-grid { gap: 25px; grid-template-columns: 1.5fr 1fr; }
  .showcase-copy h3 { font-size: 25px; }
  .lab-controls, .lab-result { padding: 26px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding: 20px; gap: 12px; justify-content: space-between; }
  .brand { font-size: 20px; }
  .site-header nav { display: none; }
  .button-small { padding-inline: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 45px; }
  h1 { font-size: 49px; margin-block: 18px; }
  .lead { font-size: 15px; max-width: none; }
  .hero-tags { margin-top: 24px; }
  .hero-visual { max-width: 500px; width: calc(100% - 20px); margin: 0 auto 30px; }
  .hero-photo img { aspect-ratio: 1.35; }
  .source-photo { left: -8px; bottom: -35px; width: 35%; }
  .idea-note { bottom: -36px; right: 0; padding: 12px 16px; font-size: 11px; }
  .section { padding-block: 50px; }
  h2 { font-size: 31px; }
  .section-heading > p:last-child { font-size: 14px; }
  .benefit-grid { gap: 24px; grid-template-columns: 1fr; }
  .benefit-grid article { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .benefit-grid article:last-child { border: 0; padding-bottom: 0; }
  .benefit-grid h3 { margin-top: 9px; }
  .heading-row { display: block; }
  .heading-row > p { max-width: none; }
  .showcase-tabs { gap: 7px; }
  .showcase-tabs button { padding-inline: 13px; font-size: 11px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }
  .showcase-copy { padding-bottom: 0; }
  .comparison { aspect-ratio: 4 / 3; }
  .showcase-copy h3 { font-size: 28px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tool-card { padding: 20px; min-height: 245px; }
  .tool-card h3 { font-size: 19px; }
  .directory { grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
  .lab { grid-template-columns: 1fr; }
  .lab-controls, .lab-result { padding: 24px; }
  #prompt-output { min-height: 240px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-number { margin-bottom: 13px; }
  .faq-section { grid-template-columns: 1fr; gap: 5px; }
  .faq-section .section-heading { margin-bottom: 20px; }
  .final-section { padding: 40px 22px; margin-bottom: 45px; }
  .final-section h2 { font-size: 33px; }
  .site-footer { align-items: start; flex-direction: column; gap: 25px; }
  .footer-links { gap: 20px; }
}
@media (max-width: 390px) {
  h1 { font-size: 42px; }
  .hero .button-row { gap: 18px; }
  .hero .button-primary { padding-inline: 15px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 205px; }
  .result-heading { gap: 8px; }
  .lab-result .button-row { gap: 9px; }
  .lab-result .button { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .trial-spinner, .is-loading::before { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
