.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 3px;
  padding: 9px 13px;
  border: 1px solid rgba(21, 25, 20, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .52);
  color: #151914;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.theme-switch:hover { background: #fff; border-color: rgba(21,25,20,.42); }
.theme-switch-icon { display: flex; gap: 3px; }
.theme-switch-icon i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #6c5ce7; }
.theme-switch-icon i:last-child { background: #dafa57; }

html[data-theme="editorial"] {
  --paper: #f3efe6;
  --paper-soft: #e8e2d7;
  --ink: #17243b;
  --muted: #667083;
  --line: rgba(23, 36, 59, .22);
  --acid: #f2c14e;
  --violet: #a83f32;
  --orange: #d35b48;
  --blue: #aacde3;
  --green: #a7c4a0;
  --white: #fffdf8;
  --radius-lg: 4px;
  --radius-md: 3px;
  --shadow: 0 14px 36px rgba(23, 36, 59, .1);
}

html[data-theme="editorial"] body {
  background: #f3efe6;
  color: #17243b;
  font-family: Arial, Helvetica, sans-serif;
}
html[data-theme="editorial"] .site-header {
  top: 0;
  width: 100%;
  max-width: none;
  padding: 15px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(23,36,59,.16);
  border-radius: 0;
  background: rgba(243,239,230,.94);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
html[data-theme="editorial"] .site-header.is-scrolled { background: rgba(243,239,230,.96); border-color: rgba(23,36,59,.24); box-shadow: 0 5px 18px rgba(23,36,59,.06); }
html[data-theme="editorial"] .brand { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
html[data-theme="editorial"] .brand-mark { width: 34px; height: 34px; border-radius: 0; background: #17243b; color: #f2c14e; font-family: Arial, sans-serif; }
html[data-theme="editorial"] .main-nav { gap: 2px; font-size: 13px; font-weight: 600; }
html[data-theme="editorial"] .main-nav a { border-radius: 0; }
html[data-theme="editorial"] .main-nav .nav-contact { border-radius: 0; background: #a83f32; }
html[data-theme="editorial"] .theme-switch { border-radius: 0; border-color: rgba(23,36,59,.24); background: transparent; color: #17243b; }
html[data-theme="editorial"] .theme-switch-icon i { border-radius: 0; background: #a83f32; }
html[data-theme="editorial"] .theme-switch-icon i:last-child { background: #f2c14e; }

html[data-theme="editorial"] .hero {
  min-height: 0;
  max-width: 1240px;
  padding: 170px 0 85px;
  grid-template-columns: 1fr;
  gap: 70px;
  overflow: visible;
}
html[data-theme="editorial"] .hero-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; max-width: none; }
html[data-theme="editorial"] .hero-copy .eyebrow { grid-column: 1 / -1; }
html[data-theme="editorial"] .hero h1 {
  max-width: 730px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 7vw, 102px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 400;
}
html[data-theme="editorial"] .hero h1 em { color: #a83f32; font-style: italic; }
html[data-theme="editorial"] .hero h1 em::after { display: none; }
html[data-theme="editorial"] .hero-lead { align-self: end; margin: 0 0 8px; max-width: 480px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.58; }
html[data-theme="editorial"] .hero-actions { grid-column: 2; align-self: start; margin-top: 30px; }
html[data-theme="editorial"] .hero-note { grid-column: 1; grid-row: 3; margin-top: 35px; }
html[data-theme="editorial"] .button { border-radius: 0; }
html[data-theme="editorial"] .button-primary { background: #17243b; }
html[data-theme="editorial"] .button-primary:hover { background: #a83f32; }

html[data-theme="editorial"] .learning-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  min-height: 0;
  padding: 1px;
  border: 1px solid #17243b;
  border-radius: 0;
  background: #17243b;
  box-shadow: none;
}
html[data-theme="editorial"] .learning-map::before,
html[data-theme="editorial"] .learning-map::after,
html[data-theme="editorial"] .map-orbit,
html[data-theme="editorial"] .map-label,
html[data-theme="editorial"] .map-center { display: none; }
html[data-theme="editorial"] .map-card {
  position: relative;
  inset: auto;
  width: auto;
  height: 330px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
html[data-theme="editorial"] .map-card:hover { transform: none; box-shadow: inset 0 -8px 0 rgba(23,36,59,.18); }
html[data-theme="editorial"] .map-simu { background: #dcecf4; }
html[data-theme="editorial"] .map-anak { background: #eab19f; }
html[data-theme="editorial"] .map-python { background: #e9d27b; }
html[data-theme="editorial"] .map-card-top b { border-radius: 0; }
html[data-theme="editorial"] .map-card-copy small { letter-spacing: .18em; }
html[data-theme="editorial"] .map-card-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; letter-spacing: -.04em; }
html[data-theme="editorial"] .map-thumb { top: 73px; left: 24px; width: calc(100% - 48px); height: 145px; border: 1px solid #17243b; border-radius: 0; box-shadow: none; transform: none; }

html[data-theme="editorial"] .marquee { border-color: #17243b; background: #17243b; color: #fff; }
html[data-theme="editorial"] .marquee-track { padding: 13px 0; font-family: Georgia, serif; font-size: 13px; font-weight: 400; letter-spacing: .08em; }
html[data-theme="editorial"] .marquee-track i { color: #f2c14e; }
html[data-theme="editorial"] .section-kicker,
html[data-theme="editorial"] .eyebrow { color: #a83f32; font-size: 10px; letter-spacing: .18em; }
html[data-theme="editorial"] .eyebrow span { color: #a83f32; }
html[data-theme="editorial"] .section-heading h2,
html[data-theme="editorial"] .journey-intro h2,
html[data-theme="editorial"] .closing h2,
html[data-theme="editorial"] .product-card h3,
html[data-theme="editorial"] .journey-step h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
html[data-theme="editorial"] .spaces { padding-block: 120px; }
html[data-theme="editorial"] .product-grid { gap: 16px; }
html[data-theme="editorial"] .product-card { border-color: rgba(23,36,59,.35); border-radius: 0; }
html[data-theme="editorial"] .product-simu { background: #e4edf0; }
html[data-theme="editorial"] .product-anak { background: #ead4c8; }
html[data-theme="editorial"] .product-python { background: #17243b; }
html[data-theme="editorial"] .product-meta > span:first-child,
html[data-theme="editorial"] .product-tags span { border-radius: 0; }
html[data-theme="editorial"] .media-main,
html[data-theme="editorial"] .media-float,
html[data-theme="editorial"] .class-photo,
html[data-theme="editorial"] .python-slide,
html[data-theme="editorial"] .python-book { border-radius: 0; transform: none; box-shadow: 7px 8px 0 rgba(23,36,59,.2); }
html[data-theme="editorial"] .media-main { border-color: #17243b; }
html[data-theme="editorial"] .media-main figcaption,
html[data-theme="editorial"] .class-photo figcaption { border-radius: 0; }

html[data-theme="editorial"] .journey { padding-top: 70px; }
html[data-theme="editorial"] .journey-intro h2 em { color: #a83f32; }
html[data-theme="editorial"] .step-visual { border-radius: 0; box-shadow: 7px 8px 0 #17243b; font-family: Georgia, serif; font-weight: 400; }
html[data-theme="editorial"] .visual-question { background: #aacde3; transform: none; }
html[data-theme="editorial"] .visual-spark { background: #d98a72; transform: none; }
html[data-theme="editorial"] .visual-code { background: #e9d27b; transform: none; }
html[data-theme="editorial"] .closing {
  min-height: 480px;
  border: 1px solid #17243b;
  border-radius: 0;
  background: #e6ddd0;
  color: #17243b;
}
html[data-theme="editorial"] .closing .eyebrow span { color: #a83f32; }
html[data-theme="editorial"] .closing-shape { border-color: rgba(23,36,59,.22); border-radius: 0; transform: rotate(25deg); }
html[data-theme="editorial"] .closing-mark { color: rgba(23,36,59,.07); font-family: Georgia, serif; }
html[data-theme="editorial"] .button-light { background: #a83f32; color: #fff; }

@media (max-width: 1050px) {
  html[data-theme="editorial"] .hero { width: calc(100% - 64px); padding-top: 145px; }
  html[data-theme="editorial"] .hero-copy { grid-template-columns: 1fr; }
  html[data-theme="editorial"] .hero-lead,
  html[data-theme="editorial"] .hero-actions,
  html[data-theme="editorial"] .hero-note { grid-column: 1; grid-row: auto; }
  html[data-theme="editorial"] .hero-lead { margin-top: 28px; }
  html[data-theme="editorial"] .learning-map { width: 100%; grid-template-columns: 1fr; }
  html[data-theme="editorial"] .map-card { height: 300px; }
}

@media (max-width: 720px) {
  .theme-switch { width: 100%; justify-content: center; margin: 0 0 4px; padding: 11px; }
  html[data-theme="editorial"] .site-header { top: 0; width: 100%; padding: 10px 16px; }
  html[data-theme="editorial"] .main-nav { border-radius: 0; background: #f3efe6; }
  html[data-theme="editorial"] .hero { width: auto; padding: 125px 20px 60px; }
  html[data-theme="editorial"] .hero h1 { font-size: clamp(50px, 15vw, 70px); }
  html[data-theme="editorial"] .hero-lead { font-size: 18px; }
  html[data-theme="editorial"] .learning-map { width: 100%; margin-left: 0; }
  html[data-theme="editorial"] .map-card { height: 280px; }
  html[data-theme="editorial"] .map-thumb { height: 125px; }
  html[data-theme="editorial"] .closing { padding: 38px 25px; }
}
