:root {
  --bg: #102016;
  --ink: #101711;
  --muted: #dce8dc;
  --line: #dfe5df;
  --accent: #1f8c4f;
  --accent-strong: #0f5c34;
  --accent-soft: #dff5e7;
  --surface: #ffffff;
  --shadow: rgba(3, 17, 9, 0.28);
  --iphone-17-pro-screen: 1206 / 2622;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 12%, rgba(108, 255, 157, 0.18), transparent 32%),
    radial-gradient(circle at 84% 82%, rgba(119, 255, 160, 0.16), transparent 30%),
    linear-gradient(135deg, #0b130e 0%, #17241a 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100%;
}

button,
input {
  font: inherit;
}

.landing-shell {
  min-height: 100vh;
  padding: 34px 24px 18px;
}

.landing-carousel {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}

.carousel-track {
  border-radius: 38px;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  max-width: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 16% 12%, rgba(211, 255, 217, 0.34), transparent 26%),
    radial-gradient(circle at 92% 78%, rgba(39, 223, 91, 0.34), transparent 30%),
    linear-gradient(135deg, #0f4e31 0%, #25a348 54%, #93e85c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: clamp(36px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  margin: 0 auto;
  max-width: 1080px;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  position: relative;
  width: 100%;
}

.hero::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1.2px, transparent 1.4px),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 42%, transparent 58%);
  background-position: 0 0, 0 0;
  background-size: 22px 22px, 100% 100%;
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
}

.hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 58%);
  border-radius: 999px;
  content: "";
  height: min(44vw, 520px);
  pointer-events: none;
  position: absolute;
  right: -18%;
  top: -22%;
  width: min(44vw, 520px);
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 23px;
  font-weight: 820;
  gap: 10px;
  justify-self: start;
  line-height: 1;
  margin-bottom: 20px;
  text-decoration: none;
}

.brand-mark {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(2, 33, 14, 0.28);
  display: block;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #effff0;
  font-size: 14px;
  font-weight: 820;
  justify-self: start;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  padding: 8px 12px;
  text-transform: uppercase;
}

h1,
h2 {
  color: #fff;
  font-size: clamp(40px, 4.4vw, 56px);
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 2px 22px rgba(4, 29, 13, 0.22);
}

h2 {
  max-width: 620px;
}

.lede {
  color: rgba(245, 255, 245, 0.84);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 560;
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
}

.signup-panel {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  max-width: 560px;
}

.mobile-signup-panel {
  display: none;
}

.waitlist-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 13px;
  box-shadow: 0 22px 54px rgba(2, 38, 16, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

.waitlist-form input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 17px;
  min-height: 58px;
  min-width: 0;
  outline: 0;
  padding: 0 18px;
}

.waitlist-form input::placeholder {
  color: #9ba49d;
}

.waitlist-form button {
  background: #0d5f35;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 820;
  min-height: 58px;
  padding: 0 22px;
  transition: background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: #063f24;
}

.waitlist-form button:active {
  transform: translateY(1px);
}

.waitlist-form button:disabled,
.waitlist-form input:disabled {
  cursor: wait;
  opacity: 0.72;
}

.honeypot {
  display: none;
}

.form-status {
  color: rgba(246, 255, 245, 0.86);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
  margin: 0;
  min-height: 19px;
}

.form-status[data-state="success"] {
  color: #efffe8;
}

.form-status[data-state="error"] {
  color: #ffe4df;
}

body.waitlist-modal-open {
  overflow: hidden;
}

.waitlist-modal[hidden] {
  display: none;
}

.waitlist-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 80;
}

.waitlist-modal-backdrop {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(3, 17, 9, 0.68);
  inset: 0;
  position: absolute;
}

.waitlist-modal-card {
  background: #fff;
  border: 1px solid rgba(13, 95, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.34);
  color: var(--ink);
  display: grid;
  justify-items: center;
  max-width: 390px;
  outline: 0;
  padding: 28px 26px 24px;
  position: relative;
  text-align: center;
  width: min(100%, 390px);
  z-index: 1;
}

.waitlist-modal-close {
  align-items: center;
  background: rgba(13, 95, 53, 0.09);
  border: 0;
  border-radius: 999px;
  color: #0c4d2c;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  transition: background 160ms ease, transform 160ms ease;
  width: 34px;
}

.waitlist-modal-close:hover {
  background: rgba(13, 95, 53, 0.15);
}

.waitlist-modal-close:active {
  transform: translateY(1px);
}

.waitlist-modal-logo {
  background: #fff;
  border: 1px solid rgba(13, 95, 53, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(4, 54, 25, 0.16);
  display: block;
  height: 66px;
  margin-bottom: 14px;
  object-fit: cover;
  width: 66px;
}

.waitlist-modal-kicker {
  color: #0f5c34;
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.waitlist-modal-card h2 {
  color: var(--ink);
  font-size: 27px;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  max-width: none;
  text-shadow: none;
}

.waitlist-modal-card p {
  max-width: 300px;
}

#waitlist-modal-message {
  color: #526057;
  font-size: 16px;
  font-weight: 610;
  line-height: 1.45;
  margin: 10px 0 20px;
}

.waitlist-modal-action {
  background: #0d5f35;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 820;
  min-height: 46px;
  padding: 0 22px;
  transition: background 160ms ease, transform 160ms ease;
  width: 100%;
}

.waitlist-modal-action:hover {
  background: #063f24;
}

.waitlist-modal-action:active {
  transform: translateY(1px);
}

.signup-note {
  color: rgba(245, 255, 245, 0.72);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.35;
  margin: -3px 0 0;
}

.follow-link {
  color: rgba(245, 255, 245, 0.78);
  justify-self: start;
  font-size: 15px;
  font-weight: 760;
  margin-top: 4px;
  text-decoration: none;
}

.follow-link:hover {
  color: #fff;
}

.feature-card {
  background:
    radial-gradient(circle at 15% 15%, rgba(235, 255, 226, 0.32), transparent 30%),
    radial-gradient(circle at 92% 76%, rgba(184, 255, 117, 0.36), transparent 33%),
    linear-gradient(135deg, #073620 0%, #11753f 48%, #7bd053 100%);
}

.feature-tournaments {
  background:
    radial-gradient(circle at 24% 18%, rgba(230, 255, 225, 0.27), transparent 31%),
    radial-gradient(circle at 88% 78%, rgba(198, 255, 105, 0.38), transparent 34%),
    linear-gradient(135deg, #071d13 0%, #0c5d34 45%, #4fb244 100%);
}

.feature-pills {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}

.feature-pills span {
  background: rgba(6, 41, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f1ffe7;
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  padding: 10px 13px;
}

.feature-link {
  align-items: center;
  background: rgba(249, 255, 246, 0.96);
  border-radius: 999px;
  color: #0b3c23;
  display: inline-flex;
  font-size: 15px;
  font-weight: 820;
  justify-content: center;
  justify-self: start;
  margin-top: 5px;
  min-height: 46px;
  padding: 0 19px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.feature-link:hover {
  background: #fff;
}

.feature-link:active {
  transform: scale(0.98);
}

.carousel-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f2fff0;
  cursor: pointer;
  display: inline-flex;
  font-size: 30px;
  font-weight: 760;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  transition: background 160ms ease, transform 160ms ease;
  width: 42px;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-arrow:active {
  transform: translateY(1px);
}

.carousel-dots {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  padding: 10px 12px;
}

.carousel-dots button {
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease, width 160ms ease;
  width: 9px;
}

.carousel-dots button[aria-current="true"] {
  background: #fff;
  transform: none;
  width: 28px;
}

.phone-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 500px;
  position: relative;
  z-index: 2;
}

.phone-device {
  aspect-ratio: auto;
  background: linear-gradient(135deg, #343943 0%, #090a0d 42%, #1c2028 100%);
  border: 1px solid #3e4149;
  border-radius: 52px;
  box-shadow: 0 34px 70px rgba(1, 19, 8, 0.48), inset 0 0 0 2px #0b0c10;
  padding: 8px;
  position: relative;
  transform: rotate(5deg);
  width: min(25vw, 252px);
}

.feature-phone {
  transform: rotate(-4deg);
  width: min(28vw, 282px);
}

.feature-tournaments .feature-phone {
  transform: rotate(4deg);
}

.phone-device::before {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  content: "";
  inset: 3px;
  pointer-events: none;
  position: absolute;
}

.phone-screen-frame {
  aspect-ratio: var(--iphone-17-pro-screen);
  background: #050608;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.phone-screen-image {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.phone-side {
  background: linear-gradient(180deg, #2d3139 0%, #07080a 100%);
  border-radius: 999px;
  position: absolute;
  width: 4px;
}

.phone-side-left {
  height: 52px;
  left: -4px;
  top: 138px;
}

.phone-side-right {
  height: 78px;
  right: -4px;
  top: 240px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 18px 24px 28px;
  width: calc(100% - 48px);
}

.site-footer p {
  font-size: 14px;
  font-weight: 820;
  margin: 0;
}

.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

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

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

@media (max-width: 900px) {
  .landing-shell {
    padding: 26px 20px 18px;
  }

  .landing-carousel {
    max-width: 680px;
  }

  .hero {
    align-items: start;
    gap: 32px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .brand {
    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 56px);
  }

  h2 {
    font-size: clamp(38px, 9.5vw, 54px);
  }

  .phone-wrap {
    justify-content: flex-start;
    min-height: 0;
  }

  .phone-device {
    width: min(58vw, 235px);
  }

  .feature-phone {
    width: min(56vw, 258px);
  }
}

@media (max-width: 560px) {
  html,
  body {
    min-height: 100svh;
  }

  body {
    background:
      radial-gradient(circle at 22% 8%, rgba(123, 255, 155, 0.2), transparent 34%),
      linear-gradient(135deg, #0c1710 0%, #1d2a1d 100%);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .landing-shell {
    display: block;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 10px 10px calc(138px + env(safe-area-inset-bottom));
  }

  .landing-carousel {
    gap: 0;
    height: auto;
    max-width: none;
  }

  .carousel-track {
    background:
      radial-gradient(circle at 8% 4%, rgba(230, 255, 217, 0.3), transparent 28%),
      radial-gradient(circle at 94% 86%, rgba(164, 255, 102, 0.4), transparent 34%),
      linear-gradient(145deg, #0d5a35 0%, #24a64b 58%, #8be459 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.32);
    display: grid;
    gap: 0;
    height: auto;
    overflow: hidden;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .hero {
    align-content: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 18px;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 30px 14px 28px;
    position: relative;
  }

  .hero + .hero {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 34px;
  }

  .carousel-slide {
    min-width: 0;
    scroll-snap-align: none;
  }

  .hero-copy {
    gap: 10px;
    max-width: none;
    position: relative;
    z-index: 3;
  }

  .brand,
  .eyebrow,
  h1,
  h2,
  .feature-pills,
  .lede {
    position: relative;
    z-index: 3;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.04) 52%, rgba(0, 0, 0, 0.1) 100%),
      radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1.2px);
    background-size: 100% 100%, 18px 18px;
    content: "";
    inset: 0;
    opacity: 0.46;
    pointer-events: none;
    position: absolute;
    z-index: 1;
  }

  .feature-card::before {
    opacity: 0.2;
  }

  .brand {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .feature-card .brand {
    display: none;
  }

  .brand-mark {
    border-radius: 10px;
    height: 40px;
    width: 40px;
  }

  .eyebrow {
    color: #eaffdf;
    font-size: 11.5px;
    padding: 7px 10px;
  }

  h1 {
    font-size: clamp(39px, 11.6vw, 50px);
    line-height: 0.98;
    max-width: 350px;
  }

  h2 {
    font-size: clamp(39px, 11.2vw, 49px);
    line-height: 0.98;
    max-width: 340px;
  }

  .lede {
    color: rgba(247, 255, 244, 0.9);
    font-size: 14px;
    line-height: 1.3;
    max-width: 326px;
    text-shadow: 0 2px 16px rgba(2, 24, 10, 0.32);
  }

  .hero-signup-panel {
    display: none;
  }

  .mobile-signup-panel {
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    gap: 6px;
    left: 14px;
    margin-top: 0;
    max-width: none;
    position: fixed;
    right: 14px;
    z-index: 20;
  }

  .waitlist-form {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 18px 38px rgba(2, 38, 16, 0.24);
    gap: 8px;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 8px;
  }

  .mobile-signup-panel .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form input {
    background: #fff;
    border: 1px solid rgba(11, 107, 67, 0.14);
    border-radius: 7px;
    font-size: 15px;
    min-height: 46px;
    padding: 0 14px;
  }

  .waitlist-form button {
    border-radius: 7px;
    font-size: 15px;
    min-height: 46px;
    width: 100%;
  }

  .mobile-signup-panel .waitlist-form button {
    padding: 0 14px;
    width: 100%;
  }

  .form-status {
    font-size: 12px;
    min-height: 16px;
  }

  .waitlist-modal {
    padding: 18px;
  }

  .waitlist-modal-card {
    padding: 26px 20px 20px;
    width: min(100%, 350px);
  }

  .waitlist-modal-logo {
    height: 60px;
    width: 60px;
  }

  .waitlist-modal-card h2 {
    font-size: 24px;
    line-height: 1.1;
  }

  #waitlist-modal-message {
    font-size: 15px;
  }

  .signup-note,
  .follow-link {
    display: none;
  }

  .feature-pills {
    gap: 7px;
    margin-top: 1px;
    max-width: 328px;
  }

  .feature-pills span {
    font-size: 11.5px;
    padding: 8px 9px;
  }

  .carousel-controls {
    display: none;
  }

  .phone-wrap {
    justify-content: center;
    left: auto;
    min-height: 0;
    opacity: 1;
    padding-top: 0;
    pointer-events: none;
    position: relative;
    right: auto;
    transform: none;
    width: 100%;
    z-index: 3;
  }

  .phone-device {
    border-radius: 44px;
    box-shadow: 0 28px 58px rgba(2, 23, 9, 0.42), inset 0 0 0 2px #0b0c10;
    filter: saturate(1.14) contrast(1.08);
    padding: 7px;
    transform: none;
    width: min(78vw, 300px);
  }

  .feature-card .phone-wrap {
    opacity: 0.94;
  }

  .feature-card .phone-device {
    filter: saturate(1.05) contrast(1.03);
    width: min(76vw, 292px);
  }

  .phone-device::before {
    border-radius: 42px;
  }

  .phone-screen-frame {
    border-radius: 38px;
  }

  .phone-side {
    display: none;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 560px) and (max-height: 720px) {
  .landing-shell {
    padding-top: 10px;
    padding-bottom: calc(130px + env(safe-area-inset-bottom));
  }

  .hero {
    gap: 14px;
    padding-bottom: 24px;
    padding-top: min(3.6svh, 22px);
  }

  .hero-copy {
    gap: 7px;
  }

  h1 {
    font-size: clamp(36px, 10.6vw, 44px);
  }

  h2 {
    font-size: clamp(35px, 10.2vw, 43px);
  }

  .lede {
    font-size: 12.8px;
    line-height: 1.26;
  }

  .waitlist-form input,
  .waitlist-form button {
    min-height: 44px;
  }

  .mobile-signup-panel {
    bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .phone-wrap {
    left: auto;
    opacity: 1;
    right: auto;
    transform: none;
  }

  .phone-device {
    width: min(74vw, 278px);
  }

  .feature-card .phone-device {
    width: min(72vw, 270px);
  }
}
