:root {
  --green-950: #003f2d;
  --green-900: #004c35;
  --green-800: #075c41;
  --lime: #759b43;
  --cream: #f4f1e8;
  --ink: #102f27;
  --muted: #567068;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  top: -24rem;
  right: -20rem;
  width: 58rem;
  height: 58rem;
  background: radial-gradient(circle, rgb(166 198 106 / 28%), transparent 66%);
}

.ambient-two {
  bottom: 4rem;
  left: -24rem;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, rgb(117 155 67 / 15%), transparent 68%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 18px;
}

.brand-mark {
  display: block;
  width: 116px;
  height: 58px;
  overflow: hidden;
}

.brand-mark img {
  width: 128px;
  height: 96px;
  margin: -19px 0 0 -6px;
  object-fit: contain;
}

.opening-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid rgb(0 76 53 / 16%);
  border-radius: 999px;
  color: var(--green-900);
  background: rgb(255 255 255 / 48%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.opening-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgb(117 155 67 / 14%);
  animation: breathe 2.5s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 620px;
  margin: 0 auto;
  padding: 62px 0 82px;
}

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

.eyebrow {
  margin: 0 0 26px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(62px, 7.1vw, 106px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

h1 span {
  display: block;
  color: var(--lime);
  font-style: italic;
  font-weight: 650;
}

.intro {
  max-width: 575px;
  margin: 30px 0 0;
  color: #36564d;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
}

.signup-wrap {
  max-width: 590px;
  margin-top: 34px;
}

.signup-form {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgb(0 76 53 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  box-shadow: 0 16px 34px rgb(0 76 53 / 12%);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.signup-form:focus-within {
  border-color: rgb(0 76 53 / 46%);
  box-shadow: 0 18px 38px rgb(0 76 53 / 17%);
}

.signup-form input[type="email"] {
  min-width: 0;
  min-height: 52px;
  flex: 1;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--green-950);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.signup-form input[type="email"]::placeholder {
  color: #758a82;
}

.signup-form button {
  min-height: 52px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--green-900);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.signup-form button:hover {
  transform: translateY(-1px);
  background: var(--green-800);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.company-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fine-print {
  margin: 12px 6px 0;
  color: #748880;
  font-size: 11px;
}

.signup-status {
  min-height: 18px;
  margin: 9px 6px 0;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 700;
}

.signup-status.is-error {
  color: #93432f;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.logo-card {
  position: absolute;
  top: 24px;
  right: 18px;
  width: min(390px, 88%);
  padding: 30px 32px 24px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 42px;
  background: rgb(255 255 255 / 74%);
  box-shadow: 0 34px 90px rgb(0 63 45 / 16%);
  backdrop-filter: blur(18px);
  transform: rotate(3deg);
}

.logo-card::after {
  position: absolute;
  inset: 11px;
  border: 1px solid rgb(0 76 53 / 8%);
  border-radius: 32px;
  pointer-events: none;
  content: "";
}

.logo-card > img {
  display: block;
  width: 100%;
  height: auto;
}

.card-label {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 1;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: var(--green-900);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.powered-by {
  display: block;
  width: 164px;
  margin-top: -7px;
  margin-right: auto;
  margin-left: auto;
}

.powered-by img {
  display: block;
  width: 100%;
  height: auto;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(0 76 53 / 14%);
  border-radius: 50%;
}

.orbit-large {
  top: -38px;
  right: -76px;
  width: 520px;
  height: 520px;
}

.orbit-small {
  top: 51px;
  right: 10px;
  width: 356px;
  height: 356px;
  border-style: dashed;
  animation: spin 36s linear infinite;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 48px;
  overflow: hidden;
  border: 1px solid rgb(0 76 53 / 10%);
  border-radius: 26px;
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(14px);
}

.detail-strip article {
  position: relative;
  min-height: 174px;
  padding: 28px 32px 30px;
}

.detail-strip article + article {
  border-left: 1px solid rgb(0 76 53 / 10%);
}

.detail-strip span {
  position: absolute;
  top: 26px;
  right: 28px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.detail-strip h2 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 21px;
}

.detail-strip p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6px 0 34px;
  color: var(--muted);
  font-size: 12px;
}

.footer-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-location,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-location > span {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-location p {
  margin: 0;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  align-items: flex-end;
}

.trackman-legal {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgb(0 76 53 / 9%);
  color: #899891;
  font-size: 9px;
  letter-spacing: 0.03em;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 46px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    min-height: 470px;
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .detail-strip {
    grid-template-columns: 1fr;
  }

  .detail-strip article {
    min-height: 140px;
  }

  .detail-strip article + article {
    border-top: 1px solid rgb(0 76 53 / 10%);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero,
  .detail-strip,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    padding-top: 20px;
  }

  .brand-mark {
    width: 96px;
  }

  .opening-pill {
    max-width: 190px;
    padding: 9px 11px;
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 60px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .signup-form {
    align-items: stretch;
    flex-direction: column;
    padding: 8px;
    border-radius: 24px;
  }

  .signup-form input[type="email"] {
    width: 100%;
    padding: 0 14px;
  }

  .signup-form button {
    width: 100%;
  }

  .hero-art {
    min-height: 390px;
  }

  .logo-card {
    top: 18px;
    right: 5%;
    width: 90%;
    padding: 25px 24px 20px;
    border-radius: 32px;
  }

  .card-label {
    top: 18px;
    left: 20px;
  }

  .orbit-large {
    right: -30%;
    width: 430px;
    height: 430px;
  }

  .orbit-small {
    right: -2%;
    width: 310px;
    height: 310px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

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