:root {
  color-scheme: dark;
  --bg: #090b10;
  --bg-soft: #10131a;
  --panel: #151922;
  --panel-strong: #1b202b;
  --text: #f7f8fb;
  --muted: #b5bfcc;
  --faint: #7b8491;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #36dff2;
  --red: #ff5d66;
  --gold: #f6c85f;
  --green: #77d188;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(54, 223, 242, 0.28);
}

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

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  inset: 16px auto auto 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(9, 11, 16, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-links .nav-cta {
  color: #071014;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 800;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #071014;
  background: #78effa;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  height: calc(100svh - 136px);
  min-height: 590px;
  max-height: 820px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transform: scale(1.015);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 11, 16, 0.98) 0%, rgba(9, 11, 16, 0.82) 38%, rgba(9, 11, 16, 0.25) 72%),
    linear-gradient(0deg, rgba(9, 11, 16, 0.82) 0%, rgba(9, 11, 16, 0.05) 42%);
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 46px 22px 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 5.7rem;
  font-weight: 900;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 30px;
  color: #e6edf4;
  font-size: 1.42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #071014;
  background: var(--cyan);
  box-shadow: 0 16px 42px rgba(54, 223, 242, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #78effa;
}

.button-secondary,
.button-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.hero-proof div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.hero-proof dt {
  color: var(--text);
  font-weight: 850;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #0d1016;
}

.signal-strip span {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #dde5ec;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.signal-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 94px 22px;
}

.intro-section {
  padding-top: 82px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 3.6rem;
  font-weight: 900;
}

.intro-grid p,
.section-header p,
.showcase-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.section-header p {
  max-width: 430px;
  margin-bottom: 5px;
}

.section-header.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-header.centered p {
  max-width: 650px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card,
.system-grid article,
.price-card,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.work-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.work-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: var(--cyan);
}

.work-card.treehouse::before {
  background: var(--green);
}

.work-card.rides::before {
  background: var(--gold);
}

.work-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 900;
}

.work-card h3 {
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 900;
}

.work-card p {
  color: var(--muted);
  min-height: 116px;
}

.work-card ul,
.price-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.work-card li,
.price-card li {
  position: relative;
  padding-left: 20px;
  color: #dce4eb;
  font-size: 0.96rem;
}

.work-card li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
}

.treehouse li::before {
  background: var(--green);
}

.rides li::before {
  background: var(--gold);
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
  padding: 86px max(22px, calc((100vw - var(--max)) / 2));
  background: #eff3f6;
  color: #111821;
}

.showcase-section .section-kicker {
  color: #b43a43;
}

.showcase-copy p {
  color: #465260;
}

.showcase-media {
  margin: 0;
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(17, 24, 33, 0.24);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.system-grid article {
  min-height: 300px;
  padding: 24px;
  background: var(--bg-soft);
}

.system-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 2.2rem;
  font-weight: 950;
}

.system-grid h3 {
  margin-bottom: 13px;
  font-size: 1.45rem;
}

.system-grid p,
.timeline p {
  color: var(--muted);
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--bg-soft);
}

.timeline span {
  color: var(--cyan);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

.pricing-section {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(255, 93, 102, 0.08), rgba(9, 11, 16, 0) 34%),
    #0d1016;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pricing-group {
  display: grid;
  gap: 18px;
}

.pricing-group + .pricing-group {
  margin-top: 44px;
}

.pricing-group-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.pricing-group-header h3 {
  margin-bottom: 0;
  font-size: 1.9rem;
  font-weight: 950;
}

.pricing-group-header p {
  max-width: 560px;
  margin-bottom: 3px;
  color: var(--muted);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 24px;
  background: var(--panel);
}

.starter-card {
  min-height: 485px;
}

.price-card.featured {
  border-color: rgba(54, 223, 242, 0.64);
  background:
    linear-gradient(180deg, rgba(54, 223, 242, 0.12), rgba(255, 255, 255, 0) 38%),
    var(--panel-strong);
}

.badge {
  width: fit-content;
  margin: -8px 0 18px;
  padding: 7px 10px;
  color: #071014;
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-name {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 900;
}

.price {
  margin-bottom: 15px;
  font-size: 2.65rem;
  line-height: 1;
  font-weight: 950;
}

.plan-note {
  min-height: 72px;
  margin-bottom: 24px;
  color: var(--muted);
}

.price-card .button {
  width: 100%;
  margin-top: 28px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 106px;
}

.contact-routes {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
}

.contact-routes a {
  color: var(--cyan);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: 26px;
  background: var(--panel-strong);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--text);
  background: #0d1016;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(54, 223, 242, 0.15);
}

.form-button {
  min-height: 56px;
  cursor: pointer;
}

.form-note {
  margin: -4px 0 0;
  color: var(--faint);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--faint);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
}

.payment-main {
  min-height: calc(100svh - 76px);
  background:
    linear-gradient(180deg, rgba(54, 223, 242, 0.08), rgba(9, 11, 16, 0) 340px),
    var(--bg);
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
  padding-top: 76px;
}

.payment-copy h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

.payment-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
}

.payment-summary {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-top: 34px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-summary span,
.payment-summary small {
  color: var(--muted);
  font-weight: 800;
}

.payment-summary strong {
  font-size: 3rem;
  line-height: 1;
  font-weight: 950;
}

.payment-form {
  position: sticky;
  top: 104px;
}

.payment-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.payment-alert {
  padding: 13px 14px;
  color: #dce4eb;
  background: rgba(54, 223, 242, 0.1);
  border: 1px solid rgba(54, 223, 242, 0.26);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 800;
}

.payment-alert[data-tone="success"] {
  color: #e9fff0;
  background: rgba(119, 209, 136, 0.12);
  border-color: rgba(119, 209, 136, 0.34);
}

.payment-alert[data-tone="warning"] {
  color: #fff7e3;
  background: rgba(246, 200, 95, 0.12);
  border-color: rgba(246, 200, 95, 0.34);
}

.payment-alert[data-tone="error"] {
  color: #fff0f1;
  background: rgba(255, 93, 102, 0.12);
  border-color: rgba(255, 93, 102, 0.34);
}

.payment-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.payment-policy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.payment-policy article {
  min-height: 250px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-policy span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 950;
}

.payment-policy h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.payment-policy p {
  margin-bottom: 0;
  color: var(--muted);
}

.policy-layout {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
}

.policy-layout h2 {
  margin: 34px 0 12px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.policy-layout p,
.policy-layout li {
  font-size: 1rem;
}

.policy-layout a {
  color: var(--cyan);
  font-weight: 800;
}

.legal-callout {
  padding: 16px 18px;
  color: #f1f6fb;
  background: rgba(246, 200, 95, 0.1);
  border: 1px solid rgba(246, 200, 95, 0.28);
  border-radius: var(--radius);
}

.agreement-form {
  margin-top: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox-label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #dce4eb;
  font-weight: 700;
}

.checkbox-label input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

@media (max-width: 1060px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .pricing-grid,
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
  }

  .work-card p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-nav {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    background: rgba(9, 11, 16, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .hero {
    grid-template-rows: clamp(230px, 58vw, 340px) auto;
    align-items: stretch;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-row: 1;
    transform: none;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(9, 11, 16, 0.55), rgba(9, 11, 16, 0) 52%);
  }

  .hero::before {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    grid-row: 2;
    background: var(--bg);
    padding: 34px 18px 42px;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof div {
    padding: 10px 12px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip span {
    min-height: 48px;
  }

  .section,
  .pricing-section {
    padding: 68px 18px;
  }

  .intro-grid,
  .section-header,
  .showcase-section,
  .process-section,
  .contact-section,
  .payment-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: grid;
    gap: 16px;
  }

  .showcase-section {
    padding: 68px 18px;
  }

  .system-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-group-header {
    display: grid;
    gap: 10px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-copy {
    position: static;
  }

  .payment-form {
    position: static;
  }

  .payment-policy {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    padding-inline: 18px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3rem;
  }

  .hero-lede {
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-bottom: 20px;
  }

  .hero-proof dd {
    display: none;
  }

  .price {
    font-size: 2.55rem;
  }
}

@media (max-height: 700px) and (max-width: 760px) {
  .eyebrow {
    margin-bottom: 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-proof {
    display: none;
  }
}

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

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
