:root {
  --bg: #eff5ff;
  --ink: #14233f;
  --muted: #63728c;
  --line: rgba(20, 35, 63, 0.1);
  --navy: #0f1730;
  --navy-soft: #16264d;
  --white: #ffffff;
  --pink: #ff80cf;
  --sky: #68caff;
  --shadow: 0 28px 80px rgba(14, 26, 52, 0.12);
  --shadow-strong: 0 36px 90px rgba(8, 16, 34, 0.28);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI Variable Text", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 128, 207, 0.12), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(104, 202, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, #edf5ff 32%, #fafcff 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  width: calc(100% - 48px);
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 6px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(83, 119, 214, 0.22);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3,
.mini-row strong,
.usage-label strong {
  font-family: "Space Grotesk", "Segoe UI Variable Display", sans-serif;
  letter-spacing: -0.04em;
}

.brand-copy strong {
  font-size: 1.08rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav {
  justify-content: center;
}

.site-nav a,
.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-button,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7ec8, #8b73ff 44%, #57c6ff);
  box-shadow: 0 18px 34px rgba(93, 126, 214, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 35, 63, 0.12);
}

.button-secondary-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3f6ff;
}

.header-button:hover,
.button:hover,
.header-button:focus-visible,
.button:focus-visible {
  transform: translateY(-1px);
}

.page-content {
  display: grid;
  gap: 28px;
}

.hero,
.panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 32px;
  padding: 46px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 128, 207, 0.26), transparent 20%),
    radial-gradient(circle at 82% 20%, rgba(104, 202, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #0d1528 0%, #142649 52%, #0d1f3d 100%);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.hero-copy,
.hero-media,
.panel-head,
.day-grid,
.release-grid,
.screen-grid,
.setup-grid,
.setup-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow,
.mini-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #c9ddff;
}

.eyebrow-dark,
.mini-label-dark {
  color: var(--navy-soft);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  margin-top: 16px;
  max-width: 10ch;
  font-size: clamp(3.8rem, 6vw, 6.6rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 0.94;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.02;
}

.lede,
.hero-note-card,
.panel-head p,
.rule-copy p,
.screen-copy p,
.setup-card p,
.setup-copy p,
.download-spec-grid span,
.faq-grid p,
.site-footer p {
  line-height: 1.6;
}

.lede {
  margin-top: 18px;
  max-width: 28ch;
  color: rgba(243, 247, 255, 0.9);
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.hero-points li,
.usage-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(237, 243, 255, 0.9);
}

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

.hero-shot,
.rule-shot,
.screen-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-shot img,
.rule-shot img,
.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot {
  position: absolute;
  box-shadow: 0 26px 54px rgba(6, 15, 34, 0.28);
}

.hero-shot-large {
  inset: 0 0 76px 76px;
  transform: rotate(-2deg);
}

.hero-shot-small {
  left: 0;
  bottom: 0;
  width: min(42%, 340px);
  aspect-ratio: 1.46 / 1;
  transform: rotate(4deg);
}

.hero-note-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(40%, 280px);
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 22, 44, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(6, 15, 34, 0.26);
}

.kidtube-note-logo {
  width: min(100%, 168px);
  height: auto;
  margin: -8px 0 6px;
}

.mini-label {
  color: #d3e2ff;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.96rem;
  font-weight: 700;
}

.mini-row-muted {
  color: rgba(222, 232, 252, 0.78);
}

.panel {
  padding: 38px;
}

.panel-light {
  background: rgba(255, 255, 255, 0.86);
}

.panel-white {
  background: rgba(255, 255, 255, 0.92);
}

.panel-release {
  display: grid;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.94));
}

.panel-dark {
  color: #fff;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 128, 207, 0.18), transparent 24%),
    linear-gradient(135deg, #101a31 0%, #132448 52%, #0d1c39 100%);
}

.panel-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.panel-head p {
  color: var(--muted);
}

.release-head {
  max-width: 820px;
}

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

.release-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 230px;
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 35, 63, 0.1);
  box-shadow: 0 18px 42px rgba(14, 26, 52, 0.08);
}

.release-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff7ec8, #57c6ff);
  font-weight: 900;
}

.release-card p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.release-actions {
  margin-top: 0;
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  margin-top: 24px;
}

.usage-card,
.rule-card,
.screen-card,
.setup-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.usage-card,
.rule-card,
.screen-card {
  background: rgba(255, 255, 255, 0.92);
}

.usage-card {
  padding: 24px;
}

.usage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.usage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dff4ff;
  color: var(--navy-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.usage-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.usage-row {
  display: grid;
  gap: 10px;
}

.usage-row-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.usage-name {
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.usage-name span {
  color: var(--muted);
  font-weight: 700;
}

.usage-minutes {
  white-space: nowrap;
  font-size: 1rem;
}

.usage-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e7edf7;
  overflow: hidden;
}

.usage-bar-fill {
  display: block;
  width: var(--usage-fill-width, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--usage-fill-start, #f07ad9), var(--usage-fill-end, #8c6eff));
}

.usage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.usage-tags span {
  background: #f4f7ff;
  color: var(--muted);
}

.rule-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 244, 255, 0.72));
}

.rule-shot,
.screen-frame {
  background: #f4f8ff;
  box-shadow: 0 16px 36px rgba(16, 24, 48, 0.1);
}

.rule-copy {
  display: grid;
  gap: 10px;
}

.rule-copy p,
.screen-copy p {
  color: var(--muted);
}

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

.rule-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8ad2, #68caff);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.screen-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.screen-card-wide {
  grid-column: span 1;
}

.screen-frame-soft {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.screen-copy {
  display: grid;
  gap: 6px;
}

.setup-copy {
  max-width: 720px;
  display: grid;
  gap: 14px;
}

.setup-copy p {
  color: rgba(243, 247, 255, 0.82);
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.setup-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.setup-card-accent {
  background: linear-gradient(135deg, rgba(255, 128, 207, 0.14), rgba(104, 202, 255, 0.16));
}

.download-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.download-spec-grid article,
.faq-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.download-spec-grid article {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.download-spec-grid strong {
  color: #fff;
  font-family: "Space Grotesk", "Segoe UI Variable Display", sans-serif;
  font-size: 1.1rem;
}

.download-spec-grid span {
  color: rgba(243, 247, 255, 0.78);
}

.download-spec-grid a {
  align-self: end;
  color: #aee5ff;
  font-weight: 900;
  text-decoration: none;
}

.download-spec-grid a:hover,
.download-spec-grid a:focus-visible {
  text-decoration: underline;
}

.faq-panel {
  display: grid;
  gap: 24px;
}

.faq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 35, 63, 0.1);
  box-shadow: 0 18px 42px rgba(14, 26, 52, 0.08);
}

.faq-grid p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 4px 0;
}

.site-footer p {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero,
  .day-grid,
  .setup-grid,
  .download-spec-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 640px;
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: calc(100% - 20px);
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .site-header,
  .hero,
  .panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

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

  .hero,
  .panel {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .hero-media {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .hero-shot,
  .hero-note-card {
    position: static;
    width: 100%;
    transform: none;
  }

  .hero-shot-large,
  .hero-shot-small {
    inset: auto;
    aspect-ratio: auto;
  }

  .release-grid,
  .screen-grid,
  .setup-grid,
  .download-spec-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .usage-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .header-button {
    width: 100%;
  }
}
