:root {
  --ink: #351020;
  --ink-soft: #55182f;
  --plum: #702a4b;
  --purple: #a33cab;
  --orange: #f15423;
  --gold: #f2aa2b;
  --paper: #fffaf5;
  --white: #ffffff;
  --muted: #d6aeba;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 36%, rgba(163, 60, 171, 0.18), transparent 22rem),
    linear-gradient(155deg, var(--ink) 0%, #401326 48%, var(--ink-soft) 100%);
  font-family: "DM Sans", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  content: "";
  opacity: 0.25;
  pointer-events: none;
}

.page-shell {
  display: flex;
  width: min(1180px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  transform: rotate(-8deg);
}

.brand-mark span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--orange);
}

.brand-mark span:first-child {
  top: 0;
  left: 1px;
}

.brand-mark span:last-child {
  right: 0;
  bottom: 0;
  border-left-color: var(--gold);
}

.status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(241, 84, 35, 0.13);
  animation: pulse 2s ease-in-out infinite;
}

main {
  display: grid;
  flex: 1;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: center;
  padding: 58px 0 90px;
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 26px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(242, 170, 43, 0.5);
  border-radius: 50%;
  place-items: center;
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 7vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.intro {
  max-width: 560px;
  margin: 34px 0 38px;
  color: #e3cbd1;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.coming-soon {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.terminal-prompt {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--gold);
  font-family: "Space Grotesk", monospace;
  font-weight: 700;
  place-items: center;
}

.coming-soon div {
  display: flex;
  flex-direction: column;
}

.coming-soon strong {
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.coming-soon div span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: center;
}

.hero-art::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.code-card {
  position: relative;
  z-index: 2;
  width: min(400px, 88%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 250, 245, 0.96);
  box-shadow: 30px 42px 75px rgba(14, 0, 7, 0.34);
  color: var(--ink);
  transform: rotate(3deg);
  animation: float 5s ease-in-out infinite;
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #eedfe2;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.window-bar span:nth-child(2) {
  background: var(--gold);
}

.window-bar span:nth-child(3) {
  background: var(--purple);
}

.window-bar small {
  margin-left: auto;
  color: #8f6f79;
  font-family: "Space Grotesk", monospace;
  font-size: 0.72rem;
}

.code-lines {
  padding: 35px 38px 30px;
  font-family: "Space Grotesk", monospace;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.65;
}

.code-lines p {
  margin: 0;
}

.code-lines .indent {
  padding-left: 24px;
}

.code-lines i,
.code-lines b {
  color: var(--purple);
  font-style: normal;
}

.code-lines mark {
  color: var(--orange);
  background: transparent;
}

.smile {
  display: grid;
  height: 78px;
  border-top: 1px solid #eedfe2;
  background: #fff;
  place-items: center;
}

.smile span {
  position: relative;
  width: 34px;
  height: 18px;
  border: 4px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 40px 40px;
}

.smile span::before,
.smile span::after {
  position: absolute;
  top: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.smile span::before {
  left: 2px;
}

.smile span::after {
  right: 2px;
}

.orbit {
  position: absolute;
  border: 7px dotted var(--orange);
  border-radius: 50%;
  opacity: 0.8;
}

.orbit-one {
  width: 460px;
  height: 180px;
  transform: rotate(-25deg);
}

.orbit-two {
  width: 240px;
  height: 450px;
  border-color: var(--purple);
  border-width: 2px;
  transform: rotate(50deg);
}

.spark {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
}

.spark-one {
  top: 10%;
  right: 7%;
  transform: rotate(18deg);
}

.spark-two {
  bottom: 13%;
  left: 3%;
  color: var(--orange);
  font-size: 1.6rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bd929f;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(1.5deg) translateY(-12px);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(241, 84, 35, 0);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 40px, 620px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 55px;
    text-align: center;
  }

  .eyebrow,
  .coming-soon {
    justify-content: center;
  }

  .intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-art {
    min-height: 450px;
  }

  footer {
    gap: 12px;
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .page-shell {
    width: min(100% - 30px, 470px);
  }

  .site-header {
    padding-top: 23px;
  }

  .status {
    font-size: 0;
  }

  .status::after {
    font-size: 0.68rem;
    content: "Building";
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .coming-soon div span {
    max-width: 190px;
    text-align: left;
  }

  .hero-art {
    min-height: 390px;
  }

  .orbit-one {
    width: 330px;
    height: 145px;
  }

  .code-card {
    width: 88%;
  }

  .code-lines {
    padding: 28px 25px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
