:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted-bg: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #ef4444;
  --accent-ink: #b91c1c;
  --ok: #16a34a;
  --warn: #d97706;
  --hero-bg: radial-gradient(circle at 85% 15%, rgba(239, 68, 68, 0.24), transparent 45%),
             linear-gradient(135deg, #070b14 0%, #111827 56%, #241015 100%);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
html.dark {
  --bg: #070b14;
  --surface: #0f172a;
  --muted-bg: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #1e293b;
  --accent: #f87171;
  --accent-ink: #fca5a5;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 62px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 17px; color: var(--text) !important;
  letter-spacing: -0.02em; text-decoration: none !important; flex-shrink: 0;
}
.brand b { background: var(--accent); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a.active, .nav a:hover { color: var(--text); text-decoration: none; border-bottom-color: var(--accent); }
.tbtn {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--muted-bg); color: var(--text); font-size: 12px; font-weight: 700; cursor: pointer; flex-shrink: 0;
}

.hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 40px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 28px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border-radius: 999px; background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.4);
  font-size: 12px; font-weight: 700; color: #fecaca; margin-bottom: 14px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.hero h1 { margin: 0 0 12px; font-size: clamp(27px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; }
.hero p { margin: 0 0 18px; color: #cbd5e1; font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.stat {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 10px 13px;
}
.stat strong { display: block; font-size: 18px; color: #fff; }
.stat span { font-size: 11.5px; color: #94a3b8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 18px; border-radius: 11px; font-weight: 800; font-size: 14px;
  cursor: pointer; text-decoration: none !important; transition: transform .15s, opacity .15s; border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-pri { background: var(--accent); color: #fff !important; }
.btn-sec { background: rgba(255, 255, 255, 0.11); color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.24); }
.btn-ghost { background: var(--muted-bg); color: var(--text) !important; border: 1px solid var(--line); }

.shoe-stage {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15); margin-bottom: 12px;
}
.swatch-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(0, 0, 0, 0.28); padding: 10px 12px; border-radius: 14px;
}
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 10px; }
.sw {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer; transition: transform .12s;
}
.sw.active { transform: scale(1.2); border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }

.sec { padding: 36px 0; }
.sec h1 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.sec h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.sec h3 { margin: 0 0 8px; font-size: 17px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; max-width: 72ch; }
.crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); font-weight: 600; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow);
}
.card-hover { transition: transform .16s, border-color .16s; display: block; color: inherit !important; text-decoration: none !important; }
.card-hover:hover { transform: translateY(-2px); border-color: var(--accent); }

.media-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); margin: 22px 0;
}
.media-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-cap { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px; background: var(--muted-bg); color: var(--accent); margin-bottom: 8px;
}
.tag-ok { color: var(--ok); }
.tag-warn { color: var(--warn); }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--muted-bg); }
.tbl tr.hl { background: color-mix(in srgb, var(--accent) 11%, transparent); font-weight: 700; }

.ctrl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.ctrl-row label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.ctrl-row select, .ctrl-row input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 14px; font-weight: 600;
}
.res-box {
  padding: 14px 16px; border-radius: 12px; background: var(--muted-bg);
  border: 1px solid var(--line); font-weight: 600; font-size: 14.5px;
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fbtn {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.fbtn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.c-dot { width: 100%; height: 10px; border-radius: 999px; margin-bottom: 10px; border: 1px solid var(--line); }

.meter { height: 8px; border-radius: 999px; background: var(--muted-bg); overflow: hidden; margin-top: 6px; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.ad-slot {
  margin: 22px 0; min-height: 76px; border: 1px dashed var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px;
}

.faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.faq details:last-child { border-bottom: none; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 15px; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

.ftr { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); margin-top: 32px; background: var(--surface); }
.ftr-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

@media (max-width: 840px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .swatch-strip { flex-direction: column; text-align: center; }
}
