:root {
  color-scheme: dark;
  --bg: #041212;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4fbf8;
  --muted: #b9c8c9;
  --muted-soft: #8fa5a4;
  --emerald: #6ee7b7;
  --sky: #7dd3fc;
  --amber: #f7d58a;
  --ink: #041212;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.18), transparent 28%),
    linear-gradient(225deg, rgba(125, 211, 252, 0.14), transparent 30%),
    linear-gradient(140deg, #041111 0%, #0a2422 54%, #061011 100%);
  overflow-x: hidden;
}

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

img {
  display: block;
}

.landing-page {
  min-height: 100vh;
  overflow: hidden;
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding: 20px 24px 72px;
}

.board-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.11;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.22) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.22) 75%);
  background-position: 0 0, 44px 44px;
  background-size: 88px 88px;
}

.top-nav {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 18, 18, 0.7);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 16px;
  z-index: 100;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.top-nav:hover {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(4, 18, 18, 0.8);
}

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

.brand-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(167, 243, 208, 0.36);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.26), rgba(125, 211, 252, 0.14));
}

.brand-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
}

.brand-copy strong {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(244, 251, 248, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.landing-footer a {
  transition: color 160ms ease;
}

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

.nav-login,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav-login {
  border: 1px solid rgba(167, 243, 208, 0.28);
  background: rgba(110, 231, 183, 0.1);
  padding: 10px 16px;
  color: #ecfdf5;
}

.nav-login:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.hero-layout {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
  padding: 78px 0 10px;
}

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

.eyebrow {
  margin: 0;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-lede,
.section-heading p,
.progress-copy p {
  color: rgba(226, 232, 240, 0.78);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action {
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--emerald), var(--sky));
  padding: 12px 24px;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.25);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 35px rgba(52, 211, 153, 0.45);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  color: var(--text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.hero-metrics article,
.feature-card,
.feature-list article,
.progress-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.hero-metrics article {
  display: grid;
  gap: 6px;
  padding: 16px;
  text-align: center;
}

.metric-symbol,
.feature-icon,
.progress-panel span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto;
  border: 1px solid rgba(167, 243, 208, 0.24);
  border-radius: 8px;
  background: rgba(110, 231, 183, 0.12);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.hero-metrics strong {
  font-size: 17px;
}

.hero-metrics span:last-child {
  color: rgba(185, 200, 201, 0.76);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.app-showcase {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mockup-glow {
  position: absolute;
  inset: 8% 0 2%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 70% 24%, rgba(125, 211, 252, 0.26), transparent 34%),
    radial-gradient(circle at 34% 62%, rgba(110, 231, 183, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(7, 23, 23, 0.2), rgba(5, 18, 18, 0));
  filter: blur(10px);
}

.mockup-frame {
  position: absolute;
  margin: 0;
}

.mockup-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: saturate(1.03) contrast(1.02);
}

.mockup-frame-primary {
  top: 54px;
  right: -8px;
  width: min(100%, 610px);
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.48));
}

.mockup-frame-secondary {
  left: 4px;
  bottom: 0;
  width: min(38vw, 268px);
  transform: rotate(-3deg);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

.mockup-frame-secondary img {
  border-radius: 28px;
}

.training-section,
.feature-section,
.progress-section {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 82px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.section-heading .eyebrow,
.progress-copy .eyebrow {
  margin-bottom: 12px;
}

.split-heading,
.progress-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: center;
}

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

.feature-card {
  display: grid;
  align-content: start;
  padding: 24px;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 183, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.hero-metrics article {
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-metrics article:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 183, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.09);
}

.feature-card p,
.feature-list span {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.62;
}

.feature-icon {
  margin: 0 0 20px;
}

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

.feature-list article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.feature-list strong {
  color: var(--amber);
  font-size: 16px;
}

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

.progress-panel div {
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-panel div:hover {
  transform: scale(1.03);
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.landing-footer {
  display: flex;
  width: min(100%, 1200px);
  margin: 0 auto;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 24px 40px;
  color: rgba(185, 200, 201, 0.82);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero-layout,
  .split-heading,
  .progress-section {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 560px;
  }

  .mockup-frame-primary {
    right: 0;
  }

  .mockup-frame-secondary {
    left: 0;
    width: min(32vw, 250px);
  }

  .feature-grid,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-section {
    padding: 16px 16px 54px;
  }

  .top-nav {
    align-items: stretch;
    border-radius: 8px;
    flex-direction: column;
  }

  .brand-mark,
  .nav-login {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
    gap: 16px;
    font-size: 13px;
  }

  .hero-layout {
    gap: 34px;
    padding-top: 48px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede,
  .section-heading p,
  .progress-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .feature-grid,
  .feature-list,
  .progress-panel {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .mockup-glow {
    inset: 4% 0 0;
  }

  .mockup-frame {
    position: static;
    width: 100%;
  }

  .mockup-frame-primary {
    filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.42));
  }

  .mockup-frame-secondary {
    display: none;
  }

  .training-section,
  .feature-section,
  .progress-section {
    padding: 62px 16px;
  }

  .landing-footer {
    flex-direction: column;
    padding-inline: 16px;
  }
}

@media (max-width: 440px) {
  .nav-links {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
