:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-dimmer: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --fill-ghost: rgba(255, 255, 255, 0.05);
  --fill-solid: rgba(255, 255, 255, 0.10);
  --gutter: clamp(20px, 5vw, 100px);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-width: 280px; background: var(--bg); }
body { color: var(--text); font-family: var(--font-display); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.menu-open, body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }
button { border-radius: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }

.hero { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #000 url("https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20260806_132328_5f9029c8-218f-4489-82b6-29ff2849920e.png") center / cover no-repeat; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media.is-unavailable video { display: none; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to right, transparent 0%, transparent 45%, rgba(0, 0, 0, 0.45) 72%, rgba(0, 0, 0, 0.72) 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.65) 100%); }
.nav, .hero__body, .legal { position: relative; z-index: 1; }

.nav { z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: max(clamp(20px, 2.4vw, 34px), env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) clamp(20px, 2.4vw, 34px) max(var(--gutter), env(safe-area-inset-left)); }
.nav__brand { font-weight: 200; font-size: clamp(20px, 1.75vw, 30px); letter-spacing: 0.16em; line-height: 1; }
.nav__cluster { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 62px); }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 56px); }
.text-link { border: 0; padding: 0; background: none; }
.nav__links a, .nav__links button, .nav__cta { font-family: var(--font-mono); font-weight: 400; font-size: clamp(11px, 0.78vw, 14px); letter-spacing: 0.18em; white-space: nowrap; transition: color 0.25s ease; }
.nav__links a:hover, .text-link:hover { color: var(--text-dim); }
.nav__cta { border: 1px solid var(--line-strong); padding: clamp(12px, 1vw, 17px) clamp(20px, 1.8vw, 32px); background: transparent; transition: background 0.25s ease, border-color 0.25s ease; }
.nav__cta:hover { border-color: rgba(255, 255, 255, 0.5); background: var(--fill-ghost); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin: -8px -11px -8px 0; border: 0; padding: 0; background: transparent; }
.menu-toggle span { position: absolute; left: 50%; width: 22px; height: 1px; background: #fff; transform: translateX(-50%); transition: transform 0.45s var(--ease-premium), top 0.45s var(--ease-premium), opacity 0.25s ease; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

.hero__body { display: flex; align-items: center; justify-content: flex-end; min-width: 0; min-height: 0; overflow-y: auto; padding: 24px max(var(--gutter), env(safe-area-inset-right)) 30px max(var(--gutter), env(safe-area-inset-left)); scrollbar-width: thin; }
.panel { display: flex; flex-direction: column; align-items: flex-start; width: min(34vw, 620px); min-width: 380px; margin-block: auto; }
.panel__chip { background: rgba(255, 255, 255, 0.09); padding: clamp(9px, 0.8vw, 14px) clamp(14px, 1.1vw, 20px); font: 400 clamp(11px, 0.72vw, 14px)/1 var(--font-mono); letter-spacing: 0.2em; }
.panel__title { margin-top: clamp(28px, 3vw, 52px); font-weight: 200; font-size: clamp(54px, 6.2vw, 118px); line-height: 0.95; letter-spacing: 0.03em; }
.panel__title span { display: block; margin-top: 17px; padding-left: 3px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: clamp(17px, 1.35vw, 24px); font-weight: 300; line-height: 1.3; letter-spacing: 0.52em; }
.panel__tagline { margin-top: clamp(14px, 1.4vw, 24px); font: 300 clamp(11px, 0.94vw, 17px)/1.6 var(--font-mono); letter-spacing: 0.14em; color: var(--text-dim); }
.panel__actions { display: flex; flex-direction: column; gap: clamp(14px, 1.3vw, 22px); width: 100%; margin-top: clamp(38px, 4.6vw, 82px); }
.panel__description { border-bottom: 1px solid var(--line-strong); padding: 0 2px clamp(12px, 1.1vw, 18px); font-weight: 300; font-size: clamp(13px, 0.95vw, 18px); line-height: 1.5; letter-spacing: 0.035em; color: var(--text-dim); }
.btn { display: block; width: 100%; border: 0; border-radius: 0; padding: clamp(17px, 1.6vw, 27px) 20px; text-align: center; font: 400 clamp(11px, 0.78vw, 14px)/1.5 var(--font-mono); letter-spacing: 0.22em; transition: background 0.25s ease, color 0.25s ease; }
.btn--ghost { color: rgba(255, 255, 255, 0.65); background: var(--fill-ghost); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.btn--solid { color: #fff; background: var(--fill-solid); }
.btn--solid:hover { background: rgba(255, 255, 255, 0.17); }
.panel__referral { align-self: center; margin-top: clamp(26px, 2.6vw, 46px); font: 400 clamp(11px, 0.74vw, 14px)/1.5 var(--font-mono); letter-spacing: 0.18em; transition: color 0.25s ease; }
.panel__referral:hover { text-decoration: underline; text-underline-offset: 4px; }
.noscript-note { margin-top: 18px; color: var(--text-dim); font-size: 12px; line-height: 1.8; }

.legal { border-top: 1px solid var(--line); padding: clamp(18px, 1.7vw, 30px) max(var(--gutter), env(safe-area-inset-right)) max(clamp(18px, 1.7vw, 30px), env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); text-align: center; }
.legal p { padding-inline: 105px; color: var(--text-dim); font-weight: 300; font-size: clamp(12px, 0.82vw, 16px); line-height: 1.5; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.25s ease; }
.legal a:hover { color: var(--text-dim); }
.legal__separator { margin-inline: 12px; color: var(--text-dimmer); }
.media-toggle { display: inline-flex; align-items: center; gap: 7px; position: absolute; top: 50%; right: max(var(--gutter), env(safe-area-inset-right)); transform: translateY(-50%); min-height: 36px; padding: 5px 0 5px 9px; border: 0; background: none; color: var(--text-dim); font: 300 10px/1.5 var(--font-mono); letter-spacing: 0.06em; transition: color 0.25s ease; }
.media-toggle:hover { color: #fff; }
.media-toggle__icon { width: 10px; font-size: 11px; }

.mobile-menu { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: center; padding: 90px 24px 36px; background: rgba(4, 4, 6, 0.94); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); clip-path: circle(3% at calc(100% - 42px) 42px); opacity: 0; pointer-events: none; transition: clip-path 0.7s var(--ease-premium), opacity 0.45s ease; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); opacity: 1; pointer-events: auto; }
.mobile-menu__links { display: flex; align-items: center; flex-direction: column; gap: clamp(26px, 5svh, 42px); max-height: 100%; overflow-y: auto; padding: 4px; }
.mobile-menu__links > * { flex-shrink: 0; opacity: 0; transform: translateY(16px); font: 400 clamp(20px, 5.5vw, 28px)/1.5 var(--font-mono); letter-spacing: 0.14em; transition: opacity 0.4s ease, transform 0.5s var(--ease-premium), color 0.25s ease; }
.mobile-menu.is-open .mobile-menu__links > * { opacity: 1; transform: translateY(0); transition-delay: calc(180ms + var(--i) * 70ms), calc(180ms + var(--i) * 70ms), 0ms; }
.mobile-menu__links a:hover { color: var(--text-dim); }
.mobile-menu__links .mobile-menu__cta { margin-top: 4px; padding: 16px 40px; border: 1px solid var(--line-strong); background: transparent; font-size: 14px; letter-spacing: 0.22em; }

.info-dialog { width: min(600px, calc(100% - 40px)); max-height: calc(100svh - 48px); margin: auto; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line-strong); background: rgba(8, 8, 10, 0.98); color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.info-dialog::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(12px); }
.info-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.info-dialog__eyebrow { color: var(--text-dim); font: 400 11px/1.5 var(--font-mono); letter-spacing: 0.2em; }
.dialog-close { width: 44px; height: 44px; margin: -12px -12px -12px 0; border: 0; background: transparent; font: 200 28px/1 var(--font-display); transition: color 0.25s ease; }
.dialog-close:hover { color: var(--text-dim); }
.info-dialog h2 { margin-bottom: 24px; font-size: clamp(24px, 5vw, 32px); font-weight: 300; line-height: 1.5; letter-spacing: 0.03em; }
.info-dialog > p { margin-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 300; line-height: 1.95; }
.info-dialog .info-dialog__note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-dim); }
.dialog-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 12px/1.8 var(--font-mono); letter-spacing: 0.08em; transition: color 0.25s ease; }
.dialog-link:hover { color: var(--text-dim); }

@media (max-width: 1100px) { .panel { width: min(70vw, 520px); min-width: 0; } }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .menu-toggle { display: block; }
  .legal p { padding-inline: 0; padding-right: 104px; text-align: left; font-size: 11px; }
  .legal__separator { margin-inline: 6px; }
}
@media (max-width: 720px) {
  .hero__scrim { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.75) 100%); }
  .hero__body { justify-content: center; padding-top: 20px; padding-bottom: 30px; }
  .panel { width: 100%; align-items: stretch; }
  .panel__chip { align-self: flex-start; }
  .panel__title { font-size: clamp(58px, 12.8vw, 88px); }
  .panel__title span { font-size: 18px; }
  .panel__tagline { font-size: clamp(11px, 2.9vw, 14px); }
  .panel__actions { margin-top: 38px; }
  .legal p { padding-right: 86px; line-height: 1.8; }
  .legal__separator { display: none; }
  .legal a { display: block; width: fit-content; }
  .media-toggle { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 380px) {
  .panel__title { font-size: clamp(44px, 15vw, 64px); }
  .panel__description { font-size: 12px; }
}
@media (max-height: 640px) {
  .hero { min-height: 100svh; }
  .nav { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 16px; }
  .hero__body { padding-top: 12px; padding-bottom: 18px; }
  .panel__chip { padding: 8px 12px; font-size: 10px; }
  .panel__title { margin-top: 20px; font-size: clamp(36px, 7vw, 64px); }
  .panel__title span { margin-top: 10px; font-size: 15px; }
  .panel__tagline { margin-top: 12px; font-size: 11px; }
  .panel__actions { margin-top: 24px; gap: 11px; }
  .panel__description { padding-bottom: 10px; font-size: 12px; }
  .btn { padding: 12px 20px; font-size: 11px; }
  .panel__referral { margin-top: 18px; font-size: 10px; }
  .legal { padding-top: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .legal p { font-size: 11px; }
  .mobile-menu { padding-top: 70px; padding-bottom: 20px; }
  .mobile-menu__links { gap: 18px; }
  .mobile-menu__links > * { font-size: 18px; }
  .mobile-menu__links .mobile-menu__cta { padding: 12px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__media video { display: none; }
  .media-toggle { display: none; }
}
