@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0c0918;
  --text: #f3f0fd;
  --muted: #aaa3bd;
  --line: rgba(214, 199, 255, .12);
  --ease: cubic-bezier(.2, .65, .25, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: 'Space Grotesk', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 20%, #24173d55, transparent 65%); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, [role='link'] { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid #d4bfff; outline-offset: 5px; }
::selection { color: #fff; background: #695088; }
.page { position: relative; width: min(1440px, 100%); margin-inline: auto; padding-inline: clamp(20px, 5vw, 76px); }
.header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; letter-spacing: .045em; }
.brand img { display: block; border-radius: 12px; }
.header-meta { display: flex; align-items: center; gap: 20px; }
.chain { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.ticker { display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; color: #d8c8f6; background: #c6a5ff05; }

.hero { position: relative; min-height: 650px; height: calc(100svh - 166px); max-height: 890px; isolation: isolate; display: flex; flex-direction: column; align-items: center; }
.atmosphere { position: absolute; z-index: -1; inset: 0 -5vw; pointer-events: none; background: radial-gradient(ellipse 35% 42% at 50% 48%, #784ba933, #39244f0c 70%, transparent); animation: atmosphere 13s ease-in-out infinite alternate; }
.hero-heading { position: relative; z-index: 2; width: 100%; padding-top: clamp(24px, 4vh, 48px); text-align: center; animation: arrive 1.2s var(--ease) both; }
h1 { margin: 0; font-size: clamp(55px, 14.8vw, 190px); font-weight: 500; line-height: .98; letter-spacing: -.075em; text-wrap: balance; overflow-wrap: anywhere; color: #f0eafa; text-shadow: 0 2px 36px #c7a6fa0a; }
.portrait { position: absolute; z-index: 0; inset: clamp(150px, 17vw, 240px) 0 98px; display: flex; justify-content: center; align-items: center; margin: 0; pointer-events: none; }
.portrait img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent 0%, #000 4%, #000 67%, transparent 100%); mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent 0%, #000 4%, #000 67%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; animation: portrait-in 1.5s var(--ease) both; }
.hero-actions { position: relative; z-index: 3; margin-top: auto; padding: 16px 0 29px; width: min(460px, 100%); text-align: center; animation: arrive 1.1s .18s var(--ease) both; }
.tagline { margin: 0 0 22px; font-size: 18px; font-weight: 400; letter-spacing: -.025em; color: #e1d7ed; text-shadow: 0 2px 18px var(--bg); }
.platforms { display: grid; grid-template-columns: 1.35fr 1fr 58px; gap: 10px; }
.platform { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 16px 20px; border-radius: 18px; border: 1px solid #d8c3ff21; font-size: 13px; letter-spacing: .04em; font-weight: 600; cursor: pointer; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease); }
.primary { background: #ede5fc; color: #201333; border-color: #e8d9ff; box-shadow: 0 6px 28px #b488f618; }
.secondary, .social { background: #1c152bea; color: #eee4fc; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.social { padding: 16px; }
.platform svg { flex: 0 0 auto; }
.platform[aria-disabled='true'] { cursor: default; }
.platform[aria-disabled='true'] > svg { opacity: .55; }
.platform[aria-busy='true'] > svg { animation: breathe 1.6s ease-in-out infinite alternate; }
.contract { display: flex; align-items: center; gap: 12px; margin-top: 15px; min-height: 45px; padding: 0 3px 0 14px; border: 1px solid #d8c3ff10; border-radius: 14px; background: #0c09186b; }
.contract-label { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.contract-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-family: 'Space Grotesk', monospace; font-size: 11px; color: #c1b5d4; user-select: all; }
.copy { border: 0; border-radius: 11px; background: transparent; color: #c1b5d4; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; min-width: 75px; padding: 10px; font-size: 9px; letter-spacing: .055em; cursor: pointer; transition: color .3s ease, background .3s ease; }
.copy:disabled { cursor: default; opacity: .45; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; border-top: 1px solid var(--line); color: #9e94af; font-size: 10px; line-height: 1.6; }
.footer > span { flex-shrink: 0; }
.footer p { margin: 0; text-align: right; }
.footer-dot { margin-inline: 10px; color: #695e7b; }
.status { position: fixed; z-index: 9; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); padding: 13px 19px; border: 1px solid #cab5ea35; border-radius: 16px; background: #231933f5; box-shadow: 0 8px 40px #0004; font-size: 13px; color: #eee6fa; pointer-events: none; transition: opacity .25s ease; }
.status:empty { opacity: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; border-radius: 12px; background: #f3eaff; color: #241333; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.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 (hover: hover) {
  .platform:not([aria-disabled='true']):hover { transform: translateY(-3px); border-color: #dac5ff7a; }
  .primary:not([aria-disabled='true']):hover { background: #faf6ff; box-shadow: 0 10px 36px #b488f62b; }
  .secondary:not([aria-disabled='true']):hover, .social:not([aria-disabled='true']):hover { background: #30223f; }
  .copy:not(:disabled):hover { color: #fff; background: #c6a2ff10; }
  .brand:hover { color: #d7bef7; }
}
.platform:not([aria-disabled='true']):active { transform: translateY(0); }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes portrait-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes atmosphere { from { opacity: .65; } to { opacity: 1; } }
@keyframes breathe { from { opacity: .4; } to { opacity: .9; } }

@media (max-width: 760px) {
  .header { min-height: 80px; }
  .header-meta { gap: 12px; }
  .chain { display: none; }
  .brand { font-size: 12px; gap: 8px; letter-spacing: .015em; }
  .brand img { width: 34px; height: 34px; }
  .ticker { font-size: 10px; padding: 8px 11px; }
  .hero { min-height: 610px; height: calc(100svh - 154px); max-height: 850px; }
  .hero-heading { padding-top: 40px; }
  h1 { font-size: 15.5vw; letter-spacing: -.075em; }
  .portrait { inset: calc(74px + 10.7vw) -18px 122px; }
  .hero-actions { padding-bottom: 25px; }
  .tagline { font-size: 17px; margin-bottom: 20px; }
  .footer { gap: 8px; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 18px; font-size: 9px; }
  .footer p { text-align: left; }
}
@media (max-width: 400px) {
  .page { padding-inline: 18px; }
  .header { gap: 12px; }
  .brand { font-size: 11px; }
  .brand img { width: 29px; height: 29px; border-radius: 9px; }
  .ticker { font-size: 9px; padding: 8px 9px; }
  h1 { font-size: 15.5vw; }
  .hero { min-height: 560px; }
  .portrait { inset: calc(74px + 10.7vw) -14px 139px; }
  .platforms { grid-template-columns: 1.35fr 1fr 52px; gap: 8px; }
  .platform { min-height: 54px; padding: 15px 13px; gap: 11px; border-radius: 16px; font-size: 11px; }
  .contract { gap: 9px; padding-left: 11px; }
  .contract-value { font-size: 10px; }
  .copy { min-width: 69px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
