:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #0e0b08;
  color: rgba(232, 220, 196, 0.9);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: #0e0b08;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.page-background,
.page-noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-background {
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(20, 14, 10, 0.98), rgba(11, 9, 7, 0.99)), #0e0b08;
}

.page-noise {
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.page-glow {
  background: radial-gradient(ellipse 70% 60% at 12% 28%, rgba(150, 103, 31, 0.12), transparent 65%), radial-gradient(ellipse 50% 48% at 88% 78%, rgba(107, 27, 48, 0.1), transparent 68%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.35;
}

.orb-gold {
  top: -24rem;
  right: 8%;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(184, 134, 11, 0.14);
  box-shadow: inset 0 0 120px rgba(184, 134, 11, 0.035);
}

.orb-wine {
  bottom: -32rem;
  left: -10rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(142, 31, 58, 0.1);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

.brand,
.nav-link,
.button,
.contact-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 0.75rem;
  font-family: "Cinzel", serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 50%;
  background: rgba(32, 24, 16, 0.62);
}

.brand-mark img {
  width: 1.75rem;
  height: 1.75rem;
}

.brand-mark img {
  filter: sepia(0.45) saturate(0.75) brightness(1.25);
  opacity: 0.88;
}

.nav-link {
  gap: 0.4rem;
  color: rgba(195, 155, 85, 0.82);
  font-size: 0.875rem;
  transition: color 180ms ease;
}

.nav-link svg,
.button svg,
.migration-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  display: grid;
  align-items: center;
  gap: 3.5rem;
  min-height: calc(100vh - 104px);
  padding-block: 5rem;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(166, 124, 82, 0.22);
  border-radius: 999px;
  background: rgba(32, 23, 16, 0.58);
  color: rgba(190, 158, 112, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(195, 154, 87, 0.8);
  box-shadow: 0 0 0 4px rgba(195, 154, 87, 0.08);
}

.eyebrow {
  margin: 2rem 0 0;
  color: rgba(190, 139, 54, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  color: rgba(239, 227, 204, 0.97);
}

h1 {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.lead,
.card-copy,
.migration-copy > p:last-child {
  font-family: "Spectral", Georgia, serif;
}

.lead {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: rgba(205, 187, 158, 0.8);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.65;
}

.supporting-copy {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(178, 157, 126, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.button {
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.55rem;
  font-family: "Cinzel", serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  border: 1px solid rgba(196, 147, 60, 0.62);
  background: linear-gradient(135deg, rgba(154, 105, 28, 0.8), rgba(105, 53, 31, 0.76));
  color: rgba(251, 240, 218, 0.98);
  box-shadow: 0 10px 34px rgba(80, 43, 15, 0.24);
}

.button-secondary {
  border: 1px solid rgba(142, 112, 76, 0.32);
  background: rgba(29, 22, 17, 0.72);
  color: rgba(216, 199, 171, 0.86);
}

.discord-icon {
  width: 1.35rem;
  height: auto;
  flex: none;
}

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

.button-primary:hover {
  border-color: rgba(224, 176, 88, 0.82);
  background: linear-gradient(135deg, rgba(172, 120, 34, 0.9), rgba(121, 60, 36, 0.86));
  box-shadow: 0 14px 42px rgba(104, 56, 18, 0.34);
}

.button-secondary:hover {
  border-color: rgba(177, 136, 88, 0.48);
  background: rgba(41, 30, 21, 0.82);
}

.chapter-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  justify-self: center;
  padding: 3rem;
  border: 1px solid rgba(154, 111, 53, 0.24);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(42, 31, 21, 0.76), rgba(22, 17, 13, 0.84)), rgba(22, 17, 13, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(242, 207, 141, 0.05);
}

.skribee-emblem {
  display: grid;
  width: 7rem;
  height: 7rem;
  margin-bottom: 2rem;
  place-items: center;
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.09), transparent 70%);
}

.skribee-emblem img {
  width: 4.75rem;
  height: 4.75rem;
}

.card-label {
  margin: 0;
  color: rgba(194, 145, 62, 0.76);
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
}

.chapter-card h2 {
  margin: 0.75rem 0 0;
  font-size: 1.9rem;
  font-weight: 600;
}

.card-copy {
  margin: 1rem 0 0;
  color: rgba(205, 187, 158, 0.78);
  font-size: 1.12rem;
  line-height: 1.65;
}

.corner {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.72;
}

.top-left { top: 0.8rem; left: 0.8rem; border-top: 1px solid rgba(184, 134, 11, 0.45); border-left: 1px solid rgba(184, 134, 11, 0.45); }
.top-right { top: 0.8rem; right: 0.8rem; border-top: 1px solid rgba(184, 134, 11, 0.45); border-right: 1px solid rgba(184, 134, 11, 0.45); }
.bottom-left { bottom: 0.8rem; left: 0.8rem; border-bottom: 1px solid rgba(184, 134, 11, 0.45); border-left: 1px solid rgba(184, 134, 11, 0.45); }
.bottom-right { right: 0.8rem; bottom: 0.8rem; border-right: 1px solid rgba(184, 134, 11, 0.45); border-bottom: 1px solid rgba(184, 134, 11, 0.45); }

.ornament {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-block: 1.75rem;
}

.ornament::before,
.ornament::after {
  height: 1px;
  flex: 1;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(154, 111, 53, 0.34));
}

.ornament::after {
  background: linear-gradient(90deg, rgba(154, 111, 53, 0.34), transparent);
}

.ornament span,
.list-mark {
  width: 0.4rem;
  height: 0.4rem;
  transform: rotate(45deg);
}

.ornament span {
  border: 1px solid rgba(184, 134, 11, 0.5);
}

.chapter-card ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  color: rgba(178, 157, 126, 0.68);
  font-size: 0.875rem;
  list-style: none;
}

.chapter-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-mark {
  flex: 0 0 auto;
  background: rgba(184, 134, 11, 0.56);
}

.migration-section {
  padding-bottom: 6rem;
}

.migration-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(147, 102, 49, 0.24);
  border-radius: 1rem;
  background: linear-gradient(110deg, rgba(44, 30, 19, 0.68), rgba(28, 20, 16, 0.72));
  box-shadow: inset 0 1px 0 rgba(242, 207, 141, 0.04);
}

.migration-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.07);
  color: rgba(213, 163, 75, 0.78);
}

.migration-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.5;
}

.migration-copy {
  min-width: 0;
  flex: 1;
}

.migration-copy .eyebrow {
  margin-top: 0;
}

.migration-copy h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
}

.migration-copy > p:last-child {
  max-width: 48rem;
  margin: 0.75rem 0 0;
  color: rgba(205, 187, 158, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-button {
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(184, 134, 11, 0.38);
  border-radius: 0.5rem;
  color: rgba(230, 211, 179, 0.9);
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-button:hover {
  border-color: rgba(213, 163, 75, 0.62);
  background: rgba(184, 134, 11, 0.08);
}

.contact-button-quiet {
  border-color: rgba(142, 112, 76, 0.24);
  color: rgba(188, 166, 132, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(139, 92, 46, 0.2);
  color: rgba(154, 126, 91, 0.52);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  text-underline-offset: 0.2rem;
  transition: color 180ms ease;
}

.nav-link:hover,
.site-footer a:hover {
  color: rgba(232, 190, 102, 0.98);
}

a:focus-visible {
  outline: 2px solid rgba(218, 165, 32, 0.9);
  outline-offset: 4px;
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  }
}

@media (max-width: 63.99rem) {
  .hero {
    min-height: auto;
    padding-block: 3rem 5rem;
  }

  .chapter-card {
    max-width: none;
    justify-self: stretch;
  }

  .migration-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-actions {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 40rem) {
  .container {
    width: min(100% - 2rem, 72rem);
  }

  .nav-link {
    font-size: 0;
  }

  .nav-link svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .contact-button {
    width: 100%;
  }

  .chapter-card {
    padding: 2rem;
  }

  .migration-card {
    padding: 1.5rem;
  }

  .migration-icon {
    display: none;
  }

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

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

  .button,
  .contact-button,
  .nav-link,
  .site-footer a {
    transition: none;
  }
}
