:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7fbff;
  --muted: #b9c6d8;
  --soft: #8fa2b8;
  --teal: #21c7b7;
  --blue: #3b82f6;
  --gold: #f6b44b;
  --green: #56d27b;
  --shadow: 0 24px 70px rgba(1, 8, 20, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 5%, rgba(33, 199, 183, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(246, 180, 75, 0.12), transparent 24rem),
    linear-gradient(180deg, #06101e 0%, #0a1526 45%, #07111f 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 72%);
}

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

img,
svg {
  max-width: 100%;
}

.pinterest-photo {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}

.pinterest-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input {
  font: inherit;
}

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

.page-shell {
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 16, 30, 0.84);
  backdrop-filter: blur(18px);
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: relative;
  width: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -0.42rem;
  left: 0;
}

.nav-toggle span::after {
  position: absolute;
  top: 0.42rem;
  left: 0;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0.42rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 800;
}

.logo-icon {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(33, 199, 183, 0.18);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  color: var(--text);
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  border-radius: 8px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.65rem 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: white;
  outline: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.home-page main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100vh - 76px);
  padding: clamp(3rem, 7vw, 6rem) 0 4rem;
}

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

.eyebrow,
.section-kicker,
.mini-label {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-section h1 {
  margin: 1rem 0 1.25rem;
  color: var(--text);
  font-size: clamp(2.75rem, 7vw, 5.95rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-section p,
.section-heading p,
.section-copy p,
.cta-section p,
.newsletter-section p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-section p {
  max-width: 590px;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.9rem 1.35rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(246, 180, 75, 0.35);
  outline-offset: 3px;
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: #07111f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.button.primary:hover {
  border-color: #f6b44b;
  background: #f6b44b;
  box-shadow: 0 16px 34px rgba(246, 180, 75, 0.2);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #f4f7fb;
}

.button.secondary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #07111f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.hero-showcase {
  position: relative;
  min-height: 540px;
}

.hero-photo {
  position: absolute;
  inset: 0 5% auto 0;
  z-index: 1;
  height: 360px;
}

.hero-photo::after,
.photo-panel .pinterest-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 30, 0.04), rgba(6, 16, 30, 0.38));
  pointer-events: none;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2% 8%;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(33, 199, 183, 0.2), rgba(59, 130, 246, 0.13)),
    radial-gradient(circle at 72% 20%, rgba(246, 180, 75, 0.2), transparent 12rem);
  filter: blur(1px);
  transform: rotate(-4deg);
}

.dashboard-card,
.phone-card,
.counter-card,
.solution-card,
.product-card,
.impact-card,
.story-card,
.partner-grid span,
.feature-panel,
.cta-section,
.newsletter-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: relative;
  z-index: 2;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem;
  margin-top: 7.4rem;
  backdrop-filter: blur(14px);
}

.dashboard-topbar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.dashboard-topbar span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.lesson-card {
  border-radius: 14px;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(33, 199, 183, 0.18), rgba(59, 130, 246, 0.14)),
    rgba(255, 255, 255, 0.08);
}

.lesson-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.lesson-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.progress-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.progress-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 12px;
  background: rgba(2, 9, 22, 0.34);
  padding: 1rem;
}

.progress-list span {
  color: var(--muted);
}

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

.phone-card {
  position: absolute;
  right: -1rem;
  bottom: 0;
  z-index: 3;
  width: min(220px, 48%);
  border-radius: 22px;
  padding: 1rem;
}

.phone-card strong {
  display: block;
  margin: 0.45rem 0 1rem;
}

.phone-bars {
  display: grid;
  gap: 0.55rem;
}

.phone-bars span {
  display: block;
  height: 2.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-bars span:nth-child(2) {
  background: rgba(33, 199, 183, 0.2);
}

.phone-bars span:nth-child(3) {
  width: 72%;
  background: rgba(246, 180, 75, 0.2);
}

.counters-section,
.solution-grid,
.product-grid,
.impact-grid,
.story-grid,
.partner-grid {
  display: grid;
  gap: 1rem;
}

.counters-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem 0 4.5rem;
}

.counter-card,
.solution-card,
.product-card,
.impact-card,
.story-card {
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.counter-card h2,
.impact-card span {
  display: block;
  margin: 0;
  color: var(--teal);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.counter-card p,
.impact-card p,
.solution-card p,
.product-card p,
.story-card p {
  color: var(--muted);
  line-height: 1.7;
}

.counter-card p {
  margin: 0.75rem 0 0;
}

.split-section,
.feature-section,
.solutions-section,
.product-section,
.impact-section,
.stories-section,
.partners-section,
.cta-section,
.newsletter-section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.section-copy h2,
.section-heading h2,
.cta-section h2,
.newsletter-section h2 {
  margin: 0.7rem 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(2rem, 4.7vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.section-heading p {
  margin: 1rem 0 0;
}

.section-copy p {
  margin: 1rem 0 0;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(86, 210, 123, 0.12);
}

.feature-panel {
  min-height: 360px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.photo-panel {
  padding: 0;
  place-items: stretch;
}

.photo-panel .pinterest-photo {
  position: relative;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
}

.network-visual {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(33, 199, 183, 0.22), transparent 26%),
    conic-gradient(from 70deg, rgba(33, 199, 183, 0.22), rgba(59, 130, 246, 0.24), rgba(246, 180, 75, 0.2), rgba(33, 199, 183, 0.22));
}

.network-visual::before,
.network-visual::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.network-visual::after {
  inset: 34%;
  background: rgba(7, 17, 31, 0.62);
}

.network-visual span {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.network-visual span:nth-child(1) {
  top: 8%;
  left: 43%;
}

.network-visual span:nth-child(2) {
  top: 45%;
  right: 6%;
}

.network-visual span:nth-child(3) {
  bottom: 10%;
  left: 42%;
}

.network-visual span:nth-child(4) {
  top: 45%;
  left: 6%;
}

.feature-section {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

.solution-card,
.product-card,
.impact-card,
.story-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.solution-card:hover,
.product-card:hover,
.impact-card:hover,
.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 199, 183, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
}

.card-icon {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 8px;
  background: rgba(33, 199, 183, 0.14);
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
}

.solution-card h3,
.product-card h3 {
  margin: 1.1rem 0 0.65rem;
  color: white;
  font-size: 1.25rem;
}

.product-card h3 {
  margin-top: 0;
}

.solution-card p,
.product-card p,
.story-card p {
  margin: 0;
}

.impact-card p {
  margin: 0.8rem 0 0;
}

.story-card p {
  font-size: 1.08rem;
}

.story-card span {
  display: block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 800;
}

.partner-grid span {
  display: grid;
  min-height: 88px;
  place-items: center;
  border-radius: 12px;
  color: rgba(247, 251, 255, 0.88);
  font-weight: 800;
  line-height: 1.35;
  padding: 1rem;
  text-align: center;
}

.cta-section,
.newsletter-section {
  border-radius: 18px;
  margin: clamp(2rem, 5vw, 4rem) 0;
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(33, 199, 183, 0.17), rgba(59, 130, 246, 0.12)),
    rgba(255, 255, 255, 0.07);
}

.cta-section h2,
.newsletter-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
}

.cta-section p,
.newsletter-section p {
  margin: 0.8rem 0 0;
}

.newsletter-section {
  text-align: center;
}

.newsletter-section > div {
  max-width: 680px;
  margin: 0 auto;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  width: min(620px, 100%);
  margin: 1.5rem auto 0;
}

.newsletter-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 10, 24, 0.45);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(185, 198, 216, 0.7);
}

.newsletter-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(33, 199, 183, 0.14);
  outline: none;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 2rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft);
  padding: 2rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.hidden-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

  .hero-section {
    min-height: auto;
    padding-top: 3.25rem;
  }

  .hero-showcase {
    min-height: 460px;
  }

  .solution-grid,
  .impact-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-section .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container,
  .home-page main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .header-content {
    align-items: center;
    flex-direction: row;
    gap: 0.85rem;
    padding: 0.9rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(5, 12, 24, 0.96);
    box-shadow: 0 18px 60px rgba(1, 8, 20, 0.38);
  }

  .site-nav a {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.75rem 0.8rem;
    text-align: left;
  }

  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-section h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-actions,
  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    grid-template-columns: none;
  }

  .button,
  .newsletter-form button {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .phone-card {
    right: 0.75rem;
  }

  .counters-section,
  .product-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .logo-text {
    font-size: 0.95rem;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.055);
    text-align: left;
  }

  .hero-section p,
  .section-heading p,
  .section-copy p,
  .cta-section p,
  .newsletter-section p {
    font-size: 1rem;
  }

  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase::before {
    inset: 8% 0 0;
  }

  .dashboard-card {
    min-height: 360px;
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.9rem;
  }

  .solution-grid,
  .impact-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .feature-section,
  .solutions-section,
  .product-section,
  .impact-section,
  .stories-section,
  .partners-section,
  .cta-section,
  .newsletter-section {
    padding: 2.6rem 0;
  }

  .feature-panel {
    min-height: 280px;
  }

  .cta-section,
  .newsletter-section {
    margin: 2rem 0;
    padding: 1.25rem;
  }
}
