:root {
  --ink: #111415;
  --paper: #f3f2ee;
  --mist: #dfe1db;
  --muted: #737770;
  --line: #c9cbc4;
  --accent: #e9542a;
  --accent-dark: #c9421e;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 4vw; border-bottom: 1px solid var(--line); background: rgba(243, 242, 238, .94); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: .02em; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden; background: var(--ink); border-radius: 8px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: #525650; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.header-cta { justify-self: end; color: var(--paper); background: var(--ink); padding: 9px 15px; border-radius: 8px; font-size: 14px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.header-cta:hover { background: var(--accent); transform: translateY(-1px); }
.menu-toggle { display: none; }

.opening-visual { position: relative; display: grid; min-height: calc(100dvh - 72px); overflow: hidden; color: #f7f6f2; background: #111415; isolation: isolate; }
.opening-visual > video { position: absolute; inset: -4%; z-index: -3; width: 108%; height: 108%; object-fit: cover; object-position: center; filter: brightness(.72) saturate(.88); }
.opening-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 13, 13, .88) 0%, rgba(11, 13, 13, .7) 31%, rgba(11, 13, 13, .25) 67%, rgba(11, 13, 13, .4) 100%), linear-gradient(0deg, rgba(11, 13, 13, .55), transparent 38%); }
.opening-copy { align-self: center; width: min(90vw, 1440px); margin: 0 auto; padding: 92px 5vw 112px; }
.opening-kicker { margin: 0 0 22px; color: #ff835d; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.opening-copy h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(58px, 8vw, 116px); line-height: .98; }
.opening-copy > p:not(.opening-kicker) { max-width: 370px; margin-bottom: 34px; color: rgba(247, 246, 242, .78); font-size: 17px; line-height: 1.7; }
.opening-enter { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .55); font-size: 14px; font-weight: 800; transition: color .25s ease, border-color .25s ease; }
.opening-enter span { color: #ff7650; font-size: 19px; transition: transform .25s ease; }
.opening-enter:hover { color: #ff7650; border-color: #ff7650; }.opening-enter:hover span { transform: translateY(3px); }
.opening-glow { position: absolute; z-index: -1; width: 35vw; height: 1px; background: rgba(244, 100, 63, .72); box-shadow: 0 0 20px 5px rgba(244, 100, 63, .2); opacity: .55; transform-origin: left center; animation: light-drift 9s ease-in-out infinite alternate; }
.opening-glow-one { --glow-angle: -19deg; top: 27%; right: -8%; transform: rotate(var(--glow-angle)); }.opening-glow-two { --glow-angle: 17deg; right: 9%; bottom: 19%; width: 22vw; opacity: .35; transform: rotate(var(--glow-angle)); animation-delay: -4s; }
.opening-scroll { position: absolute; right: 5vw; bottom: 30px; display: inline-flex; align-items: center; gap: 10px; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .08em; writing-mode: vertical-rl; }
.opening-scroll span { width: 1px; height: 42px; background: #ff7650; animation: scroll-pulse 1.8s ease-in-out infinite; }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr); gap: clamp(36px, 6vw, 110px); max-width: 1440px; margin: 0 auto; min-height: min(760px, calc(100dvh - 72px)); align-items: center; padding: 56px 5vw 72px; }
.hero-copy { max-width: 560px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 6.2vw, 88px); letter-spacing: 0; line-height: 1.08; }
h2 { max-width: 790px; margin-bottom: 16px; font-size: clamp(35px, 4.3vw, 60px); line-height: 1.14; letter-spacing: 0; }
h3 { margin-bottom: 12px; font-size: clamp(23px, 2vw, 31px); line-height: 1.2; }
.hero-intro, .section-intro > p:last-child, .workflow-copy > p, .contact-copy > p { max-width: 470px; color: #5c605a; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.button:active { transform: translateY(1px) scale(.98); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.text-link { font-size: 15px; font-weight: 700; }
.text-link span, .capability-feature span { color: var(--accent); font-size: 20px; margin-left: 3px; }
.hero-media { min-width: 0; }
.video-frame { position: relative; min-height: 475px; overflow: hidden; border-radius: var(--radius); background: #282c2c; box-shadow: 0 28px 65px rgba(21, 24, 21, .2); }
.video-frame img, .workflow-media img, .capability-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-frame img { position: absolute; inset: 0; }
.frame-shade { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(17, 20, 21, .08), rgba(17, 20, 21, .1) 45%, rgba(17, 20, 21, .55)); }
.timeline { position: absolute; right: 26px; bottom: 27px; left: 26px; display: flex; align-items: end; gap: 4px; height: 74px; padding: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(17,20,21,.64); backdrop-filter: blur(10px); }
.timeline span { display: block; width: 16%; background: rgba(255,255,255,.33); border-radius: 2px; }
.timeline span:nth-child(1) { height: 36%; } .timeline span:nth-child(2) { height: 70%; background: var(--accent); } .timeline span:nth-child(3) { height: 48%; } .timeline span:nth-child(4) { height: 80%; background: var(--accent); } .timeline span:nth-child(5) { height: 51%; }
.render-badge { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: rgba(17,20,21,.76); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); }
.status-light { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: breathe 1.7s ease-in-out infinite; }
.media-caption { margin: 14px 0 0; color: var(--muted); text-align: right; font-size: 13px; }

.marquee { overflow: hidden; padding: 17px 0; color: var(--paper); background: var(--ink); white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 24px; min-width: max-content; animation: move 28s linear infinite; font-size: 15px; font-weight: 700; }
.marquee i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.section { max-width: 1440px; margin: 0 auto; padding: 130px 5vw; }
.section-intro { margin-bottom: 58px; }
.section-intro > p:last-child { margin-bottom: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.capability-feature, .capability-text, .capability-image { min-height: 320px; border-radius: var(--radius); overflow: hidden; }
.capability-feature { grid-column: span 6; display: flex; flex-direction: column; color: var(--paper); background: var(--ink); }
.capability-feature p, .capability-text p { color: inherit; opacity: .68; max-width: 360px; }
.capability-feature a { margin-top: auto; font-size: 14px; font-weight: 700; }
.capability-image { grid-column: span 6; }
.capability-image-wide { grid-column: span 8; min-height: 350px; }
.capability-text { grid-column: span 4; display: flex; flex-direction: column; background: #dfe0da; }
.capability-prompt { background: #cfd2ca; }
.capability-feature > img, .capability-text > img { width: 100%; height: 118px; object-fit: cover; }
.capability-feature > img { opacity: .83; }
.capability-card-content { display: flex; flex: 1; flex-direction: column; padding: 19px 28px 26px; }
.capability-card-content .index { margin: 0 0 22px !important; }
.capability-text p { color: #5f635d; }
.capability-text.accent-panel { background: var(--accent); color: #fff; }
.capability-text.accent-panel p { color: #fff; opacity: .82; }
.index { margin-bottom: auto !important; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; background: #e3e4de; max-width: none; padding-left: max(5vw, calc((100vw - 1340px) / 2)); padding-right: max(5vw, calc((100vw - 1340px) / 2)); }
.workflow-media { min-height: 600px; border-radius: var(--radius); overflow: hidden; }
.workflow-copy { max-width: 530px; }
.workflow-list { display: grid; gap: 23px; margin: 35px 0 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; }
.workflow-list > li > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 700; line-height: 1.7; }
.workflow-list strong { display: block; margin-bottom: 4px; font-size: 17px; }
.workflow-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.scenarios { padding-bottom: 145px; }
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.scenario { min-height: 225px; padding: 24px 25px 16px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.scenario:not(:first-child) { padding-left: 25px; }
.scenario:last-child { border-right: 0; }
.scenario span { font-size: 19px; font-weight: 800; }
.scenario p { max-width: 230px; margin-bottom: 0; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; padding: 100px max(5vw, calc((100vw - 1340px) / 2)); background: var(--ink); color: var(--paper); }
.contact-section .eyebrow { color: #ff805d; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p { color: #b5b8b1; }
.contact-form { display: grid; gap: 18px; align-content: start; }
.contact-form label { color: #c8cbc4; font-size: 13px; font-weight: 700; }
.contact-form input { display: block; width: 100%; margin-top: 7px; padding: 13px 0; border: 0; border-bottom: 1px solid #62675f; outline: 0; background: transparent; color: #fff; }
.contact-form input:focus { border-bottom-color: var(--accent); }
.contact-form input::placeholder { color: #848881; }
.contact-form .button { margin-top: 12px; width: fit-content; }
.form-message { min-height: 22px; margin: 0; color: #ff9c82; font-size: 14px; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 32px 5vw; background: var(--ink); color: #b7b9b3; border-top: 1px solid #343933; font-size: 13px; }
footer .brand { color: var(--paper); font-size: 16px; } footer .brand-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 10px; }
footer p { margin: 0; } footer > a:last-child { justify-self: end; color: var(--paper); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes breathe { 50% { opacity: .35; transform: scale(.72); } }
@keyframes move { to { transform: translateX(-50%); } }
@keyframes opening-pan { 0% { transform: scale(1) translate3d(-.8%, -.5%, 0); } 100% { transform: scale(1.07) translate3d(1.2%, .7%, 0); } }
@keyframes light-drift { 0% { opacity: .1; } 50% { opacity: .7; } 100% { opacity: .28; transform: translateX(-3vw) rotate(var(--glow-angle, 0deg)); } }
@keyframes scroll-pulse { 50% { transform: scaleY(.55); transform-origin: top; opacity: .45; } }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto auto; min-height: 64px; padding: 0 5vw; gap: 14px; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; height: 36px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); } .menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; padding: 18px 5vw 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: grid; gap: 17px; } .header-cta { display: none; }
  .opening-visual { min-height: calc(100dvh - 64px); }.opening-visual > video { inset: -8%; width: 116%; height: 116%; object-position: 57% center; }.opening-scrim { background: linear-gradient(90deg, rgba(11, 13, 13, .82), rgba(11, 13, 13, .45)), linear-gradient(0deg, rgba(11, 13, 13, .66), transparent 50%); }.opening-copy { padding-top: 72px; padding-bottom: 95px; }.opening-copy h1 { font-size: clamp(54px, 12vw, 86px); }.opening-scroll { right: 5vw; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 5vw 64px; gap: 42px; }
  .hero-copy { max-width: 580px; } h1 { font-size: clamp(46px, 12vw, 70px); }
  .video-frame { min-height: 380px; } .hero-media { max-width: 700px; }
  .section { padding: 90px 5vw; }.capability-feature { grid-column: span 12; }.capability-image, .capability-image-wide { grid-column: span 12; min-height: 280px; }.capability-text { grid-column: span 6; min-height: 285px; }.capability-feature > img, .capability-text > img { height: 110px; }
  .workflow { grid-template-columns: 1fr; padding: 72px 5vw; gap: 48px; }.workflow-media { min-height: 380px; }.workflow-copy { max-width: 620px; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }.scenario:nth-child(2) { border-right: 0; }.scenario:nth-child(3), .scenario:nth-child(4) { border-top: 1px solid var(--line); padding-top: 25px; }.scenario:nth-child(3) { padding-left: 0; }
  .contact-section { grid-template-columns: 1fr; gap: 42px; padding: 74px 5vw; } footer { grid-template-columns: 1fr 1fr; } footer p { display: none; }
}

@media (max-width: 560px) {
  .brand { font-size: 16px; }.brand-mark { width: 28px; height: 28px; font-size: 10px; }.opening-copy > p:not(.opening-kicker) { font-size: 15px; }.opening-glow-one { top: 22%; width: 58vw; }.opening-glow-two { width: 45vw; }.opening-scroll { bottom: 22px; }.hero { padding-top: 45px; }.hero-actions { gap: 17px; }.video-frame { min-height: 310px; }.timeline { right: 14px; bottom: 14px; left: 14px; height: 62px; }.render-badge { top: 13px; right: 13px; }.section-intro { margin-bottom: 38px; }.capability-grid { gap: 10px; }.capability-feature, .capability-text { grid-column: span 12; min-height: 275px; }.capability-image { min-height: 230px; }.capability-feature > img, .capability-text > img { height: 112px; }.workflow-media { min-height: 300px; }.scenario-grid { grid-template-columns: 1fr; }.scenario, .scenario:not(:first-child) { min-height: 175px; padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }.scenario:first-child { border-top: 0; }.marquee-track { font-size: 13px; }.contact-section { padding: 65px 5vw; } footer { grid-template-columns: 1fr; gap: 15px; } footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.marquee-track, .status-light, .opening-glow, .opening-scroll span { animation: none; }.opening-visual > video { display: none; }.opening-visual { background: #111415 url("assets/generated/function-video.png") center / cover no-repeat; } }
