:root {
  --bg: #0d0d0f;
  --panel: #151518;
  --panel2: #1b1b1e;
  --text: #f0eee8;
  --muted: #a09e99;
  --gold: #d9b98b;
  --line: rgba(255, 255, 255, 0.105);
  --green: #91c8ad;
  --red: #e38e88;
  --yellow: #e7c16d;
  --skin: #d1aa95;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx: 50%;
  --my: 30%;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.15' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  opacity: 0.12;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.wrap {
  max-width: 1320px;
  margin: auto;
  padding: 0 clamp(22px, 5vw, 76px);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow:before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--gold);
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.gold {
  color: var(--gold);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 13, 15, 0.83);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

.mark {
  width: 31px;
  height: 31px;
  display: inline-block;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-links a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.015em;
  transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(217, 185, 139, 0.07);
}

.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130e;
}

.btn.primary:hover:not(:disabled) {
  background: #efcf9f;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
}

.progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  width: 0;
  box-shadow: 0 0 10px var(--gold);
}

.hero {
  min-height: calc(100svh - 76px);
  max-height: 1050px;
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at var(--mx) var(--my), rgba(147, 111, 65, 0.14), transparent 48%), radial-gradient(ellipse at 85% 45%, #211d19 0%, transparent 52%);
  transition: background 0.15s;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 13, 15, 0.9), transparent 78%), linear-gradient(0deg, var(--bg), transparent 18%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  width: 100%;
  padding-top: 65px;
  padding-bottom: 92px;
  gap: 12px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(64px, 9vw, 143px);
  line-height: 0.88;
  margin: 31px 0 30px;
  font-weight: 430;
  letter-spacing: -0.09em;
}

.hero h1 em {
  font-weight: 400;
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  letter-spacing: -0.085em;
}

.hero p {
  font-size: clamp(15px, 1.5vw, 19px);
  max-width: 450px;
  color: #b8b4ac;
  line-height: 1.75;
  margin: 0 0 29px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 27px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #77756e;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta span:nth-child(2) {
  color: var(--gold);
}

.hero-art {
  position: relative;
  min-width: 0;
  height: clamp(300px, 43vw, 590px);
  perspective: 900px;
  display: grid;
  place-items: center;
}

.art-stage {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.art-stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 35px rgba(217, 185, 139, 0.09));
}

.orbit {
  transform-origin: 250px 250px;
  animation: spin 36s linear infinite;
}

.orbit.reverse {
  animation-direction: reverse;
  animation-duration: 50s;
}

.glowline {
  animation: glow 5s ease-in-out infinite;
}

.hero-offscreen .orbit,
.hero-offscreen .glowline,
.tab-hidden .orbit,
.tab-hidden .glowline {
  animation-play-state: paused;
}

.art-label {
  position: absolute;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.art-label.top {
  top: 12%;
  right: 2%;
}

.art-label.bottom {
  bottom: 9%;
  left: 3%;
}

.art-label:before {
  content: "+ ";
  color: var(--gold);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  50% {
    opacity: 0.48;
  }
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  overflow: hidden;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #99958d;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.strip-inner b {
  color: var(--gold);
  font-weight: 400;
  font-size: 14px;
}

.section {
  padding: clamp(75px, 10vw, 145px) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
}

.section h2 {
  font-size: clamp(43px, 6.5vw, 88px);
  line-height: 1.01;
  letter-spacing: -0.065em;
  font-weight: 430;
  margin: 15px 0 0;
}

.section-head p {
  max-width: 335px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Interactive Product Directory */
.directory {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dir-row {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(217, 185, 139, 0.08), transparent 72%), linear-gradient(135deg, #191719, #111113);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}

.dir-row:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.dir-row:hover:before,
.dir-row.is-expanded:before {
  opacity: 1;
}

.dir-row.is-expanded,
.dir-row:hover {
  border-color: rgba(217, 185, 139, 0.38);
}

.dir-row.is-expanded {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.dir-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: 56px 52px minmax(110px, 160px) 1fr auto 36px;
  align-items: center;
  gap: 18px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.dir-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}

.dir-mark {
  width: 46px;
  height: 46px;
  background: #25221e;
  border: 1px solid #493c2b;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
}

.dir-mark svg {
  width: 26px;
  height: 26px;
}

.dir-name {
  font-size: 22px;
  font-weight: 560;
  letter-spacing: 0.06em;
  color: var(--text);
}

.dir-short {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.dir-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}

.dir-row.is-expanded .dir-chevron {
  transform: rotate(45deg);
  border-color: rgba(217, 185, 139, 0.45);
  background: rgba(217, 185, 139, 0.08);
}

.dir-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.dir-row.is-expanded .dir-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.dir-panel-clip {
  overflow: hidden;
  min-height: 0;
}

.dir-panel-inner {
  padding: 0 clamp(20px, 3vw, 34px) clamp(24px, 3.5vw, 38px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.dir-row.is-expanded .dir-panel-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease) 0.06s, transform 0.45s var(--ease) 0.06s;
}

.dir-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding-top: 26px;
  align-items: start;
}

.dir-grid.single {
  grid-template-columns: 1fr;
}

.dir-info h3 {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.dir-info p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 14px;
  line-height: 1.65;
}

.dir-purpose {
  padding: 11px 13px;
  border-left: 2px solid var(--gold);
  background: rgba(217, 185, 139, 0.04);
  font-size: 12.5px;
  color: var(--text);
  margin: 14px 0 18px;
}

.dir-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.dir-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
  font-size: 12px;
}

.dir-badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--muted);
}

.dir-badge.preview {
  color: var(--green);
  border-color: rgba(145, 200, 173, 0.35);
}

.dir-badge.planned {
  color: var(--gold);
  border-color: rgba(217, 185, 139, 0.35);
}

.dir-meta {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.dir-meta strong {
  color: var(--text);
  font-weight: 550;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px #c69b60;
}

.status.research {
  color: var(--muted);
}

.status.research:before {
  background: var(--muted);
  box-shadow: none;
}

.preview-zone {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 70% 55%, #342b22, transparent 75%);
}

.preview-zone:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse, #000 0%, transparent 68%);
  opacity: 0.25;
  pointer-events: none;
}

.dash {
  position: relative;
  width: 100%;
  max-width: 690px;
  border: 1px solid #3c3834;
  border-radius: 10px;
  background: #101013;
  box-shadow: 0 30px 75px #0009;
  overflow: hidden;
  transform: perspective(1500px) rotateY(-2deg) rotateX(1.5deg);
  transition: transform 0.6s var(--ease);
  font-size: 11px;
}

.dash:hover, .dash:focus-within {
  transform: none;
}

.dash-top {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  gap: 8px;
}

.dash-top strong {
  color: var(--text);
  letter-spacing: 0.12em;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52504c;
}

.dash-body {
  display: grid;
  grid-template-columns: 99px 1fr;
  min-height: 335px;
}

.dash-side {
  padding: 15px 8px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab {
  border: 0;
  background: transparent;
  padding: 9px 6px;
  text-align: left;
  font-size: 10px;
  border-radius: 4px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.tab[aria-selected="true"] {
  background: #29241f;
  color: var(--gold);
}

.tab:hover {
  color: var(--text);
}

.tab-icon {
  font-size: 11px;
}

.dash-main {
  padding: 14px;
  min-width: 0;
}

.dash-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.dash-title strong {
  font-size: 15px;
  font-weight: 600;
}

.dash-title span {
  font-size: 9px;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.metric {
  padding: 9px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #17171a;
  min-width: 0;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.metric b {
  font-size: clamp(12px, 1.4vw, 17px);
  letter-spacing: -0.055em;
  font-weight: 550;
  display: block;
  margin-top: 4px;
}

.metric b.positive {
  color: var(--green);
}

.usage-bar {
  height: 3px;
  background: var(--gold);
  margin-top: 9px;
  border-radius: 3px;
}

.chart {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 9px;
  background: #151518;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.chart-head span {
  font-size: 9px;
  color: var(--muted);
}

.range {
  display: flex;
  gap: 2px;
}

.range button {
  padding: 3px 6px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
}

.range button[aria-pressed="true"] {
  background: #30271e;
  color: var(--gold);
}

.chart svg {
  width: 100%;
  display: block;
  height: 103px;
  overflow: visible;
}

.chart path {
  transition: d 0.4s;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #88857f;
}

.mini-table {
  margin-top: 10px;
}

.trade-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  font-size: 10px;
}

.trade-row span:last-child {
  text-align: right;
}

.trade-row.head {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.event {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 8px 0;
  padding: 12px 7px;
}

.event time {
  font-size: 10px;
  color: var(--muted);
}

.event b {
  font-size: 10px;
  font-weight: 600;
}

.event small {
  font-size: 8px;
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.high {
  color: var(--red);
  background: #e38e8818;
}

.medium {
  color: var(--yellow);
  background: #e7c16d18;
}

.low {
  color: var(--skin);
  background: #d1aa9518;
}

.demo-note {
  margin: 9px 0 0;
  font-size: 9px;
  color: var(--muted);
}

.panel[hidden] {
  display: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 17px;
}

.feature {
  position: relative;
  padding: 29px;
  min-height: 172px;
  background: radial-gradient(140px circle at var(--x, 50%) var(--y, 50%), #d9b98b0e, transparent 95%);
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border: 0;
}

.feature svg {
  width: 25px;
  height: 25px;
  color: var(--gold);
}

.feature h3 {
  font-size: 16px;
  font-weight: 550;
  margin: 12px 0 5px;
}

.feature p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.studio {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 18% 60%, #1d1916, transparent 55%);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}

.studio h2 {
  max-width: 580px;
}

.studio-copy {
  padding-top: 34px;
}

.studio-copy > p {
  font-size: 19px;
  color: #bcb7af;
  max-width: 540px;
  margin: 0 0 25px;
  line-height: 1.65;
}

.principle {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle span {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.13em;
}

.principle b {
  font-size: 14px;
  font-weight: 500;
}

.download-section {
  padding-top: 40px;
}

.download-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #514434;
  border-radius: 14px;
  padding: clamp(35px, 6vw, 83px);
  background: linear-gradient(120deg, #211c17, #141315 75%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.download-box:before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -125px;
  border: 1px solid #d9b98b20;
  border-radius: 50%;
  box-shadow: 0 0 0 40px #d9b98b09, 0 0 0 85px #d9b98b07, 0 0 0 130px #d9b98b05;
  z-index: -1;
}

.download-box h2 {
  font-size: clamp(40px, 6vw, 78px);
}

.download-box p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 450px;
}

.download-box .btn {
  min-height: 55px;
  padding: 0 25px;
}

.faq {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 65px;
}

.faq h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: "+";
  color: var(--gold);
  font-size: 21px;
  line-height: 1;
}

.faq details[open] summary:after {
  content: "−";
}

.faq p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 680px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 25px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-top p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #918e87;
  font-size: 10px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.dialog {
  width: min(510px, calc(100% - 32px));
  max-height: 90svh;
  overflow: auto;
  padding: 30px;
  border: 1px solid #54483b;
  border-radius: 15px;
  color: var(--text);
  background: #19181b;
  box-shadow: 0 20px 90px #000b;
}

.dialog::backdrop {
  background: #050506b8;
  backdrop-filter: blur(9px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.dialog h2 {
  font-weight: 500;
  font-size: 29px;
  letter-spacing: -0.055em;
  margin: 10px 0;
}

.dialog p {
  color: var(--muted);
  font-size: 13px;
}

.close {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.platforms {
  display: grid;
  gap: 9px;
  margin: 20px 0;
}

.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #111113;
  text-align: left;
}

.platform[aria-pressed="true"] {
  border-color: var(--gold);
  background: #2c251e;
}

.platform b {
  font-size: 14px;
  font-weight: 550;
}

.platform small {
  color: var(--muted);
  font-size: 11px;
}

.platform .radio-dot {
  width: 15px;
  height: 15px;
  border: 1px solid #8a8070;
  border-radius: 50%;
  flex: none;
}

.platform[aria-pressed="true"] .radio-dot {
  box-shadow: inset 0 0 0 3px #2c251e;
  background: var(--gold);
  border-color: var(--gold);
}

.dialog .notice {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
}

.dialog .btn {
  width: 100%;
}

.shortcut {
  font-size: 10px;
  color: var(--muted);
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99;
  background: var(--gold);
  color: #000;
  padding: 10px;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 17px;
  }
  .hero-inner {
    grid-template-columns: 1fr 0.75fr;
  }
  .dir-trigger {
    grid-template-columns: 44px 44px 120px 1fr auto 32px;
    gap: 12px;
  }
  .dir-grid {
    grid-template-columns: 1fr;
  }
  .dash-body {
    grid-template-columns: 78px 1fr;
  }
  .dash-side {
    padding: 10px 4px;
  }
  .tab {
    font-size: 9px;
  }
  .dash-main {
    padding: 10px;
  }
  .studio-grid {
    gap: 35px;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    height: 65px;
    gap: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #141416;
    border-bottom: 1px solid var(--line);
    padding: 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 39px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 5px;
  }
  .nav-actions .btn {
    min-height: 39px;
    padding: 0 11px;
    font-size: 10px;
  }
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  .mark {
    width: 24px;
    height: 24px;
  }
  .hero {
    min-height: auto;
    max-height: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 74px;
    padding-bottom: 57px;
  }
  .hero h1 {
    font-size: clamp(70px, 13vw, 100px);
    margin: 24px 0;
  }
  .hero p {
    max-width: 430px;
  }
  .hero-art {
    height: 310px;
    margin-top: -10px;
    margin-bottom: -5px;
  }
  .hero-meta {
    bottom: 15px;
    font-size: 8px;
  }
  .hero-meta span:nth-child(2) {
    display: none;
  }
  .strip-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 8px;
    white-space: normal;
  }
  .strip-inner b:nth-of-type(2) {
    display: none;
  }
  .section-head {
    display: block;
    margin-bottom: 27px;
  }
  .section-head p {
    margin-top: 17px;
  }
  .section {
    padding: 75px 0;
  }
  .dir-trigger {
    grid-template-columns: 36px 42px 1fr 32px;
    gap: 10px;
    padding: 18px 16px;
  }
  .dir-short {
    grid-column: 1 / -1;
    order: 5;
  }
  .dir-status-wrap {
    grid-column: 1 / -1;
    order: 4;
  }
  .preview-zone {
    padding: 14px 10px;
  }
  .dash {
    transform: none;
  }
  .dash-body {
    grid-template-columns: 75px 1fr;
    min-height: 305px;
  }
  .dash-title strong {
    font-size: 13px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics .metric b {
    font-size: 14px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 23px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .studio-copy {
    padding-top: 10px;
  }
  .studio-copy > p {
    font-size: 17px;
  }
  .download-section {
    padding-top: 12px;
  }
  .download-box {
    display: block;
    padding: 33px 25px;
  }
  .download-box .btn {
    margin-top: 25px;
  }
  .footer-top {
    display: block;
  }
  .footer-links {
    margin-top: 20px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .art-label {
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .nav-actions .btn {
    display: none;
  }
  .hero h1 {
    font-size: 62px;
  }
  .dash-body {
    grid-template-columns: 62px 1fr;
  }
  .tab {
    font-size: 8px;
    gap: 3px;
  }
  .dash-main {
    padding: 7px;
  }
  .metric {
    padding: 6px 4px;
  }
  .metric small {
    font-size: 7px;
  }
  .metric b {
    font-size: 12px !important;
  }
  .event {
    grid-template-columns: 30px 1fr auto;
    gap: 3px;
  }
  .event small {
    padding: 2px 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .art-stage, .dash {
    transform: none !important;
  }
}
