/* Reference-led first screen. Variance 3, motion 6, density 2.
   All styles are isolated to this standalone preview, without shared-site CSS. */
:root {
  color-scheme: light;
  --brand-red: #b0092b;
  --brand-deep: #790d24;
  --ink: #111827;
  --subtle: #747b89;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: weight;
}
* { box-sizing: border-box; }
html { background: #fff; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 5px; }
.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  max-width: 88rem;
  min-height: 67px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 0 0 22px 22px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 8px 28px rgb(67 28 41 / 4%);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { display: block; width: 40px; height: 40px; mix-blend-mode: multiply; }
.brand-name { font-size: 20px; font-weight: 650; letter-spacing: .12em; line-height: 1.15; }
.brand-name small { display: block; margin-top: 5px; font-size: 9px; font-weight: 550; letter-spacing: .18em; }
nav { display: flex; align-items: center; gap: 16px; }
.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  font-size: 14px;
  line-height: 18px;
  color: #3c414e;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-item:hover { color: var(--brand-red); background-color: rgb(176 9 43 / 5%); }
.nav-item.is-current { color: #fff; background: linear-gradient(115deg, #191522, var(--brand-deep) 70%, var(--brand-red)); }
.nav-divider { height: 16px; width: 1px; background: #b0092b99; margin: 0 5px 0 8px; }
.platform-link { padding-right: 12px; }
.menu-toggle { display: none; }
.hero {
  min-height: 100svh;
  background:
    radial-gradient(circle at 74% 36%, #b0092b12 0%, #b0092b07 24%, transparent 56%),
    linear-gradient(#fff 0%, #fffafb 100%);
}
.hero-container {
  width: 100%;
  max-width: 88rem;
  min-height: max(100svh, 680px);
  margin: 0 auto;
  padding: 48px 192px;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { min-width: 0; padding-right: 8px; padding-bottom: 0; }
h1 { margin: 0; font-size: 16px; font-weight: 900; letter-spacing: .3em; }
.title-line { display: block; font-size: clamp(32px, 5.6vw, 72px); line-height: 1.1; white-space: nowrap; }
.title-line + .title-line { margin-top: 8px; line-height: 1.02; }
.accent { color: var(--brand-red); background: linear-gradient(95deg, #c8173d, #970821); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { margin: 32px 0 0; color: var(--subtle); font-size: 18px; line-height: 1.625; letter-spacing: .08em; }
.hero-copy { animation: copy-enter 850ms cubic-bezier(.22,.7,.2,1) both; }
@keyframes copy-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.particle-scene { position: relative; height: min(50rem, 82svh); min-height: 32rem; min-width: 0; }
#particle-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.particle-scene[data-renderer="canvas"] #particle-canvas { opacity: 1; }
.static-brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; pointer-events: none; }
.static-brand img { display: block; width: 51%; height: auto; mix-blend-mode: multiply; }
.static-brand span { font-size: clamp(24px, 2.75vw, 49px); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; color: #151827; }
.particle-scene[data-renderer="canvas"] .static-brand { visibility: hidden; }
.motion-toggle { position: absolute; right: 3px; bottom: 18%; width: 32px; height: 32px; padding: 8px; display: grid; place-items: center; border: 1px solid #b0092b22; border-radius: 50%; background: #ffffff99; color: var(--brand-deep); opacity: 0; transition: opacity 180ms ease; }
.motion-toggle[hidden] { display: none; }
.particle-scene:hover .motion-toggle, .motion-toggle:focus-visible, .motion-toggle[aria-pressed="true"] { opacity: .65; }
.pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .pause-icon { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.toast { position: fixed; z-index: 30; bottom: 30px; left: 50%; max-width: calc(100% - 40px); transform: translate(-50%, 8px); background: #fff; color: #4b2631; border: 1px solid #eddae0; border-radius: 8px; box-shadow: 0 6px 25px #6428390c; padding: 13px 20px; font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.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; }
@media (max-width: 1279px) {
  .hero-container { padding-left: 48px; padding-right: 48px; gap: 32px; }
  .site-header { margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 1023px) {
  .hero-container { grid-template-columns: 1fr; gap: 10px; padding-top: 145px; padding-bottom: 40px; min-height: 100svh; }
  .hero-copy { padding: 0; }
  .title-line { font-size: clamp(42px, 7vw, 64px); }
  .hero-subtitle { font-size: 16px; margin-top: 24px; }
  .particle-scene { height: min(34rem, 48svh); min-height: 350px; max-width: 560px; width: 100%; margin: 0 auto; }
  .static-brand img { width: 40%; }
  .static-brand span { font-size: 36px; }
  .motion-toggle { bottom: 4%; }
}
@media (max-width: 767px) {
  .site-header { padding: 12px 20px; margin: 0; min-height: 72px; border-radius: 0 0 18px 18px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 8px; margin-top: 4px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  nav { display: none; position: absolute; left: 12px; right: 12px; top: 80px; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px; background: #fff; border: 1px solid #f0e4e8; border-radius: 15px; box-shadow: 0 14px 35px #58293612; }
  nav.is-open { display: flex; }
  .nav-item { min-height: 42px; font-size: 15px; }
  .nav-divider { width: 100%; height: 1px; margin: 4px 0; background: #f1e2e7; }
  .hero-container { padding: 150px 28px 35px; gap: 36px; align-content: center; }
  h1 { letter-spacing: 3px; }
  .title-line { font-size: clamp(38px, 10vw, 52px); }
  .title-line + .title-line { margin-top: 8px; }
  .hero-subtitle { margin-top: 26px; font-size: 14px; letter-spacing: .06em; }
  .particle-scene { height: min(370px, 48svh); min-height: 290px; }
  .static-brand { gap: 14px; }
  .static-brand img { width: 48%; }
  .static-brand span { font-size: clamp(24px, 7vw, 34px); }
  .motion-toggle { right: 0; bottom: 0; opacity: .35; }
}
@media (max-height: 500px) and (min-width: 768px) {
  .hero-container { min-height: 650px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
