html[data-theme='dark'] {
  color-scheme: dark;
}

html[data-theme='light'] {
  color-scheme: light;
}

.day7-demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(17, 17, 17, 0.92);
  color: #f5f5f5;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day7-demo-banner button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.15rem 0.55rem;
  cursor: pointer;
}

.day7-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  padding-right: 1rem;
}

.day7-control-item {
  display: block;
}

.day7-chip {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.day7-chip.is-active {
  background: #fff;
  color: #111;
}

html[data-theme='light'] body {
  background: #f7f4f2;
  color: #322b28;
}

html[data-theme='light'] .day7-demo-banner {
  background: rgba(255, 255, 255, 0.94);
  color: #241d1a;
  border-bottom: 1px solid rgba(36, 29, 26, 0.12);
}

html[data-theme='light'] .day7-chip {
  color: #241d1a;
  border-color: rgba(36, 29, 26, 0.24);
}

html[data-theme='light'] .day7-chip.is-active {
  background: #241d1a;
  color: #fff;
}

html[data-theme='light'] #header.alt,
html[data-theme='light'] #header {
  background: rgba(255, 255, 255, 0.92);
}

#banner,
body.is-mobile.landing #banner {
  background-image:
    linear-gradient(90deg, rgba(47, 45, 48, 0.72), rgba(47, 45, 48, 0.26)),
    url('../../images/image05.webp') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

#banner:after {
  opacity: 0 !important;
}

html[data-theme='light'] #header.alt h1 a,
html[data-theme='light'] #header h1 a,
html[data-theme='light'] #header nav > ul > li > a,
html[data-theme='light'] #menu {
  color: #241d1a;
}

html[data-theme='light'] #menu {
  background: #fff;
}

html[data-theme='light'] #one,
html[data-theme='light'] .wrapper.style1 {
  background: #fff;
  color: #322b28;
}

html[data-theme='light'] .wrapper.alt.style2,
html[data-theme='light'] .spotlight:nth-child(2n - 1),
html[data-theme='light'] .spotlight:nth-child(2n) {
  background: #efe7e2;
  color: #322b28;
}

html[data-theme='light'] #three.wrapper.style3 {
  background: #241d1a;
}

html[data-theme='light'] #footer {
  background: #fff;
  color: #322b28;
}

html[data-theme='light'] #footer .icons a,
html[data-theme='light'] #footer .copyright,
html[data-theme='light'] #footer .copyright li {
  color: #322b28;
}

html[data-theme='light'] #one.wrapper.style1 {
  background: #fbf7f4;
  color: #302724;
}

html[data-theme='light'] #one .major h2 {
  color: #302724;
}

html[data-theme='light'] #one .major p {
  color: rgba(48, 39, 36, 0.76);
}

html[data-theme='light'] #one .icons.major .icon {
  border-color: rgba(48, 39, 36, 0.2);
  color: #302724;
}

html[data-theme='light'] .wrapper.alt.style2,
html[data-theme='light'] .spotlight:nth-child(2n - 1),
html[data-theme='light'] .spotlight:nth-child(2n) {
  background: #efe4de;
  color: #302724;
}

html[data-theme='light'] .spotlight h2 {
  color: #302724;
}

html[data-theme='light'] .spotlight p {
  color: rgba(48, 39, 36, 0.76);
}

html[data-theme='light'] .spotlight .button {
  box-shadow: inset 0 0 0 2px rgba(48, 39, 36, 0.32);
  color: #302724;
}

html[data-theme='light'] .spotlight .button:hover {
  background: rgba(48, 39, 36, 0.08);
}

html[data-theme='light'] #three.wrapper.style3 {
  background: #fbf7f4;
  color: #302724;
}

html[data-theme='light'] #three .major h2,
html[data-theme='light'] #three .features h3 {
  color: #302724;
}

html[data-theme='light'] #three .major p,
html[data-theme='light'] #three .features li {
  color: rgba(48, 39, 36, 0.76);
}

html[data-theme='light'] #three .features {
  background: transparent;
}

html[data-theme='light'] #three .features li {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(48, 39, 36, 0.1);
}

html[data-theme='light'] #three .features li:before {
  color: #9a6b5d;
}

html[data-theme='light'] #footer {
  background: #fff;
}

html[data-theme='light'] #footer .icons a,
html[data-theme='light'] #footer .copyright,
html[data-theme='light'] #footer .copyright li {
  color: rgba(48, 39, 36, 0.72);
}

#footer .icons a,
#footer .copyright,
#footer .copyright li {
  color: rgba(255, 255, 255, 0.7);
}

html[data-theme='light'] body.landing #footer,
html[data-theme='light'] body.is-mobile.landing #footer,
html[data-theme='light'] #page-wrapper #footer {
  background: #fff !important;
}

html[data-theme='light'] #page-wrapper #footer .icons a,
html[data-theme='light'] #page-wrapper #footer .copyright,
html[data-theme='light'] #page-wrapper #footer .copyright li {
  color: rgba(48, 39, 36, 0.72) !important;
}

.day7-pack-section {
  background: #1d1a1f;
}

.day7-pack-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 28rem);
  justify-content: center;
  margin-top: 2rem;
}

.day7-pack-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.day7-pack-card span {
  color: #caa2ff;
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.day7-pack-card h3 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.day7-pack-card p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.3rem;
}

.day7-pack-card strong {
  color: #fff;
  display: block;
  font-size: 1.8rem;
  line-height: 1.15;
  margin-top: auto;
}

.day7-pack-card small {
  color: #caa2ff;
  display: block;
  font-weight: 800;
  margin-top: 0.55rem;
}

html[data-theme='light'] .day7-pack-section {
  background: #f7f1ee;
}

html[data-theme='light'] .day7-pack-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(48, 39, 36, 0.12);
}

html[data-theme='light'] .day7-pack-card span,
html[data-theme='light'] .day7-pack-card small {
  color: #8f5f4f;
}

html[data-theme='light'] .day7-pack-card h3,
html[data-theme='light'] .day7-pack-card strong {
  color: #2f2724;
}

html[data-theme='light'] .day7-pack-card p {
  color: rgba(48, 39, 36, 0.72);
}

/* Layout-only fixes: keep the original template palette intact. */
.day7-demo-banner {
  min-height: 3rem;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10001;
}

#header {
  top: 3rem;
}

.day7-controls {
  align-items: center;
  height: 3em;
}

.day7-chip {
  border-radius: 3px;
  line-height: 1;
}

@media screen and (max-width: 736px) {
  .day7-demo-banner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 4.8rem;
    padding: 0.55rem 4rem 0.55rem 0.75rem;
  }

  .day7-demo-banner button {
    font-size: 0;
    height: 2rem;
    position: absolute;
    right: 0.75rem;
    top: 0.55rem;
    width: 2rem;
  }

  .day7-demo-banner button:before {
    content: '×';
    font-size: 1rem;
  }

  #header {
    background: rgba(17, 17, 17, 0.96);
    height: 6rem;
    line-height: 3rem;
    top: 4.8rem;
  }

  html[data-theme='light'] #header {
    background: rgba(255, 255, 255, 0.96);
  }

  #header h1 {
    max-width: calc(100vw - 12rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header nav {
    height: 6rem;
    left: 0;
    right: 0;
    width: 100%;
  }

  #header nav > ul {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #header nav > ul > li.special {
    position: absolute;
    right: 0;
    top: 0;
  }

  #header nav > ul > li.day7-control-item {
    padding-top: 3rem;
  }

  .day7-controls {
    gap: 0.25rem;
    height: 3em;
  }

  .day7-chip {
    font-size: 0.62rem;
    padding: 0.28rem 0.45rem;
  }

  #banner {
    padding-top: 13rem;
  }

  #footer {
    padding: 4rem 1.25rem 3rem;
  }

  #footer .icons {
    margin-bottom: 1.75rem;
  }

  #footer .copyright {
    line-height: 1.65;
  }

  .day7-pack-grid {
    grid-template-columns: 1fr;
  }
}
