:root {
  color-scheme: dark light;
  --ink: #0d1117;
  --surface: #151b23;
  --surface-2: #202832;
  --paper: #f5f7f0;
  --paper-2: #ffffff;
  --text: #f0f6fc;
  --muted: #aeb8c3;
  --dark-text: #102016;
  --dark-muted: #516052;
  --green: #4caf50;
  --green-dark: #237a34;
  --gold: #ffc107;
  --water: #5fb3c7;
  --line: rgba(240, 246, 252, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--dark-text);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 5;
  width: 100%;
  border-bottom: 1px solid rgba(240, 246, 252, 0.12);
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: sticky;
}

.nav,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.tm {
  font-size: 0.45em;
  font-weight: 900;
  line-height: 0;
  margin-left: 0.08em;
  position: relative;
  top: -0.55em;
}

.hero-tm {
  font-size: 0.16em;
  top: -0.75em;
}

.brand img {
  width: 36px;
  height: 48px;
  object-fit: contain;
}

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

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92dvh;
  overflow: hidden;
  place-items: end start;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 17, 23, 0.94) 0%, rgba(13, 17, 23, 0.74) 46%, rgba(13, 17, 23, 0.22) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0) 40%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 168px 0 112px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.3rem, 13vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.13rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.35;
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.social-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.disabled {
  border: 1px solid var(--line);
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.intro,
.app-preview,
.social {
  background: var(--ink);
}

.goals,
.benefits {
  background: var(--paper);
  color: var(--dark-text);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p,
.two-column p,
.preview-layout p,
.legal p,
.legal li {
  color: inherit;
}

.two-column,
.preview-layout,
.social-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.stack {
  display: grid;
  gap: 16px;
}

.stat-grid,
.benefit-grid,
.crew-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card,
.benefit-grid article,
.crew-card {
  min-width: 0;
  border: 1px solid rgba(16, 32, 22, 0.14);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 22px;
  box-shadow: 0 16px 42px rgba(16, 32, 22, 0.08);
}

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

.stat-value {
  display: block;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 950;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.stat-value-long {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.stat-card p,
.benefit-grid p,
.crew-card p,
.section-heading p {
  color: var(--dark-muted);
}

.crews {
  background: #e9f1e7;
  color: var(--dark-text);
}

.crews-layout {
  display: grid;
  gap: 28px;
}

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

.phone-shell {
  width: min(340px, 100%);
  justify-self: center;
  border: 1px solid rgba(240, 246, 252, 0.18);
  border-radius: 36px;
  background: #05070a;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 620px;
  border: 1px solid rgba(240, 246, 252, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #151b23 0%, #0d1117 100%);
  padding: 30px 22px;
}

.phone-screen img {
  display: block;
  width: 76px;
  height: 101px;
  margin: 0 auto 30px;
  object-fit: contain;
}

.screen-label {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--water));
}

.screen-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.screen-row span {
  color: var(--green);
  font-weight: 900;
}

.screen-button {
  margin-top: 88px;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  padding: 16px;
  text-align: center;
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.social-inner {
  align-items: end;
}

.social-link {
  min-width: 190px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.social-link span {
  color: var(--muted);
  font-size: 0.86rem;
}

.social-link strong {
  color: var(--green);
  font-size: 1.2rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #080b10;
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
}

.footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-main {
  background: var(--paper);
  color: var(--dark-text);
  padding: 72px 16px 96px;
}

.legal {
  width: min(820px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 18px 46px rgba(16, 32, 22, 0.08);
}

.legal h1 {
  color: var(--dark-text);
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.legal h2 {
  margin-top: 34px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal a {
  color: var(--green-dark);
  font-weight: 800;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 72px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(13, 17, 23, 0.94) 0%, rgba(13, 17, 23, 0.7) 100%),
      linear-gradient(0deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0) 42%);
  }

  .section {
    padding: 64px 0;
  }

  .two-column,
  .preview-layout,
  .social-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-grid,
  .benefit-grid,
  .crew-card-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .social-links {
    flex-direction: column;
  }

  .button,
  .social-link {
    width: 100%;
  }

  .phone-screen {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
