:root {
  --bg: #080808;
  --ink: #f4f1e8;
  --muted: #aaa59a;
  --soft: #747066;
  --line: rgba(244, 241, 232, 0.12);
  --panel: #111111;
  --panel-2: #161616;
  --blue: #7dd3fc;
  --green: #9ae66e;
  --amber: #f2bf5a;
  --red: #ff6d84;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 96px 96px, 96px 96px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 760;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.header-actions,
footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 21px;
  font-weight: 950;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}

.site-header nav {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.site-header nav a,
footer nav a,
.header-actions a {
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.site-header nav a:hover,
footer nav a:hover,
.header-actions a:hover {
  color: #ffffff;
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.button-dark,
.claim-inline button,
.plans a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #080808;
}

.button-dark {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
}

.button-dark:hover,
.claim-inline button:hover,
.plans a:hover {
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background:
    linear-gradient(120deg, rgba(125, 211, 252, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(242, 191, 90, 0.08), transparent 30%),
    url("./assets/card-bg.png") right center / cover no-repeat,
    #111;
  opacity: 0.5;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.86) 42%, rgba(8, 8, 8, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.1), #080808 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding: 92px 0 190px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.92;
  font-weight: 950;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: #dfdbd1;
  font-size: 20px;
}

.claim-inline {
  width: min(100%, 560px);
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 8px;
  padding: 6px;
  background: rgba(10, 10, 10, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.claim-inline span {
  padding-left: 14px;
  color: #f7f4ec;
  font-weight: 950;
}

.claim-inline input {
  min-width: 0;
  height: 46px;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-weight: 850;
}

.claim-inline input::placeholder {
  color: rgba(244, 241, 232, 0.42);
}

.claim-inline button {
  min-height: 46px;
  padding: 0 22px;
  font-weight: 950;
}

.hero-dock {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-dock article,
.system-grid article,
.studio-panel,
.console-card,
.plans article,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.84);
}

.hero-dock article {
  min-height: 120px;
  padding: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-dock span,
.index,
.plans span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-dock b {
  display: block;
  margin: 16px 0 8px;
  font-size: 18px;
}

.hero-dock p,
.system-grid p,
.section-copy p,
.console-card p,
.plans p,
footer p {
  margin-bottom: 0;
}

.intro-strip,
.system-grid,
.studio-section,
.discord-section,
.access-section,
.final-cta,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: end;
  padding: 92px 0 44px;
}

.intro-strip h2,
.section-copy h2,
.discord-copy h2,
.access-section h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 0.98;
  font-weight: 950;
}

.intro-strip > p {
  max-width: 620px;
  margin-bottom: 18px;
  color: #d2cec4;
  font-size: 18px;
}

.system-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 104px;
}

.system-grid article {
  min-height: 300px;
  display: grid;
  align-content: end;
  padding: 22px;
  background: var(--panel);
}

.system-grid h3,
.plans h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.05;
}

.profile-preview {
  min-height: 440px !important;
  align-content: center !important;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.11), rgba(255, 109, 132, 0.08)),
    #111 !important;
}

.mini-card {
  width: min(100%, 320px);
  margin: 0 auto;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #171717;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
}

.mini-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #080808;
}

.mini-avatar img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.mini-card h3 {
  margin: 0;
  font-size: 38px;
}

.mini-card > span {
  display: block;
  margin: 4px 0 18px;
  color: var(--muted);
}

.mini-card p {
  max-width: 230px;
  margin: 0 auto 20px;
  color: #f0ece4;
}

.mini-badges,
.mini-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.mini-badges {
  margin-bottom: 16px;
}

.mini-badges b,
.mini-socials i {
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.mini-badges b {
  padding: 7px 9px;
  color: #ffe7a9;
  font-size: 12px;
}

.mini-socials i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.studio-section,
.discord-section,
.access-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-copy p,
.discord-copy p {
  max-width: 560px;
  font-size: 17px;
}

.studio-panel {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 390px;
  overflow: hidden;
  background: var(--panel);
}

.studio-panel aside {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding: 18px;
  background: #0d0d0d;
}

.studio-panel aside b {
  margin-bottom: 8px;
}

.studio-panel aside span {
  border-radius: 8px;
  padding: 11px 10px;
  color: var(--muted);
}

.studio-panel aside .active {
  background: rgba(125, 211, 252, 0.12);
  color: #ffffff;
}

.studio-panel section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.studio-panel header,
.console-card header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.studio-panel header strong {
  font-size: 26px;
}

.studio-panel header em,
.console-card header b {
  border: 1px solid rgba(154, 230, 110, 0.28);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(154, 230, 110, 0.1);
  color: #cfffac;
  font-style: normal;
  font-size: 12px;
}

.setting-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.035);
}

.setting-row span {
  color: var(--muted);
}

.discord-section {
  grid-template-columns: 1fr 0.9fr;
}

.console-card {
  min-height: 340px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(88, 101, 242, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.console-card header {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-card code {
  display: block;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #0b0b0b;
  color: #c7efff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.console-result {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.console-result img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.console-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.access-section {
  grid-template-columns: 0.72fr 1.28fr;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plans article {
  min-height: 280px;
  display: grid;
  align-content: start;
  padding: 24px;
  background: var(--panel);
}

.plans article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(242, 191, 90, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.plans a {
  width: fit-content;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  align-self: end;
  margin-top: 28px;
  padding: 0 16px;
  font-weight: 950;
}

.final-cta {
  display: grid;
  justify-items: center;
  border-color: rgba(125, 211, 252, 0.18);
  padding: 78px 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.final-cta .claim-inline {
  margin-top: 10px;
}

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

footer p {
  max-width: 440px;
}

footer nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 22px;
  }

  .site-header nav {
    display: none;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-content {
    padding-bottom: 260px;
  }

  .hero-dock,
  .system-grid,
  .studio-section,
  .discord-section,
  .access-section,
  .plans,
  .intro-strip {
    grid-template-columns: 1fr;
  }

  .system-grid {
    padding-bottom: 76px;
  }
}

@media (max-width: 700px) {
  body {
    background-size: 64px 64px, 64px 64px, auto;
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .header-actions > a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
  }

  .hero-image {
    background:
      url("./assets/card-bg.png") center / cover no-repeat,
      #111;
  }

  .hero-content,
  .hero-dock,
  .intro-strip,
  .system-grid,
  .studio-section,
  .discord-section,
  .access-section,
  .final-cta,
  footer {
    width: calc(100% - 28px);
  }

  .hero-content {
    margin-left: 14px;
    padding: 74px 0 28px;
  }

  .hero h1,
  .intro-strip h2,
  .section-copy h2,
  .discord-copy h2,
  .access-section h2,
  .final-cta h2 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 17px;
  }

  .claim-inline {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
  }

  .claim-inline span {
    padding-left: 0;
  }

  .claim-inline input,
  .claim-inline button {
    width: 100%;
  }

  .hero-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 auto 28px;
  }

  .studio-panel {
    grid-template-columns: 1fr;
  }

  .studio-panel aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .console-result {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
