:root {
  color-scheme: light;
  --ink: #243238;
  --muted: #66777c;
  --paper: #fffdf8;
  --sky: #d9f1f4;
  --leaf: #46a66f;
  --sun: #f0b64a;
  --coral: #df6b5d;
  --line: #d9e0dc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(36, 50, 56, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(217, 241, 244, 0.78), rgba(255, 253, 248, 0.88)),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.hero {
  min-height: calc(100vh - 156px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-art {
  display: grid;
  place-items: center;
}

.map-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 2px solid rgba(36, 50, 56, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(36, 50, 56, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(36, 50, 56, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #f5fbf7);
  background-size: 56px 56px, 56px 56px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trail-dot,
.trail-line,
.puzzle-piece {
  position: absolute;
  display: block;
}

.trail-dot {
  width: 26px;
  height: 26px;
  border: 6px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(36, 50, 56, 0.16);
  z-index: 2;
}

.dot-one {
  left: 16%;
  top: 70%;
}

.dot-two {
  left: 34%;
  top: 45%;
  background: var(--sun);
}

.dot-three {
  left: 58%;
  top: 54%;
  background: var(--leaf);
}

.dot-four {
  left: 74%;
  top: 24%;
  background: #4b91b7;
}

.trail-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(36, 50, 56, 0.18);
  transform-origin: left center;
}

.line-one {
  left: 21%;
  top: 71%;
  width: 138px;
  transform: rotate(-52deg);
}

.line-two {
  left: 39%;
  top: 49%;
  width: 112px;
  transform: rotate(18deg);
}

.line-three {
  left: 62%;
  top: 55%;
  width: 128px;
  transform: rotate(-48deg);
}

.puzzle-piece {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: var(--sun);
  box-shadow: 0 16px 34px rgba(36, 50, 56, 0.16);
}

.puzzle-piece::before,
.puzzle-piece::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.puzzle-piece::before {
  width: 32px;
  height: 32px;
  left: 30px;
  top: -16px;
}

.puzzle-piece::after {
  width: 28px;
  height: 28px;
  right: -14px;
  top: 32px;
  background: #ffffff;
}

.piece-one {
  left: 10%;
  top: 12%;
  transform: rotate(-10deg);
}

.piece-two {
  right: 12%;
  bottom: 12%;
  background: var(--sky);
  transform: rotate(12deg);
}

.hero-content {
  max-width: 640px;
}

.thank-you {
  grid-template-columns: 1fr;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.intro {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
  line-height: 1.55;
}

.signup-form {
  width: min(100%, 560px);
}

.hidden-field {
  display: none;
}

.email-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input[type="email"] {
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 50, 56, 0.08);
}

input[type="email"]:focus {
  outline: 3px solid rgba(70, 166, 111, 0.22);
  border-color: var(--leaf);
}

button,
.secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(36, 50, 56, 0.18);
}

button:hover,
.secondary-button:hover {
  background: #35484f;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note,
.form-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status:not(:empty) {
  color: var(--leaf);
  font-weight: 700;
}

.company-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid rgba(36, 50, 56, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.company-strip p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 22px, 620px);
    padding: 18px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 12px;
  }

  .hero-art {
    order: -1;
  }

  .map-card {
    width: min(100%, 330px);
  }

  .form-row,
  .company-strip {
    grid-template-columns: 1fr;
  }

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