:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6b78;
  --cream: #fff4df;
  --panel: #fffaf0;
  --orange: #ff8a3d;
  --orange-dark: #e8641f;
  --blue: #2d6cdf;
  --yellow: #ffc94a;
  --shadow: 0 24px 80px rgba(57, 35, 12, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 201, 74, 0.35), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(45, 108, 223, 0.18), transparent 30rem),
    linear-gradient(135deg, #fff9ed 0%, #f7ead3 100%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 20px;
}

.hero {
  position: relative;
  width: min(100%, 980px);
  overflow: hidden;
  border: 3px solid rgba(23, 32, 42, 0.1);
  border-radius: 36px;
  padding: clamp(32px, 7vw, 72px);
  text-align: center;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 22px solid rgba(255, 138, 61, 0.16);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -72px;
  right: -48px;
}

.hero::after {
  bottom: -84px;
  left: -56px;
}

.badge,
.eyebrow,
.signup-card {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(232, 100, 31, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.7);
}

.logo-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 230px;
  height: 230px;
  margin: 34px auto 28px;
  place-items: center;
}

.gear-ring {
  position: absolute;
  inset: 16px;
  border: 14px solid var(--yellow);
  border-radius: 50%;
  background: #ffe5a3;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.72), 0 18px 36px rgba(57, 35, 12, 0.12);
}

.gear-ring span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 20px;
  border-radius: 7px;
  background: var(--yellow);
  transform-origin: -58px center;
}

.gear-ring span:nth-child(1) { transform: rotate(0deg) translateX(92px); }
.gear-ring span:nth-child(2) { transform: rotate(60deg) translateX(92px); }
.gear-ring span:nth-child(3) { transform: rotate(120deg) translateX(92px); }
.gear-ring span:nth-child(4) { transform: rotate(180deg) translateX(92px); }
.gear-ring span:nth-child(5) { transform: rotate(240deg) translateX(92px); }
.gear-ring span:nth-child(6) { transform: rotate(300deg) translateX(92px); }

.jack-card {
  position: relative;
  display: grid;
  width: 122px;
  min-height: 140px;
  align-content: end;
  justify-items: center;
  border: 5px solid var(--ink);
  border-radius: 30px 30px 26px 26px;
  padding: 18px 14px 14px;
  background: #fffdf7;
  box-shadow: 0 14px 0 rgba(23, 32, 42, 0.08);
}

.jack-head {
  position: absolute;
  top: -30px;
  display: grid;
  justify-items: center;
}

.cap {
  width: 74px;
  height: 28px;
  border: 4px solid var(--ink);
  border-radius: 26px 26px 10px 10px;
  background: var(--orange);
}

.face {
  display: flex;
  width: 62px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 4px solid var(--ink);
  border-top: 0;
  border-radius: 8px 8px 26px 26px;
  background: #ffd7b2;
}

.face span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.jack-body {
  width: 86px;
  border-radius: 999px;
  padding: 9px 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  background: var(--blue);
}

.tool {
  position: absolute;
  z-index: 0;
  background: var(--ink);
  opacity: 0.9;
}

.wrench {
  right: 16px;
  bottom: 42px;
  width: 72px;
  height: 14px;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.wrench::after {
  position: absolute;
  right: -18px;
  top: -10px;
  width: 30px;
  height: 30px;
  border: 8px solid var(--ink);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

.bolt {
  left: 28px;
  top: 54px;
  width: 54px;
  height: 18px;
  clip-path: polygon(0 0, 54% 0, 42% 36%, 100% 36%, 30% 100%, 44% 54%, 0 54%);
  background: var(--orange-dark);
  transform: rotate(16deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.signup-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  border: 2px solid rgba(23, 32, 42, 0.12);
  border-radius: 22px;
  padding: 14px 18px;
  color: var(--muted);
  background: #fff;
  box-shadow: 0 10px 28px rgba(57, 35, 12, 0.08);
}

.signup-card span {
  font-weight: 700;
}

.signup-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.signup-card a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero {
    border-radius: 28px;
    padding: 32px 20px;
  }

  .logo-mark {
    width: 190px;
    height: 190px;
  }

  .gear-ring span {
    transform-origin: -48px center;
  }

  .gear-ring span:nth-child(1) { transform: rotate(0deg) translateX(76px); }
  .gear-ring span:nth-child(2) { transform: rotate(60deg) translateX(76px); }
  .gear-ring span:nth-child(3) { transform: rotate(120deg) translateX(76px); }
  .gear-ring span:nth-child(4) { transform: rotate(180deg) translateX(76px); }
  .gear-ring span:nth-child(5) { transform: rotate(240deg) translateX(76px); }
  .gear-ring span:nth-child(6) { transform: rotate(300deg) translateX(76px); }

  .signup-card {
    flex-direction: column;
  }
}
