:root {
  --pink-50: #fff7f9;
  --pink-100: #fbeff2;
  --pink-200: #f4dbe2;
  --pink-300: #ecc7d1;
  --pink-400: #e2b1c1;
  --pink-500: #d59bad;
  --pink-600: #c08297;
  --pink-700: #a0667f;
  --ink-900: #2a2225;
  --ink-700: #5a4b52;
  --ink-500: #7a6a70;
  --cream: #f6f1ea;
  --line: #ead9de;
  --shadow: 0 16px 40px rgba(58, 39, 45, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-display: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 110px;
}

.section.compact {
  padding: 56px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: 1px;
  text-align: center;
}

.section-subtitle {
  margin: 0 0 32px;
  color: var(--ink-500);
  max-width: 720px;
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--pink-600);
  text-align: center;
  margin-bottom: 12px;
}

.section-kicker.secondary {
  margin-top: -6px;
  color: var(--ink-500);
  text-transform: none;
}

.flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

.flag.swiss {
  background: #d52b1e;
  position: relative;
}

.flag.swiss::before,
.flag.swiss::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.flag.swiss::before {
  width: 10px;
  height: 3px;
  top: 5.5px;
  left: 5px;
}

.flag.swiss::after {
  width: 3px;
  height: 10px;
  top: 2px;
  left: 8.5px;
}

.flag.us {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 2px,
    #fff 2px 4px
  );
  position: relative;
}

.flag.us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 8px;
  background: #3c3b6e;
  border-top-left-radius: 3px;
}

.material-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.material-stat {
  border: 1px solid rgba(234, 217, 222, 0.8);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  background: #fff;
}

.material-stat .stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-900);
}

.material-stat .stat-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-500);
}

.material-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.material-check {
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.7);
  padding: 12px;
  text-align: center;
  background: var(--pink-50);
  font-size: 12px;
  color: var(--ink-600);
}

.material-compare {
  margin-top: 24px;
}

.compare-title {
  text-align: center;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
}

.compare-subtitle {
  text-align: center;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ink-500);
}

.compare-grid {
  display: grid;
  grid-template-columns: 140px repeat(4, minmax(120px, 1fr));
  border: 1px solid rgba(234, 217, 222, 0.7);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-cell {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(234, 217, 222, 0.5);
  border-right: 1px solid rgba(234, 217, 222, 0.5);
  font-size: 12px;
  color: var(--ink-600);
  text-align: center;
  background: #fff;
}

.compare-cell.head {
  font-weight: 600;
  color: var(--ink-900);
  background: var(--pink-50);
}

.compare-cell.head .flag {
  margin-right: 6px;
}

.compare-cell.label {
  font-weight: 600;
  color: var(--ink-700);
  background: #fffafc;
  text-align: left;
}

.compare-grid .compare-cell:nth-last-child(-n+5) {
  border-bottom: none;
}

.compare-grid .compare-cell:nth-child(5n) {
  border-right: none;
}

@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 120px repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
    display: grid;
  }
}

.material-hero {
  padding-top: 72px;
  padding-bottom: 64px;
  background: #fff;
}

.material-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(160, 102, 127, 0.4);
  color: var(--pink-700);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 auto 18px;
  background: #fff;
  text-align: center;
}

.material-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.35;
}

.material-accent {
  color: var(--pink-700);
}

.material-vs {
  display: inline-block;
  color: var(--ink-500);
  font-size: 0.85em;
  margin: 0 8px;
}

.material-muted {
  color: var(--ink-500);
  font-size: 0.9em;
}

.material-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-500);
  line-height: 1.7;
}

.material-round {
  background: var(--pink-50);
}

.material-round.alt {
  background: #fff;
}

.round-header {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  text-align: left;
}

.round-header h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--font-display);
}

.round-header p {
  margin: 0;
  color: var(--ink-500);
}

.round-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--pink-500);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  width: fit-content;
}

.round-tag.dark {
  background: var(--ink-900);
}

.vs-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.vs-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.vs-card.highlight {
  border-top: 6px solid var(--pink-600);
}

.vs-card.muted {
  background: #f7f2f4;
  border-top: 6px solid rgba(90, 75, 82, 0.4);
}

.vs-card.dark {
  background: #2c2428;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 6px solid var(--pink-600);
}

.vs-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink-600);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.vs-badge.muted {
  background: rgba(90, 75, 82, 0.6);
}

.vs-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.vs-col {
  display: grid;
  gap: 10px;
}

.vs-title {
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vs-title.large {
  font-size: 30px;
}

.vs-sub {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-500);
  font-weight: 600;
}

.vs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--ink-700);
  font-size: 13px;
}

.vs-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.vs-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--pink-100);
  color: var(--pink-700);
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.vs-block {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(120, 105, 112, 0.2);
}

.vs-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vs-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.vs-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(90, 75, 82, 0.15);
  color: var(--ink-700);
  font-weight: 600;
}

.vs-tag.danger {
  background: rgba(192, 130, 151, 0.25);
  color: var(--pink-700);
}

.vs-warning {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--pink-700);
  font-size: 12px;
  font-weight: 600;
}

.vs-muted {
  color: var(--ink-500);
  font-size: 12px;
}

.vs-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink-700);
  box-shadow: var(--shadow);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.mini-grid strong {
  display: block;
  color: var(--pink-400);
  margin-bottom: 6px;
}

.mini-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tech-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.tech-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.tech-card p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.6;
}

.tech-card span {
  font-size: 12px;
  color: var(--ink-700);
}

.evidence-header {
  display: grid;
  gap: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.evidence-header h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--font-display);
}

.evidence-header p {
  margin: 0;
  color: var(--ink-500);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.evidence-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.evidence-title {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
}

.evidence-title strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.evidence-title span {
  font-size: 12px;
  color: var(--ink-500);
}

.evidence-card p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.7;
  font-size: 13px;
}

.ion-lab {
  background: #f6f8fb;
}

.ion-module {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

.ion-module:last-child {
  margin-bottom: 0;
}

.ion-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ion-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #2e5bd0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ion-head h3 {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-family: var(--font-display);
  color: var(--ink-900);
}

.ion-lead {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.ion-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.ion-hint {
  font-size: 12px;
  color: var(--ink-500);
}

.ion-stage,
.heat-stage {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f1a33;
  display: grid;
  place-items: center;
}

.heat-stage {
  background: linear-gradient(140deg, #0f1424 0%, #111c30 55%, #1b2340 100%);
}

.ion-orbit {
  position: absolute;
  border: 1px solid rgba(120, 150, 190, 0.35);
  border-radius: 50%;
  animation: orbitSpin 10s linear infinite;
}

.ion-orbit.orbit-1 {
  width: 100px;
  height: 100px;
  animation-duration: 8s;
}

.ion-orbit.orbit-2 {
  width: 150px;
  height: 150px;
  animation-duration: 12s;
}

.ion-orbit.orbit-3 {
  width: 200px;
  height: 200px;
  animation-duration: 16s;
}

.ion-orbit.orbit-4 {
  width: 240px;
  height: 240px;
  animation-duration: 20s;
  opacity: 0;
}

.ion-electron {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59b7ff;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(89, 183, 255, 0.6);
  cursor: pointer;
}

.ion-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff7a7a 0%, #d84545 55%, #b23333 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 120, 120, 0.5);
}

.ion-charge {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d5e1ff;
  font-size: 12px;
  font-weight: 600;
}

.ion-card.active .ion-charge {
  background: rgba(60, 120, 255, 0.25);
  color: #ffffff;
}

.ion-card.active .ion-orbit.orbit-4 {
  opacity: 1;
}

.ion-card.active .ion-orbit.orbit-4 .ion-electron {
  background: #49ff95;
  box-shadow: 0 0 12px rgba(73, 255, 149, 0.8), 0 0 22px rgba(73, 255, 149, 0.6);
}

.ion-card.active .ion-core {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.heat-core {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.heat-label {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d5e1ff;
  font-size: 12px;
  font-weight: 600;
}

.ion-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f1f6ff;
  color: var(--ink-700);
}

.ion-status strong {
  display: block;
  font-size: 14px;
  color: var(--ink-900);
}

.ion-status span {
  font-size: 12px;
  color: var(--ink-600);
}

.ion-action {
  padding: 8px 18px;
  font-size: 13px;
}

.ion-bars,
.ion-notes {
  display: grid;
  gap: 12px;
}

.ion-bars-title {
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 600;
}

.ion-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 2fr) 40px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-700);
}

.ion-bar {
  height: 8px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
}

.ion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
}

.ion-bar.high span {
  width: 92%;
  background: #3ac17e;
}

.ion-bar.mid span {
  width: 55%;
  background: #4b82ff;
}

.ion-bar.low span {
  width: 20%;
  background: #f07b7b;
}

.ion-bars.is-inview .ion-bar span {
  animation: barFill 1.2s ease forwards;
}

@keyframes barFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.ion-range {
  text-align: right;
  font-weight: 600;
}

.ion-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-600);
  font-size: 13px;
}

.ion-note-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  align-items: start;
}

.ion-note-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-600);
  margin-top: 6px;
}

.ir-spectrum {
  display: grid;
  gap: 10px;
}

.ir-spectrum-bar {
  position: relative;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: linear-gradient(90deg, #5b3fd8 0%, #4f7cff 25%, #52d3b5 45%, #f7b24a 65%, #f06b2f 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.ir-band {
  display: grid;
  place-items: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ir-band.ir-life {
  background: rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.ir-spectrum-note {
  font-size: 12px;
  color: var(--ink-600);
}

.ir-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.ir-info-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ir-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(35, 35, 56, 0.12);
}

.ir-info-card strong {
  display: block;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.ir-info-card p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-600);
  line-height: 1.6;
}

.interaction-panel {
  background: linear-gradient(180deg, #1b2436 0%, #111827 100%);
  border-radius: 20px;
  padding: 20px;
  color: #d7e0ee;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(7, 12, 24, 0.3);
  display: grid;
  gap: 16px;
}

.interaction-title {
  text-align: center;
  font-size: 14px;
  color: #7af0c5;
  font-weight: 700;
}

.interaction-flow {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
}

.interaction-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  color: #d7e0ee;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.interaction-step:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.interaction-step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #fff;
}

.interaction-step p {
  margin: 0;
  font-size: 12px;
  color: #c5d2e6;
  line-height: 1.6;
}

.interaction-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
  line-height: 1;
}

.interaction-icon.heat {
  background: rgba(255, 161, 107, 0.16);
  color: #ffb37a;
  border-color: rgba(255, 161, 107, 0.35);
}

.interaction-icon.press {
  background: rgba(88, 160, 255, 0.16);
  color: #8ab4ff;
  border-color: rgba(88, 160, 255, 0.35);
}

.interaction-arrow {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
}

.interaction-arrow svg {
  width: 22px;
  height: 22px;
}

.interaction-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(46, 204, 140, 0.16);
  color: #9bf0c7;
  font-weight: 600;
  border: 1px solid rgba(46, 204, 140, 0.4);
  animation: resultPulse 2.8s ease-in-out infinite;
}

.result-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #9bf0c7;
  box-shadow: 0 0 8px rgba(155, 240, 199, 0.6);
}

.interaction-foot {
  text-align: center;
  font-size: 12px;
  color: #c5d2e6;
  line-height: 1.7;
}

@keyframes resultPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(46, 204, 140, 0.18);
  }
  50% {
    box-shadow: 0 0 18px rgba(46, 204, 140, 0.35);
  }
}

.ir-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f6ff;
  border: 1px solid rgba(100, 140, 200, 0.2);
  display: grid;
  place-items: center;
  color: #5b7ae5;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heatPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.15;
  }
  50% {
    transform: scale(1);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.1;
  }
}

@media (max-width: 900px) {
  .ion-status {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .ion-bar-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ion-range {
    text-align: left;
  }
}

.evidence-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.evidence-data {
  display: grid;
  gap: 14px;
}

.evidence-lesson {
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff7f9;
  border: 1px dashed rgba(192, 130, 151, 0.35);
  display: grid;
  gap: 10px;
}

.evidence-lesson strong {
  font-size: 13px;
  color: var(--ink-900);
}

.evidence-lesson ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: lesson-step;
}

.evidence-lesson li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-600);
  align-items: start;
}

.evidence-lesson li::before {
  counter-increment: lesson-step;
  content: counter(lesson-step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-700);
  background: #fff;
  border: 1px solid rgba(192, 130, 151, 0.4);
}

.lesson-label {
  font-weight: 600;
  color: var(--ink-900);
  margin-right: 6px;
}

.lesson-note {
  font-size: 11px;
  color: var(--ink-500);
}

@media (max-width: 900px) {
  .evidence-body {
    grid-template-columns: 1fr;
  }
}

.evidence-scale {
  display: grid;
  gap: 8px;
}

.scale-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scale-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  color: var(--ink-600);
  font-weight: 600;
}

.scale-chip.safe {
  background: var(--pink-100);
  border-color: rgba(192, 130, 151, 0.4);
  color: var(--pink-700);
}

.scale-chip.warn {
  background: #f1f1f1;
  border-color: rgba(90, 75, 82, 0.2);
}

.scale-bar {
  height: 8px;
  border-radius: 999px;
  background: #f1e6ea;
  overflow: hidden;
}

.scale-fill {
  display: block;
  height: 100%;
  width: calc(var(--fill, 0.5) * 100%);
  background: linear-gradient(90deg, var(--pink-300), var(--pink-600));
}

.scale-note {
  font-size: 12px;
  color: var(--ink-500);
}

.metric-highlight {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--pink-100);
  border: 1px solid rgba(192, 130, 151, 0.4);
  color: var(--ink-900);
}

.metric-highlight span {
  font-size: 12px;
  color: var(--ink-600);
}

.metric-highlight strong {
  font-size: 20px;
  font-weight: 700;
}

.metric-highlight em {
  font-size: 12px;
  color: var(--ink-600);
  font-style: normal;
}

.metric-stack {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fffafc;
  font-size: 12px;
  color: var(--ink-600);
}

.metric-row.highlight {
  background: var(--pink-100);
  border-color: rgba(192, 130, 151, 0.4);
  color: var(--ink-900);
  font-weight: 600;
}

.metric-row strong {
  font-weight: 600;
  color: var(--ink-900);
}

.evidence-foot {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--pink-50);
  border: 1px dashed rgba(192, 130, 151, 0.4);
  font-size: 12px;
  color: var(--ink-700);
  text-align: center;
}

.icon-shield,
.icon-sun {
  width: 26px;
  height: 26px;
  color: var(--pink-600);
}

.material-table {
  background: var(--pink-50);
}

.table-shell {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  box-shadow: var(--shadow);
}

.material-table-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.material-table-grid th,
.material-table-grid td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(234, 217, 222, 0.6);
  font-size: 13px;
  text-align: left;
}

.material-table-grid thead th {
  background: #f7f1f3;
  font-weight: 700;
  color: var(--ink-900);
}

.material-table-grid tbody tr:nth-child(even) td {
  background: #fffafc;
}

.table-note {
  margin-top: 12px;
  text-align: center;
  color: var(--ink-500);
  font-size: 12px;
}

.icon {
  width: 18px;
  height: 18px;
}

.icon-ok {
  color: var(--pink-600);
}

.icon-warn {
  color: var(--pink-700);
}

.vs-card.dark .vs-title,
.vs-card.dark .vs-lead {
  color: #fff;
}

.vs-lead {
  margin: 0 0 16px;
  color: var(--ink-500);
}

.muted-text {
  color: var(--ink-500);
}

@media (max-width: 900px) {
  .vs-center {
    display: none;
  }

  .round-header {
    text-align: center;
  }

  .round-header .round-tag {
    margin: 0 auto;
  }
}

.material-details {
  max-width: 720px;
  margin: 0 auto 28px;
  display: grid;
  gap: 12px;
  text-align: center;
  color: var(--ink-600);
  line-height: 1.7;
}

.material-details p {
  margin: 0;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(234, 217, 222, 0.6);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-700);
  box-shadow: 0 8px 16px rgba(213, 155, 173, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.menu-toggle {
  display: none;
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 24px rgba(213, 155, 173, 0.24);
}

.icon-btn.plain {
  border: none;
  box-shadow: none;
  background: transparent;
}

.icon-btn.plain:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  margin-top: 6px;
}

.logo-img {
  width: 140px;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-self: center;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item.has-dropdown {
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.9);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(58, 39, 45, 0.12);
  z-index: 30;
  min-width: 260px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-dropdown::-webkit-scrollbar {
  display: none;
}

.nav-dropdown a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--ink-700);
  white-space: nowrap;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  display: flex;
}

.nav-item.has-dropdown:hover .nav-dropdown.mega-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown.mega-menu,
.nav-item.has-dropdown.open .nav-dropdown.mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item.has-dropdown.open .nav-dropdown {
  display: flex;
}

.nav-dropdown.mega-menu {
  display: flex;
  position: fixed;
  top: var(--header-height, 72px);
  left: 0;
  right: 0;
  transform: translateY(12px);
  width: 100vw;
  max-width: 100vw;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  overflow: visible;
  padding: 14px 0 18px;
  background: linear-gradient(180deg, #fff, #fff5f7);
  border-top: 1px solid rgba(234, 217, 222, 0.9);
  border-bottom: 1px solid rgba(234, 217, 222, 0.9);
  border-left: none;
  border-right: none;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 18px 32px rgba(58, 39, 45, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mega-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.mega-groups {
  border-bottom: 1px solid rgba(234, 217, 222, 0.6);
  padding-bottom: 10px;
}

.mega-sub {
  padding-top: 6px;
}

.nav-dropdown.mega-menu.sub-hidden .mega-sub {
  display: none;
}

.mega-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mega-cat.active,
.mega-cat:hover {
  color: var(--pink-700);
}

.mega-sub a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--ink-600);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.nav-dropdown.mega-menu .mega-cat,
.nav-dropdown.mega-menu .mega-sub a {
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-dropdown.mega-menu .mega-cat:hover,
.nav-dropdown.mega-menu .mega-cat.active {
  background: transparent;
  box-shadow: none;
}

.mega-empty {
  font-size: 12px;
  color: var(--ink-500);
  padding: 6px 10px;
  text-align: center;
}

.main-nav a {
  padding: 6px 4px;
  border-radius: 0;
  font-size: 15px;
  color: var(--ink-700);
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}

.main-nav .nav-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--ink-700);
  padding: 6px 4px;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.main-nav .nav-search:hover {
  color: var(--pink-700);
}

.main-nav .nav-search svg {
  width: 16px;
  height: 16px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--pink-500);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(4px);
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  color: var(--pink-700);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: translateY(0);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  justify-self: end;
}

.header-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(16px, 4vw, 40px);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 55%, var(--pink-50) 100%);
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: 0 20px 50px rgba(58, 39, 45, 0.08);
  aspect-ratio: 3 / 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: 100%;
  align-content: center;
}

.hero-grid > :only-child {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
}

.hero-band {
  background: #fff;
  border-top: 1px solid rgba(234, 217, 222, 0.6);
  border-bottom: 1px solid rgba(234, 217, 222, 0.6);
}

.hero-band .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

body[data-page="home"] .hero-band .container {
  width: min(1200px, 100%);
  padding: 0 4vw;
}

.hero-banner {
  position: relative;
  overflow: visible;
  display: block;
  text-align: center;
  padding: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 55%, var(--pink-100) 100%);
  box-shadow: 0 24px 50px rgba(58, 39, 45, 0.08);
  aspect-ratio: 3 / 1;
  width: 100%;
  margin: 0 auto;
  flex: 1 1 auto;
}


.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-banner::before {
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(226, 177, 193, 0.45), rgba(255, 255, 255, 0));
}

.hero-banner::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(246, 241, 234, 0.9), rgba(255, 255, 255, 0));
}

.hero-banner > * {
  position: relative;
  z-index: 1;
}

.hero-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: 100%;
  border-radius: inherit;
  background: inherit;
  scrollbar-width: none;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.hero-scroll::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .hero-banner::before {
  animation: heroBlob 12s ease-in-out infinite;
}

body[data-page="home"] .hero-banner::after {
  animation: heroBlobAlt 14s ease-in-out infinite;
}

body[data-page="home"] .hero-slide .banner-content {
  animation: heroFade 0.9s ease both;
}

body[data-page="home"] .hero-actions .btn {
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .hero-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.5) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 6s ease-in-out infinite;
}

@keyframes heroBlob {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-20px, 18px) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
}

@keyframes heroBlobAlt {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(24px, -16px) scale(1.06);
    opacity: 0.95;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnShine {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-banner::before,
  body[data-page="home"] .hero-banner::after,
  body[data-page="home"] .hero-slide .banner-content,
  body[data-page="home"] .hero-actions .btn::after {
    animation: none;
  }
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}


.banner-content {
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
  align-content: center;
  width: min(560px, 100%);
  margin: 0 auto;
}

.banner-visual {
  display: grid;
  gap: 14px;
}

.banner-frame {
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(213, 155, 173, 0.45);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 2px;
}

.banner-strip {
  margin-top: 20px;
}

.hero-band .banner-strip {
  margin-bottom: 20px;
}

.hero-copy {
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 46px);
  line-height: 1.15;
  margin: 0;
}

.hero-lead {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.7;
  font-size: 16px;
}

.hero-sub {
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.6;
}

.hero-media {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.container.hero .hero-media {
  justify-self: center;
  align-self: center;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-accent {
  font-family: var(--font-display);
  color: var(--pink-700);
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-600);
}

.hero-highlights span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  white-space: nowrap;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--pink-600);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 12px 20px rgba(192, 130, 151, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn.secondary {
  background: #fff;
  color: var(--ink-900);
  border-color: rgba(234, 217, 222, 0.9);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(192, 130, 151, 0.22);
}

.preview-frame {
  width: min(320px, 100%);
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 3 / 1;
  min-height: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.6);
  background: linear-gradient(135deg, rgba(213, 155, 173, 0.08), rgba(246, 241, 234, 0.6));
  display: grid;
  place-items: center;
  gap: 8px;
  font-family: var(--font-display);
  color: var(--pink-700);
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  animation: float 8s ease-in-out infinite;
}

.hero .preview-frame {
  aspect-ratio: 4 / 3;
  width: min(220px, 100%);
  max-height: 70%;
}

.preview-frame.square {
  aspect-ratio: 1 / 1;
  width: min(210px, 100%);
}

.preview-frame svg {
  width: 36px;
  height: 36px;
}

.preview-frame span {
  font-size: 12px;
  letter-spacing: 2px;
}

.preview-frame::after {
  content: "";
  position: absolute;
  inset: auto 16px 16px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(213, 155, 173, 0.12);
}

.promo-scroll {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.6);
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scrollbar-width: none;
  cursor: grab;
}

.promo-board {
  display: grid;
  gap: 18px;
}

.promo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.promo-strip::-webkit-scrollbar {
  display: none;
}

.promo-panel {
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 60%, var(--pink-50) 100%);
  padding: 22px;
  display: grid;
  gap: 12px;
  text-align: left;
  min-height: 320px;
}

.promo-panel.seasonal {
  background: linear-gradient(140deg, #fff 0%, #f5eee4 55%, #fdf6f7 100%);
}

.promo-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.promo-feature {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 60%, var(--pink-50) 100%);
  padding: 20px;
  display: grid;
  gap: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.promo-feature.seasonal {
  background: linear-gradient(140deg, #fff 0%, #f5eee4 55%, #fdf6f7 100%);
}

.promo-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink-700);
}

.promo-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.promo-feature p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.7;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-media {
  min-height: 140px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(213, 155, 173, 0.45);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-500);
  font-size: 12px;
  letter-spacing: 2px;
}

.promo-mini {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promo-mini-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-600);
}

.promo-track {
  display: flex;
  gap: 14px;
  padding: 16px;
  animation: promo-marquee 14s linear infinite;
  width: max-content;
}

.promo-scroll:hover .promo-track {
  animation-play-state: paused;
}

.promo-card {
  min-width: 180px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.6);
  background: var(--pink-50);
  padding: 14px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-500);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(192, 130, 151, 0.12);
}

.promo-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-shell {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  color: var(--pink-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 24px rgba(192, 130, 151, 0.16);
  z-index: 2;
}

.scroll-arrow.left {
  left: -22px;
}

.scroll-arrow.right {
  right: -22px;
}

.scroll-shell:hover .scroll-arrow {
  opacity: 1;
  pointer-events: auto;
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.promo-thumb {
  height: 68px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(213, 155, 173, 0.45);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 60%, var(--pink-100) 100%);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 1px;
}

.promo-card strong {
  font-size: 14px;
  color: var(--ink-900);
}

@keyframes promo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tab-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.tab-btn.active {
  background: var(--pink-100);
  color: var(--pink-700);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.icon-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
}

.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(234, 217, 222, 0.8);
  display: grid;
  place-items: center;
  color: var(--pink-700);
}

.vision-stack {
  display: grid;
  gap: 16px;
}

.vision-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 18px;
  text-align: center;
  justify-items: center;
}

.vision-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  text-align: center;
}

.vision-item p {
  margin: 8px 0 0;
  color: var(--ink-500);
  line-height: 1.7;
  text-align: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.badge {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  color: var(--ink-700);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  box-shadow: 0 12px 24px rgba(213, 155, 173, 0.14);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--pink-700);
  font-family: var(--font-display);
}

.series-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.popular-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.series-scroll:active,
.popular-scroll:active,
.promo-scroll:active,
.promo-strip:active {
  cursor: grabbing;
}

.series-scroll::-webkit-scrollbar {
  display: none;
}

.popular-scroll::-webkit-scrollbar {
  display: none;
}

.series-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 22px;
  min-height: 180px;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.series-preview {
  width: min(180px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.6);
  background: var(--pink-50);
  display: grid;
  place-items: center;
  place-content: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-500);
}

.series-preview svg {
  width: 30px;
  height: 30px;
}

.series-preview span {
  font-size: 11px;
  color: var(--ink-500);
}

.popular-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 18px;
  min-height: 200px;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  justify-items: center;
}

.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(192, 130, 151, 0.12);
}

.popular-card .product-actions {
  justify-content: center;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.special-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px;
  scroll-snap-align: start;
}

.special-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(58, 39, 45, 0.08);
}

.special-title {
  font-weight: 600;
}

.special-price {
  font-size: 13px;
  color: var(--pink-700);
}

.popular-title {
  font-weight: 600;
}

.popular-price {
  font-size: 13px;
  color: var(--pink-700);
}

.series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(192, 130, 151, 0.12);
}

.series-card,
.banner-card,
.detail-info,
.faq-item {
  text-align: left;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--pink-100);
  display: grid;
  place-items: center;
  color: var(--pink-700);
  border: 1px solid rgba(234, 217, 222, 0.8);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.value-card,
.story-card,
.support-card,
.testimonial-card,
.group-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  min-height: 320px;
}

.group-card .tag-list {
  justify-content: center;
}

.group-card .btn {
  justify-self: center;
}

.group-card .series-preview {
  width: min(180px, 100%);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.6);
  background: var(--pink-50);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-500);
}

.group-card {
  height: 100%;
}


.value-card h3,
.story-card h3,
.support-card h3,
.testimonial-card h3,
.group-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  min-height: 48px;
}

.value-card p,
.story-card p,
.support-card p,
.testimonial-card p,
.group-card p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.7;
}

.testimonial-card strong {
  font-size: 13px;
  color: var(--ink-700);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.group-card .tag-list {
  justify-content: center;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
  min-width: 92px;
  height: 30px;
  border-radius: 999px;
  background: var(--pink-50);
  border: 1px solid rgba(234, 217, 222, 0.8);
  font-size: 12px;
  color: var(--ink-500);
  white-space: nowrap;
}

body[data-page="products"] .tag-list {
  gap: 8px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  justify-items: center;
}

.product-tabs .tab-btn {
  width: 100%;
}

@media (max-width: 820px) {
  .product-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .product-tabs {
    grid-template-columns: 1fr;
  }
}

.accessory-grid {
  max-width: 1080px;
  margin: 0 auto;
}

body[data-page="products"] .tag-list span {
  padding: 0 12px;
  min-width: 92px;
  height: 30px;
  font-size: 12px;
}

.quote {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--pink-50);
  border: 1px solid rgba(234, 217, 222, 0.8);
  font-size: 14px;
  color: var(--ink-700);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-600);
}

.material-details,
.material-details .feature-list {
  text-align: center;
  justify-items: center;
}

.material-showcase {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 18px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(58, 39, 45, 0.08);
}

.material-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.material-step {
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: var(--cream);
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
}

.material-step .step-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-900);
}

.material-step .step-desc {
  font-size: 12px;
  color: var(--ink-500);
}

.material-step.active,
.material-step:hover {
  background: var(--pink-50);
  border-color: rgba(213, 155, 173, 0.7);
  box-shadow: 0 12px 22px rgba(192, 130, 151, 0.14);
  transform: translateY(-2px);
}

.material-steps.animate .material-step {
  animation: statIn 0.6s ease forwards;
  animation-delay: var(--delay, 0ms);
}

.material-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.material-tab {
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  color: var(--ink-700);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.material-tab.active {
  background: var(--pink-100);
  color: var(--pink-700);
  box-shadow: 0 10px 18px rgba(213, 155, 173, 0.18);
}

.material-panel {
  display: none;
  gap: 14px;
  animation: panelFade 0.5s ease;
}

.material-panel.active {
  display: grid;
}

.material-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  justify-items: center;
}

.stat-card {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: var(--cream);
  padding: 12px 10px;
  display: grid;
  gap: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.stat-card.active,
.stat-card:hover {
  background: var(--pink-50);
  border-color: rgba(213, 155, 173, 0.7);
  box-shadow: 0 12px 20px rgba(192, 130, 151, 0.14);
  transform: translateY(-2px) scale(1);
}

.material-stats.animate .stat-card {
  animation: statIn 0.6s ease forwards;
  animation-delay: var(--delay, 0ms);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--pink-700);
}

.stat-label {
  font-size: 12px;
  color: var(--ink-600);
}

.material-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.material-pill {
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  color: var(--ink-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.material-pill.active {
  background: var(--pink-100);
  color: var(--pink-700);
  box-shadow: 0 8px 16px rgba(213, 155, 173, 0.18);
}

.material-detail {
  min-height: 24px;
  font-size: 13px;
  color: var(--ink-600);
  text-align: center;
  transition: opacity 0.3s ease;
}

.material-detail.animate {
  animation: detailIn 0.4s ease;
}

.material-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
}

.material-head p {
  margin: 8px 0 0;
  color: var(--ink-600);
  line-height: 1.7;
}

.material-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 13px;
  color: var(--ink-600);
}

.material-features li {
  opacity: 0;
  transform: translateY(10px);
}

.material-features.animate li {
  animation: featureIn 0.6s ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes featureIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-600);
  margin-top: 6px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-links a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  font-size: 13px;
  color: var(--ink-700);
}

.hero-links a:hover {
  background: var(--pink-50);
  color: var(--pink-700);
}

.vision-columns {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vision-columns .vision-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 24px;
  background: #fff;
  text-align: left;
}

.vision-columns .vision-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  display: grid;
  place-items: center;
  color: #6f666b;
  background: #f7f3f4;
  transition: transform 0.3s ease;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.social-text {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1;
}

.social-icon.instagram {
  color: #6f666b;
}

.social-icon.facebook {
  color: #5f6b78;
}

.social-icon.line {
  color: #5e6b62;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.group-block {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.group-block h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
  text-align: left;
}

.subgroup-block {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.subgroup-block h4 {
  margin: 0;
  font-size: 16px;
  color: var(--ink-700);
  text-align: left;
}

.pill-link {
  font-size: 13px;
  color: var(--pink-700);
  font-weight: 600;
}

.series-id {
  font-size: 13px;
  color: var(--pink-700);
  font-weight: 700;
  letter-spacing: 2px;
}

.series-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.series-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
  justify-items: center;
  align-items: stretch;
}

.pill-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill-card {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 18px;
  border: 1px solid rgba(234, 217, 222, 0.8);
  display: grid;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  justify-items: center;
}

.spirit-grid .pill-card {
  min-height: 140px;
  gap: 6px;
}

.spirit-grid .pill-title {
  line-height: 1.2;
  margin-bottom: 0;
}

.spirit-grid .section-subtitle {
  line-height: 1.35;
  margin-top: 0;
}

.pill-card .section-subtitle {
  text-align: center;
  margin: 0;
}

.pill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(192, 130, 151, 0.12);
}

.pill-title {
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  position: relative;
  text-align: center;
  justify-items: center;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--pink-600);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(213, 155, 173, 0.2);
}

.timeline-year {
  font-size: 14px;
  color: var(--ink-500);
  margin: 12px 0 0;
  text-align: center;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 6px 0 8px;
  text-align: center;
}

.timeline-desc {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.7;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: none;
}

.product-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.product-subtitle {
  color: var(--ink-500);
  font-size: 14px;
}

.product-summary-text {
  display: grid;
  gap: 4px;
}

.product-note {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0;
}

.product-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.product-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px dashed rgba(234, 217, 222, 0.6);
  padding-bottom: 8px;
}

.product-details summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details {
  display: grid;
  gap: 12px;
}

.summary-cta {
  font-size: 12px;
  color: var(--pink-600);
  letter-spacing: 1px;
}

.summary-cta::before {
  content: "展開";
}

.product-details[open] .summary-cta::before {
  content: "收合";
}

.product-body {
  border-top: 1px solid rgba(234, 217, 222, 0.6);
  padding-top: 12px;
  display: grid;
  gap: 12px;
}

.group-details {
  padding-top: 8px;
  border-top: 1px dashed rgba(234, 217, 222, 0.5);
}

.group-details summary {
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.group-details summary::-webkit-details-marker {
  display: none;
}

.group-details[open] summary {
  color: var(--pink-700);
}

.product-group,
.product-section {
  margin-top: 14px;
}

.product-group h4,
.product-section h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink-700);
}

.price-tag {
  color: var(--pink-700);
  font-weight: 600;
}

.original {
  color: var(--ink-500);
  text-decoration: line-through;
  font-size: 12px;
  margin-right: 6px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  justify-content: center;
}

.filter-input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  font-size: 14px;
  text-align: center;
}

.filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filter-chip.active {
  background: var(--pink-100);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.store-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 18px;
  display: grid;
  gap: 8px;
  text-align: center;
  justify-items: center;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.store-card h4 {
  margin: 0;
  font-size: 18px;
}

.region-title {
  margin: 40px 0 16px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--pink-700);
  text-align: center;
}

.store-meta {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}

.notice-card {
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(234, 217, 222, 0.8);
  padding: 18px;
  box-shadow: none;
  text-align: center;
  justify-items: center;
  display: grid;
  gap: 12px;
  align-content: center;
  place-items: center;
}

.notice-card .section-subtitle {
  margin: 0;
}

.notice-card .section-title {
  margin: 0;
}

.notice-card .pill-grid {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  justify-items: center;
}

body[data-page="faq"] .notice-card {
  min-height: 280px;
  padding: 26px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.report-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  position: relative;
  overflow: hidden;
  text-align: center;
  justify-items: center;
  display: grid;
  gap: 10px;
}

.report-card .section-subtitle {
  margin: 0;
  line-height: 1.6;
}

.report-card .btn {
  width: 120px;
  align-self: center;
}

.report-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 140px;
  height: 140px;
  background: rgba(213, 155, 173, 0.08);
  border-radius: 50%;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 14px 18px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  margin-top: 10px;
  color: var(--ink-500);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-grid.centered {
  justify-items: center;
  justify-content: center;
  grid-template-columns: minmax(0, 1fr);
}

.contact-grid.centered .contact-card {
  width: min(100%, 420px);
  margin: 0 auto;
}

.contact-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(234, 217, 222, 0.8);
  text-align: center;
  justify-items: center;
}

.contact-card form {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: 100%;
}

.form-field {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

body[data-page="contact"] .form-field {
  max-width: 520px;
  margin-bottom: 8px;
  gap: 4px;
}

body[data-page="contact"] .form-field label {
  font-size: 13px;
  line-height: 1.2;
}

body[data-page="contact"] .form-field input,
body[data-page="contact"] .form-field textarea {
  padding: 10px 14px;
  line-height: 1.2;
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(234, 217, 222, 0.9);
  font-size: 14px;
  font-family: inherit;
}

.footer {
  padding: 60px 0 40px;
  background: #fff;
  border-top: 1px solid rgba(234, 217, 222, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.footer-col {
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-500);
}

.footer-col ul {
  justify-items: center;
}


.footer-bottom {
  margin-top: 32px;
  font-size: 12px;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.6;
}

.footer-flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-flags .flag-label {
  font-size: 12px;
  color: var(--ink-500);
}

.quick-panel {
  position: fixed;
  inset: 0;
  background: rgba(42, 34, 37, 0.2);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

.quick-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.quick-panel-inner {
  width: min(420px, 90vw);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(234, 217, 222, 0.9);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.quick-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink-600);
  color: #fff;
  font-size: 10px;
  display: none;
  place-items: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  justify-content: center;
  justify-items: center;
  align-items: stretch;
}

.category-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.9);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  justify-items: center;
  width: 100%;
  max-width: 300px;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  min-height: 320px;
}

.category-card .series-preview {
  width: min(140px, 100%);
}

.category-card .category-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  min-height: 48px;
}

.category-card .category-meta {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.6;
  min-height: 48px;
}

.category-card .btn {
  justify-self: center;
  margin-top: auto;
}

.category-page .category-card {
  max-width: 260px;
  min-height: 280px;
  padding: 10px;
  gap: 6px;
}

.category-page .category-card .series-preview {
  width: min(120px, 100%);
}

.category-page .category-card .category-title {
  font-size: 18px;
  min-height: 40px;
}

.category-page .category-card .category-meta {
  font-size: 12px;
  min-height: 40px;
}

.category-page .banner-card {
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 14px;
}

.category-page .banner-media {
  width: 120px;
  margin: 0 auto;
}

.group-card .btn {
  margin-top: auto;
}

body[data-page="products"] #product-groups .pill-grid.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  justify-content: center;
}

body[data-page="products"] #product-groups .group-card {
  width: 100%;
  max-width: 300px;
}

body[data-page="categories"] .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
  grid-auto-rows: 1fr;
}

body[data-page="categories"] .category-card {
  max-width: none;
  height: 100%;
}

@media (max-width: 1100px) {
  body[data-page="categories"] .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body[data-page="categories"] .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-page="categories"] .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(58, 39, 45, 0.08);
}

.category-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink-700);
}

.category-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.category-meta {
  font-size: 13px;
  color: var(--ink-500);
}

.category-count {
  font-size: 12px;
  color: var(--ink-500);
}

.category-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.product-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(234, 217, 222, 0.6);
  align-items: center;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item-name {
  font-weight: 600;
  color: var(--ink-900);
}

.product-item-price {
  font-size: 13px;
  color: var(--pink-700);
}

.banner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.banner-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: #fff;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(192, 130, 151, 0.12);
}

.banner-card:focus-visible {
  outline: 2px solid var(--pink-400);
  outline-offset: 2px;
}

.banner-media {
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(213, 155, 173, 0.45);
  background: var(--pink-50);
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-500);
}

.banner-media svg {
  width: 26px;
  height: 26px;
}

.banner-media span {
  font-size: 11px;
  color: var(--ink-500);
}

.banner-body {
  display: grid;
  gap: 8px;
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.item-card .product-actions {
  justify-content: flex-start;
}

.btn.small {
  padding: 8px 14px;
  font-size: 12px;
  min-width: 88px;
  text-align: center;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 34, 37, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(380px, 90vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid rgba(234, 217, 222, 0.9);
  box-shadow: -10px 0 30px rgba(58, 39, 45, 0.08);
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  transition: right 0.3s ease;
  z-index: 60;
}

.cart-drawer.open {
  right: 0;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.cart-items {
  display: grid;
  gap: 14px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  gap: 6px;
  border-bottom: 1px dashed rgba(234, 217, 222, 0.6);
  padding-bottom: 10px;
}

.cart-item-title {
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
}

.cart-summary {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.cart-empty {
  font-size: 14px;
  color: var(--ink-500);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.detail-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-media {
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 217, 222, 0.8);
  background: linear-gradient(140deg, #ffffff 0%, var(--cream) 60%, var(--pink-50) 100%);
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--pink-700);
  font-family: var(--font-display);
}

.detail-media svg {
  width: 40px;
  height: 40px;
}

.detail-media span {
  font-size: 16px;
  color: var(--ink-700);
}

.detail-info {
  display: grid;
  gap: 14px;
}

.price-large {
  font-size: 24px;
  font-weight: 600;
  color: var(--pink-700);
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-500);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-700);
}

.search-results {
  display: grid;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal[data-anim="right"] {
  transform: translateX(30px) scale(0.98);
}

.reveal[data-anim="left"] {
  transform: translateX(-30px) scale(0.98);
}

.reveal[data-anim="right"].is-inview,
.reveal[data-anim="left"].is-inview {
  transform: translateX(0) scale(1);
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 10px;
    justify-items: center;
    align-items: center;
  }

  .header-left,
  .header-right {
    justify-content: center;
  }

  .header-left {
    width: 100%;
    justify-self: center;
    justify-content: center;
  }


  .header-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    justify-self: end;
    justify-content: flex-end;
  }

  .menu-toggle {
    display: grid;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-header.nav-open .menu-toggle {
    position: fixed;
    top: 14px;
    left: 16px;
    transform: none;
    z-index: 30;
  }

  .site-header.nav-open .header-right {
    position: fixed;
    top: 14px;
    right: 16px;
    transform: none;
    z-index: 30;
  }

  .site-header.nav-open .logo {
    margin: 0 auto;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0 4px;
  }

  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 6px 0;
    display: none;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .nav-item.has-dropdown.open .nav-dropdown {
    display: flex;
  }

  .nav-item.has-dropdown.open .nav-dropdown.mega-menu {
    display: grid;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav .nav-search {
    display: inline-flex;
  }

  .main-nav a {
    font-size: 14px;
    padding: 6px 4px;
    letter-spacing: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-media {
    justify-self: center;
    width: 100%;
  }

  .hero-media .preview-frame {
    width: min(200px, 100%);
  }

  .hero-band .container {
    padding: 0 5vw;
  }

  .nav-dropdown.mega-menu {
    display: none !important;
  }

  .hero {
    padding: 24px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .pill-grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-mini {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .store-grid,
  .report-grid,
  .value-grid,
  .story-grid,
  .support-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="categories"] .category-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 300px;
  }

  .footer-col.contact-col {
    grid-column: 1 / -1;
  }

}

@media (max-width: 600px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .section-kicker {
    font-size: 11px;
  }

  .logo-img {
    width: 110px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-banner .hero-actions {
    gap: 8px;
  }

  .hero-banner .btn {
    padding: 8px 16px;
    font-size: 11px;
  }

  .hero-banner::before,
  .hero-banner::after {
    opacity: 0.3;
    transform: scale(0.8);
  }

  .hero-banner .scroll-arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-banner .scroll-arrow.left {
    left: -8px;
  }

  .hero-banner .scroll-arrow.right {
    right: -8px;
  }

  .hero,
  .hero-banner {
    padding: 12px;
  }

  .hero-banner {
    aspect-ratio: 4 / 3;
  }

  .hero .preview-frame {
    width: min(150px, 100%);
    max-height: 60%;
  }

  .hero-scroll {
    height: auto;
    overflow-y: visible;
  }

  .hero-slide {
    height: auto;
    padding: 16px 18px;
  }


  .hero-title {
    font-size: 17px;
  }

  .hero-lead {
    font-size: 11px;
  }

  .hero-sub {
    font-size: 10px;
    display: block;
  }

  .hero-copy {
    gap: 8px;
  }

  .hero-highlights {
    gap: 6px;
    font-size: 10px;
  }

  .hero-highlights span {
    padding: 5px 10px;
  }

  .header-right {
    margin-top: 6px;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 48px 0;
  }

  .product-item {
    grid-template-columns: 1fr;
  }

  .product-actions {
    justify-content: flex-start;
  }

  .banner-card {
    grid-template-columns: 1fr;
  }

  .pill-grid,
  .pill-grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="products"] #product-groups .pill-grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="categories"] .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .mega-sub {
    grid-template-columns: 1fr;
  }

}
