@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
  color: #061d47;
  background: #edf7ff;
  --ink: #061d47;
  --muted: #385276;
  --blue: #0756d7;
  --line: #cce4f8;
  --paper: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
a { color: #064faa; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0755ba; outline-offset: 3px; }
::selection { color: var(--ink); background: #bfeaff; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  border-radius: .6rem;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(100% - 2rem, 65rem); margin-inline: auto; }
.guide-page {
  --ink: #111e36;
  --muted: #3e506d;
  color: var(--ink);
  background: radial-gradient(ellipse at 80% 0, #e5f2fe, transparent 43%), #f0f5fc;
}
.guide-page [id] { scroll-margin-top: 1rem; }
.scene-library { position: absolute; width: 0; height: 0; }

.content-shell { padding-block: clamp(.75rem, 2.75vw, 1.65rem) 3rem; }
.page-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .36fr);
  align-items: center;
  gap: .65rem;
  min-height: clamp(9rem, 25vw, 17rem);
  padding: clamp(1rem, 4.6vw, 3.25rem);
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: clamp(1.25rem, 6vw, 2.65rem);
  background: linear-gradient(143deg, #fcfdff 27%, #eaf4ff 68%, #d6edff);
}
.page-banner::after {
  position: absolute;
  z-index: -1;
  inset: -44% -10% -44% 60%;
  border-radius: 46%;
  background: #d3ecff85;
  content: "";
}
.page-banner h1 {
  font-size: clamp(2rem, 6.1vw, 4.85rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .99;
}
.page-banner h1 em { display: block; color: #123fd6; font-style: normal; }
.page-banner p { max-width: 49ch; margin-top: .65rem; color: var(--muted); font-size: clamp(.85rem, 2.1vw, 1.1rem); font-weight: 500; line-height: 1.4; }
.page-banner img { width: min(100%, 10rem); height: auto; justify-self: center; border-radius: 1.2rem; }
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.75rem;
  margin-top: .55rem;
  padding: .4rem .66rem;
  border-radius: 2rem;
  background: #dceefe;
  color: #163f9a;
  font-size: .85rem;
  font-weight: 820;
  text-decoration: none;
}
.guide-back span { font-size: 1.12rem; line-height: 1; }
.banner-amount {
  display: grid;
  justify-self: end;
  align-content: center;
  min-height: 4.8rem;
  padding: .5rem .7rem;
  border-radius: 1rem;
  background: linear-gradient(#1866dc, #0645af);
  color: #fff;
  font-size: clamp(1.17rem, 3.7vw, 3.25rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.banner-amount span { margin-top: .35em; color: #e1f3ff; font-size: .43em; font-weight: 750; }

.jump-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1rem; }
.jump-nav a, .motion-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.65rem;
  padding: .45rem .8rem;
  border: 1px solid #c6e1fa;
  border-radius: 2rem;
  background: #f9fdff;
  color: #08498f;
  font-size: .85rem;
  font-weight: 850;
  text-decoration: none;
}

.mode-grid, .wash-plans, .payment-grid, .issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 2.5vw, 1.35rem);
  align-items: stretch;
}
.mode-card, .wash-plan, .issue, .tariff, .bonus, .panel-guide {
  min-width: 0;
  padding: clamp(.9rem, 2.7vw, 1.4rem);
  border: 1px solid #fff;
  border-radius: clamp(1.1rem, 4.2vw, 1.75rem);
  background: var(--paper);
  box-shadow: 0 6px 18px #1756a210;
}
.mode-card:target, .wash-plan:target { border-color: #4586dd; box-shadow: 0 0 0 2px #9bcfff; }
.mode-card { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: start; gap: clamp(.7rem, 2vw, 1.15rem); }

.mode-scene { width: 100%; height: auto; border-radius: .9rem; background: radial-gradient(ellipse at 55% 30%, #fff, #dbf0ff); }
.mode-active .mode-scene, .mode-foam .mode-scene { background: radial-gradient(ellipse at 55% 30%, #fff, #ffe8f0); }
.mode-wax .mode-scene { background: radial-gradient(ellipse at 55% 30%, #fff, #fff1d6); }
.mode-nano .mode-scene { background: radial-gradient(ellipse at 55% 30%, #fff, #ebe5ff); }
.mode-content { display: flex; flex-direction: column; gap: .55rem; min-width: 0; height: 100%; }
.mode-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .38rem; }
.mode-heading h2, .wash-plan h2, .issue h2, .bonus h2, .panel-guide h2, .pause h2 {
  font-size: clamp(1.22rem, 3vw, 1.7rem);
  font-weight: 920;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.panel-name { color: var(--muted); font-size: .8rem; }
.outlet, .step-side {
  display: inline-block;
  padding: .22rem .48rem;
  border-radius: .4rem;
  color: #054a92;
  background: #e4f4ff;
  font-size: .75rem;
  font-weight: 830;
  line-height: 1.2;
}
.outlet-right { color: #92203a; background: #ffe8ef; }
.mode-content p { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.mode-content .mode-role { color: var(--ink); font-weight: 900; }
.mode-when strong { color: var(--ink); }
.motion-button { align-self: start; margin-top: auto; cursor: pointer; }
.play-icon { width: 0; height: 0; border-block: .28rem solid transparent; border-left: .44rem solid currentColor; }

.motion-effect { transform-box: fill-box; transform-origin: center; }
.is-playing .motion-effect { animation: water-scene 1.65s ease-out; }
.mode-foam.is-playing .motion-effect { animation-name: foam-scene; }
.mode-active.is-playing .motion-effect { animation-name: active-scene; }
.mode-wax.is-playing .motion-effect { animation-name: wax-scene; }
.mode-nano.is-playing .motion-effect { animation-name: nano-scene; }
.mode-osmos.is-playing .motion-effect { animation-name: osmos-scene; }
@keyframes water-scene { 0% { opacity: 0; transform: translate(-17px, -8px); } 20%, 48% { opacity: 1; } 55% { opacity: .38; transform: translate(5px, 3px); } 73% { opacity: 1; transform: translate(-4px, -2px); } }
@keyframes foam-scene { 0% { opacity: .2; transform: scale(.7); } 47% { opacity: 1; transform: scale(1.1); } 66% { transform: scale(.98); } }
@keyframes active-scene { 0% { opacity: .1; transform: translateY(-11px); } 35% { opacity: 1; transform: translateY(3px); } 65% { opacity: .45; } 85% { opacity: 1; } }
@keyframes wax-scene { 0% { opacity: 0; transform: scale(.84); } 35% { opacity: 1; transform: scale(1.13); } 66% { opacity: .55; transform: scale(.97); } }
@keyframes nano-scene { 0% { opacity: .15; transform: translateY(-8px) scale(.72); } 37% { opacity: 1; transform: translateY(4px) scale(1.08); } 68% { transform: translateY(-2px); } }
@keyframes osmos-scene { 0% { opacity: .1; transform: translateY(-15px); } 42% { opacity: 1; transform: translateY(5px); } 60% { opacity: .42; } 81% { opacity: 1; transform: translateY(-2px); } }

.panel-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
  background: #f6fbff;
}
.panel-guide p { margin-top: .45rem; color: var(--muted); }
.panel-guide img { width: 100%; height: auto; max-height: 16rem; object-fit: contain; border-radius: .65rem; background: #081d3a; }
.outlet-map { display: grid; gap: .5rem; margin-top: .75rem; }
.outlet-map div { display: grid; gap: .05rem; padding: .55rem .75rem; border-radius: .6rem; background: #e4f4ff; }
.outlet-map div + div { background: #ffeaf0; }
.outlet-map span { color: var(--muted); font-size: .88rem; }

.wash-plan { display: flex; flex-direction: column; }
.wash-plan-full { border-color: #fff; background: #f9fcff; }
.section-intro { margin-top: .45rem; color: var(--muted); }
video { width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: .75rem; background: #071c43; }
.wash-plan video, .bonus video { margin-top: .85rem; }
.steps { display: grid; gap: .75rem; margin-top: 1rem; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .2rem .6rem; counter-increment: steps; }
.steps li::before {
  grid-row: span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 1.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e2f2ff;
  color: #084ea7;
  font-size: .8rem;
  font-weight: 900;
  content: counter(steps);
}
.steps li > div { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.steps li p { color: var(--muted); font-size: .9rem; line-height: 1.35; }

.pause {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: clamp(.85rem, 3vw, 1.5rem);
  border-radius: 1.1rem;
  color: #fff;
  background: linear-gradient(120deg, #0b2c62, #105bc5);
}
.pause-time { display: grid; flex: none; min-width: 4.4rem; padding: .4rem .5rem; text-align: center; font-size: 2.5rem; font-weight: 950; line-height: 1.08; }
.pause-time span { font-size: .66rem; }
.pause p { margin-top: .45rem; color: #e1f2ff; font-size: .94rem; }

.issue-grid, .payment-grid { margin-top: 1rem; }
.issue h2 { margin-bottom: .75rem; }
.checks { margin-top: .7rem; }
.checks > div + div { margin-top: .65rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.checks dt { font-weight: 850; }
.checks dd { margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.issue-reference { display: flex; gap: .7rem; align-items: center; margin-top: .85rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.issue-reference img { width: 6rem; height: 3.6rem; border-radius: .44rem; object-fit: cover; object-position: top; }

.tariff table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tariff caption { padding-bottom: .65rem; color: var(--ink); font-size: 1.15rem; font-weight: 930; text-align: left; }
.tariff th, .tariff td { padding: .6rem .35rem; text-align: left; }
.tariff tbody tr { border-top: 1px solid var(--line); }
.tariff thead { color: var(--muted); }
.tariff th:last-child, .tariff td:last-child { text-align: right; }
.bonus { background: linear-gradient(135deg, #fbfdff, #e9f6ff); }
.bonus p { margin-top: .6rem; color: var(--muted); }
.bonus-total { display: grid; gap: .18rem; padding: .65rem .75rem; border-radius: .65rem; background: #dcefff; }
.bonus-total strong { color: #064aaf; }

.next-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: .95rem;
  background: linear-gradient(165deg, #0876e8, #1138ce 75%);
  color: #fff;
  font-weight: 860;
  text-decoration: none;
}
.next-link > span:last-child { flex: none; font-size: 1.36rem; line-height: 1; }
.contact-link { background: linear-gradient(125deg, #0876e8, #1138ce); }
.contact-link strong, .contact-link small { display: block; }
.contact-link strong { font-size: clamp(1.2rem, 4vw, 1.75rem); line-height: 1.22; }
.contact-link small { font-weight: 750; }

@media (hover: hover) {
  .guide-back:hover, .jump-nav a:hover, .motion-button:hover { background: #e1f2ff; }
  .next-link:hover { background: #073e9c; }
  .contact-link:hover { background: #1338bd; }
}

@media (max-width: 48rem) {
  .mode-card { grid-template-columns: minmax(0, .46fr) minmax(0, 1fr); }
  .mode-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .wash-plans, .payment-grid, .issue-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 27rem) {
  .shell { width: min(100% - 1.25rem, 65rem); }
  .mode-card { grid-template-columns: minmax(0, .48fr) minmax(0, 1fr); gap: .65rem; padding: .75rem; }
  .mode-heading { flex-direction: column; }
  .panel-guide { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-button { display: none; }
  .is-playing .motion-effect { animation: none; }
}
