@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Unbounded:wght@500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #171814;
  --muted: #686a62;
  --paper: #f2efe8;
  --accent: #ff5c35;
  --acid: #c7f464;
  --line: rgba(23, 24, 20, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(199, 244, 100, 0.3), transparent 26rem),
    var(--paper);
  font-family: "Manrope", sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.site-header,
footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px clamp(24px, 5vw, 76px);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50% 50% 4px 50%;
  transform: rotate(45deg);
}

.status {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #70a900;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(112, 169, 0, 0.12);
  animation: pulse 2.2s ease-in-out infinite;
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  min-height: calc(100vh - 149px);
  padding: clamp(54px, 8vw, 110px) clamp(24px, 5vw, 76px) 76px;
}

.hero {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3rem, 6.8vw, 7.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.lead {
  max-width: 550px;
  margin: 35px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.progress {
  width: min(420px, 100%);
  margin-top: 52px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.progress-track {
  height: 3px;
  overflow: hidden;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: load 1.4s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.visual {
  position: relative;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit,
.shape,
.spark {
  position: absolute;
}

.orbit {
  inset: 8%;
  border: 1px solid rgba(23, 24, 20, 0.2);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.orbit::after {
  position: absolute;
  top: 6%;
  left: 16%;
  width: 13px;
  height: 13px;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.orbit-inner {
  inset: 22%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 18s;
}

.orbit-inner::after {
  top: auto;
  right: 4%;
  bottom: 18%;
  left: auto;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.shape-large {
  inset: 25%;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 44% 56% 64% 36% / 38% 38% 62% 62%;
  box-shadow: 14px 17px 0 var(--ink);
  animation: morph 8s ease-in-out infinite, float 5s ease-in-out infinite;
}

.shape-small {
  right: 5%;
  bottom: 18%;
  width: 22%;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50% 50% 8px 50%;
  transform: rotate(-20deg);
  animation: float 4s 0.7s ease-in-out infinite;
}

.spark {
  font-size: clamp(22px, 3vw, 46px);
}

.spark-one {
  top: 4%;
  right: 23%;
  color: var(--accent);
}

.spark-two {
  bottom: 6%;
  left: 18%;
  color: var(--ink);
}

footer {
  position: absolute;
  bottom: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(112, 169, 0, 0); }
}

@keyframes load {
  from { transform: scaleX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  50% { transform: translateY(-13px) rotate(2deg); }
}

@keyframes morph {
  50% { border-radius: 63% 37% 38% 62% / 53% 62% 38% 47%; }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  main {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 150px;
  }

  .visual {
    position: absolute;
    right: -20%;
    bottom: -15%;
    z-index: 0;
    width: 62vw;
    min-width: 360px;
    opacity: 0.27;
  }

  .hero {
    min-height: 610px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .brand {
    font-size: 10px;
  }

  .status {
    font-size: 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13.7vw, 4.2rem);
  }

  .lead {
    margin-top: 28px;
  }

  footer {
    gap: 12px;
    align-items: flex-start;
    font-size: 9px;
  }
}

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