:root {
  --navy: #0b3d66;
  --sky: #5b9bd5;
  --gold: #e8a33d;
  --off-white: #f7f9fb;
  --charcoal: #1a1a1a;
  --charcoal-soft: #52565c;
  --hairline: #e1e6ec;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

h1,
h2,
.wordmark {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 32px 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  color: var(--sky);
  text-decoration: none;
}

.wordmark span {
  color: var(--navy);
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

nav.site-nav a {
  color: var(--charcoal-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

nav.site-nav a:hover {
  color: var(--navy);
}

main {
  flex: 1;
}

/* ---------- Landing page ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 24px 0 16px;
}

.hero-copy h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 20px;
  max-width: 12ch;
}

.hero-copy p {
  font-size: 16px;
  color: var(--charcoal-soft);
  max-width: 42ch;
  margin: 0 0 12px;
}

.hero-copy p.lede {
  color: var(--charcoal);
  font-size: 19px;
  line-height: 1.5;
}

.waitlist-form {
  margin-top: 28px;
}

.waitlist-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal-soft);
  margin-bottom: 10px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  max-width: 420px;
}

.waitlist-row input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
}

.waitlist-row input:focus {
  outline: none;
  border-color: var(--sky);
}

.waitlist-row button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist-row button:hover {
  background: #d1922f;
}

.waitlist-row button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--navy);
}

.waitlist-status.waitlist-status-error {
  color: #b3401a;
}

.features {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.feature {
  max-width: 46ch;
}

.feature-mark {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.feature-mark-navy {
  background: var(--navy);
}

.feature-mark-gold {
  background: var(--gold);
}

.feature-mark-sky {
  background: var(--sky);
}

.feature h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 8px;
}

.feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal-soft);
  margin: 0;
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Phone mockup */

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 240px;
  height: 490px;
  background: linear-gradient(160deg, var(--sky), var(--gold));
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(26, 26, 26, 0.3);
  opacity: 0;
  animation: phoneIn 0.6s ease-out both;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--off-white);
  border-radius: 24px;
  overflow: hidden;
}

.map-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: mapIn 0.5s ease-out both;
  animation-delay: 0.35s;
}

.map-block {
  position: absolute;
  background: rgba(91, 155, 213, 0.16);
  border-radius: 18px;
}

.map-block.b1 {
  width: 130px;
  height: 90px;
  top: 40px;
  left: -20px;
}

.map-block.b2 {
  width: 100px;
  height: 130px;
  bottom: 20px;
  right: -30px;
}

.map-block.b3 {
  width: 70px;
  height: 70px;
  top: 190px;
  right: 10px;
  background: rgba(232, 163, 61, 0.14);
}

.map-road {
  position: absolute;
  background: rgba(11, 61, 102, 0.1);
}

.map-road.r1 {
  width: 3px;
  height: 340px;
  top: 0;
  left: 96px;
  transform: rotate(8deg);
}

.map-road.r2 {
  width: 300px;
  height: 3px;
  top: 210px;
  left: -30px;
  transform: rotate(-6deg);
}

.map-pin {
  position: absolute;
  top: 128px;
  left: 108px;
  width: 24px;
  height: 24px;
  opacity: 0;
  animation: pinDrop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.55s;
}

.map-pin svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pulse-ring {
  position: absolute;
  top: 132px;
  left: 112px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulseRing 0.9s ease-out both;
  animation-delay: 1.15s;
}

.gig-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px -8px rgba(26, 26, 26, 0.2);
  opacity: 0;
  animation: cardUp 0.5s ease-out both;
  animation-delay: 1.35s;
}

.gig-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.gig-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal);
}

.gig-card-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
}

.gig-card-distance {
  font-size: 12px;
  color: var(--charcoal-soft);
}

@keyframes mapIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pinDrop {
  0% {
    opacity: 0;
    transform: translateY(-70px);
  }
  60% {
    opacity: 1;
    transform: translateY(6px);
  }
  80% {
    transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.7;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes cardUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame,
  .map-bg,
  .map-pin,
  .pulse-ring,
  .gig-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .pulse-ring {
    opacity: 0 !important;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    width: 200px;
    height: 410px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 28px 20px 56px;
  }

  header.site-header {
    flex-wrap: wrap;
    row-gap: 10px;
    margin-bottom: 36px;
  }

  nav.site-nav {
    gap: 18px;
  }

  .hero {
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 30px;
    max-width: none;
  }

  .hero-copy p.lede {
    font-size: 17px;
  }

  .hero-copy p,
  .hero-copy p.lede {
    max-width: none;
  }

  .waitlist-row {
    flex-direction: column;
    max-width: none;
  }

  .waitlist-row button {
    width: 100%;
  }

  /* A 240px phone with the desktop's map detail reads as an oversized,
     fussy graphic that eats the whole first screen before any real copy
     shows -- shrunk and simplified rather than scaled 1:1, and the two
     smaller decorative map blocks are dropped so what's left doesn't
     look cluttered at this size. */
  .hero-visual {
    justify-content: flex-start;
  }

  .phone-frame {
    width: 148px;
    height: 300px;
    border-radius: 24px;
    padding: 7px;
  }

  .phone-frame::before {
    top: 14px;
    width: 40px;
  }

  .phone-screen {
    border-radius: 17px;
  }

  .map-block.b2,
  .map-block.b3 {
    display: none;
  }

  .map-block.b1 {
    width: 100px;
    height: 60px;
    top: 24px;
  }

  .map-road.r1 {
    height: 220px;
    left: 60px;
  }

  .map-road.r2 {
    width: 190px;
    top: 130px;
  }

  .map-pin {
    top: 78px;
    left: 66px;
    width: 18px;
    height: 18px;
  }

  .pulse-ring {
    top: 81px;
    left: 69px;
    width: 12px;
    height: 12px;
  }

  .gig-card {
    left: 8px;
    right: 8px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .gig-card-title,
  .gig-card-price {
    font-size: 13px;
  }

  .gig-card-distance {
    font-size: 11px;
  }
}

/* ---------- Legal / support document pages ---------- */

.doc-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 14px;
}

.draft-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
}

.doc-heading {
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
}

.doc-paragraph {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 0 14px;
}

.support-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
  display: inline-block;
}

.support-email {
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.support-email:hover {
  color: var(--sky);
}

footer.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

footer.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer.site-footer nav a {
  white-space: nowrap;
}

footer.site-footer a {
  color: var(--charcoal-soft);
  font-size: 13px;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--navy);
}

.footer-note {
  color: var(--charcoal-soft);
  font-size: 12px;
}
