@import url('/assets/fonts.css');

:root {
  --paper: #fafbfc;
  --ink: #202229;
  --muted: #656a76;
  --line: #e2e5eb;
  --accent: #5164d7;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color: var(--ink);
  background: var(--paper);
  font-family: 'Site Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
button, a, summary { -webkit-tap-highlight-color: transparent }
::selection { color: #202229; background: #dfe5ff }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px }
img { display: block; max-width: 100%; height: auto }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7 }
h1, h2, h3, p { margin: 0 }
h1, h2, h3 { font-weight: 530; text-wrap: balance }
h1 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.22; letter-spacing: -.035em }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.3; letter-spacing: -.03em }
h1 span, h2 span { color: var(--muted) }
p { line-height: 1.75 }
.wrap { width: min(1080px, calc(100% - 80px)); margin-inline: auto }
.header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: #fafbfce8; backdrop-filter: blur(16px) }
.header-inner { display: flex; align-items: center; gap: 36px; height: 68px }
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; white-space: nowrap }
.brand img { width: 52px; height: 30px; object-fit: contain }
[data-channel="ydwx"] .brand img { width: 104px; height: 40px }
.header nav { display: flex; gap: 32px; margin-left: auto; font-size: 14px; color: var(--muted) }
.header nav a { transition: color .16s }
.header nav a:hover { color: var(--ink) }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 12px 20px; border: 1px solid #272a33; border-radius: 8px; background: #272a33; color: #fff; font-size: 15px; font-weight: 500; transition: background .16s, transform .2s }
.button:hover { background: #454b59; transform: translateY(-1px) }
.button-small { min-height: 34px; padding: 7px 14px; font-size: 13px }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.7; transition: color .16s }
.text-link:hover { color: var(--accent) }
.text-link span { display: inline-block; transition: transform .2s }
.text-link:hover span { transform: translateX(4px) }
.hero-actions svg { width: 16px; height: 16px; fill: currentColor; stroke: none }

/* All media stays inside the reading width at every viewport size. */
.hero { overflow: clip }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(48px, 7vh, 88px) }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 28px 0 40px }
.hero-bottom p { font-size: 18px; color: var(--muted) }
.hero-actions { display: flex; align-items: center; gap: 28px }
.hero-track { --p: 0; width: min(1080px, calc(100% - 80px)); margin: auto; padding-bottom: 64px }
.hero-stage { padding: 24px; border-radius: 12px; background: #edf0f6; perspective: 1800px }
.hero-product { width: min(100%, 960px); margin: auto; overflow: hidden; border-radius: 8px; box-shadow: 0 18px 45px -20px #38435e40; transform: rotateX(calc(7deg * (1 - var(--p)))) rotateY(calc(-3deg * (1 - var(--p)))); transform-origin: 50% 50% }
.screenshot-button { display: block; width: 100%; padding: 0; border: 0; background: #fff; text-align: inherit }
.screenshot-button img { width: 100% }
.screenshot-button:hover { cursor: zoom-in }
.hero-copy { animation: arrive .8s var(--ease) both }

.feature-section { padding-top: 64px; border-top: 1px solid var(--line) }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; margin-bottom: 36px }
.section-heading > div { padding-top: 6px; max-width: 420px }
.section-heading p { font-size: 18px; line-height: 1.7; color: var(--muted); letter-spacing: -.02em }
.section-heading .text-link { margin-top: 24px }

/* A single report crop is followed by its captions, with no overlay. */
.profit-track { --p: 0; padding-bottom: 64px }
.profit-stage { padding: 32px; border-radius: 12px; background: #f0f2f7 }
.profit-focus { position: relative; display: block; width: 100%; aspect-ratio: 1130 / 341; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: white; box-shadow: 0 12px 30px -20px #303d6340; cursor: zoom-in }
.profit-focus img { position: absolute; top: 0; left: 0; width: 127.4336%; max-width: none; transform: translate(-18.3333%, -29.1262%) }
.profit-points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #dce0e8 }
.profit-points p { font-size: 16px; color: var(--muted) }
.profit-points strong { display: block; font-size: 20px; font-weight: 530; color: var(--ink) }

/* Query and answer form two columns; neither covers the other. */
#agent { padding-bottom: 64px }
.agent-showcase { --p: 0; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 28px; padding: 32px; border-radius: 12px; background: #f1f2f6 }
.agent-prompt { min-width: 0; padding: 22px; border-radius: 12px 12px 4px 12px; background: #fff; box-shadow: 0 12px 30px -20px #343d6240 }
.agent-prompt blockquote { margin: 0; font-size: 19px; line-height: 1.7; letter-spacing: -.02em }
.round-link { display: grid; place-items: center; width: 34px; height: 34px; margin: 18px 0 0 auto; border-radius: 50%; background: #272a33; color: white; transition: transform .2s }
.round-link:hover { transform: translateX(3px) }
.agent-result { min-width: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px -20px #343e623d }

#operations { padding-bottom: 64px }
.operations-grid { --p: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px }
.operations-grid article { min-width: 0 }
.operation-image { display: grid; align-items: center; aspect-ratio: 1.5; overflow: hidden; background: #edf0f5; border-radius: 12px; padding: 20px }
.operation-image img { width: 100%; border-radius: 7px; box-shadow: 0 12px 30px -20px #303a6040; transition: transform .65s var(--ease) }
.operations-grid article:last-child .operation-image { background: #efedf4 }
.operations-grid a:hover img { transform: translateY(-6px) }
.operations-grid h3 { display: flex; justify-content: space-between; margin-top: 22px; font-size: 20px }
.operations-grid h3 span { color: var(--muted) }

.demo-section { padding-block: 64px; background: #eef1f5; border-block: 1px solid var(--line) }
.demo-section .section-heading { display: block; margin-bottom: 28px; text-align: center }
.demo-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 36px; overflow-x: auto; max-width: 100%; scrollbar-width: thin }
.demo-tabs button { border: 0; border-radius: 7px; padding: 11px 20px; background: none; color: var(--muted); white-space: nowrap; font-size: 15px; transition: color .16s, background .16s }
.demo-tabs button:hover { color: var(--ink); background: #e2e6ee }
.demo-tabs button[aria-selected=true] { background: white; color: var(--ink); box-shadow: 0 2px 5px #2528300c }
.video-wrap { overflow: hidden; border-radius: 12px; background: white; box-shadow: 0 24px 60px -30px #232c4b38 }
.video-wrap video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: white }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding-block: 64px }
.faq h2 { font-size: 32px }
.faq details { border-bottom: 1px solid var(--line) }
.faq details:first-child { border-top: 1px solid var(--line) }
.faq summary { position: relative; padding: 24px 32px 24px 0; font-size: 16px; cursor: pointer; list-style: none }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 23px; color: var(--muted); font-size: 20px }
.faq details[open] summary::after { content: '−' }
.faq details p { padding: 0 28px 24px 0; font-size: 15px; line-height: 1.8; color: var(--muted) }
.download-section { padding-block: 64px; border-block: 1px solid var(--line) }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px }
.download-inner h2 { font-size: 40px }
.download-action { text-align: center }
.footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding-block: 40px }
.footer strong { font-size: 14px; font-weight: 550 }
.footer p, .footer > a { font-size: 12px; line-height: 1.8; color: var(--muted) }
#image-dialog { border: 0; border-radius: 12px; padding: 40px 12px 12px; background: white; max-width: min(1500px,96vw); max-height: 94vh; box-shadow: 0 30px 100px #14182633 }
#image-dialog::backdrop { background: #222634ad; backdrop-filter: blur(8px) }
#image-dialog img { max-height: calc(90vh - 70px); width: auto; margin: auto; object-fit: contain }
.image-close { position: absolute; right: 8px; top: 3px; width: 36px; height: 32px; font-size: 27px; border: 0; background: none }
#toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: calc(100vw - 48px); padding: 15px 21px; border-radius: 9px; background: #272a33; color: white; box-shadow: 0 8px 35px #0002; font-size: 14px }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 200; background: white; padding: 12px }
.skip-link:focus { top: 10px }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

@media(max-width: 1000px) {
  .wrap { width: calc(100% - 64px) }
  .hero-track { width: calc(100% - 64px) }
  .hero-copy { padding-top: 48px }
  .section-heading { gap: 40px }
  .agent-showcase { grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 24px }
  .agent-prompt { padding: 18px }
  .agent-prompt blockquote { font-size: 17px }
}
@media(max-width: 899px) {
  .hero-product { transform: none }
  .hero-bottom { align-items: flex-start }
  .hero-actions { gap: 16px }
  .profit-stage { padding: 24px }
  .header nav { gap: 18px }
}
@media(max-width: 700px) {
  :root { scroll-padding-top: 84px }
  .wrap { width: calc(100% - 40px) }
  .header-inner { height: 60px; gap: 12px }
  .header nav { display: none }
  .header .button { margin-left: auto; min-height: 32px; padding: 7px 12px; font-size: 12px }
  .brand { gap: 8px; font-size: 12px }
  .brand img { width: 40px; height: 26px }
  [data-channel="ydwx"] .brand img { width: 80px; height: 32px }
  h1 { font-size: clamp(30px, 7.4vw, 48px) }
  h2 { font-size: 28px }
  .hero-copy { padding-top: 40px }
  .hero-bottom { display: block; margin: 24px 0 36px }
  .hero-bottom p { font-size: 16px }
  .hero-actions { gap: 24px; margin-top: 26px }
  .hero-actions .button { min-height: 42px; padding: 11px 16px; font-size: 14px }
  .hero-actions .text-link { font-size: 14px }
  .hero-track { width: calc(100% - 40px); padding-bottom: 44px }
  .hero-stage { padding: 12px }
  .feature-section { padding-top: 44px }
  .section-heading { display: block; margin-bottom: 24px }
  .section-heading > div { margin-top: 20px; padding: 0 }
  .section-heading p { font-size: 16px }
  .section-heading .text-link { margin-top: 16px; font-size: 14px }
  .profit-track { padding-bottom: 44px }
  .profit-stage { padding: 16px }
  .profit-points { gap: 16px; padding-top: 18px; margin-top: 18px }
  .profit-points p { font-size: 14px }
  .profit-points strong { font-size: 17px }
  #agent { padding-bottom: 44px }
  .agent-showcase { grid-template-columns: 1fr; padding: 16px; gap: 20px }
  .agent-prompt { padding: 18px; justify-self: start }
  .agent-prompt blockquote { font-size: 18px }
  .round-link { width: 30px; height: 30px; margin-top: 12px }
  #operations { padding-bottom: 44px }
  .operations-grid { display: block; padding: 0 }
  .operations-grid article + article { margin-top: 36px }
  .operation-image { padding: 16px }
  .operations-grid h3 { margin-top: 18px; font-size: 18px }
  .demo-section { padding-block: 44px }
  .demo-section .section-heading { margin-bottom: 24px; text-align: left }
  .demo-tabs { justify-content: flex-start; gap: 2px; margin-bottom: 24px }
  .demo-tabs button { padding: 10px 13px; font-size: 14px }
  .video-wrap { border-radius: 8px }
  .faq { grid-template-columns: 1fr; gap: 28px; padding-block: 44px }
  .faq h2 { font-size: 28px }
  .faq summary { padding-block: 22px }
  .download-section { padding-block: 44px }
  .download-inner { display: block }
  .download-inner h2 { font-size: 34px }
  .download-action { margin-top: 30px; text-align: left }
  .footer { flex-wrap: wrap; gap: 22px; padding-block: 32px }
  .footer > strong { width: 100% }
  .footer > a { margin-left: auto }
  .footer p { font-size: 11px }
}
@media(prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .hero-product { transform: none }
}
