:root {
  --site-ink: #101828;
  --site-muted: #68737d;
  --site-line: #dce5ea;
  --site-bg: #f3f8fb;
  --site-surface: #ffffff;
  --site-teal: #20c7b5;
  --site-coral: #ff5a5f;
  --site-mint: #9eddc8;
  --site-mint-light: #e7f7f0;
  --site-blue: #b9d7e8;
  --site-blue-light: #eaf3f8;
  --site-peach: #f2c3b7;
  --site-peach-light: #fff0eb;
  --site-gold: #f1d58e;
  --site-gold-light: #fff7de;
  --site-shadow: rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.slepi-site {
  margin: 0;
  color: var(--site-ink);
  background: var(--site-bg);
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.slepi-site a { color: inherit; }

.site-nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--site-line);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--site-ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.site-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav nav a,
footer a {
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav nav a:hover,
footer a:hover { color: var(--site-ink); }

.nav-command,
.command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.nav-command {
  justify-self: end;
  min-height: 42px;
  padding: 9px 15px;
  background: var(--site-ink);
  font-size: 14px;
}

.slepi-site a.nav-command { color: #ffffff; }

.nav-command:hover,
.command.primary:hover { background: #23334a; }

.slepi-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: min(680px, calc(100svh - 106px));
  margin: 0 auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(590px, 57%);
  padding: 74px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #477064;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slepi-hero h1 {
  margin: 0;
  font-size: 82px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--site-muted);
  font-size: 22px;
  line-height: 1.45;
}

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

.command.primary {
  color: #ffffff;
  background: var(--site-ink);
}

.command.secondary {
  border-color: var(--site-line);
  background: var(--site-surface);
  box-shadow: 5px 8px 18px var(--site-shadow), -4px -4px 12px rgba(255, 255, 255, 0.9);
}

.command.secondary:hover { border-color: #9db1bd; }

.hero-art {
  position: absolute;
  inset: 18px -15px 0 47%;
  z-index: 1;
  pointer-events: none;
}

.hero-mascot {
  position: absolute;
  right: 0;
  bottom: -9%;
  width: min(100%, 630px);
  height: auto;
  filter: drop-shadow(0 26px 22px rgba(56, 81, 93, 0.13));
}

.hero-status {
  position: absolute;
  right: 42px;
  top: 52px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 4px 7px 16px var(--site-shadow);
}

.hero-status span,
.state-card figcaption > span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--site-gold);
}

.facts-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--site-ink);
  color: #ffffff;
  padding: 0 max(20px, calc((100% - 1160px) / 2));
}

.facts-band > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 88px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.facts-band > div:first-child { border-left: 1px solid rgba(255, 255, 255, 0.13); }
.facts-band strong { font-size: 19px; }
.facts-band span { color: #b9c3d0; font-size: 13px; }

.access-band,
.character-band,
.start-band {
  padding: 88px max(20px, calc((100% - 1160px) / 2));
}

.access-band { background: var(--site-surface); }
.character-band { background: var(--site-blue-light); }
.start-band { background: var(--site-surface); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 16px 48px;
  align-items: end;
  max-width: 1160px;
  margin: 0 auto 38px;
}

.section-heading.compact { grid-template-columns: 1fr; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -4px; }

.section-heading h2,
.closing-band h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.55;
}

.access-offer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
  max-width: 1160px;
  min-height: 250px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #cfe8df;
  border-radius: 8px;
  background: var(--site-mint-light);
  box-shadow: 9px 13px 26px rgba(16, 24, 40, 0.08), -6px -6px 16px rgba(255, 255, 255, 0.95);
}

.offer-duration {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  padding: 24px;
  border: 1px solid rgba(32, 199, 181, 0.25);
  border-radius: 8px;
  background: var(--site-surface);
}

.offer-duration span {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 750;
}

.offer-duration strong {
  font-size: 72px;
  line-height: 0.88;
}

.offer-duration small {
  padding: 0 0 5px 9px;
  color: var(--site-muted);
  font-size: 17px;
}

.access-offer ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-offer li {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 22px;
}

.access-offer li::before {
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--site-teal);
  content: "";
}

.access-offer li strong { font-size: 16px; }
.access-offer li span { color: var(--site-muted); font-size: 14px; }
.access-offer .command { width: 100%; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.state-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 540px;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: 9px 13px 26px rgba(16, 24, 40, 0.07), -6px -6px 16px rgba(255, 255, 255, 0.8);
}

.state-card.resting { background: var(--site-peach-light); }
.state-card.active { background: var(--site-mint-light); }

.state-card img {
  align-self: center;
  justify-self: center;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(56, 81, 93, 0.12));
}

.state-card figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.state-card.active figcaption > span {
  background: var(--site-teal);
  box-shadow: 0 0 0 5px rgba(32, 199, 181, 0.12);
}

.state-card figcaption div { display: grid; gap: 2px; }
.state-card figcaption strong { font-size: 16px; }
.state-card figcaption small { color: var(--site-muted); font-size: 13px; }

.steps-list {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--site-line);
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--site-line);
}

.steps-list > li > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--site-gold-light);
  box-shadow: inset 0 0 0 1px rgba(241, 213, 142, 0.75);
  font-weight: 900;
}

.steps-list div { display: grid; gap: 5px; }
.steps-list strong { font-size: 20px; }
.steps-list small { color: var(--site-muted); font-size: 15px; line-height: 1.45; }

.closing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px max(20px, calc((100% - 1160px) / 2));
  background: var(--site-peach-light);
}

.closing-band .eyebrow { color: #91534c; }
.closing-band .command { min-width: 220px; background: var(--site-coral); }
.closing-band .command:hover { background: #df4d52; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px 48px;
  border-top: 1px solid var(--site-line);
}

footer > div { display: flex; gap: 12px; align-items: baseline; }
footer > div span,
footer > p { color: var(--site-muted); font-size: 13px; }
footer > p { grid-column: 1 / -1; margin: 0; }

@media (max-width: 920px) {
  .slepi-hero h1 { font-size: 70px; }
  .hero-art { left: 45%; }
  .access-offer { grid-template-columns: 190px minmax(0, 1fr); }
  .access-offer .command { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1160px);
    min-height: 68px;
  }

  .site-nav > nav { display: none; }
  .site-brand img { width: 40px; height: 40px; }

  .slepi-hero {
    align-items: flex-end;
    width: min(100% - 28px, 1160px);
    min-height: calc(100svh - 90px);
  }

  .hero-art {
    inset: 4px 0 auto;
    height: min(45svh, 360px);
  }

  .hero-mascot {
    right: 50%;
    bottom: -15px;
    width: min(82vw, 350px);
    transform: translateX(50%);
  }

  .hero-status { right: 8px; top: 18px; }
  .hero-copy { width: 100%; padding: min(44svh, 350px) 0 30px; }
  .slepi-hero h1 { font-size: 58px; }
  .hero-lead { max-width: 620px; font-size: 18px; }

  .facts-band { padding: 0 14px; }
  .facts-band > div {
    display: grid;
    gap: 3px;
    min-height: 82px;
    padding: 18px 10px;
    text-align: center;
  }
  .facts-band strong { font-size: 15px; }
  .facts-band span { font-size: 11px; }

  .access-band,
  .character-band,
  .start-band { padding-top: 68px; padding-bottom: 68px; }

  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading h2,
  .closing-band h2 { font-size: 36px; }

  .access-offer { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .access-offer .command { grid-column: auto; }
  .offer-duration { max-width: 220px; }

  .state-card { min-height: 440px; }
  .closing-band { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  footer > p { grid-column: auto; }
}

@media (max-width: 480px) {
  .site-brand { font-size: 16px; }
  .nav-command { min-height: 40px; padding: 8px 11px; font-size: 12px; }
  .slepi-hero h1 { font-size: 50px; }
  .hero-copy { padding-top: min(42svh, 315px); }
  .hero-actions { flex-direction: column; margin-top: 24px; }
  .hero-actions .command { width: 100%; }
  .hero-status { top: 10px; font-size: 12px; }
  .section-heading h2,
  .closing-band h2 { font-size: 32px; }
  .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .state-card { min-height: 300px; padding: 10px; }
  .state-card img { width: 100%; }
  .state-card figcaption { min-height: 82px; padding: 10px; align-items: flex-start; }
  .state-card figcaption strong { font-size: 13px; }
  .state-card figcaption small { font-size: 11px; line-height: 1.3; }
  .steps-list li { grid-template-columns: 48px 1fr; gap: 12px; padding-right: 0; padding-left: 0; }
  .steps-list > li > span { width: 42px; height: 42px; }
  .steps-list strong { font-size: 17px; }
  .steps-list small { font-size: 13px; }
  .closing-band .command { width: 100%; }
}

@media (max-width: 350px) {
  .hero-art { height: 240px; }
  .hero-mascot { width: 235px; }
  .hero-copy { padding-top: 235px; }
  .slepi-hero h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .facts-band span { display: none; }
  .state-grid { grid-template-columns: 1fr; }
  .state-card { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
