:root {
  color-scheme: dark;
  --bg: #0b0807;
  --ink: #130f0d;
  --panel: #1d1713;
  --panel-strong: #251d17;
  --line: rgba(231, 196, 128, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --brass: #d5a854;
  --brass-soft: rgba(213, 168, 84, 0.14);
  --red: #8d2f2f;
  --vellum: #f4ead8;
  --parchment: #cbbda5;
  --muted: #8f806c;
  --jade: #7fb18b;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(213, 168, 84, 0.13), transparent 32rem),
    radial-gradient(circle at 86% 12%, rgba(141, 47, 47, 0.16), transparent 30rem),
    linear-gradient(180deg, #140f0d 0%, var(--bg) 48%, #070504 100%);
  color: var(--vellum);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 8, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  object-fit: cover;
  background: #050302;
  box-shadow: 0 0 32px rgba(213, 168, 84, 0.18);
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

nav a {
  padding: 0.65rem 0.8rem;
  border-radius: 0.4rem;
  color: var(--parchment);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--vellum);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.page-hero,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 43rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--parchment);
}

.lead {
  max-width: 40rem;
  margin: 1.55rem 0 0;
  color: rgba(244, 234, 216, 0.78);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.hero-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(213, 168, 84, 0.08);
  color: var(--brass);
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(213, 168, 84, 0.65);
  background: linear-gradient(180deg, #e4bb67, #b98336);
  color: #140d08;
  box-shadow: 0 0 36px rgba(213, 168, 84, 0.2);
}

.button.secondary {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--vellum);
}

.note,
.small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-art {
  display: grid;
  place-items: center;
}

.app-preview {
  min-width: 0;
}

.preview-window {
  width: min(100%, 42rem);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(213, 168, 84, 0.08), transparent),
    rgba(19, 15, 13, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 48px rgba(0, 0, 0, 0.28),
    0 0 42px rgba(213, 168, 84, 0.08);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0.95rem;
  background: rgba(0, 0, 0, 0.24);
}

.preview-topbar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(244, 234, 216, 0.28);
}

.preview-topbar span:first-child {
  background: rgba(141, 47, 47, 0.8);
}

.preview-topbar span:nth-child(2) {
  background: rgba(213, 168, 84, 0.75);
}

.preview-topbar span:nth-child(3) {
  background: rgba(127, 177, 139, 0.72);
}

.preview-topbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preview-body {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  min-height: 27rem;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-right: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.preview-sidebar img {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  object-fit: cover;
  background: #050302;
  box-shadow: 0 0 26px rgba(213, 168, 84, 0.16);
}

.preview-sidebar span {
  border: 1px solid transparent;
  border-radius: 0.45rem;
  color: var(--muted);
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
}

.preview-sidebar span.active {
  border-color: rgba(213, 168, 84, 0.32);
  background: rgba(213, 168, 84, 0.12);
  color: var(--vellum);
}

.preview-content {
  padding: 1.2rem;
}

.preview-heading p {
  margin: 0 0 0.35rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-heading h2 {
  max-width: none;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.preview-stats,
.preview-grid {
  display: grid;
  gap: 0.8rem;
}

.preview-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.2rem;
}

.preview-stats div,
.preview-grid article {
  border: 1px solid var(--line-soft);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.preview-stats div {
  padding: 0.85rem;
}

.preview-stats strong,
.preview-stats span {
  display: block;
}

.preview-stats strong {
  color: var(--vellum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.preview-stats span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.preview-grid {
  margin-top: 0.8rem;
}

.preview-grid article {
  padding: 0.95rem;
}

.preview-grid h3 {
  font-size: 1rem;
}

.preview-grid p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  width: min(1180px, calc(100% - 2rem));
  margin: -2rem auto 0;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 0.75rem;
  background: rgba(19, 15, 13, 0.82);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.22);
}

.trust-strip div {
  padding: 1.15rem;
  border-right: 1px solid var(--line-soft);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--vellum);
}

.trust-strip span {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section,
.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 27rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.section p {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.8;
}

.release-card,
.feature-grid article {
  border: 1px solid var(--line-soft);
  border-radius: 0.65rem;
  background:
    linear-gradient(180deg, rgba(213, 168, 84, 0.07), transparent),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.release-card {
  padding: 1.25rem;
}

dl {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0;
}

dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

dd {
  margin: 0.25rem 0 0;
  color: var(--vellum);
}

.hash {
  overflow-wrap: anywhere;
  color: var(--jade);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid article {
  padding: 1.2rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.rights {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.community-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(141, 47, 47, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(213, 168, 84, 0.09), transparent),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 42px rgba(141, 47, 47, 0.14);
}

.community-card p {
  margin: 0.9rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.studio-logo-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 56px rgba(141, 47, 47, 0.2);
}

.studio-logo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.legal-copy {
  max-width: 820px;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.legal-copy h2 {
  margin-top: 2.2rem;
  font-size: 1.75rem;
}

.legal-copy p {
  max-width: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-soft);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.not-found img {
  width: 7rem;
  border-radius: 0.75rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .community-section,
  .studio-section,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 8.8ch;
    font-size: clamp(2.5rem, 10.5vw, 3.35rem);
  }

  .eyebrow {
    line-height: 1.45;
  }

  .preview-window {
    width: 100%;
    max-width: 34rem;
  }

  .preview-topbar {
    padding-inline: 0.8rem;
  }

  .preview-topbar strong {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .preview-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-content {
    padding: 1rem;
  }

  .preview-heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.25rem);
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .page-hero,
  .trust-strip,
  .site-footer {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  .hero {
    justify-items: start;
  }

  .hero-copy,
  .app-preview {
    width: min(100%, 22rem);
    max-width: 100%;
  }

  nav a {
    padding-inline: 0.55rem;
  }

  .lead {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .hero-points {
    display: grid;
    width: fit-content;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-points span {
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .button {
    width: 100%;
  }

  .note {
    overflow-wrap: anywhere;
  }

  .hero-points span {
    font-size: 0.72rem;
  }

  .preview-grid article,
  .preview-stats div {
    padding: 0.8rem;
  }

  .preview-window {
    max-width: 100%;
  }
}
