:root {
  --day-ink: #101828;
  --day-muted: #667085;
  --day-line: #e4e7ec;
  --day-purple: #7c3aed;
  --day-green: #079455;
  --day-orange: #ea580c;
  --day-blue: #2563eb;
}

body.starter-day-page .main {
  max-width: 1240px;
  background:
    radial-gradient(circle at 96% 0, rgba(124, 58, 237, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(16, 24, 40, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 40, 0.025) 1px, transparent 1px),
    #f5f7fb;
  background-size: auto, 44px 44px, 44px 44px, auto;
}

.day1-shell {
  display: grid;
  gap: 22px;
}

.day1-hero {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(129, 140, 248, 0.5), transparent 28%),
    radial-gradient(circle at 8% 110%, rgba(16, 185, 129, 0.34), transparent 36%),
    linear-gradient(135deg, #101828 0%, #1e1b4b 54%, #312e81 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.24);
}

.day1-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.04),
    0 0 0 78px rgba(255, 255, 255, 0.025);
}

.day1-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.day1-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.day1-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 14px #6ee7b7;
}

.day1-hero h1 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.day1-hero p {
  max-width: 670px;
  margin: 18px 0 0;
  color: #d0d5dd;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
}

.day1-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.day1-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
}

.day1-path-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 4px 4px 0;
}

.day1-path-head h2 {
  margin: 0;
  color: var(--day-ink);
  font-size: clamp(25px, 3.5vw, 36px);
  letter-spacing: -0.035em;
}

.day1-path-head p {
  margin: 7px 0 0;
  color: var(--day-muted);
  font-size: 15px;
}

.day1-path-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--day-line);
  border-radius: 999px;
}

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

.learning-step-card {
  --step-color: var(--day-blue);
  --step-soft: #eff6ff;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 220px;
  padding: clamp(22px, 3vw, 30px);
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e4e7ec;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.learning-step-card {
  width: 100%;
  font: inherit;
}

.learning-step-card:hover,
.learning-step-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--step-color) 42%, white);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
  outline: none;
}

.learning-step-card.is-explain {
  --step-color: var(--day-purple);
  --step-soft: #f5f3ff;
}

.learning-step-card.is-choice {
  --step-color: var(--day-orange);
  --step-soft: #fff7ed;
}

.learning-step-card.is-build {
  --step-color: var(--day-green);
  --step-soft: #ecfdf3;
}

.learning-step-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--step-color);
  font-size: 15px;
  font-weight: 900;
  background: var(--step-soft);
  border: 1px solid color-mix(in srgb, var(--step-color) 22%, white);
  border-radius: 17px;
}

.learning-step-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.learning-step-type {
  color: var(--step-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.learning-step-card h3 {
  margin: 9px 0 8px;
  color: var(--day-ink);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.learning-step-card p {
  margin: 0;
  color: var(--day-muted);
  font-size: 14px;
  line-height: 1.55;
}

.learning-step-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
}

.learning-step-meta {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.learning-step-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--step-color);
  font-size: 13px;
  font-weight: 850;
}

.learning-step-action::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.2s ease;
}

.learning-step-card:hover .learning-step-action::after {
  transform: translateX(4px);
}

.day1-back-btn {
  margin-bottom: 16px;
}

.video-panel {
  margin-top: 14px;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  border-radius: 18px;
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.studio-mode .mobile-menu-btn,
.studio-mode #sidebar-area,
.studio-mode .day1-shell {
  display: none !important;
}

.studio-mode .container {
  display: block;
}

.studio-mode .main {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 14px;
}

.studio-mode .video-panel {
  margin-top: 0;
  padding: 0;
  background: #000;
  border: 0;
  box-shadow: none;
}

.studio-mode .day1-back-btn {
  position: fixed;
  z-index: 1200;
  top: 12px;
  left: 12px;
}

@media (max-width: 760px) {
  body.starter-day-page .main {
    padding-inline: 14px;
  }

  .day1-hero {
    min-height: auto;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .day1-hero::after {
    right: -160px;
  }

  .day1-path-head {
    align-items: start;
  }

  .day1-path-count {
    display: none;
  }

  .day1-step-grid {
    grid-template-columns: 1fr;
  }

  .learning-step-card {
    min-height: 200px;
    padding: 20px;
    border-radius: 22px;
  }

  .learning-step-number {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .learning-step-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .learning-step-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
  }

  body.starter-day-page .uz-support-launcher {
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
  }
}
