/* Movzap 2026 layer: loaded after theme.css. Restyles every public page and adds the home page (mz-*). */
:root {
  --md-primary: #0B1F33;
  --md-primary-dark: #061322;
  --md-primary-soft: #2C4A6B;
  --md-primary-container: #FFE1EB;
  --md-secondary: #FF3D7F;
  --md-secondary-dark: #E02465;
  --md-on-secondary: #FFFFFF;
  --md-tertiary: #0B1F33;
  --md-surface: #EEF1F4;
  --md-surface-container: #FFFFFF;
  --md-outline: #D5DCE3;
  --md-outline-strong: #A9B6C3;
  --md-on-surface: #0B1F33;
  --md-on-surface-variant: #4A5D70;
  --md-radius: 10px;
  --md-radius-lg: 14px;
  --md-radius-xl: 18px;
  --md-font: "Comme", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mz-display: "Fugaz One", "Comme", system-ui, sans-serif;
  --mz-mono: "Space Mono", ui-monospace, Menlo, monospace;
  --mz-zap: #FF3D7F;
  --mz-mint: #13C4A3;
  --mz-zap-text: #C8124F;
  --md-max: 1200px;
  --tone: #0B1F33;
  --tone-soft: #E3E9EF;
  --tone-ink: #0B1F33;
}

/* goal tones, shared with the product page families */
.mh-tone[data-tone="ember"]  { --tone: #F0522D; --tone-soft: #FFE6DE; --tone-ink: #A8300F; }
.mh-tone[data-tone="teal"]   { --tone: #0F9E86; --tone-soft: #DDF5EF; --tone-ink: #0A6656; }
.mh-tone[data-tone="indigo"] { --tone: #4B49D8; --tone-soft: #E8E8FF; --tone-ink: #33309F; }
.mh-tone[data-tone="bronze"] { --tone: #9C6A21; --tone-soft: #F4EAD8; --tone-ink: #6E4A14; }
.mh-tone[data-tone="mint"]   { --tone: #12A6B5; --tone-soft: #DDF4F6; --tone-ink: #0B6E78; }
.mh-tone[data-tone="sage"]   { --tone: #5D8A2E; --tone-soft: #EAF2DD; --tone-ink: #3F5F1E; }
.mh-tone[data-tone="rose"]   { --tone: #D2386C; --tone-soft: #FCE3EC; --tone-ink: #97224B; }
.mh-tone[data-tone="sky"]    { --tone: #1D74E0; --tone-soft: #E1EDFD; --tone-ink: #13509E; }
.mh-tone[data-tone="clay"]   { --tone: #C25A2A; --tone-soft: #F9E6DB; --tone-ink: #8A3C17; }
.mh-tone[data-tone="lagoon"] { --tone: #087F95; --tone-soft: #DCF0F4; --tone-ink: #065A6A; }
.mh-tone[data-tone="sun"]    { --tone: #E58A00; --tone-soft: #FFF0D6; --tone-ink: #8F5600; }
.mh-tone[data-tone="cobalt"] { --tone: #0B1F33; --tone-soft: #E3E9EF; --tone-ink: #0B1F33; }

.md-body { background: var(--md-surface); font-family: var(--md-font); color: var(--md-on-surface); font-size: 17px; line-height: 1.55; }
.md-body h1, .md-body h2, .md-body h3 { font-family: var(--mz-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
.md-body :focus-visible { outline: 3px solid var(--mz-zap); outline-offset: 3px; }
.md-container { width: min(var(--md-max), calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; }

/* buttons + inputs */
.md-btn { border-radius: 8px; min-height: 48px; padding: 0 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; letter-spacing: .01em; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.md-btn:hover { transform: translateX(2px); }
.md-btn--gold { background: var(--mz-zap); color: #fff; box-shadow: 4px 4px 0 var(--md-primary); }
.md-btn--gold:hover { background: var(--md-secondary-dark); box-shadow: 6px 6px 0 var(--md-primary); }
.md-btn--teal { background: var(--md-primary); color: #fff; }
.md-btn--teal:hover { background: var(--md-primary-soft); }
.md-btn--ghost { background: transparent; color: var(--md-on-surface); box-shadow: inset 0 0 0 2px var(--md-on-surface); }
.md-btn--ghost:hover { background: var(--md-on-surface); color: #fff; }
.md-input { border-radius: 8px; border: 2px solid var(--md-outline); background: #fff; min-height: 48px; padding: 0 16px; font: inherit; }
.md-input:focus { border-color: var(--md-primary); outline: none; box-shadow: 0 0 0 4px var(--md-primary-container); }

/* header */
.md-sticky { position: sticky; top: 0; z-index: 50; }
.md-header { background: rgba(238, 241, 244, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 2px solid var(--md-primary); box-shadow: none; }
.md-header__bar { min-height: 68px; }
.md-logo { font-family: var(--mz-display); font-size: 27px; color: var(--md-on-surface); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0; }
.md-logo::before { content: ""; width: 30px; height: 30px; flex: none; background: url("/favicon.svg?v=20261129") center / contain no-repeat; }
.md-nav-link { color: var(--md-on-surface-variant); font-weight: 700; border-radius: 6px; padding: 8px 14px; text-decoration: none; }
.md-nav-link:hover { color: var(--md-on-surface); background: rgba(11, 31, 51, .07); }
.md-icon-btn { border-radius: 8px; }

/* product cards (all listing pages) */
.md-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.md-product-card { position: relative; background: #fff; border: 2px solid var(--md-primary); border-radius: var(--md-radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 0 0 var(--tone); transition: transform .18s ease, box-shadow .18s ease; }
.md-product-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--tone); }
.md-product-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 18px; background:
  repeating-linear-gradient(115deg, transparent 0 18px, rgba(11, 31, 51, .035) 18px 19px), var(--tone-soft); border-bottom: 2px solid var(--md-primary); }
.md-product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.md-product-card:hover .md-product-card__media img { transform: scale(1.05) rotate(-2deg); }
.md-product-card__badge { display: none; }
.md-product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.md-product-card__body h2 { font-size: 22px; margin: 0; line-height: 1.1; }
.md-product-card__body h2 a { text-decoration: none; color: inherit; }
.md-product-card__body h2 a::after { content: ""; position: absolute; inset: 0; }
.md-product-card .md-chip { align-self: flex-start; margin: 0; background: transparent; color: var(--tone-ink); border: 0; border-radius: 0; padding: 0; font-family: var(--mz-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.md-product-card__go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 800; color: var(--md-on-surface); }

/* inner pages */
.md-main { padding-top: 40px; padding-bottom: 72px; }
.md-page-title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.md-bc { font-family: var(--mz-mono); font-size: 13px; color: var(--md-on-surface-variant); }
.md-pager a, .md-pager span { border-radius: 6px; }
.md-pager .is-current { background: var(--md-on-surface); color: #fff; }

/* footer */
.md-footer { background: var(--md-primary); color: #AFC0D1; border: 0; border-top: 6px solid var(--mz-zap); }
.md-footer a { color: #EEF3F8; }
.md-footer__brand { font-family: var(--mz-display); font-size: 30px; color: #fff; }
.md-footer .md-kicker { color: var(--mz-mint); font-family: var(--mz-mono); letter-spacing: .08em; }

/* ---------------- home ---------------- */
.mz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mz-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 6px; background: var(--md-primary); color: #fff; font-family: var(--mz-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mz-tag svg { color: var(--mz-zap); }
.mz-kick { margin: 0 0 12px; font-family: var(--mz-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mz-zap-text); }

.mz-hero { position: relative; overflow: hidden; padding: 64px 0 40px; background:
  linear-gradient(115deg, transparent 0 62%, rgba(255, 61, 127, .10) 62% 70%, transparent 70% 76%, rgba(19, 196, 163, .12) 76% 82%, transparent 82%), var(--md-surface); }
.mz-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; }
.mz-hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .95; margin: 0 0 22px; color: var(--md-primary); }
.mz-lead { font-size: 20px; color: var(--md-on-surface-variant); max-width: 36rem; margin: 0 0 28px; }
.mz-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--md-primary); border-radius: 10px; padding: 6px 6px 6px 16px; max-width: 600px; }
.mz-search:focus-within { box-shadow: 0 0 0 4px var(--md-primary-container); }
.mz-search__icon { color: var(--md-on-surface-variant); display: grid; }
.mz-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; min-height: 44px; }
.mz-search .md-btn { box-shadow: none; }

.mz-board { background: var(--md-primary); color: #DCE6F0; border-radius: 14px; padding: 22px 24px; box-shadow: 10px 10px 0 var(--mz-zap); transform: rotate(1.2deg); }
.mz-board__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; font-family: var(--mz-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8FA6BC; }
.mz-live { display: inline-flex; align-items: center; gap: 6px; color: var(--mz-mint); }
.mz-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: mz-pulse 1.6s ease-in-out infinite; }
@keyframes mz-pulse { 50% { opacity: .25; } }
.mz-board dl { margin: 0; display: grid; gap: 0; }
.mz-board dl div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed rgba(255, 255, 255, .18); }
.mz-board dt { font-family: var(--mz-display); font-size: 40px; line-height: 1; color: #fff; }
.mz-board dd { margin: 0; font-size: 15px; line-height: 1.35; }

.mz-track { margin-top: 52px; }
.mz-track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.mz-track ol::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--md-primary), var(--mz-zap) 55%, var(--mz-mint)); }
.mz-track a { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 10px; text-decoration: none; color: var(--md-on-surface); }
.mz-track__stop { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--tone); margin-bottom: 10px; transition: transform .18s ease; }
.mz-track a:hover .mz-track__stop { transform: scale(1.25); background: var(--tone); }
.mz-track b { font-size: 15px; line-height: 1.2; }
.mz-track small { font-family: var(--mz-mono); font-size: 12px; color: var(--md-on-surface-variant); }

.mz-reel { overflow: hidden; border-block: 2px solid var(--md-primary); background: #fff; padding: 14px 0; }
.mz-reel__row { display: flex; gap: 14px; width: max-content; animation: mz-roll 60s linear infinite; }
.mz-reel:hover .mz-reel__row { animation-play-state: paused; }
@keyframes mz-roll { to { transform: translateX(-50%); } }
.mz-reel__item { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 10px; background: var(--md-surface); text-decoration: none; color: var(--md-on-surface); font-weight: 800; white-space: nowrap; }
.mz-reel__item img { width: 52px; height: 52px; object-fit: contain; }
.mz-reel__item:hover { background: var(--md-primary-container); }

.mz-main { padding: 0; }
.mz-section { padding: 88px 0 0; }
.mz-head { max-width: 46rem; margin: 0 0 34px; }
.mz-head h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1; margin: 0; color: var(--md-primary); }
.mz-head p:not(.mz-kick) { font-size: 18px; color: var(--md-on-surface-variant); margin: 14px 0 0; }
.mz-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.mz-board-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 2px solid var(--md-primary); }
.mz-goal { position: relative; display: grid; grid-template-columns: 44px 44px 1fr auto 40px; align-items: center; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--md-outline-strong); text-decoration: none; color: var(--md-on-surface); transition: background .16s ease, padding .16s ease; }
.mz-goal::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--tone); transition: width .2s ease; }
.mz-goal:hover { background: var(--tone-soft); padding-left: 16px; }
.mz-goal:hover::before { width: 5px; }
.mz-goal__no { font-family: var(--mz-mono); font-size: 13px; color: var(--md-on-surface-variant); }
.mz-goal .ci { background: var(--tone-soft) !important; color: var(--tone-ink) !important; }
.mz-goal h3 { font-size: 22px; margin: 0; line-height: 1.1; }
.mz-goal__count { font-family: var(--mz-mono); font-size: 13px; font-weight: 700; color: var(--tone-ink); white-space: nowrap; }
.mz-goal__go { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--md-primary); color: #fff; transition: background .16s ease, transform .16s ease; }
.mz-goal:hover .mz-goal__go { background: var(--tone); transform: translateX(3px); }

.mz-laps { margin-top: 96px; padding: 88px 0; background: var(--md-primary); color: #DCE6F0; position: relative; overflow: hidden; }
.mz-laps::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 40px solid rgba(255, 61, 127, .14); }
.mz-laps .mz-kick { color: var(--mz-mint); }
.mz-laps h2 { color: #fff; }
.mz-laps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.mz-laps__list li { padding: 26px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); }
.mz-laps__list li:nth-child(2) { transform: translateY(18px); }
.mz-laps__list li:nth-child(3) { transform: translateY(36px); }
.mz-lap { display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 6px; background: var(--mz-zap); color: #fff; font-family: var(--mz-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mz-laps__list h3 { font-size: 26px; margin: 0 0 8px; color: #fff; }
.mz-laps__list p { margin: 0; color: #AFC0D1; }

.mz-finish { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 44px; border-radius: 18px; background: #fff; border: 2px solid var(--md-primary); box-shadow: 10px 10px 0 var(--mz-mint); }
.mz-finish h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 0 0 8px; color: var(--md-primary); }
.mz-finish p { margin: 0; color: var(--md-on-surface-variant); font-size: 18px; }
.mz-finish .mz-kick { margin-bottom: 10px; font-size: 13px; color: var(--mz-zap-text); }
.mz-search--dark { max-width: none; }
.mz-disclosure { margin: 36px 0 96px; padding: 16px 20px; border-left: 5px solid var(--mz-zap); background: #fff; color: var(--md-on-surface-variant); font-size: 14px; }
.mz-disclosure strong { color: var(--md-on-surface); }

@media (max-width: 1000px) {
  .mz-hero__grid { grid-template-columns: 1fr; }
  .mz-board { max-width: 520px; transform: none; }
  .mz-track ol { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .mz-track ol::before { display: none; }
  .mz-board-list { grid-template-columns: 1fr; }
  .mz-laps__list, .mz-finish { grid-template-columns: 1fr; }
  .mz-laps__list li:nth-child(n) { transform: none; }
}
@media (max-width: 600px) {
  .mz-hero { padding: 36px 0 32px; }
  .mz-search .md-btn { padding: 0 14px; }
  .mz-track ol { grid-template-columns: repeat(2, 1fr); }
  .mz-goal { grid-template-columns: 30px 40px 1fr 36px; gap: 10px; }
  .mz-goal__count { grid-column: 3; grid-row: 2; margin-top: -6px; }
  .mz-goal__go { grid-column: 4; grid-row: 1 / span 2; }
  .mz-goal h3 { font-size: 19px; }
  .mz-section { padding-top: 64px; }
  .mz-laps { margin-top: 64px; padding: 64px 0; }
  .mz-finish { padding: 26px; }
  .md-product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .md-product-card__body h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mz-reel__row, .mz-live::before { animation: none; }
  .mz-reel { overflow-x: auto; }
  .mz-goal, .md-product-card, .md-product-card__media img, .md-btn, .mz-track__stop { transition: none !important; }
}
