:root {
  color-scheme: light;
  --ink: #0e1012;
  --ink-2: #2a2f34;
  --soft: #505761;
  --muted: #646b74;
  --line: #e6e7eb;
  --bg-soft: #f7f8f9;
  --paper: #ffffff;
  --wash: #faf7f9;
  --accent: #7758dc;
  --accent-dark: #5036a5;
  --accent-light: #f2edfd;
  --brand: #e83958;
  --ok: #16875e;
  --radius: 18px;
  --shadow-sm: 0 1px 2px #0e101209, 0 2px 8px #0e10120a;
  --border-radius: 20px;
  --shadow: 0 14px 44px #19172013;
  --shadow-lg: 0 20px 58px #1917201d;
  font-family: "Inter", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #7969f0; outline-offset: 4px;
}
p, h1, h2, h3, ol, ul, figure { margin: 0; }
svg { display: block; width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.site-header {
  height: 68px; position: sticky; top: 0; z-index: 20; background: #ffffffed; border-bottom: 1px solid #ebecee;
  backdrop-filter: saturate(1.35) blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--ink); font-size: 1.13rem; font-weight: 760; letter-spacing: -.035em; }
.brand img { display: block; border-radius: 10px; }
.site-nav, .header-actions { display: flex; align-items: center; gap: 24px; }
.site-nav { gap: clamp(18px, 3.3vw, 42px); }
.site-nav a, .header-signin { color: var(--soft); font-size: .9rem; font-weight: 650; white-space: nowrap; }
:is(.site-nav a, .header-signin, .footer-links a, .text-link):hover { color: var(--accent-dark); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 19px; min-height: 44px; color: var(--ink); font-size: .94rem; font-weight: 720;
  border-radius: 11px; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .24s, transform .2s cubic-bezier(.22,.61,.36,1);
  -webkit-tap-highlight-color: transparent;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(.973); }
.button-primary, .button-dark { color: white; background: #101113; box-shadow: 0 2px 5px #0d0d141b, 0 6px 19px #0d0d141e; }
.button-primary:hover, .button-dark:hover { background: #25262a; box-shadow: 0 7px 20px #0d0d1435; }
.button-light { color: var(--ink); background: #fff; border-color: #e3e4e8; box-shadow: var(--shadow-sm); }
.button-light:hover { background: white; border-color: #c9c6d0; }
.button:disabled { background: #e9eaf3; color: #71768b; border-color: #dfe2ef; box-shadow: none; transform: none; cursor: not-allowed; }
.header-open { padding-inline: 15px; font-size: .88rem; }
.language-picker, .mobile-menu { position: relative; color: var(--ink); }
.language-picker summary, .mobile-menu summary { display: flex; gap: 7px; align-items: center; min-height: 42px; border-radius: 9px; padding: 7px 8px; font-size: .89rem; font-weight: 670; white-space: nowrap; }
.language-picker summary:hover, .language-picker[open] summary, .mobile-menu summary:hover { background: #f0effa; }
.language-picker summary svg:first-child { color: var(--accent); }
.language-picker summary svg:last-child { width: .9rem; height: .9rem; }
.language-picker[open] summary svg:last-child { transform: rotate(180deg); }
.language-options, .mobile-menu nav {
  position: absolute; top: calc(100% + 9px); right: 0; width: 192px; padding: 5px; z-index: 50;
  border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 40px rgba(27,38,73,.14);
}
.language-options a, .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 8px 11px; border-radius: 8px; font-size: .94rem; font-weight: 650; }
.language-options a:hover, .mobile-menu nav a:hover { background: #f1effe; }
.language-options a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-light); }
.language-options a svg { width: 16px; }
.mobile-menu { display: none; }
.language-picker[open] .language-options, .mobile-menu[open] nav { animation: menu-arrive .22s cubic-bezier(.16,1,.3,1) both; }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-5px) scale(.985); } }
.video-frame { position: relative; overflow: hidden; background: #e0e0f3; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #dce2f4; }
.media-toggle {
  display: inline-grid; place-items: center; position: absolute; bottom: 12px; right: 12px; padding: 0;
  width: 42px; height: 42px; background: #18213de6; color: white; border: 1px solid #ffffff9c; border-radius: 50%;
}
.media-toggle:hover { background: var(--accent-dark); }
.media-toggle svg { width: 21px; height: 21px; }
.section { padding-block: 83px; }
.section-intro { max-width: 720px; }
.section h2, .legal-page h1, .auth-shell h1 { font-size: clamp(1.9rem, 3.65vw, 3.38rem); line-height: 1.11; letter-spacing: -.055em; font-weight: 810; }
.section-intro p { color: var(--soft); margin-top: 15px; font-size: 1.04rem; line-height: 1.7; }
.gallery-section .section-intro { margin: 0 auto 36px; text-align: center; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.example { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: white; transition: box-shadow .22s, transform .22s; }
.example:focus-within, .example:hover { box-shadow: 0 15px 42px #29346c17; transform: translateY(-3px); }
.example-media {
  display: flex; position: relative; justify-content: center; align-items: center; padding: 25px; height: 342px;
  background: radial-gradient(ellipse at 70% 20%, #fff9ed 0%, transparent 59%), linear-gradient(136deg, #e2d2fa, #f9e8e1);
}
.example-media-1 { background: radial-gradient(ellipse at 80% 21%, #f9f4ff 0%, transparent 61%), linear-gradient(135deg, #d9d8fb, #d4e9fa); }
.example-media-2 { background: radial-gradient(ellipse at 83% 19%, #fff5e5 0%, transparent 59%), linear-gradient(143deg, #d9dcf7, #f0deef); }
.example-media .video-frame { height: 100%; aspect-ratio: 9/16; border-radius: 20px; box-shadow: 0 13px 30px #21354b37; border: 5px solid #fffd; }
.example-type {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  color: #342875; background: #fffffff2; border: 1px solid #e7e3fb; border-radius: 10px; padding: 6px 9px; font-size: .81rem; font-weight: 730;
}
.example-caption { padding: 17px 19px 21px; }
.example h3, .workflow-steps h3 { font-size: 1.06rem; font-weight: 780; letter-spacing: -.02em; }
.example p, .workflow-steps p { margin-top: 5px; font-size: .95rem; color: var(--soft); }
.gallery-note { margin-top: 17px; color: var(--muted); text-align: center; font-size: .87rem; }
.gallery-note a { text-decoration: underline; text-underline-offset: 3px; }
.workflow-section { background: #f5f6fe; border-block: 1px solid #ebedf7; }
.workflow-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(28px, 6vw, 74px); align-items: center; }
.workflow-steps { display: grid; gap: 16px; padding: 0; list-style: none; margin: 26px 0 25px; }
.workflow-steps li { display: flex; align-items: flex-start; gap: 13px; }
.step-icon { background: #eae6ff; color: var(--accent-dark); border-radius: 10px; padding: 8px; }
.workspace-video { border-radius: 20px; overflow: hidden; border: 1px solid #daddf0; background: #fff; box-shadow: var(--shadow); }
.workspace-video-bar { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #ebedf6; font-size: .84rem; color: #394766; font-weight: 750; }
.workspace-status { display: flex; gap: 4px; }
.workspace-status i { width: 7px; height: 7px; border-radius: 50%; background: #bab6da; }
.workspace-video .video-frame { aspect-ratio: 16 / 9; }
.workspace-video .video-frame video { object-fit: contain; }
.workspace-video figcaption { padding: 9px 15px; color: var(--soft); font-size: .87rem; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 45px; }
.question { border-bottom: 1px solid var(--line); padding: 0 0 15px; margin-bottom: 15px; }
.question:last-child { margin-bottom: 0; }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 720; padding: 5px 0; }
.question p { color: var(--soft); margin-top: 9px; max-width: 600px; }
.question-icon { position: relative; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--accent-light); color: var(--accent-dark); }
.question-icon::before, .question-icon::after { content: ""; width: 10px; height: 2px; position: absolute; background: currentColor; inset: 11px auto auto 7px; border-radius: 1px; }
.question-icon::after { transform: rotate(90deg); transition: transform .18s; }
.question[open] .question-icon::after { transform: rotate(0); }
.site-footer { border-top: 1px solid var(--line); background: #fafbff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-block: 35px 25px; gap: 22px; }
.footer-top p { margin-top: 9px; font-size: .94rem; color: var(--soft); }
.footer-links { display: flex; gap: 9px 23px; flex-wrap: wrap; color: var(--ink); font-weight: 650; font-size: .88rem; }
.footer-bottom { padding-block: 17px 23px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; font-size: .81rem; color: var(--muted); }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 4px 15px; }
.legal-page { max-width: 800px; padding-block: 60px 76px; min-height: 55vh; }
.legal-page h1 { margin-block: 13px 0; }
.legal-date { margin-top: 12px; color: var(--muted); }
.legal-page section { margin-top: 30px; }
.legal-page h2 { font-size: 1.2rem; margin-bottom: 6px; }
.legal-page p { color: var(--soft); line-height: 1.75; }
.text-link, .legal-page p a, .credits-list a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.credits-list { display: grid; gap: 12px; padding-left: 20px; margin-top: 26px; }
.credits-list span { display: block; color: var(--soft); }
@media(max-width: 1040px) {
 .wrap { width: min(1200px, calc(100% - 50px)); }
 .header-inner, .header-actions, .site-nav { gap: 15px; }
}
@media(max-width: 830px) {
 .site-nav, .header-signin { display: none; }
 .mobile-menu { display: block; }
 .section { padding-block: 59px; }
 .example-media { height: 300px; padding-inline: 12px; }
 .example-grid { gap: 12px; }
}
@media(max-width: 650px) {
 .wrap { width: calc(100% - 36px); }
 .site-header { height: 63px; }
 .header-inner, .header-actions { gap: 6px; }
 .header-open { display: none; }
 .brand { font-size: 1.14rem; gap: 8px; }
 .brand img { width: 29px; height: 29px; }
 .language-picker summary { padding-inline: 5px; }
 .language-options { right: -25px; }
 .example-grid { grid-template-columns: 1fr; gap: 17px; }
 .example-media { height: 333px; }
 .gallery-section .section-intro { margin-bottom: 24px; text-align: left; }
 .workflow-layout, .faq-layout { grid-template-columns: 1fr; gap: 25px; }
 .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 19px; }
 .footer-links { gap: 9px 16px; }
 .legal-page { padding-block: 35px 55px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-leave .15s ease-in both; }
::view-transition-new(root) { animation: page-arrive .25s cubic-bezier(.16,1,.3,1) both; }
@keyframes page-leave { to { opacity: 0; } }
@keyframes page-arrive { from { opacity: .4; transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
