:root {
  --bg: #151922;
  --bg-soft: #222837;
  --panel: #2c3343;
  --panel-dark: #151922;
  --text: #f8fafc;
  --muted: #aeb7c6;
  --cyan: #11d7ed;
  --mint: #82e8cb;
  --orange: #ff8968;
  --yellow: #ffcc14;
  --line: rgba(130, 232, 203, 0.35);
  --shadow: #030507;
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(174, 183, 198, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.brand,
.site-nav,
.site-footer,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #061014;
  background: var(--mint);
  border: 3px solid #000;
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.site-nav {
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-pill {
  color: #071014 !important;
  background: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 64px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.section-heading p,
.cta p {
  max-width: 680px;
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 3px solid #000;
  border-radius: 999px;
  box-shadow: 0 8px 0 var(--shadow);
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 5px 0 var(--shadow);
}

.button-primary {
  color: #061014;
  background: var(--cyan);
}

.button-secondary {
  color: var(--text);
  background: var(--panel);
}

.phone-card {
  justify-self: center;
  width: min(100%, 360px);
  padding: 18px;
  background: var(--panel);
  border: 4px solid #000;
  border-radius: 42px;
  box-shadow: 14px 14px 0 var(--shadow);
}

.phone-screen {
  min-height: 560px;
  padding: 34px 18px;
  background: var(--bg);
  background-image: radial-gradient(rgba(174, 183, 198, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 28px;
}

.timer {
  width: 190px;
  margin: 0 auto 74px;
  padding: 15px 20px;
  color: #000;
  background: var(--yellow);
  border: 4px solid #000;
  border-radius: 18px;
  box-shadow: 0 8px 0 var(--shadow);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.grid-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  aspect-ratio: 1;
  border: 5px solid var(--mint);
  border-radius: 24px;
  background:
    linear-gradient(var(--line) 2px, transparent 2px),
    linear-gradient(90deg, var(--line) 2px, transparent 2px);
  background-size: 20% 20%;
}

.dot,
.wall {
  position: absolute;
}

.dot {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #000;
  background: #fff;
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--shadow);
  font-size: 1.05rem;
  font-weight: 950;
}

.dot-1 {
  top: 33%;
  right: 3%;
}

.dot-2 {
  right: 22%;
  bottom: 31%;
}

.dot-3 {
  right: 3%;
  bottom: 5%;
}

.dot-4 {
  bottom: 4%;
  left: 4%;
}

.dot-5 {
  left: 21%;
  top: 46%;
}

.wall {
  background: var(--mint);
  border-radius: 999px;
}

.wall-a {
  top: 20%;
  left: 18%;
  width: 20%;
  height: 5px;
}

.wall-b {
  top: 20%;
  left: 38%;
  width: 5px;
  height: 20%;
}

.wall-c {
  top: 40%;
  right: 18%;
  width: 5px;
  height: 20%;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.feature-grid,
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.mini-screen,
.cta,
.content-card {
  background: rgba(44, 51, 67, 0.92);
  border: 3px solid #000;
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-card h3,
.content-card h2,
.content-card h3 {
  color: var(--text);
}

.showcase {
  padding: 10px 0 64px;
}

.mini-screen {
  min-height: 370px;
  padding: 28px;
}

.home-preview,
.result-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-preview h3 {
  color: var(--mint);
  font-size: 4.4rem;
  text-shadow: 5px 5px 0 #000;
}

.line-decoration {
  width: 110px;
  height: 9px;
  margin: -6px 0 58px;
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 78px -10px 0 -1px var(--mint), 78px -10px 0 7px #000;
}

.world-label {
  display: block;
  margin-bottom: 20px;
  padding: 14px;
  color: #fff;
  background: var(--orange);
  border: 4px solid #000;
  border-radius: 16px;
  box-shadow: 0 8px 0 var(--shadow);
  font-size: 1.5rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.level {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: var(--muted);
  background: #202532;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: 950;
}

.level.complete {
  color: #031113;
  background: var(--mint);
  border: 3px solid #000;
}

.level.active {
  color: #031113;
  background: var(--cyan);
  border: 3px solid #000;
}

.stars {
  color: var(--yellow);
  -webkit-text-stroke: 2px #000;
  font-size: 2.6rem;
  font-weight: 950;
}

.result-preview h3 {
  margin-top: 24px;
  text-transform: uppercase;
}

.score-box {
  width: min(100%, 220px);
  margin: 16px 0 28px;
  padding: 22px;
  border: 3px solid var(--cyan);
  border-radius: 18px;
  font-size: 2.2rem;
  font-weight: 950;
  text-shadow: 3px 3px 0 #000;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.cta {
  padding: clamp(28px, 6vw, 56px);
  margin: 20px 0 78px;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  padding: 60px 0 28px;
}

.page-hero h1 {
  max-width: 900px;
}

.content-card {
  padding: clamp(24px, 5vw, 48px);
  margin: 18px 0 72px;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.7;
}

.content-card section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.content-card a {
  color: var(--mint);
  font-weight: 800;
}

.form-card {
  max-width: 860px;
}

.request-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 850;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  color: var(--text);
  background: var(--panel-dark);
  border: 2px solid rgba(130, 232, 203, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.request-form textarea {
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(130, 232, 203, 0.14);
}

.form-notice,
.form-message {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 204, 20, 0.12);
  border: 1px solid rgba(255, 204, 20, 0.45);
  color: var(--text);
}

.form-message {
  display: none;
}

.form-message.is-visible {
  display: block;
}

.hidden-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

  .site-nav {
    width: 100%;
  }

  .hero,
  .split,
  .feature-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .phone-card {
    width: min(100%, 420px);
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1120px);
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav a {
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .phone-screen {
    min-height: 500px;
  }

  .timer {
    margin-bottom: 56px;
  }
}
