:root {
  --snow: #f4f4f1;
  --ink: #121214;
  --studio: #070708;
  --paper: #f3efe8;
  --quiet: #d2d2cc;
  --quiet-ink: #3a3a36;
  --display: "Titan One", "Arial Black", sans-serif;
  --body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--studio);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--snow);
  background: var(--studio);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

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

button {
  appearance: none;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

::selection {
  background: var(--snow);
  color: var(--ink);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 7, 8, 0.92);
  border-bottom: 4px solid var(--snow);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
  min-height: 4.6rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 52px;
  height: auto;
}

.brand span {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.nav-links a {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.12rem;
}

.nav-links a:hover {
  border-bottom-color: var(--snow);
}

.studio {
  background-color: var(--studio);
  background-image:
    radial-gradient(ellipse 50% 42% at 0% 0%, rgba(255, 255, 255, 0.075), transparent 58%),
    radial-gradient(ellipse 40% 36% at 100% 8%, rgba(150, 186, 230, 0.11), transparent 62%),
    radial-gradient(ellipse 46% 34% at 78% 100%, rgba(214, 176, 132, 0.08), transparent 64%);
}

.sheet {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(214, 176, 132, 0.2), transparent 52%),
    radial-gradient(ellipse 64% 50% at 100% 100%, rgba(150, 186, 230, 0.14), transparent 56%);
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding: 2.4rem 0 4.2rem;
}

.hero-grid,
.split {
  display: grid;
  align-items: center;
  gap: 2.4rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.meta-chain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 5px;
  height: 5px;
  background: currentColor;
}

h1,
h2,
.tab,
.step h3,
.ca-label,
.brand span {
  font-family: var(--display);
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow: 6px 6px 0 rgba(244, 244, 241, 0.16);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.02;
  text-wrap: balance;
}

.studio h2 {
  text-shadow: 5px 5px 0 rgba(244, 244, 241, 0.14);
}

.sheet h2 {
  text-shadow: 4px 4px 0 rgba(18, 18, 20, 0.1);
}

.ink-rule {
  width: 4.75rem;
  height: 5px;
  margin: 1rem 0 0;
  border: 0;
  background: currentColor;
}

.narration {
  max-width: min(40rem, 100%);
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border: 3px solid currentColor;
  box-shadow: 6px 6px 0 rgba(244, 244, 241, 0.14);
  font-size: 1.125rem;
  line-height: 1.65;
}

.sheet .narration {
  box-shadow: 6px 6px 0 rgba(18, 18, 20, 0.12);
  background: rgba(255, 255, 255, 0.38);
}

.lead {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--quiet);
  font-size: 1.12rem;
}

.sheet .lead {
  color: var(--quiet-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.btn,
.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn {
  min-height: 3.25rem;
  padding: 0.6rem 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.btn-solid,
.copy {
  background: var(--snow);
  color: #111;
  border: 3px solid var(--snow);
  box-shadow: 4px 4px 0 rgba(244, 244, 241, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--snow);
  border: 3px solid var(--snow);
  box-shadow: 4px 4px 0 rgba(244, 244, 241, 0.18);
}

.btn:hover,
.copy:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(244, 244, 241, 0.4);
}

.btn:active,
.copy:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 transparent;
}

.icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
}

.icon-ink {
  filter: brightness(0);
}

.btn .bi,
.copy .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding: 0.7rem 0.7rem 0.7rem 1rem;
  border: 3px solid var(--snow);
  background: rgba(0, 0, 0, 0.28);
}

.ca-label {
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.ca code {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Cascadia Mono", "Segoe UI Mono", ui-monospace, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.45;
  user-select: all;
}

.copy {
  min-height: 2.7rem;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.plate {
  width: min(100%, 500px);
  margin: 0;
  padding: 10px;
  border: 4px solid currentColor;
  background: #000;
  box-shadow: 7px 7px 0 currentColor;
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
}

.sheet .plate {
  background: #fff;
}

.banner-band {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: #050505;
  border-top: 4px solid var(--snow);
  border-bottom: 4px solid var(--snow);
}

.banner-band img {
  display: block;
  width: min(100%, 1500px);
  height: auto;
}

.tab {
  display: inline-block;
  margin: 0 0 1.05rem;
  padding: 0.42rem 0.85rem 0.3rem;
  background: var(--ink);
  color: var(--snow);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(18, 18, 20, 0.16);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.studio .tab {
  background: var(--snow);
  color: var(--ink);
  border-color: var(--snow);
  box-shadow: 4px 4px 0 rgba(244, 244, 241, 0.2);
}

.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash .ink-rule {
  margin-inline: auto;
}

.splash .plate {
  margin-top: 2rem;
}

.buy {
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.steps {
  margin-top: 2.2rem;
  border-top: 3px solid var(--snow);
}

.step {
  display: grid;
  gap: 0.55rem;
  padding: 1.4rem 0;
  border-bottom: 3px solid var(--snow);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.step h3 .icon {
  width: 26px;
  height: 26px;
}

.step p {
  color: var(--quiet);
  font-size: 1.08rem;
}

.fine {
  max-width: 40rem;
  margin-top: 1.15rem;
  color: var(--quiet);
  font-size: 0.95rem;
}

.community {
  padding: clamp(3.5rem, 8vw, 6rem) 0 3rem;
  border-top: 4px solid var(--snow);
  text-align: center;
}

.community .tab,
.community .lead,
.community .actions {
  margin-inline: auto;
}

.community .ink-rule {
  margin-inline: auto;
}

.community .actions {
  justify-content: center;
}

.community .lead {
  max-width: 36rem;
}

.plate-mark {
  width: min(100%, 300px);
  margin: 2rem auto;
}

.footer {
  padding: 0 1.25rem 2.4rem;
  background: var(--studio);
  color: var(--quiet);
  text-align: center;
  border-top: 4px solid var(--snow);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--snow);
  outline-offset: 3px;
}

.story,
.art {
  min-width: 0;
}

.art {
  display: flex;
  justify-content: center;
}

.hero-copy,
.step {
  min-width: 0;
}

@media (max-width: 959px) {
  .hero .hero-art {
    order: -1;
  }
}

@media (min-width: 760px) {
  .step {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(320px, 1.12fr) minmax(280px, 0.88fr);
    gap: 4.5rem;
  }

  .hero .hero-art {
    justify-content: flex-end;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .copy {
    transition: none;
  }
}
