@font-face { font-family: Inter; src: url("./assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("./assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("./assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("./assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  --background: #0d0d0f;
  --foreground: #f0f1f5;
  --surface: #16171c;
  --muted: #a8b0bc;
  --accent: #6478ff;
  --link: #a8b2ff;
  --border: #2d2e36;
  --mono: "JetBrains Mono", monospace;
  font-family: Inter, system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.6; }
button { font: inherit; color: inherit; cursor: pointer; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 12px; background: var(--foreground); color: var(--background); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; text-decoration: none; font-weight: 700; font-size: 1.42rem; letter-spacing: -.06em; }
.brand small { font-size: .66em; font-weight: 400; letter-spacing: -.045em; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover { color: var(--foreground); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 17px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; font-size: .88rem; text-align: center; text-decoration: none; }
.button:hover { border-color: var(--link); }
.primary { background: var(--accent); border-color: var(--accent); color: #090a11; }
.primary:hover { background: #a8b2ff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero { position: relative; min-height: 530px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; isolation: isolate; overflow: hidden; border: 1px solid #282a42; border-radius: 22px; background: radial-gradient(ellipse at 77% 55%, #252a68 0%, #181b3c 38%, #11121d 68%); }
.hero-copy { padding: 52px clamp(36px, 6vw, 80px); position: relative; z-index: 1; }
h1 { margin: 0 0 19px; font-size: clamp(3rem, 7.2vw, 6.15rem); line-height: .94; letter-spacing: -.087em; }
h1 span { color: #8998ff; }
.intro { max-width: 390px; margin-bottom: 27px; color: #c9cbdd; font-size: 1.06rem; }
.hero-art { position: absolute; width: 53%; height: 100%; right: 0; display: grid; place-items: center; pointer-events: none; perspective: 1100px; }
.hero-wheel { position: relative; isolation: isolate; width: min(86%, 465px); transform: rotateX(23deg) rotateZ(-12deg); }
.hero-wheel::before { content: ""; position: absolute; z-index: -1; inset: 1.5% 1% -1%; border-radius: 50%; background: linear-gradient(130deg, #8390ae, #262d45 26%, #101421 59%, #465070 83%, #181b32); box-shadow: 0 8px 0 #101220, 0 16px 30px #05060cd9, 0 34px 58px #03040bd9; }
.hero-wheel > img { width: 100%; height: auto; }
.hero-wheel-hub { position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 50%; border: 1px solid #a3adca; background: radial-gradient(ellipse at 31% 12%, #5e6c8c, #26324b 52%, #101729 88%); box-shadow: inset 0 1px 2px #ffffff66, inset 0 0 0 4px #b4c4f224, 0 4px 0 #101522, 0 9px 18px #040711b0; }
.hero-wheel-hub img { width: 46%; height: auto; filter: drop-shadow(0 2px 4px #080b18); }

.section { padding: 58px 0; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -.06em; }
.section-heading p, .muted { color: var(--muted); }
.subsection { margin-top: 32px; margin-bottom: 14px; }
.subsection h3 { font-size: 1.25rem; letter-spacing: -.035em; }
.asset-grid, .shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.asset-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.asset, .shot, .copy-card, .contract-list, .resource { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.asset, .shot { overflow: hidden; }
.asset-preview, .swatches { height: 194px; }
.asset-preview { display: grid; place-items: center; }
.asset-preview.blue { background: radial-gradient(ellipse at 50% 55%, #242b5a, #12152c 72%); }
.asset-preview.dark { background: radial-gradient(ellipse at 50% 55%, #262731, #101015 72%); }
.asset-info { padding: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 7px 12px; }
.asset-info h3, .copy-card h3, .resource h3 { font-size: 1rem; letter-spacing: -.025em; }
.asset-info a, .asset-info .muted { font-size: .875rem; }
.asset-info a { color: var(--link); text-underline-offset: 3px; }
.formats { display: flex; flex-wrap: wrap; gap: 11px; }
.logo-info { display: grid; justify-content: stretch; }
.swatches { display: grid; }
.swatch { border: 0; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 0 17px; text-align: left; }
.swatch:focus-visible { outline-offset: -5px; }
.swatch:hover span { text-decoration: underline; }
.swatch code, .chain, .address { font-family: var(--mono); }
.swatch-blue { background: var(--accent); color: #090a11; }
.swatch-dark { background: var(--background); color: var(--foreground); }
.swatch-light { background: var(--foreground); color: var(--background); }
.shot > a { display: block; }
.shot > a:focus-visible { outline-offset: -4px; }
.shot img { width: 100%; height: auto; transition: opacity .15s ease; }
.shot > a:hover img { opacity: .8; }

.copy-grid, .resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.copy-card { padding: 22px; }
.copy-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.copy-card p, .resource p { color: var(--muted); }
.copy { min-height: 36px; min-width: 62px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--link); background: var(--background); font-size: .875rem; }
.copy:hover { border-color: var(--link); }
.chain { margin-inline-start: 8px; font-size: .85rem; color: var(--link); }
.contract-list { overflow: hidden; }
.contract-row { display: grid; grid-template-columns: minmax(145px, 1fr) auto auto; gap: 12px 18px; align-items: center; padding: 12px 18px; }
.contract-row + .contract-row { border-top: 1px solid var(--border); }
.contract-row h3 { font-size: .95rem; }
.address { font-size: .85rem; color: var(--link); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contract-links { margin-top: 16px; }
.resource { display: block; padding: 19px 22px; text-decoration: none; }
.resource:hover { border-color: var(--link); }
.resource p { margin-top: 5px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px 40px; }
.footer p { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.status:not(:empty) { position: fixed; z-index: 5; inset: auto 18px 18px auto; max-width: calc(100vw - 36px); padding: 12px 16px; border: 1px solid var(--link); border-radius: 8px; background: var(--surface); }

@media (max-width: 1000px) {
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 40px); }
  .hero { min-height: 450px; }
  .hero-copy { padding: 40px 30px; }
  .hero-art { right: -2%; }
  .asset-info { align-items: flex-start; flex-direction: column; }
  .asset-preview, .swatches { height: 160px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .header { padding-block: 12px; gap: 6px 12px; flex-wrap: wrap; }
  .header nav { min-height: 38px; order: 3; width: 100%; justify-content: space-between; gap: 8px; }
  .header-site { min-height: 38px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: radial-gradient(ellipse at 58% 72%, #252a68, #11121d 72%); }
  .hero-copy { padding: 35px 21px 4px; }
  h1 { font-size: clamp(2.85rem, 11vw, 4.4rem); }
  .hero-art { position: relative; right: auto; width: 100%; height: 245px; margin-top: 10px; }
  .hero-wheel { width: min(72%, 236px); transform: rotateX(20deg) rotateZ(-12deg); }
  .section { padding-block: 39px; }
  .section-heading { flex-direction: column; gap: 4px; }
  .asset-grid, .shot-grid, .copy-grid, .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .asset-info { flex-direction: row; }
  .contract-row { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 7px 11px; padding-inline: 12px; }
  .contract-row .address { grid-row: 2; grid-column: 1 / -1; }
  .contract-row .copy { grid-row: 1; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
