/* Collector preview: original MAZIDEX character, with the scan journey up front. */
:root {
  --chart-color: #35e88c;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="light"] {
  --chart-color: #187343;
}
body {
  background:
    radial-gradient(
      ellipse 900px 650px at 90% 180px,
      #e9be4f08,
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 550px at 0% 450px,
      #e9be4f06,
      transparent 75%
    ),
    var(--bg);
}
.app-header {
  height: 72px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(20px);
}
.desktop-nav a {
  border-radius: 999px;
  padding: 10px 16px;
}
.desktop-nav a[aria-current="page"],
html[data-theme="light"] .desktop-nav a[aria-current="page"] {
  background: var(--gold);
  color: #211b0c;
}
.header-search {
  border-radius: 999px;
}
.button {
  border-radius: 999px;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s,
    background 0.2s;
}
.button:not(.secondary) {
  box-shadow:
    0 6px 25px #e9be4f0c,
    inset 0 1px 0 #fff5;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px #e9be4f26;
}
.button:active {
  transform: translateY(0);
}
.button.secondary {
  background: color-mix(in srgb, var(--panel) 65%, transparent);
}
main {
  max-width: 1360px;
}
.market-ribbon {
  display: flex;
  align-items: center;
  height: 43px;
  border-bottom: 1px solid var(--line-soft);
  gap: 24px;
}
.market-ribbon > a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 7px;
  color: var(--gold);
  font: 9px var(--mono);
  letter-spacing: 1px;
  min-height: 42px;
}
.market-ribbon > a svg {
  width: 13px;
  height: 13px;
}
.market-ribbon > div {
  display: flex;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}
.market-ribbon button {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 0 21px;
  height: 42px;
  border-right: 1px solid var(--line-soft);
  font: 10px var(--mono);
}
.market-ribbon button:first-child {
  padding-left: 0;
}
.market-ribbon button span,
.market-ribbon small {
  color: var(--faint);
  font-size: 8px;
}
.market-ribbon button strong {
  color: var(--gold);
  font-weight: 500;
}
.home-hero {
  padding: 58px 0 40px;
  min-height: 555px;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.hero-copy h1 {
  font: 700 clamp(48px, 4.7vw, 68px)/1.08 var(--body);
  letter-spacing: -2.7px;
}
.hero-copy h1 span {
  color: var(--gold);
}
.hero-copy h1 em,
.scan-intro h1 em {
  color: var(--red);
  font-style: normal;
}
.hero-copy .hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid #e9be4f50;
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 25px;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.hero-kicker svg {
  width: 12px;
  height: 12px;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.65;
  margin: 24px 0 28px;
}
.hero-assurances {
  gap: 17px;
  margin-top: 25px;
}
.hero-visual {
  height: 455px;
  perspective: 1200px;
}
.hero-orbit {
  background: radial-gradient(
    ellipse at 50% 53%,
    #e9be4f22,
    #e9be4f08 44%,
    transparent 68%
  );
  inset: -20px;
}
.hero-orbit:before {
  border-color: #e9be4f1a;
  width: 390px;
  height: 390px;
  top: 30px;
  box-shadow:
    0 0 0 35px #e9be4f04,
    0 0 0 70px #e9be4f03;
}
.hero-watermark {
  position: absolute;
  inset: -60px 0 auto;
  color: var(--gold);
  opacity: 0.035;
  font: 600 410px/0.95 var(--display);
  text-align: center;
  letter-spacing: -25px;
  pointer-events: none;
  z-index: -1;
}
.hero-card {
  background: linear-gradient(140deg, #ffffff13, #28251bb8 32%, #0e0d0bf2);
  border-color: #a6966c70;
  box-shadow:
    0 24px 44px #0007,
    inset 0 1px 0 #fff2;
  transition:
    translate 0.45s var(--ease-out),
    box-shadow 0.45s,
    border-color 0.3s;
  animation: card-arrive 1s var(--ease-out) both;
}
.hero-card-1 {
  animation-delay: 0.08s;
}
.hero-card-2 {
  animation-delay: 0.16s;
}
.hero-card-3 {
  border-color: #e9be4fa0;
  box-shadow:
    0 30px 70px #0009,
    0 0 40px #e9be4f0f,
    inset 0 1px 0 #fff4;
}
.hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    #fff0 38%,
    #fff2 45%,
    #fff0 52%,
    transparent 70%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  animation: foil-arrive 1.8s 0.3s var(--ease-out) both;
}
.hero-card:hover,
.hero-card:focus-visible {
  translate: 0 -12px;
  box-shadow:
    0 35px 60px #0009,
    0 0 35px #e9be4f25;
}
.scan-callout {
  bottom: 36px;
  left: 0;
  box-shadow:
    0 12px 40px #0006,
    0 0 25px #e9be4f18;
  border: 1px solid #fff4;
}
.hero-art-caption {
  bottom: -8px;
}
.utility-strip {
  background: linear-gradient(140deg, var(--panel-2), var(--panel) 60%);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 15px;
}
.utility-strip > a:hover > svg:first-of-type {
  filter: drop-shadow(0 0 8px #e9be4f70);
}
.category-card {
  border-radius: 14px;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.25s;
}
.category-card img {
  transition:
    scale 0.65s var(--ease-out),
    filter 0.4s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #e9be4f60;
}
.category-card:hover img {
  scale: 1.06;
  filter: saturate(1);
}
.card-tile {
  border-radius: 14px;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.3s,
    box-shadow 0.3s;
}
.card-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px #0004;
  border-color: #e9be4f70;
}
.badge {
  background: linear-gradient(115deg, #d6ae48, #f7dc88 52%, #c9a146);
  box-shadow: 0 2px 12px #e9be4f25;
}
.badge.muted-badge {
  box-shadow: none;
  background: #211e19e8;
}
.why-mazi {
  background:
    radial-gradient(ellipse at 110% 110%, #e9be4f15, transparent 65%),
    var(--panel);
  border-radius: 14px;
}
.collection-banner {
  background:
    radial-gradient(ellipse at 10% 0%, #e9be4f13, transparent 70%), var(--panel);
  border-radius: 14px;
}
.specimen-wrap {
  background: linear-gradient(135deg, #e9be4f17, var(--panel) 38%, var(--deep));
  border-color: #e9be4f55;
  box-shadow:
    0 22px 60px #0003,
    inset 0 1px 0 #fff1;
}
.panel {
  border-radius: 14px;
}
.chart-panel {
  background:
    radial-gradient(ellipse at 50% 100%, #35e88c05, transparent 70%),
    var(--panel);
  border-color: color-mix(in srgb, var(--chart-color) 20%, var(--line));
}
.chart-panel .panel-heading {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.chart-panel .panel-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
}
.chart-periods {
  padding: 3px;
  border-radius: 999px;
  flex-shrink: 0;
}
.chart-periods button {
  min-height: 38px;
  min-width: 39px;
  border-radius: 999px;
  padding: 7px 9px;
  font: 10px var(--mono);
}
.chart-periods button.active {
  background: var(--gold);
  color: #211b0c;
}
.history-coverage {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 15px;
  color: var(--faint);
  font-size: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.history-coverage > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.history-coverage svg {
  width: 12px;
  height: 12px;
}
.chart-selected {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 15px 0 5px;
}
.chart-selected > span:first-child {
  display: flex;
  flex-direction: column;
}
.chart-selected small {
  font: 8px var(--mono);
  letter-spacing: 1.1px;
  color: var(--faint);
}
.chart-selected strong {
  font: 500 40px/1.1 var(--display);
  letter-spacing: -0.3px;
  color: var(--chart-color);
}
#chart-selected-meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 205px;
}
.chart-selected .text-link {
  margin-left: auto;
  font-size: 12px;
}
.history-chart {
  overflow: visible;
}
.history-chart .chart-grid {
  stroke: var(--line-soft);
  stroke-dasharray: 3 5;
}
.history-chart text {
  font-size: 10px;
}
.chart-line {
  fill: none;
  stroke: var(--chart-color);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: chart-draw 0.85s var(--ease-out);
}
.chart-area {
  animation: chart-reveal 1.1s var(--ease-out);
}
.chart-crosshair {
  stroke: var(--chart-color);
  stroke-opacity: 0.3;
  stroke-dasharray: 3 5;
}
.chart-point {
  cursor: pointer;
  outline: none;
}
.history-chart .point-hit {
  fill: transparent;
  stroke: none;
}
.history-chart .point-ring {
  fill: var(--chart-color);
  fill-opacity: 0;
  stroke: none;
  transition: fill-opacity 0.2s;
}
.history-chart .point-dot {
  fill: var(--chart-color);
  stroke: var(--panel);
  stroke-width: 2;
}
.chart-point.selected .point-ring {
  fill-opacity: 0.18;
}
.chart-point:focus-visible .point-ring {
  fill-opacity: 0.3;
  stroke: var(--chart-color);
  stroke-width: 1;
}
.chart-method {
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
  margin: 2px 0 12px;
}
.chart-legend i {
  background: var(--chart-color);
  box-shadow: 0 0 7px #35e88c30;
}
.scan-page {
  gap: 75px;
  margin-top: 50px;
}
.scan-intro h1 {
  font: 700 64px/1.08 var(--body);
  letter-spacing: -2px;
}
.scan-intro h1 span {
  color: var(--gold);
}
.scan-intro > p {
  font-size: 17px;
  line-height: 1.65;
}
.scan-result-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e9be4f40;
  background: linear-gradient(115deg, #e9be4f0c, transparent);
  margin-top: 25px;
  max-width: 420px;
}
.scan-result-preview > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.scan-result-preview small {
  font: 8px var(--mono);
  color: var(--gold);
  letter-spacing: 1px;
}
.scan-result-preview b {
  font-size: 15px;
}
.scan-result-preview span > span {
  font-size: 11px;
  color: var(--muted);
}
.scan-result-preview > svg {
  margin-left: auto;
  width: 17px;
  color: var(--gold);
}
.result-preview-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}
.scanner {
  background: linear-gradient(140deg, var(--panel-2), var(--panel) 45%);
  border-color: #e9be4f55;
  box-shadow:
    0 25px 70px #0004,
    0 0 70px #e9be4f06;
  padding: 24px;
  border-radius: 20px;
}
.capture-zone {
  background:
    radial-gradient(ellipse at 50% 50%, #e9be4f0d, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      #e9be4f03 30px
    ),
    var(--deep);
}
.scan-card-outline {
  width: 154px;
  height: 217px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #e9be4f40;
  background: linear-gradient(125deg, #e9be4f09, #e9be4f02);
  border-radius: 11px;
  transform: rotate(-7deg);
  box-shadow:
    0 15px 30px #0003,
    inset 0 1px 0 #fff1;
  position: relative;
}
.scan-card-outline:before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #e9be4f13;
  border-radius: 7px;
}
.scan-ghost .scan-card-outline svg {
  width: 19px;
  height: 19px;
  color: var(--gold);
  opacity: 0.8;
}
.scan-card-outline b {
  font: 500 66px/1.3 var(--display);
  letter-spacing: -3px;
  color: var(--gold);
  opacity: 0.35;
}
.scan-card-outline span {
  font-size: 7px;
  color: var(--faint);
}
.camera-frame i {
  filter: drop-shadow(0 0 5px #e9be4f40);
}
.scan-notice {
  border-style: dashed;
  background: transparent;
}
.mobile-nav .nav-scan svg {
  box-shadow: 0 0 22px #e9be4f30;
}
html[data-theme="light"] .hero-watermark {
  opacity: 0.08;
}
html[data-theme="light"] .scan-result-preview small {
  color: #805c06;
}
html[data-theme="light"] .scan-card-outline {
  background: #e9be4f0b;
  border-color: #a27a2555;
}
html[data-theme="light"] .scan-card-outline b {
  color: #805c06;
}
@keyframes card-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes foil-arrive {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0% 0;
  }
}
@keyframes chart-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes chart-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 16px;
  }
  .home-hero {
    min-height: 505px;
  }
  .hero-copy h1 {
    font-size: 55px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-visual {
    height: 420px;
  }
  .hero-watermark {
    font-size: 340px;
    inset-block-start: -15px;
  }
  .scan-intro h1 {
    font-size: 54px;
  }
  .scan-page {
    gap: 45px;
  }
}
@media (max-width: 900px) {
  .app-header {
    height: 70px;
  }
  .home-hero {
    grid-template-columns: 1.1fr 1fr;
    padding-top: 35px;
    min-height: 460px;
  }
  .hero-copy h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
  }
  .hero-copy .hero-kicker {
    font-size: 7px;
    letter-spacing: 1px;
    padding: 6px 9px;
  }
  .hero-visual {
    height: 360px;
  }
  .hero-orbit {
    inset: 0;
  }
  .hero-orbit:before {
    width: 280px;
    height: 280px;
    left: 45%;
  }
  .hero-watermark {
    font-size: 280px;
    top: -8px;
  }
  .scan-callout {
    left: 0;
    bottom: 24px;
  }
  .hero-art-caption {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-assurances {
    gap: 9px;
  }
  .market-ribbon {
    gap: 15px;
  }
  .market-ribbon > a {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .scan-page {
    gap: 26px;
  }
  .scan-intro h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }
  .scanner {
    padding: 18px;
  }
  .scan-result-preview {
    padding: 12px;
  }
  .scan-result-preview b {
    font-size: 13px;
  }
  .result-preview-icon {
    display: none;
  }
}
@media (max-width: 600px) {
  .app-header {
    height: 64px;
  }
  .market-ribbon {
    margin: 0 -20px;
    padding-left: 20px;
    height: 39px;
    gap: 10px;
  }
  .market-ribbon > a {
    font-size: 7px;
    letter-spacing: 0.3px;
  }
  .market-ribbon button {
    height: 38px;
    font-size: 9px;
    padding: 0 15px;
  }
  .market-ribbon small {
    font-size: 7px;
  }
  .market-ribbon button span {
    display: none;
  }
  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 0 22px;
    min-height: auto;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 11.5vw, 58px);
    letter-spacing: -1.7px;
    line-height: 1.08;
  }
  .hero-copy .hero-kicker {
    font-size: 7px;
    padding: 6px 9px;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    margin: 18px 0 22px;
    font-size: 15px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    min-height: 48px;
    font-size: 13px;
    padding: 12px 17px;
  }
  .hero-assurances {
    gap: 12px;
    font-size: 9px;
    margin-top: 17px;
  }
  .hero-assurances > span:last-child {
    display: none;
  }
  .hero-visual {
    height: 355px;
    margin: 17px auto 0;
    width: min(100%, 370px);
  }
  .hero-watermark {
    font-size: 290px;
    top: -15px;
  }
  .hero-orbit:before {
    left: 50%;
  }
  .scan-callout {
    bottom: 27px;
    left: 3%;
    padding: 10px 13px;
  }
  .hero-art-caption {
    bottom: 0;
    font-size: 6px;
  }
  .utility-strip {
    margin-top: 3px;
    margin-bottom: 35px;
  }
  .card-tile {
    border-radius: 11px;
  }
  .chart-panel {
    padding: 16px;
  }
  .chart-panel .panel-heading {
    display: block;
  }
  .chart-periods {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
    width: 100%;
  }
  .chart-periods button {
    min-height: 44px;
    min-width: 38px;
    flex: 1;
    padding: 7px 5px;
    font-size: 10px;
  }
  .history-coverage {
    font-size: 10px;
    padding-bottom: 12px;
  }
  .chart-selected {
    gap: 12px;
    padding-top: 14px;
    min-height: 87px;
  }
  .chart-selected small {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .chart-selected strong {
    font-size: 36px;
  }
  #chart-selected-meta {
    font-size: 10px;
    max-width: 110px;
  }
  .chart-selected .text-link {
    font-size: 10px;
    gap: 4px;
  }
  .chart-selected .text-link svg {
    width: 13px;
  }
  .history-chart text {
    font-size: 14px;
  }
  .chart-method {
    font-size: 9px;
    margin-top: 9px;
  }
  .chart-legend {
    font-size: 9px;
  }
  .scan-page {
    margin-top: 28px;
    gap: 25px;
  }
  .scan-intro h1 {
    font-size: 46px;
    margin-top: 14px;
    letter-spacing: -1.5px;
  }
  .scan-intro > p {
    font-size: 15px;
  }
  .scan-intro .scan-steps {
    display: none;
  }
  .scan-result-preview {
    margin-top: 12px;
    max-width: none;
  }
  .scan-result-preview b {
    font-size: 14px;
  }
  .result-preview-icon {
    display: grid;
    width: 36px;
    height: 36px;
  }
  .scanner {
    padding: 16px;
    border-radius: 16px;
  }
  .capture-zone {
    min-height: 310px;
  }
  .scan-card-outline {
    width: 132px;
    height: 184px;
  }
  .scan-card-outline b {
    font-size: 55px;
  }
}
@media (hover: none) {
  .hero-card:hover,
  .hero-card:focus-visible {
    translate: none;
  }
  .card-tile:hover,
  .category-card:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-card:hover {
    translate: none;
  }
  .button:hover,
  .card-tile:hover,
  .category-card:hover {
    transform: none;
  }
}
