:root {
  color-scheme: light;
  --ink: #1f2d3a;
  --muted: #5d6d7e;
  --line: #dce5ec;
  --panel: #f7fafc;
  --brand: #2c3e50;
  --accent: #dfff00;
  --link: #1d70b8;
  --success: #27ae60;
  --blue: #3498db;
  --orange: #f39c12;
  --shadow: 0 22px 70px rgba(31, 45, 58, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
}

a {
  color: var(--link);
}

.site-header {
  background: var(--brand);
  color: #ffffff;
  border-bottom: 6px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 10px 0 0 rgba(44, 62, 80, 0.12);
  position: relative;
}

.ball::before,
.ball::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 16px;
  height: 26px;
  border: 2px solid rgba(44, 62, 80, 0.45);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.ball::before {
  left: -3px;
}

.ball::after {
  right: -3px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

main.wrap {
  padding: 42px 0 56px;
}

.hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(223, 255, 0, 0.24), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.45rem, 7vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

main.wrap h2 {
  margin-top: 36px;
  font-size: 1.4rem;
  letter-spacing: normal;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

p {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section {
  padding: 74px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(31, 45, 58, 0.06);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button-secondary {
  background: #ffffff;
  color: var(--brand);
}

.phone-card {
  width: min(100%, 380px);
  min-height: 620px;
  justify-self: center;
  border: 12px solid #152331;
  border-radius: 44px;
  background: #f4f8fb;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotate(2deg);
}

.phone-top {
  width: 120px;
  height: 20px;
  border-radius: 0 0 16px 16px;
  background: #152331;
  margin: -18px auto 18px;
}

.app-preview {
  display: grid;
  gap: 18px;
}

.preview-header {
  display: grid;
  gap: 4px;
  min-height: 168px;
  align-content: end;
  padding: 22px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 22%, var(--accent) 0 18%, transparent 19%),
    linear-gradient(145deg, var(--brand), #1b2b3a);
}

.preview-header span,
.progress-row span,
.lesson-card p {
  color: var(--muted);
}

.preview-header span {
  color: rgba(255, 255, 255, 0.72);
}

.preview-header strong {
  font-size: 1.65rem;
  line-height: 1.1;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dde8f0;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.lesson-card {
  padding: 18px;
  border-left: 5px solid var(--orange);
  border-radius: 18px;
  background: #ffffff;
}

.lesson-card p {
  margin: 6px 0 0;
}

.feature-band {
  padding: 74px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(223, 255, 0, 0.22), transparent 30%),
    linear-gradient(135deg, #203142, #2c3e50);
}

.feature-band .eyebrow,
.feature-band p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-band h2 {
  color: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.cta {
  margin-bottom: 40px;
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8fbff, #eef8ff);
}

.notice {
  border-left: 4px solid var(--success);
  padding: 14px 16px;
  background: var(--panel);
  margin: 20px 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0 36px;
}

.site-footer a {
  color: inherit;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

  .header-layout {
    display: grid;
  }

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

  .hero {
    padding: 48px 0;
  }

  .phone-card {
    min-height: auto;
    transform: none;
  }

  .section,
  .feature-band {
    padding: 52px 0;
  }

  .cta {
    padding: 28px;
  }
}
