/* A light, media-first homepage connected to the creator workspace. */
:root {
  color-scheme: light;
  --ink: #17182a;
  --muted: #555b72;
  --accent: #5442c5;
  --line: #e4e3ee;
  --paper: #fbfbfe;
  font: 16px/1.55 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #7260e5; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px,calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner,.footer { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; font-size: .78rem; color: white; background: linear-gradient(145deg,#816bf0,#4b38b9); }
nav { display: flex; flex-wrap: wrap; gap: clamp(14px,3vw,34px); color: var(--muted); font-size: .9rem; }
nav a:hover,figcaption a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; white-space: nowrap; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #4633ab; }
.secondary { background: white; border-color: var(--line); }
.secondary:hover { border-color: #9c92d6; }
.hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,5vw,72px); align-items: center; padding-block: clamp(52px,8vw,108px) clamp(54px,7vw,90px); }
main { background: radial-gradient(ellipse 700px 500px at 82% 8%,#eeebff 0%,transparent 86%); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .85rem; font-weight: 700; color: #4d3dab; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #7a64e6; }
h1,h2,h3,p,figure { margin: 0; }
h1 { font-size: clamp(2.3rem,5.45vw,4.55rem); letter-spacing: -.055em; line-height: 1.12; }
h1 em { color: var(--accent); font-style: normal; }
.lede { margin-top: 22px; max-width: 32ch; color: var(--muted); font-size: clamp(1rem,1.55vw,1.16rem); line-height: 1.8; }
.hero-actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.showcase { overflow: hidden; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 65px #34228019; }
.frame { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: radial-gradient(ellipse at 70% 20%,#6d5fa2,transparent 55%),linear-gradient(130deg,#17152c,#2b234e); }
.frame img,.frame video { width: 100%; height: 100%; position: absolute; inset: 0; }
.frame img { object-fit: cover; }
.frame video { object-fit: contain; background: #11101d; }
.frame button { z-index: 1; cursor: pointer; border: 1px solid #fffb; border-radius: 50%; width: 56px; height: 56px; background: #fff; color: #342680; font-size: 1.2rem; box-shadow: 0 5px 24px #11101d55; }
.frame button:hover { background: #eeeaff; }
figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 15px; padding: 12px 10px 8px; font-size: .89rem; }
figcaption small { display: block; color: var(--muted); margin-top: 2px; }
figcaption a { color: var(--accent); font-weight: 650; }
.tools,.workflow { padding-bottom: clamp(42px,7vw,84px); scroll-margin-top: 22px; }
.section-title { margin-bottom: 19px; }
h2 { font-size: clamp(1.55rem,3vw,2.3rem); line-height: 1.22; letter-spacing: -.035em; }
.section-title p,.tool p,.flow-panel p { color: var(--muted); margin-top: 7px; }
.cards,.flow-panel ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tool { position: relative; display: block; border: 1px solid var(--line); border-radius: 16px; padding: 21px; background: #fff; }
.tool:hover { border-color: #9d8ce6; box-shadow: 0 10px 24px #3422800d; }
.glyph { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 11px; font-size: 1.12rem; font-weight: 750; }
.violet { background: #eee8ff; color: #553bb5; }
.blue { background: #e9efff; color: #2e4caa; }
.mint { background: #e4f5ef; color: #1f6b56; }
.arrow { position: absolute; top: 18px; right: 21px; color: var(--accent); }
.flow-panel { padding: clamp(20px,4vw,42px); border: 1px solid #e3def8; border-radius: 20px; background: #f2efff; }
.flow-panel ol { padding: 0; list-style-position: inside; margin: 20px 0 25px; }
.flow-panel li::marker { color: var(--accent); font-weight: 800; }
.footer { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 34px 44px; }
  .eyebrow { margin-bottom: 10px; }
  .lede { margin-top: 12px; }
  .hero-actions { margin-top: 17px; }
  .cards,.flow-panel ol { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; padding-block: 15px; }
}
