@font-face {
  font-family: Manrope;
  src: url("./assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  color: #181b19;
  background: #f7f8f4;
  --surface: #f7f8f4;
  --ink: #181b19;
  --muted: #525b53;
  --line: #dce1d9;
  --mint: #baf491;
  --mint-hover: #a8ee77;
  --dark: #181818;
  --hero-ink: #101114;
  --page-width: 90rem;
  --page-gutter: 2rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(.checker[open], .estimate-progress[open], .scan-history-dialog[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid #276d45; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: white;
  clip-path: inset(50%);
}

.skip-link:focus { clip-path: none; }
.shell { width: min(100% - 2 * var(--page-gutter), var(--page-width)); margin-inline: auto; }
.section { padding-block: 3rem; }
.section[id] { scroll-margin-top: 1rem; }

.site-header {
  --header-surface: #10101a;
  --header-panel: #1b1b25;
  --header-panel-fill: linear-gradient(180deg, #23232d, var(--header-panel));
  --header-hover: #302b3b;
  --header-line: #565460;
  --header-ink: #fff;
  --header-accent: #fff;
  --header-height: 5.5rem;
  position: relative;
  z-index: 2;
  color: var(--header-ink);
  background:
    radial-gradient(ellipse 9rem 5rem at 0 0, #7735bc90, transparent 100%),
    radial-gradient(ellipse 14rem 7rem at 77% 50%, #6327be42, transparent 100%),
    var(--header-surface);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #c89aee, #a764e8 58%, #7135b6);
  pointer-events: none;
}

.site-header :focus-visible { outline-color: var(--header-accent); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: .75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -.065em;
  font-weight: 800;
  white-space: nowrap;
}

.brand-end { color: #59675d; }

.header-logo {
  width: 15rem;
  height: auto;
}

.brand-mark {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: .625rem;
  background: var(--ink);
  color: var(--mint);
  flex: none;
}

.brand-mark i {
  position: absolute;
  width: var(--corner-size, .375rem);
  height: var(--corner-size, .375rem);
  border: 0 solid currentColor;
}

.brand-mark i:nth-child(1) {
  inset: var(--corner-inset, .5rem) auto auto var(--corner-inset, .5rem);
  border-width: 2px 0 0 2px;
  border-top-left-radius: var(--corner-radius, 2px);
}

.brand-mark i:nth-child(2) {
  inset: var(--corner-inset, .5rem) var(--corner-inset, .5rem) auto auto;
  border-width: 2px 2px 0 0;
  border-top-right-radius: var(--corner-radius, 2px);
}

.brand-mark i:nth-child(3) {
  inset: auto auto var(--corner-inset, .5rem) var(--corner-inset, .5rem);
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: var(--corner-radius, 2px);
}

.brand-mark i:nth-child(4) {
  inset: auto var(--corner-inset, .5rem) var(--corner-inset, .5rem) auto;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: var(--corner-radius, 2px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.site-nav a {
  padding: .5rem 1rem;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background: var(--header-panel-fill);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--header-hover); }
.site-nav a[aria-current="page"] { border-color: #b2b2ba; }
.menu-toggle { display: none; }

.button, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 750;
  transition: transform 250ms var(--ease), background-color 250ms var(--ease);
}

.button { padding: .5rem 1rem; min-height: 3rem; border-radius: 999px; }
.button:active, .button-link:active { transform: translateY(1px); }
.button-small { min-height: 2.75rem; padding-inline: .75rem; font-size: .875rem; line-height: 1.25rem; }
.button-outline { border-color: #cdd5c9; }
.button-outline:hover { background: #e9eee5; }
.header-tools { display: flex; align-items: center; justify-self: end; gap: .5rem; }
.site-header .header-action {
  gap: .5rem;
  border-color: #a365ed;
  background: linear-gradient(135deg, #9b5fe3, #702cdb 45%, #5715d2);
  box-shadow: 0 .25rem 1rem #611bdd55, inset 0 1px 0 #e3c4ff55;
  white-space: nowrap;
}
.site-header .header-action:hover { background: linear-gradient(135deg, #a36be6, #7939df 45%, #641fe0); border-color: #bf8bf4; }
.header-language summary:hover, .header-language[open] summary { background: var(--header-hover); }
.header-language { position: relative; z-index: 4; }
.header-language summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-height: 2.75rem;
  padding-inline: .5rem;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background: var(--header-panel-fill);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.header-language summary::-webkit-details-marker { display: none; }
.header-language-globe { position: relative; display: grid; place-items: center; width: 1rem; height: 1rem; border: 1.5px solid currentColor; border-radius: 50%; }
.header-language-globe::before { content: ""; width: .4375rem; height: 100%; border-inline: 1px solid currentColor; border-radius: 50%; }
.header-language-globe::after { content: ""; position: absolute; inset-inline: 0; border-top: 1px solid currentColor; }
.header-language-chevron { width: .375rem; height: .375rem; margin-inline: .125rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.0625rem) rotate(45deg); }
.header-language[open] .header-language-chevron { transform: translateY(.0625rem) rotate(225deg); }
.header-language-panel {
  position: absolute;
  inset: calc(100% + .5rem) 0 auto auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 10rem;
  padding: .75rem;
  border: 1px solid var(--header-line);
  border-radius: .75rem;
  background: var(--header-panel);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
}
.header-language-check { width: .375rem; height: .625rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.0625rem) rotate(45deg); margin-inline-end: .125rem; }
.button-primary { min-height: 3.5rem; padding-inline: 1.25rem; background: var(--mint); }
.button-primary:hover { background: var(--mint-hover); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #353d36; }
.button-soft { background: rgb(255 255 255 / .72); }
.button-soft:hover { background: #fff; }

.button-link {
  justify-content: flex-start;
  padding: .5rem .25rem;
  border-radius: .25rem;
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-color: #829084;
}

.button-link:hover { text-decoration-color: currentColor; }

.icon-camera {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: .875rem;
  border: 2px solid currentColor;
  border-radius: .25rem;
  flex: none;
}

.icon-camera::before, .icon-camera::after { content: ""; }
.icon-camera::before {
  position: absolute;
  inset: -.375rem auto auto .1875rem;
  width: .5rem;
  height: .25rem;
  border: 2px solid currentColor;
  border-radius: .125rem .125rem 0 0;
}

.icon-camera::after {
  width: .375rem;
  height: .375rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.icon-image {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1.125rem;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: .25rem;
  flex: none;
}

.icon-image::before {
  content: "";
  position: absolute;
  top: .125rem;
  left: .125rem;
  width: .25rem;
  height: .25rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-image::after {
  content: "";
  position: absolute;
  right: -.125rem;
  bottom: -.5rem;
  width: .875rem;
  height: .875rem;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.icon-lock {
  position: relative;
  width: .625rem;
  height: .5rem;
  border: 1px solid currentColor;
  border-radius: .125rem;
  margin-top: .1875rem;
  flex: none;
}

.icon-lock::before {
  content: "";
  position: absolute;
  width: .375rem;
  height: .3125rem;
  top: -.3125rem;
  left: .0625rem;
  border: 1px solid currentColor;
  border-radius: .25rem .25rem 0 0;
}

.first-screen {
  color: var(--hero-ink);
  background-color: #eff1fc;
  background-image:
    radial-gradient(ellipse 78% 92% at -39% -58%, rgb(255 255 255 / .62) 99%, transparent 100%),
    radial-gradient(ellipse 82% 92% at 132% 145%, rgb(255 255 255 / .45) 99%, transparent 100%),
    linear-gradient(112deg, #eee5fa, #eaeafb 52%, #dbe8fa);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 1.75rem;
  padding-block: 3.5rem 3rem;
}

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

.hero h1 {
  font-size: clamp(3rem, 5.1vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.06em;
}

.hero-description {
  max-width: 51rem;
  margin: 1rem auto 0;
  color: #4e5669;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.hero-uploader {
  width: 100%;
  max-width: 74rem;
  min-width: 0;
  justify-self: center;
  padding: 1.5rem 1.75rem;
  border: 1px solid #fff;
  border-radius: 2rem;
  color: var(--hero-ink);
  background: #fff;
  box-shadow: 0 .875rem 2.75rem rgb(48 55 98 / .13);
  transition: border-color 280ms var(--ease), background-color 280ms var(--ease);
}

.hero-uploader :focus-visible { outline-color: #554ac4; }
.hero-uploader .button-primary { color: #fff; background: var(--hero-ink); }
.hero-uploader .button-primary:hover { background: #34353d; }
.hero-uploader .button-outline { border-color: #242730; }
.hero-uploader .button-outline:hover { background: #f0f1f5; }

.hero-dropzone {
  display: grid;
  min-height: 17rem;
  padding: 1.25rem;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  border: 2px dashed #bcc2d0;
  border-radius: 1.5rem;
  background: #fdfdff;
  cursor: pointer;
  transition: border-color 280ms var(--ease), background-color 280ms var(--ease);
}

@media (hover: hover) {
  .hero-dropzone:hover { border-color: #a695d5; background: #f4efff; }
}

.hero-uploader[data-dragging] { border-color: #7766bc; background: #f2ebff; }
.hero-uploader[data-dragging] .hero-dropzone { border-color: #6653b2; background: #e9dfff; }
.hero-uploader[data-camera-active] > .hero-camera-options { display: none; }
.hero-upload-empty { display: grid; width: 100%; justify-items: center; gap: .75rem; text-align: center; }
.hero-photo-copy h2 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.045em; }
.hero-upload-empty p, .hero-photo-copy p { color: #565e70; font-size: .875rem; line-height: 1.25rem; }
.hero-upload-empty .button {
  min-width: min(100%, 23rem);
  min-height: 4rem;
  font-size: 1.125rem;
}

.hero-upload-icon {
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.25rem;
  border-radius: 1rem;
  background: #eef0f4;
  color: var(--hero-ink);
}

.hero-upload-icon .icon-camera { transform: scale(1.65); }

.hero-camera-options {
  display: grid;
  width: min(100%, 26rem);
  margin: .75rem auto 0;
  justify-items: center;
  gap: .5rem;
}

.hero-camera-options .button { min-width: min(100%, 17rem); min-height: 3.5rem; font-size: 1.125rem; }

.hero-camera-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  color: #565e70;
  font-size: .875rem;
  line-height: 1.25rem;
}

.hero-camera-divider::before, .hero-camera-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dce0e9;
}

.hero-uploader:has(.hero-photo-state:not([hidden])) .hero-camera-divider { display: none; }

.hero-camera-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: 1rem;
}

.hero-upload-status { margin-top: .75rem; text-align: center; color: #234a2f; font-size: .875rem; line-height: 1.25rem; }
.hero-upload-status:empty { margin-top: 0; }
.hero-upload-status[data-state="error"] { color: #a42b26; }

.hero-photo-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  text-align: center;
}

.hero-photo-state img {
  width: auto;
  max-width: min(100%, 19rem);
  max-height: 13rem;
  border-radius: .75rem;
  object-fit: contain;
}

.hero-photo-copy { min-width: 0; }
.hero-photo-copy p { max-width: 20rem; overflow-wrap: anywhere; }
.hero-photo-copy .estimate-actions { justify-content: center; }
.hero-camera-panel { width: min(100%, 40rem); margin: 1rem auto 0; }
.hero-camera-panel video {
  display: block;
  width: 100%;
  max-height: 19rem;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 1rem;
  background: var(--hero-ink);
}
.hero-camera-panel button:disabled { cursor: wait; opacity: .6; }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li { display: flex; align-items: center; justify-content: center; gap: 1rem; min-width: 0; }
.hero-highlights strong { display: block; font-size: 1.125rem; line-height: 1.5rem; font-weight: 800; }
.hero-highlights p { color: #4e5669; font-size: 1rem; line-height: 1.5rem; }

.highlight-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: .875rem;
  background: rgb(37 45 65 / .075);
}

.highlight-icon .icon-lock { transform: scale(1.55); }

.icon-stack { position: relative; width: 1.25rem; height: 1.25rem; }
.icon-stack::before, .icon-stack::after {
  content: "";
  position: absolute;
  left: .13rem;
  width: 1rem;
  height: .65rem;
  border: 1.5px solid currentColor;
  border-radius: .125rem;
  transform: rotate(-30deg) skewX(22deg);
}
.icon-stack::before { top: .15rem; }
.icon-stack::after { top: .43rem; }

.first-screen + .categories-section { padding-top: 3rem; }
.section-heading { margin-bottom: 1.5rem; }
.section-heading h2, .final-card h2 { font-size: 3rem; line-height: 1; letter-spacing: -.055em; font-weight: 800; }
.section-heading p, .final-card p { margin-top: .75rem; color: var(--muted); font-size: 1rem; line-height: 1.5rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.category-grid + .button { margin-top: 1rem; }

.category {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  min-height: 19rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.category-antique { background: #f4eac7; }
.category-coins { background: #e9e5f8; }
.category-cards { background: #f8e5d9; }
.category-copy { position: relative; z-index: 1; }
.category h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 800; letter-spacing: -.045em; }
.category p { max-width: 16rem; margin-top: .25rem; font-size: .9375rem; line-height: 1.5rem; color: #484943; }

.category img {
  position: absolute;
  pointer-events: none;
  bottom: 0;
  right: 0;
  width: auto;
  height: 70%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, black 26%), linear-gradient(to bottom, transparent, black 26%);
  mask-composite: intersect;
}

.category .button { position: relative; z-index: 1; }
a.category:is(:hover, :focus-visible) .button-soft { background: #fff; }

.process {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem;
  padding: 3rem;
  color: #f7f8f4;
  background: var(--dark);
  border-radius: 2rem;
}

.process-intro h2 { font-size: 3.75rem; line-height: 1; letter-spacing: -.065em; font-weight: 800; }
.process-intro p { max-width: 22rem; margin-top: 1rem; color: #c3cbc2; font-size: 1.125rem; line-height: 1.75rem; }
.has-motion [data-reveal]:not(.is-visible) span { opacity: .35; }
.has-motion [data-reveal] span { transition: opacity 560ms var(--ease); }
.has-motion [data-reveal] span:nth-of-type(2) { transition-delay: 80ms; }
.has-motion [data-reveal] span:nth-of-type(3) { transition-delay: 160ms; }
.has-motion [data-reveal] span:nth-of-type(4) { transition-delay: 240ms; }
.has-motion [data-reveal] span:nth-of-type(5) { transition-delay: 320ms; }

.process-list { display: grid; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; }
.process-list h3 { font-size: 1.125rem; line-height: 1.75rem; }
.process-list p { color: #c3cbc2; font-size: 1rem; line-height: 1.5rem; }

.step-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--mint);
  background: #303c2b;
  font-size: .875rem;
  font-weight: 750;
}

.item-guide {
  --guide-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  --guide-gap: clamp(2rem, 6vw, 6rem);
}

.guide-intro,
.guide-block {
  display: grid;
  grid-template-columns: var(--guide-columns);
  gap: var(--guide-gap);
}

.guide-intro { align-items: end; padding-bottom: clamp(2rem, 5vw, 4rem); }
.guide-intro .section-heading { margin: 0; }
.guide-intro .section-heading p { max-width: 44ch; line-height: 1.65; }

.guide-contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-contents a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.guide-contents a:hover { border-color: #a498c9; background: #f1ecfa; }

.guide-block {
  align-items: start;
  padding-block: clamp(1.75rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.guide-block:last-child { padding-bottom: 0; }
.guide-block h3 { font-size: clamp(1.55rem, 3.15vw, 2.6rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }

.guide-heading {
  display: grid;
  gap: clamp(.875rem, 2vw, 1.5rem);
  min-width: 0;
}

.guide-image {
  width: min(100%, 22rem);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
  background: #eeeaf7;
}

.guide-copy { max-width: 70ch; min-width: 0; color: var(--muted); line-height: 1.7; }
.guide-copy > * + * { margin-block-start: 1rem; }
.guide-copy h4 { margin-block-end: 0; color: var(--ink); font-size: 1.0625rem; line-height: 1.4; }
.guide-copy h4 + * { margin-block-start: .4rem; }
.guide-copy a { color: #4d337c; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.guide-copy a:hover { color: #362258; }
.guide-copy ul, .guide-copy ol { padding-inline-start: 1.35rem; margin-block-end: 0; }
.guide-copy li + li { margin-top: .35rem; }

.guide-block--cards,
.guide-block--rows,
.guide-block--example { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guide-detail-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.guide-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eeeaf7;
}

.guide-detail-card .guide-copy { padding: clamp(1rem, 2vw, 1.5rem); }
.guide-detail-card .guide-copy h4,
.guide-type-row .guide-copy h4 {
  margin-block-start: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  letter-spacing: -.02em;
}
.guide-detail-card .guide-copy h4 + p { margin-block-start: .65rem; }

.guide-rows-intro { display: grid; gap: .5rem; }
.guide-type-list { display: grid; gap: 1rem; }
.guide-type-row {
  display: grid;
  grid-template-columns: clamp(7.5rem, 12vw, 11rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.guide-type-row > .guide-copy { max-width: none; }
.guide-type-row + .guide-type-row { padding-block-start: 1rem; border-top: 1px solid var(--line); }
.guide-type-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  background: #eeeaf7;
}

.guide-case-summary {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 1.25rem;
  background: #edf4e7;
}
.guide-case-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.guide-case-range { margin-block-end: 0; color: #254526; }
.guide-case-range dt { font-size: .875rem; font-weight: 750; }
.guide-case-range dd {
  margin: 0;
  font-size: clamp(2.125rem, 4.1vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.guide-copy .guide-case-note { margin-block-start: .25rem; font-size: .9375rem; }
.guide-case-steps { padding: 0; margin: 0; list-style: none; }
.guide-case-steps h4 { display: flex; align-items: start; gap: .5rem; }
.guide-case-step-number {
  display: grid;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: #edf4e7;
  color: #254526;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}
.guide-case-steps blockquote {
  margin: .75rem 0 0;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: #edf4e7;
  color: var(--ink);
}

.guide-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .9375rem; line-height: 1.55; }
.guide-table caption { padding-block: 0 .5rem; text-align: start; font-weight: 800; }
.guide-table th, .guide-table td { padding: .7rem .65rem; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.guide-table thead th { background: #eeeaf7; }
.guide-table tbody th { width: 35%; font-weight: 700; }

@media (max-width: 47.999rem) {
  .guide-intro, .guide-block { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .guide-heading {
    grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 23vw, 7rem);
    align-items: center;
    gap: .75rem;
  }
  .guide-image { width: 100%; border-radius: .75rem; }
  .guide-card-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card-image { max-height: 18rem; }
  .guide-type-row { grid-template-columns: clamp(4rem, 21vw, 6rem) minmax(0, 1fr); }
  .guide-type-image { border-radius: .75rem; }
  .guide-case-summary { grid-template-columns: minmax(0, 1fr); }
  .guide-case-image { max-width: 18rem; }
}

.faq-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: 3rem; }
.faq-list { display: grid; gap: .5rem; }
.faq-list details { border: 1px solid var(--line); border-radius: .75rem; background: #fcfdfa; scroll-margin-top: 1rem; }

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: .75rem;
  line-height: 1.5rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq-list summary:hover { background: #eff3eb; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 1.25rem 1rem; color: var(--muted); font-size: 1rem; line-height: 1.5rem; }

.final-section { padding-block: 1rem 3rem; }
.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #def3cd;
}

.final-card h2 { font-size: 2.25rem; line-height: 2.5rem; }
.final-card .button { flex: none; }
.scan-history { min-height: calc(100svh - 11rem); }
.scan-history-hero { background: #f0ebf8; }
.scan-history-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 4rem); }
.scan-history-heading h1 { font-size: 3rem; line-height: 1; letter-spacing: -.055em; }
.scan-history-heading p { margin-top: .75rem; color: var(--muted); line-height: 1.5; }
.scan-history-workspace { min-height: 20rem; }
.scan-history-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.scan-history-toolbar h2, .scan-history-empty h2, .scan-history-dialog h2 { font-size: 1.5rem; line-height: 2rem; letter-spacing: -.035em; }
#scan-history-count { color: var(--muted); font-size: .875rem; font-weight: 600; vertical-align: middle; margin-inline-start: .5rem; }
.scan-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.scan-history-card { min-width: 0; }
.scan-history-card-open {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .75rem;
  width: 100%;
  height: 100%;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms var(--ease);
}
.scan-history-card-open:hover { border-color: #8973ac; }
.scan-history-card-media { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 9rem; overflow: hidden; border-radius: .5rem; background: #f0ebf8; color: #4d337c; }
.scan-history-card-media img { width: 100%; height: 100%; object-fit: contain; }
.scan-history-card-media .icon-image { transform: scale(1.5); }
.scan-history-card-copy { display: grid; align-content: start; gap: .25rem; padding: 0 2rem .25rem .25rem; overflow-wrap: anywhere; }
.scan-history-card-copy strong { font-size: 1.125rem; line-height: 1.75rem; }
.scan-history-card-price { color: #4d337c; font-weight: 700; }
.scan-history-card-arrow { position: absolute; right: 1rem; bottom: 1rem; color: #4d337c; }
.scan-history-date, .scan-history-message, .scan-history-privacy { color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.scan-history-message:not(:empty) { padding-block: .5rem; }
.scan-history-message[data-state="error"] { color: #a42b26; }
.scan-history-empty {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 3rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-align: center;
}
.scan-history-empty p, #scan-clear-description { color: var(--muted); }
.scan-history-privacy { margin-top: 1rem; }
.scan-history-privacy a { text-decoration: underline; text-underline-offset: .2em; }
.scan-history-dialog {
  width: min(calc(100% - 2rem), 26rem);
  max-height: calc(100dvh - 2rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--ink);
}
.scan-history-dialog::backdrop { background: rgb(23 18 33 / .62); }
.scan-detail-dialog { width: min(calc(100% - 2rem), 64rem); }
.scan-detail-dialog .estimate-report:not(.estimate-report--photo) .estimate-overview { grid-template-columns: minmax(0, 1fr); }
.scan-history-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
@media (max-width: 47.999rem) {
  .scan-history-heading h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .scan-history-dialog { padding: .75rem; }
}

.site-footer { background: #09090b; color: #fff; }
.site-footer :focus-visible { outline-color: currentColor; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; min-height: 5.5rem; padding-block: 1rem; }
.footer-logo { width: 12rem; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 1.75rem; font-size: .875rem; line-height: 1.25rem; color: #dfdce6; text-decoration: underline; text-underline-offset: .25em; }
.footer-links a:hover { color: #fff; }

.category-breadcrumb { color: var(--muted); font-size: .875rem; }
.category-breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; margin: 0 0 .75rem; padding: 0; list-style: none; }
.category-breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; color: var(--muted); }
.category-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }

.checker {
  width: min(100% - 2rem, 32rem);
  max-height: calc(100dvh - 2rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  color: var(--ink);
  background: #fcfdfa;
  box-shadow: 0 1.5rem 5rem rgb(18 28 22 / .20);
}

.checker::backdrop { background: rgb(24 27 25 / .66); }
.checker h2 { padding-right: 3rem; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.04em; }
.checker-tip { margin-top: .5rem; color: var(--muted); font-size: 1rem; line-height: 1.5rem; }

.estimate-progress {
  width: min(100% - 1.5rem, 49rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #e6dcf2;
  border-radius: 1.65rem;
  background: #fdfbff;
  color: #241b38;
  box-shadow: 0 1.5rem 4.5rem rgb(27 16 49 / .24);
}

.estimate-progress:not(:has(.estimate-progress-photo-frame:not([hidden]))) { width: min(100% - 1.5rem, 30rem); }

.estimate-progress::backdrop {
  background: rgb(22 15 39 / .66);
  backdrop-filter: blur(3px);
}

.estimate-progress-body { display: grid; gap: .9rem; padding: clamp(1rem, 4vw, 1.65rem); }
.estimate-progress-header { display: grid; gap: .35rem; }
.estimate-progress-brand { display: flex; align-items: center; gap: .55rem; color: #482c72; font-size: .875rem; font-weight: 800; }
.estimate-progress-brand img { width: 2rem; height: 2rem; flex: none; object-fit: contain; }
.estimate-progress h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.05em; }
.estimate-progress-description { min-height: 1.25rem; color: #62586d; font-size: .9375rem; line-height: 1.35; }
.estimate-progress-workspace { display: grid; gap: 1rem; }

.estimate-progress-photo-frame {
  position: relative;
  display: grid;
  height: clamp(8rem, 26dvh, 13rem);
  place-items: center;
  overflow: hidden;
  border: 1px solid #e4d7f2;
  border-radius: 1rem;
  background: #f3edf9;
}

.estimate-progress-photo-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.estimate-progress-scan { position: absolute; inset: .75rem; overflow: hidden; pointer-events: none; }
.estimate-progress-scan::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgb(103 70 158 / .6) 1px, transparent 1px) 0 0 / .75rem .75rem;
  opacity: .13;
  content: "";
}
.estimate-progress-scan-corner { position: absolute; z-index: 1; width: 1.25rem; height: 1.25rem; border: solid #8050c7; filter: drop-shadow(0 0 2px #f8efff); }
.estimate-progress-scan-corner:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; border-top-left-radius: .4rem; }
.estimate-progress-scan-corner:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; border-top-right-radius: .4rem; }
.estimate-progress-scan-corner:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: .4rem; }
.estimate-progress-scan-corner:nth-child(4) { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: .4rem; }
.estimate-progress-scan-line {
  position: absolute;
  inset: 0;
  border-bottom: 2px solid #1c9a58;
  filter: drop-shadow(0 0 .25rem #49cc81);
  transform: translateY(-50%);
}
.estimate-progress[open] .estimate-progress-scan-line { animation: estimate-photo-scan 2.8s var(--ease) infinite; }
@keyframes estimate-photo-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  12%, 75% { opacity: 1; }
  87%, 100% { transform: translateY(0); opacity: 0; }
}

.estimate-progress-steps { display: grid; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.estimate-progress-steps li {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.35rem;
  padding: .35rem .7rem;
  border: 1px solid #efe9f4;
  border-radius: .7rem;
  background: #f7f4f9;
  color: #665d70;
  font-size: .9375rem;
  line-height: 1.25rem;
  transition: color 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}

.estimate-progress-step-icon {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eee7f5;
  color: #7c668f;
}

.estimate-progress-step-icon::before { width: .5rem; height: .5rem; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.estimate-progress-steps li[data-state="active"] { border-color: #d9c4f0; background: #f1e7fc; color: #412767; font-weight: 800; }
.estimate-progress-steps li[data-state="active"] .estimate-progress-step-icon { background: #e7d8f9; color: #713cb9; box-shadow: inset 0 0 0 2px #c7a6ef; }
.estimate-progress-steps li[data-state="active"] .estimate-progress-step-icon::before { background: currentColor; }
.estimate-progress-steps li[data-state="done"] { border-color: #d9ebdf; background: #eef9f1; color: #28583b; }
.estimate-progress-steps li[data-state="done"] .estimate-progress-step-icon { background: #d9f1e1; color: #277245; }
.estimate-progress-steps li[data-state="done"] .estimate-progress-step-icon::before {
  width: .375rem;
  height: .625rem;
  margin-top: -.125rem;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  transform: rotate(45deg);
}

.estimate-progress-meter {
  display: grid;
  gap: .55rem;
  padding: .75rem .9rem;
  border: 1px solid #ebdef6;
  border-radius: .9rem;
  background: #f8f1fd;
}

.estimate-progress-readout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .2rem .75rem;
  color: #655975;
  font-size: .8125rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.estimate-progress-number { display: inline-flex; align-items: baseline; gap: .5rem; }
.estimate-progress-readout strong { color: #60399b; font-size: clamp(1.4rem, 4vw, 1.95rem); line-height: 1; letter-spacing: -.04em; }
.estimate-progress-time { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.estimate-progress-clock {
  position: relative;
  width: .9rem;
  height: .9rem;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: #7951ac;
}
.estimate-progress-clock::before, .estimate-progress-clock::after {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 1px;
  height: .26rem;
  background: currentColor;
  transform-origin: 50% 100%;
  content: "";
}
.estimate-progress-clock::after { height: .21rem; transform: rotate(105deg); }

.estimate-progress-bar {
  display: block;
  width: 100%;
  height: .7rem;
  margin: 0;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #e9dcf5;
  color: #8751cd;
  accent-color: #8751cd;
}

.estimate-progress-bar::-webkit-progress-bar { background: #e9dcf5; }
.estimate-progress-bar::-webkit-progress-value { border-radius: 999px; background: #8751cd; transition: width 220ms var(--ease); }
.estimate-progress-bar::-moz-progress-bar { border-radius: 999px; background: #8751cd; }
.estimate-progress-cancel { width: 100%; min-height: 2.75rem; border-color: #baa6d1; background: #fff; color: #4f3274; }
.estimate-progress-cancel:hover { background: #f0e7f9; }
.estimate-progress :focus-visible { outline-color: #674395; }

@media (min-width: 37rem) {
  .estimate-progress-workspace:has(.estimate-progress-photo-frame:not([hidden])) { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
  .estimate-progress-photo-frame { height: clamp(13.5rem, 34dvh, 19.5rem); }
  .estimate-progress-workspace:has(.estimate-progress-photo-frame:not([hidden])) .estimate-progress-steps { align-content: stretch; grid-template-rows: repeat(5, minmax(0, 1fr)); }
  .estimate-progress-cancel { width: auto; min-width: 9rem; justify-self: end; }
}

@media (max-width: 36.99rem) {
  .estimate-progress-workspace { gap: .55rem; }
}

@media (max-width: 36.99rem) and (max-height: 38rem) {
  .estimate-progress-body { gap: .55rem; padding: .69rem .875rem; }
  .estimate-progress-header { gap: .25rem; }
  .estimate-progress-brand img { width: 1.65rem; height: 1.65rem; }
  .estimate-progress h2 { font-size: 1.625rem; }
  .estimate-progress-description { font-size: .8125rem; }
  .estimate-progress-photo-frame { height: clamp(6.25rem, 19dvh, 8rem); }
  .estimate-progress-steps { gap: .25rem; }
  .estimate-progress-steps li { min-height: 1.75rem; gap: .5rem; padding: .2rem .5rem; font-size: .8125rem; line-height: 1rem; }
  .estimate-progress-step-icon { width: 1.125rem; height: 1.125rem; }
  .estimate-progress-meter { gap: .4rem; padding: .55rem .65rem; }
  .estimate-progress-readout { column-gap: .45rem; font-size: .75rem; line-height: 1rem; }
  .estimate-progress-bar { height: .6rem; }
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-close:hover { background: #e9eee5; }
.checker-modes { display: flex; gap: .25rem; margin-block: 1.5rem 1rem; padding: .25rem; width: fit-content; border-radius: 999px; background: #e9eee5; }
.checker-modes button { min-height: 2.5rem; padding: .5rem .75rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; font-size: .875rem; }
.checker-modes button[aria-pressed="true"] { background: white; }
.checker-panel label { display: block; margin-bottom: .5rem; font-weight: 750; }
.checker-panel input { max-width: 100%; padding: .5rem 0; font-size: .875rem; }

.checker-panel input::file-selector-button {
  padding: .5rem .75rem;
  border: 1px solid #d3dcd0;
  border-radius: .5rem;
  background: #eef2eb;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.checker-panel textarea {
  display: block;
  width: 100%;
  padding: .75rem;
  resize: vertical;
  border: 1px solid #cdd5c9;
  border-radius: .5rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
}

.checker-panel [aria-invalid="true"] { outline: 1px solid #a42b26; outline-offset: .125rem; }
.field-note { margin-top: .5rem; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .875rem; overflow-wrap: anywhere; }
.preview-meta .button-link { flex: none; font-size: .875rem; }
.item-preview { max-height: 12rem; margin-top: .5rem; object-fit: contain; border-radius: .5rem; }
.checker-status { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; }
.checker-status:empty { margin-top: 0; }
.checker-status[data-state="error"] { color: #a42b26; }
.estimate-disclosure {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}

.estimate-disclosure a { color: #4d337c; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }

.estimate-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.estimate-actions button:disabled { cursor: wait; opacity: .62; }
.estimate-result { margin-top: 1rem; min-width: 0; }
.estimate-result-view { max-width: 77rem; }
#main[data-estimate-view-active] > :not(.estimate-result-view) { display: none; }
.estimate-view-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; }
.estimate-view-toolbar + .scan-history-message { margin-top: .75rem; }

.estimate-report {
  display: grid;
  gap: clamp(.85rem, 1.8vw, 1.25rem);
  padding: clamp(.85rem, 2.5vw, 1.75rem);
  border: 1px solid #e2ddeb;
  border-radius: 1.35rem;
  background: #fff;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
}
.estimate-report:focus-visible { outline-color: #a184c4; outline-offset: 2px; }

.estimate-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.checker .estimate-overview { grid-template-columns: minmax(0, 1fr); }
.estimate-report--photo .estimate-overview {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  grid-template-areas: "photo intro" "photo facts";
  grid-template-rows: auto 1fr;
  gap: .85rem clamp(1rem, 2.8vw, 1.85rem);
}
.estimate-report--photo .estimate-intro { grid-area: intro; }
.estimate-report--photo .estimate-facts { grid-area: facts; }
.estimate-photo {
  grid-area: photo;
  width: 100%;
  max-height: 27rem;
  aspect-ratio: 4 / 3;
  align-self: start;
  border: 1px solid #ebe4f3;
  border-radius: 1rem;
  background: #f4eff8;
  object-fit: contain;
}
.checker .estimate-photo { max-height: 19rem; }
@media (min-width: 48rem) {
  .checker:has(.estimate-report--photo) { width: min(100% - 2rem, 47rem); }
}
@media (max-width: 47.999rem) {
  .checker .estimate-report--photo .estimate-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "intro" "facts";
    grid-template-rows: auto;
  }
}
.estimate-intro { display: grid; align-content: center; gap: .55rem; min-width: 0; }
.estimate-intro h3 { font-size: clamp(1.45rem, 3.3vw, 2.25rem); line-height: 1.12; letter-spacing: -.045em; }
.estimate-intro > :last-child { color: var(--muted); line-height: 1.55; }
.estimate-facts {
  display: grid;
  align-content: center;
  gap: .85rem;
  min-width: 0;
  padding: clamp(.75rem, 1.9vw, 1.25rem);
  margin: 0;
  border: 1px solid #e7ddf8;
  border-radius: 1rem;
  background: #f3eefb;
  color: #302450;
  container-type: inline-size;
}

.estimate-headline, .estimate-range-points, .estimate-amounts { margin: 0; }
.estimate-facts dt { font-size: .8125rem; font-weight: 750; }
.estimate-facts dd { margin: .15rem 0 0; font-weight: 750; line-height: 1.2; }
.estimate-facts .estimate-price { font-size: clamp(1.55rem, 3.6vw, 2.65rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.estimate-facts:has(.estimate-amounts:not([hidden])) .estimate-price {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.estimate-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.estimate-amount-card {
  padding: .75rem clamp(.6rem, 1.7vw, 1rem);
  border: 1px solid #e6daf6;
  border-radius: .8rem;
  background: #fcf9ff;
  color: #412c67;
}
.estimate-amount-card--upper { border-color: #d6e9d0; background: #edf7e9; color: #2d5939; }
.estimate-amount-card dd { font-size: clamp(1.55rem, 4.05vw, 2.5rem); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }

@container (max-width: 17rem) {
  .estimate-amounts[data-wide-prices] { grid-template-columns: minmax(0, 1fr); }
  .estimate-amounts[data-wide-prices] .estimate-amount-card dd { font-size: 1.45rem; }
}

.estimate-range { display: grid; gap: .55rem; }
.estimate-range-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: .45rem;
  margin-block: .35rem .2rem;
  border-radius: 1rem;
  background: #7758b8;
}
.estimate-range-track span {
  width: .7rem;
  height: .7rem;
  border: 2px solid #7758b8;
  border-radius: 50%;
  background: #fff;
}
.estimate-range-track span:nth-child(2) { background: #4d337c; box-shadow: 0 0 0 2px #fff; }
.estimate-range-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
}
.estimate-range-points > :nth-child(2) { text-align: center; }
.estimate-range-points > :last-child { text-align: end; }
.estimate-range-points dd { font-size: clamp(.875rem, 1.6vw, 1.05rem); font-variant-numeric: tabular-nums; }

@container (max-width: 16rem) {
  .estimate-range[data-wide-prices] .estimate-range-points { grid-template-columns: minmax(0, 1fr); }
  .estimate-range[data-wide-prices] .estimate-range-points > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem;
    align-items: baseline;
    text-align: start;
  }
  .estimate-range[data-wide-prices] .estimate-range-points dd { text-align: end; }
}

.estimate-basis { padding-inline-start: .75rem; border-inline-start: 3px solid #ddd4ee; color: var(--muted); font-size: .875rem; line-height: 1.45; }

.estimate-yearly {
  display: grid;
  gap: .65rem;
  min-width: 0;
  padding: clamp(.85rem, 2vw, 1.35rem);
  border: 1px solid #e8e0f0;
  border-radius: 1rem;
  background: #fbf9fd;
}
.estimate-yearly h4 { margin: 0; font-size: clamp(1rem, 2vw, 1.28rem); line-height: 1.25; letter-spacing: -.025em; }
.estimate-yearly-empty, .estimate-yearly-chart figcaption { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.estimate-yearly-chart { display: grid; gap: .85rem; min-width: 0; }
.estimate-yearly-graph {
  --estimate-yearly-height: clamp(6.25rem, 19vw, 9rem);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(.35rem, 1.5vw, .8rem);
  padding-top: .65rem;
}
.estimate-yearly-axis {
  display: grid;
  grid-template-rows: 1fr 1fr 0;
  height: var(--estimate-yearly-height);
  align-items: start;
  justify-items: end;
  color: #544568;
  font-size: clamp(.65rem, 2.25vw, .8125rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.estimate-yearly-axis span { transform: translateY(-50%); }
.estimate-yearly-plot {
  display: grid;
  grid-template-columns: repeat(var(--estimate-year-count, 5), minmax(0, 1fr));
  position: relative;
}
.estimate-yearly-plot::before, .estimate-yearly-plot::after {
  position: absolute;
  inset-inline: 0;
  content: "";
  pointer-events: none;
}
.estimate-yearly-plot::before { top: 0; height: var(--estimate-yearly-height); border-block: 1px solid #dfd5ea; }
.estimate-yearly-plot::after { top: calc(var(--estimate-yearly-height) / 2); border-top: 1px solid #e8e0f0; }
.estimate-yearly-line {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  width: 100%;
  height: var(--estimate-yearly-height);
  overflow: visible;
  pointer-events: none;
}
.estimate-yearly-segment {
  fill: none;
  stroke: #7245ad;
  stroke-width: 2.25px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.estimate-yearly-segment[data-estimate-gap] { stroke: #9174b6; stroke-dasharray: 4 4; }
.estimate-yearly-column { display: grid; grid-template-rows: var(--estimate-yearly-height) auto; gap: .35rem; }
.estimate-yearly-track { position: relative; }
.estimate-yearly-marker {
  position: absolute;
  z-index: 1;
  bottom: var(--estimate-year-low);
  left: 50%;
  width: .19rem;
  height: max(.125rem, var(--estimate-year-height));
  border-radius: 999px;
  background: #d7c6e9;
  transform: translateX(-50%);
}
.estimate-yearly-marker[data-current-year] { background: #b6d4bb; }
.estimate-yearly-marker[data-single-value] { width: .22rem; height: .22rem; transform: translate(-50%, 50%); }
.estimate-yearly-point {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: var(--estimate-year-point);
  width: .58rem;
  height: .58rem;
  border: 2px solid #7245ad;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, 50%);
}
.estimate-yearly-point[data-current-year] {
  width: .73rem;
  height: .73rem;
  border-color: #fafdf8;
  background: #4a7b53;
  box-shadow: 0 0 0 2px #c1d9c6;
}
.estimate-yearly-label {
  color: #4e405f;
  text-align: center;
  font-size: clamp(.65rem, 2.4vw, .8125rem);
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.estimate-yearly-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: .4rem;
  margin: 0;
}
.estimate-yearly-list > div {
  min-width: 0;
  padding: .45rem .6rem;
  border: 1px solid #ece4f3;
  border-radius: .6rem;
  background: #fff;
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.estimate-yearly-list dt { color: #665880; font-weight: 700; }
.estimate-yearly-list dd { margin: .12rem 0 0; color: #33294a; font-weight: 800; }

@media (max-width: 40rem) {
  .estimate-overview { grid-template-columns: minmax(0, 1fr); }
  .estimate-report--photo .estimate-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "intro" "facts";
    grid-template-rows: auto;
  }
  .checker .estimate-photo, .estimate-photo { max-height: 14rem; }
}

@media (max-width: 1220px) {
  :root { --page-width: 68.75rem; --page-gutter: 1.5rem; }
}

@media (max-width: 980px) {
  :root { --page-width: 53.75rem; --page-gutter: 1.25rem; }
  .process { gap: 2rem; padding: 2rem; }
  .category { padding: 1rem; }
}

@media (min-width: 75rem) {
  .site-header { --header-height: 6.25rem; }
  .header-inner { padding-inline: clamp(1.5rem, 3.6vw, 3.25rem); }
  .header-logo { width: 18rem; }
  .site-nav, .header-tools { gap: 1rem; }
  .site-nav a { padding: .6875rem 1.5rem; font-size: 1rem; line-height: 1.5rem; }
  .header-language summary { min-height: 3rem; padding-inline: 1rem; gap: .5rem; font-size: 1rem; }
  .site-header .header-action { min-height: 3.5rem; min-width: 12.5rem; padding-inline: 1.5rem; gap: .75rem; font-size: 1.125rem; }
  .header-action .icon-camera { transform: scale(1.2); }
}

@media (max-width: 640px) {
  :root { --page-gutter: 1rem; }
}

@media (max-width: 47.999rem) {
  .site-header { --header-height: 4.5rem; }
  .header-inner { display: flex; justify-content: space-between; gap: .5rem; }
  .site-header .brand { min-width: 0; }
  .header-logo { width: clamp(6.75rem, 34vw, 12rem); }
  .header-tools { flex: none; }
  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    place-content: center;
    gap: .375rem;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    border: 1px solid var(--header-line);
    border-radius: 50%;
    background: var(--header-panel);
    cursor: pointer;
  }

  .menu-toggle:hover { background: var(--header-hover); }
  .menu-toggle span { width: 1rem; height: 2px; border-radius: 1px; background: currentColor; transition: transform 280ms var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100dvh - var(--header-height));
    padding: 1rem;
    background: var(--header-surface);
  }

  .site-nav:not([data-open]) { display: none; }
  .site-nav a { padding: .75rem 1rem; font-size: 1.25rem; line-height: 1.75rem; }
  .site-nav[data-open] a { animation: menu-enter 360ms var(--ease) both; }
  .site-nav[data-open] a:nth-child(2) { animation-delay: 60ms; }

  .section { padding-block: 2rem; }
  .hero { gap: 1rem; padding-block: 1.5rem 2rem; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.75rem); }
  .hero-description { margin-top: .75rem; font-size: 1.125rem; }
  .hero-uploader { padding: .75rem; border-radius: 1.5rem; }
  .hero-dropzone { min-height: 13rem; padding: 1rem .75rem; gap: .75rem; border-radius: .75rem; }
  .hero-photo-copy h2 { font-size: 1.5rem; line-height: 2rem; }
  .hero-upload-icon { width: 3rem; height: 3rem; }
  .hero-upload-icon .icon-camera { transform: scale(1.35); }
  .hero-upload-empty { gap: .5rem; }
  .hero-upload-empty .button { min-width: min(100%, 17rem); min-height: 3.5rem; font-size: 1rem; }
  .hero-camera-options .button { min-width: min(100%, 14rem); min-height: 3.25rem; font-size: 1rem; }
  .hero-highlights { grid-template-columns: minmax(0, 1fr); margin-top: .25rem; }
  .hero-highlights li { justify-content: start; gap: .75rem; }
  .hero-highlights strong { font-size: 1rem; }
  .hero-highlights p { font-size: .875rem; line-height: 1.25rem; }
  .highlight-icon { width: 2.5rem; height: 2.5rem; border-radius: .625rem; }
  .first-screen + .categories-section { padding-top: 2rem; }
  .section-heading h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category { min-height: 14rem; padding: 1.25rem; }
  .category p { max-width: 13rem; }
  .category img { height: 84%; }
  .process, .faq-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .process { padding: 1.5rem; border-radius: 1.5rem; }
  .process-intro h2 { font-size: 3rem; }
  .faq-section .section-heading { margin-bottom: 0; }
  .final-section { padding-block: .5rem 2rem; }
  .final-card { align-items: flex-start; flex-direction: column; padding: 1.5rem; }
}

@keyframes menu-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 32rem) {
  .site-header .header-action { width: 2.75rem; padding-inline: 0; }
  .header-action-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .estimate-progress-bar::-webkit-progress-value { transition: none; }
}

.first-screen.antique-hero { background: #f0ebf8; }
.antique-hero .hero h1 { max-width: 62rem; margin-inline: auto; }
.antique-hero .hero-description { max-width: 42rem; }

:is(.antique-jump, .pokemon-jump, .coin-jump, .baseball-jump, .shoe-jump, .pawn-jump) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

:is(.antique-jump, .pokemon-jump, .coin-jump, .baseball-jump, .shoe-jump, .pawn-jump) a {
  display: inline-grid;
  min-height: 2.75rem;
  place-items: center;
  padding: .5rem 1rem;
  border: 1px solid #d6cce7;
  border-radius: 9999px;
  color: #392d50;
  background: #f9f6ff;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

:is(.antique-jump, .pokemon-jump, .coin-jump, .baseball-jump, .shoe-jump, .pawn-jump) a:hover { background: #e8def5; }
:is(.antique-section + .antique-section, .pokemon-section + .pokemon-section, .coin-section + .coin-section, .baseball-section + .baseball-section, .shoe-section + .shoe-section, .pawn-section + .pawn-section) { padding-top: 1rem; }

:is(.antique-heading, .pokemon-heading, .coin-heading, .baseball-heading, .shoe-heading, .pawn-heading) h2 {
  max-width: 28ch;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.055em;
}

:is(.antique-heading, .pokemon-heading, .coin-heading, .baseball-heading, .shoe-heading, .pawn-heading) p {
  max-width: 66ch;
  margin-top: .75rem;
  color: var(--muted);
  line-height: 1.5rem;
}

.antique-photo-grid,
.antique-factors,
.pokemon-identity-grid,
.coin-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.antique-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
}

.antique-photo-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5e8d7;
}

.antique-photo-card > div { padding: 1.5rem; }
:is(.antique-photo-card, .antique-sale-steps, .pokemon-sold-steps, .pokemon-condition-copy, .coin-sale-steps, .coin-condition-types) h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -.025em;
}

.antique-photo-card p,
.antique-factors dd,
.antique-sale-steps p,
.pokemon-identity-grid dd,
.pokemon-sold-steps p,
.pokemon-condition-copy > div > p,
.coin-photo-grid dd,
.coin-sale-steps p,
.coin-condition-types p {
  margin: .5rem 0 0;
  color: var(--muted);
  line-height: 1.5rem;
}

.antique-identify-panel,
.antique-sales-panel,
.antique-calculator-panel,
.antique-scarce-panel {
  display: grid;
  gap: 2rem;
  border-radius: 1.5rem;
}

.antique-identify-panel {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  background: #fbefe5;
}

.antique-identify-panel > img,
.antique-scarce-panel > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.antique-identify-panel .antique-heading { align-self: center; padding: 2rem 2rem 2rem 0; }

:is(.antique-factors, .pokemon-identity-grid, .coin-photo-grid) > div {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
}

:is(.antique-factors, .pokemon-identity-grid, .coin-photo-grid) dt { font-weight: 800; font-size: 1.125rem; line-height: 1.75rem; }

.antique-sales-panel,
.antique-calculator-panel {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  padding: 2rem;
}

.antique-sales-panel { background: #eaf2e5; }

:is(.antique-sale-steps, .pokemon-sold-steps, .coin-sale-steps) {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-inline-start: 1.5rem;
}

:is(.antique-sale-steps, .pokemon-sold-steps, .coin-sale-steps) li { padding-inline-start: .5rem; }
:is(.antique-sale-steps, .pokemon-sold-steps, .coin-sale-steps) li::marker { color: #3e6244; font-weight: 800; }

.antique-calculator-panel { background: #eee9fa; }
.antique-calculator { min-width: 0; }

.antique-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.antique-price-fields label { min-width: 0; font-weight: 700; }
.antique-input-optional { color: #655b72; font-size: .875rem; font-weight: 500; }

.antique-price-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding-inline: .75rem;
  border: 1px solid #bdb2ce;
  border-radius: .75rem;
  background: #fff;
  color: #5b5069;
}

.antique-price-input:focus-within { outline: 2px solid #64519a; outline-offset: 2px; }
.antique-price-input:has([aria-invalid="true"]) { border-color: #a03251; }

.antique-price-input input {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: .5rem 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.antique-calculator-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.antique-calculator-actions .button { min-height: 2.75rem; }

.antique-calculator .button-primary { color: #fff; background: #35264c; }
.antique-calculator .button-primary:hover { background: #4a3767; }
.antique-calculator .button-outline { color: #35264c; border-color: #aa9eb9; }
.antique-calculator .button-outline:hover { background: #e4daf4; }

.antique-price-status,
.antique-calculator noscript p {
  margin-top: .75rem;
  color: #4f4166;
  font-size: .875rem;
  line-height: 1.25rem;
}

.antique-price-status:empty { margin: 0; }
.antique-price-status[data-state="error"] { color: #912c42; }

.antique-price-result {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #d9cde9;
  border-radius: .75rem;
  background: #fff;
}

.antique-price-result p { color: #584d66; font-size: .875rem; line-height: 1.25rem; }

.antique-price-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: .75rem 0 0;
}

.antique-price-result dl > :nth-child(2) { text-align: center; color: #513684; }
.antique-price-result dl > :last-child { text-align: end; }
.antique-price-result dt { font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.antique-price-result dd {
  margin: .25rem 0 0;
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.antique-price-track {
  position: relative;
  height: .375rem;
  margin: 1rem .375rem .25rem;
  border-radius: 9999px;
  background: #e0d4ef;
}

.antique-price-track span {
  position: absolute;
  top: 50%;
  left: var(--price-median-position, 50%);
  width: .75rem;
  height: .75rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #624596;
  box-shadow: 0 0 0 1px #624596;
  transform: translate(-50%, -50%);
}

.antique-price-result[data-price-guide-equal] .antique-price-track { display: none; }

.antique-scarce-panel {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.antique-scarce-panel > img { border-radius: .75rem; aspect-ratio: 4 / 3; }
.antique-faq { align-items: start; padding-bottom: 3rem; }
.antique-faq .faq-list a { text-decoration: underline; text-underline-offset: .15em; }
.antique-final .final-card { background: #eaf2e5; }

@media (max-width: 58rem) {
  :is(.antique-heading, .pokemon-heading, .coin-heading, .baseball-heading, .shoe-heading, .pawn-heading) h2 { font-size: 2.25rem; line-height: 2.5rem; }
  :is(.antique-photo-card, .antique-factors, .pokemon-identity-grid, .coin-photo-grid) > div { padding: 1rem; }
  .antique-calculator-panel { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

@media (max-width: 47.999rem) {
  .antique-photo-grid,
  .antique-factors,
  .pokemon-identity-grid,
  .coin-photo-grid,
  .antique-identify-panel,
  .antique-sales-panel { grid-template-columns: minmax(0, 1fr); }
  :is(.antique-photo-grid, .antique-factors, .pokemon-identity-grid, .coin-photo-grid) { margin-top: 1rem; }
  .antique-photo-card > img { max-height: 14rem; }
  .antique-identify-panel, .antique-sales-panel { gap: 1rem; }
  .antique-identify-panel > img { max-height: 14rem; }
  .antique-identify-panel .antique-heading,
  .antique-sales-panel,
  .antique-calculator-panel { padding: 1.5rem; }
  .antique-scarce-panel { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .antique-scarce-panel > img { max-height: 12rem; }
}

@media (max-width: 32rem) {
  :is(.antique-jump, .pokemon-jump, .coin-jump, .baseball-jump, .shoe-jump, .pawn-jump) a { padding-inline: .75rem; }
  :is(.antique-heading, .pokemon-heading, .coin-heading, .baseball-heading, .shoe-heading, .pawn-heading) h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .antique-price-fields { gap: .75rem; }
  .antique-price-result dl { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .antique-price-result dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; }
  .antique-price-result dd { margin-top: 0; }
}

.categories-hub-intro {
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  background: #f0ebf8;
}

.categories-hub-intro h1 {
  color: var(--hero-ink);
  font-size: clamp(1.875rem, 4.25vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.categories-hub-intro + .section { padding-top: clamp(1rem, 2.5vw, 2rem); }

.categories-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.categories-hub-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 37%);
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.categories-hub-card:hover { border-color: #ac9ec4; background: #fcf9ff; }

.categories-hub-copy {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.categories-hub-copy h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.categories-hub-copy p {
  max-width: 55ch;
  margin-top: .75rem;
  color: var(--muted);
  line-height: 1.5rem;
}

.categories-hub-action {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 1.5rem;
  color: #4e357c;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.categories-hub-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #faeac3;
}

.categories-hub-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 1rem 2rem;
  padding-top: 0;
}

.categories-hub-guide h2 {
  max-width: 28ch;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.categories-hub-guide p { max-width: 67ch; color: var(--muted); line-height: 1.5rem; }
.categories-hub-guide a { color: #4e357c; text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 35.999rem) {
  .categories-hub-card, .categories-hub-guide { grid-template-columns: minmax(0, 1fr); }
  .categories-hub-card img { height: auto; max-height: 16rem; }
}

@media (min-width: 48rem) {
  .categories-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-hub-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .categories-hub-card img { grid-row: 1; height: auto; }
  .categories-hub-copy { display: grid; grid-template-rows: auto 1fr auto; align-self: stretch; padding: 1.5rem; }
  .categories-hub-copy h2 { font-size: clamp(1.875rem, 3.05vw, 2.75rem); }
}

@media (min-width: 64rem) {
  .categories-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

:is(.antique-upload-layout, .pokemon-upload-layout, .coin-upload-layout, .baseball-upload-layout, .shoe-upload-layout, .pawn-upload-layout) {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(22.5rem, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 74rem;
  justify-self: center;
  align-items: start;
}

:is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-height: 21rem;
  max-height: 28rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 2rem;
  color: #302346;
  background: #fff;
  box-shadow: 0 .875rem 2.75rem rgb(48 55 98 / .13);
  cursor: pointer;
}

:is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card):disabled { cursor: default; }
:is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card):focus-visible { outline-color: #554ac4; }

:is(.antique-scan-photo, .pokemon-scan-photo, .coin-scan-photo, .baseball-scan-photo, .shoe-scan-photo, .pawn-scan-photo) { position: relative; display: block; overflow: hidden; background: #a5bdcc; }

:is(.antique-scan-photo, .pokemon-scan-photo, .coin-scan-photo, .baseball-scan-photo, .shoe-scan-photo, .pawn-scan-photo) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
}

:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) {
  position: absolute;
  inset: 1.25rem;
  pointer-events: none;
}

:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) > span {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 0 solid #f8fff9;
  filter: drop-shadow(0 0 3px rgb(21 48 48 / .35));
}

:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) > :nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: .5rem; }
:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) > :nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: .5rem; }
:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) > :nth-child(3) { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: .5rem; }
:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides) > :nth-child(4) { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: .5rem; }

:is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides)::after {
  position: absolute;
  inset-inline: 0;
  top: 64%;
  height: 2px;
  background: #d7ffe6;
  box-shadow: 0 0 .5rem rgb(148 255 175 / .8);
  content: "";
  transition: top 450ms var(--ease);
}

:is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card):enabled:is(:hover, :focus-visible) :is(.antique-scan-guides, .pokemon-scan-guides, .coin-scan-guides, .baseball-scan-guides, .shoe-scan-guides, .pawn-scan-guides)::after { top: 47%; }

:is(.antique-scan-action, .pokemon-scan-action, .coin-scan-action, .baseball-scan-action, .shoe-scan-action, .pawn-scan-action) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.75rem;
  padding: .75rem 1rem;
  font-weight: 800;
  transition: background-color 220ms var(--ease);
}

:is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card):enabled:is(:hover, :focus-visible) :is(.antique-scan-action, .pokemon-scan-action, .coin-scan-action, .baseball-scan-action, .shoe-scan-action, .pawn-scan-action) { background: #f7f2fc; }

@media (max-width: 55rem) {
  :is(.antique-upload-layout, .pokemon-upload-layout, .coin-upload-layout, .baseball-upload-layout, .shoe-upload-layout, .pawn-upload-layout) { grid-template-columns: minmax(0, 1fr); }
  :is(.antique-scan-card, .pokemon-scan-card, .coin-scan-card, .baseball-scan-card, .shoe-scan-card, .pawn-scan-card) { height: auto; min-height: 0; max-height: none; border-radius: 1.5rem; }
  :is(.antique-scan-photo, .pokemon-scan-photo, .coin-scan-photo, .baseball-scan-photo, .shoe-scan-photo, .pawn-scan-photo) { min-height: clamp(11rem, 48vw, 17rem); }
  :is(.antique-scan-action, .pokemon-scan-action, .coin-scan-action, .baseball-scan-action, .shoe-scan-action, .pawn-scan-action) { min-height: 3.25rem; }
}

.first-screen.baseball-hero { background: linear-gradient(120deg, #f1e9fa, #eaf0fb); }
.baseball-hero .hero h1 { max-width: 74rem; margin-inline: auto; }
.baseball-hero .hero-description { max-width: 40rem; }
.baseball-scan-photo { background: #afa0c7; }

.first-screen.shoe-hero { background: #f0ebf8; }
.shoe-hero .hero h1 { max-width: 65rem; margin-inline: auto; }
.shoe-hero .hero-description { max-width: 40rem; }
.shoe-scan-photo { background: #b7a3c4; }
.shoe-photo-grid > .antique-photo-card:nth-child(2) > img { background: #a4b1bf; }
.shoe-photo-grid > .antique-photo-card:nth-child(3) > img { background: #c0c6ad; }

:is(.baseball-photo-grid, .shoe-photo-grid, .pawn-photo-grid) > .antique-photo-card > img { aspect-ratio: 16 / 10; }
.baseball-photo-grid > .antique-photo-card:nth-child(2) > img { background: #a5b8c5; }
.baseball-photo-grid > .antique-photo-card:nth-child(3) > img { background: #bcc7ad; }

.baseball-photo-note {
  margin: 1rem 0 0;
  padding: .875rem 1rem;
  border-radius: .75rem;
  color: #3c3250;
  background: #f0ebf8;
  line-height: 1.5;
}

.baseball-sales-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.25vw, 3rem);
  align-items: start;
  padding: clamp(1rem, 3.25vw, 2.5rem);
  border: 1px solid #dfe4ea;
  border-radius: 1.5rem;
  background: #eaf0f6;
}

.baseball-sales-chart {
  min-width: 0;
  padding: clamp(.875rem, 2.5vw, 1.5rem);
  border: 1px solid #dcd5e8;
  border-radius: 1rem;
  background: #fff;
}

.baseball-sales-chart h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; }
.baseball-sales-chart p, .baseball-chart-rows dt span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.baseball-sales-chart figcaption p { margin-top: .25rem; }
.baseball-chart-rows { display: grid; gap: .75rem; margin: 1.25rem 0; }
.baseball-chart-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .75rem; align-items: center; }
.baseball-chart-rows dt { color: #29213a; font-size: .875rem; font-weight: 800; }
.baseball-chart-rows dt span { display: block; font-weight: 500; }
.baseball-chart-rows dd { display: grid; grid-template-columns: minmax(0, 1fr) 3.5ch; align-items: center; gap: .625rem; margin: 0; color: #372654; }
.baseball-chart-rows meter { width: 100%; height: .75rem; appearance: none; background: #ede8f5; border-radius: 9999px; }
.baseball-chart-rows meter::-webkit-meter-bar { height: .75rem; border: 0; border-radius: 9999px; background: #ede8f5; }
.baseball-chart-rows meter::-webkit-meter-optimum-value { border-radius: 9999px; background: #8969bb; }
.baseball-chart-rows meter::-moz-meter-bar { border-radius: 9999px; background: #8969bb; }
.baseball-chart-rows > :nth-child(2) meter::-webkit-meter-optimum-value { background: #5e3c92; }
.baseball-chart-rows > :nth-child(2) meter::-moz-meter-bar { background: #5e3c92; }
.baseball-chart-takeaway { padding-top: .75rem; border-top: 1px solid #e8e0f0; }

.shoe-sales-panel { background: #edf2eb; }
.shoe-sales-panel a { color: #4e357c; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }

.first-screen.pawn-hero { background: #f0ebf8; }
.pawn-hero .hero h1 { max-width: 65rem; margin-inline: auto; }
.pawn-hero .hero-description { max-width: 42rem; }
.pawn-scan-photo { background: #b6a2b6; }
.pawn-photo-grid > .antique-photo-card:nth-child(2) > img { background: #a4b1bf; }
.pawn-photo-grid > .antique-photo-card:nth-child(3) > img { background: #c0c6ad; }
.pawn-prices-panel { background: #edf2eb; }
.pawn-price-rows dd { grid-template-columns: minmax(0, 1fr) 4.5ch; }
.pawn-price-rows dd strong { text-align: end; }

.pawn-calculator-panel { margin-top: 1.5rem; }
.pawn-calculator-panel .antique-price-fields { margin-top: 1rem; }
#pawn-offer-calculator .antique-price-fields > :first-child { grid-column: 1 / -1; }
.pawn-calculator-panel .antique-price-result dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
.pawn-calculator-panel .antique-price-result dl > :only-child { text-align: start; }
.pawn-heading h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -.025em; }

@media (max-width: 47.999rem) {
  .baseball-sales-panel { grid-template-columns: minmax(0, 1fr); }
  .baseball-hero .baseball-scan-photo { min-height: clamp(14rem, 59vw, 21rem); }
  .shoe-hero .shoe-scan-photo { min-height: clamp(14rem, 59vw, 21rem); }
  .pawn-hero .pawn-scan-photo { min-height: clamp(14rem, 59vw, 21rem); }
}

.first-screen.pokemon-hero { background: #eceafa; }
.pokemon-hero .hero h1 { max-width: 74rem; margin-inline: auto; }
.pokemon-hero .hero-description { max-width: 41rem; }
.pokemon-hero-tip {
  max-width: 42rem;
  margin: .75rem auto 0;
  color: var(--muted);
  line-height: 1.5;
}
.pokemon-hero-tip a { color: #4e357c; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.pokemon-variant-examples {
  margin-top: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  scroll-margin-top: 1rem;
}
.pokemon-variant-examples h3 { font-size: 1.25rem; line-height: 1.75rem; }
.pokemon-variant-examples p { max-width: 76ch; margin-top: .5rem; color: var(--muted); line-height: 1.5; }
.pokemon-scan-photo { background: #efa88b; }
:is(.pokemon-scan-photo, .coin-scan-photo) img {
  inset: 0 auto 0 50%;
  width: auto;
  object-fit: contain;
  object-position: center;
  mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
  transform: translateX(-50%);
}

.coin-scan-photo img {
  inset: 0;
  width: 100%;
  padding: 1rem 1rem 1.8rem;
  mask-image: none;
  transform: none;
}

.coin-photo-credit {
  position: absolute;
  right: .75rem;
  bottom: .5rem;
  color: #292139;
  font-size: .75rem;
  line-height: 1rem;
}

.pokemon-condition-panel,
.pokemon-sold-panel,
.pokemon-proceeds-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  border-radius: 1.5rem;
}

.pokemon-condition-panel {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  overflow: hidden;
  background: #fbefd8;
}

.pokemon-condition-copy { display: grid; align-self: center; gap: 1.25rem; padding: 2rem 0 2rem 2rem; }
.pokemon-condition-copy > div > p { max-width: 64ch; }

.pokemon-condition-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.pokemon-sold-panel,
.pokemon-proceeds-panel { align-items: start; padding: 2rem; }
.pokemon-sold-panel { background: #eaf2e5; }
.pokemon-proceeds-panel { background: #eee9fa; }
.pokemon-net-calculator { display: grid; min-width: 0; gap: 1rem; }
.pokemon-net-fields { display: grid; gap: .75rem; }

.pokemon-net-fields label {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.pokemon-net-fields label > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  padding-inline: .75rem;
  border: 1px solid #bdb2ce;
  border-radius: .75rem;
  color: #594c6b;
  background: #fff;
}

.pokemon-net-fields label > span:focus-within { outline: 2px solid #64519a; outline-offset: 2px; }
.pokemon-net-fields label > span:has([aria-invalid="true"]) { border-color: #a03251; }

.pokemon-net-fields input {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.pokemon-net-fields input::placeholder { color: #746a80; }

.pokemon-net-output {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: 1rem;
  border: 1px solid #d9cde9;
  border-radius: .75rem;
  background: #fff;
  font-weight: 800;
}

.pokemon-net-output output {
  color: #4d347b;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.pokemon-net-output[data-net-loss] output,
.pokemon-net-status[data-state="error"] { color: #912c42; }

.pokemon-net-status, .pokemon-net-calculator noscript p {
  color: #504166;
  font-size: .875rem;
  line-height: 1.25rem;
}

.pokemon-net-status:is(:empty, [data-state="success"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pokemon-net-calculator [data-net-clear] {
  min-height: 2.75rem;
  justify-self: start;
  border-color: #a89aba;
  color: #35264c;
}

.pokemon-net-calculator [data-net-clear]:hover { background: #e4daf4; }
.pokemon-faq { align-items: start; padding-bottom: 3rem; }
.pokemon-faq .faq-list a { text-decoration: underline; text-underline-offset: .15em; }
.pokemon-final .final-card { background: #eaf2e5; }

@media (max-width: 47.999rem) {
  .pokemon-condition-panel, .pokemon-sold-panel, .pokemon-proceeds-panel { grid-template-columns: minmax(0, 1fr); }
  .pokemon-condition-panel { gap: 0; }
  .pokemon-condition-panel img { height: auto; max-height: 21rem; }
  .pokemon-condition-copy, .pokemon-sold-panel, .pokemon-proceeds-panel { padding: 1.5rem; }
  .pokemon-sold-panel, .pokemon-proceeds-panel { gap: 1.5rem; }
}

@media (max-width: 32rem) {
  .pokemon-net-fields label { grid-template-columns: minmax(0, 1fr); gap: .375rem; }
  .pokemon-net-output output { font-size: 1.5rem; line-height: 2rem; }
}

.first-screen.coin-hero { background: #eaf0eb; }
.coin-hero .hero-description { max-width: 42rem; }
.coin-scan-photo { background: #aaa3bf; }

.coin-mint-panel,
.coin-condition-panel,
.coin-sold-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
}

.coin-mint-panel { background: #eee9f7; }
.coin-mark-reference h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -.025em; }

.coin-mark-reference dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: .75rem 0 0;
}

.coin-mark-reference dl > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .625rem;
  min-width: 0;
  padding: .75rem;
  border: 1px solid #dfd5eb;
  border-radius: .75rem;
  background: #fff;
}

.coin-mark-reference dt {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #513684;
  background: #eee9f7;
  font-weight: 800;
}

.coin-mark-reference dd { min-width: 0; margin: 0; font-size: .9375rem; font-weight: 700; overflow-wrap: anywhere; }

.coin-penny-example {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 1rem 2rem;
  margin-top: 1rem;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  background: #fbefd8;
}

.coin-penny-example h3 { font-size: 1.5rem; line-height: 2rem; letter-spacing: -.035em; }
.coin-penny-example p { max-width: 68ch; color: var(--muted); line-height: 1.5rem; }

.coin-reference-table {
  width: 100%;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  border-spacing: 0;
  background: #fff;
  text-align: start;
}

.coin-reference-table :is(th, td) { padding: .875rem 1.25rem; text-align: start; vertical-align: top; }
.coin-reference-table thead { color: #283d2b; background: #e7f1e5; }
.coin-reference-table th:first-child { width: 27%; }
.coin-reference-table tbody :is(th, td) { border-top: 1px solid var(--line); line-height: 1.5rem; }
.coin-reference-table td { color: var(--muted); }

.coin-condition-panel { border: 1px solid var(--line); background: #fff; }
.coin-condition-types { display: grid; gap: 1rem; }
.coin-condition-types p { max-width: 63ch; }
.coin-sold-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #eaf2e5; }

.coin-variety-panel {
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  background: #f1edf7;
}

.coin-variety-panel h2 { font-size: 1.875rem; line-height: 2.25rem; }
.coin-variety-panel p { max-width: 78ch; }
.coin-faq { align-items: start; padding-bottom: 3rem; }
.coin-faq .faq-list a { text-decoration: underline; text-underline-offset: .15em; }
.coin-final .final-card { background: #eaf2e5; }

@media (max-width: 47.999rem) {
  .coin-mint-panel,
  .coin-penny-example,
  .coin-condition-panel,
  .coin-sold-panel { grid-template-columns: minmax(0, 1fr); }

  .coin-mint-panel,
  .coin-penny-example,
  .coin-condition-panel,
  .coin-sold-panel,
  .coin-variety-panel { gap: 1.25rem; padding: 1.5rem; }
}

@media (max-width: 32rem) {
  .coin-reference-table :is(th, td) { padding: .75rem; font-size: .875rem; line-height: 1.25rem; }
  .coin-reference-table th:first-child { width: 34%; }
}

.legal-hero { background: #f0ebf8; text-align: center; }
.legal-hero > .shell { padding-block: clamp(2rem, 5vw, 4rem); }

.legal-hero h1 {
  color: var(--hero-ink);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.06em;
}

.legal-hero-intro {
  max-width: 55ch;
  margin: .75rem auto 0;
  color: #4e5669;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.legal-effective-date { margin-top: 1rem; color: #5a4d6b; font-size: .875rem; line-height: 1.25rem; }
.legal-effective-date time { font-weight: 800; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 48rem);
  justify-content: center;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.legal-contents {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.legal-contents h2 { padding-inline: .5rem; font-size: 1rem; line-height: 1.5rem; font-weight: 800; }
.legal-contents ul { margin: 0; padding: 0; list-style: none; }

.legal-contents a {
  display: block;
  padding: .625rem .5rem;
  border-radius: .5rem;
  color: #4d3975;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.legal-contents a:hover { background: #f3edf9; text-decoration: underline; text-underline-offset: .18em; }
.legal-copy { display: grid; min-width: 0; gap: 1.5rem; }
.legal-copy-section { scroll-margin-top: 1.25rem; }
.legal-copy-section + .legal-copy-section:not(.legal-contact) { padding-top: 1.5rem; border-top: 1px solid var(--line); }

.legal-copy-section h2,
.legal-contact h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.legal-copy-section p,
.legal-copy-section ul,
.legal-contact p { margin: .75rem 0 0; color: var(--muted); line-height: 1.65; }
.legal-copy-section ul { padding-inline-start: 1.25rem; }
.legal-copy-section li + li { margin-top: .375rem; }

.legal-contact {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid #e0d5ee;
  border-radius: 1.25rem;
  background: #f3edf9;
}

.legal-copy a, .legal-email { color: #4d3975; text-decoration: underline; text-underline-offset: .18em; }

.legal-email {
  display: inline-block;
  max-width: 100%;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5rem;
  overflow-wrap: anywhere;
}

.contact-page .contact-panel {
  width: min(100%, 32rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: #fff;
}

.contact-panel .legal-email { margin-top: 0; font-size: clamp(1rem, 3.6vw, 1.25rem); }

@media (max-width: 47.999rem) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-contents { position: static; }
  .legal-contact { padding: 1.25rem; }
}

.about-hero { background: #f0ebf8; }

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.about-hero h1 {
  color: var(--hero-ink);
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.06em;
}

.about-hero-copy p { max-width: 58ch; margin-top: .75rem; color: var(--muted); line-height: 1.625; }
.about-hero-copy .about-lead { color: #352b4b; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.45; font-weight: 700; }

.about-hero-layout > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid rgb(30 21 44 / .08);
  border-radius: 1.5rem;
  background: #e8ddca;
  object-fit: cover;
}

.about-heading h2 {
  max-width: 26ch;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.about-heading p, .about-roadmap-copy p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.625;
}

.about-heading p { margin-top: .75rem; }

.about-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-method-grid li {
  display: grid;
  align-content: start;
  gap: .75rem;
  min-width: 0;
  padding: clamp(1rem, 2.55vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.about-method-grid img { width: 4rem; height: 4rem; border-radius: .75rem; object-fit: cover; }
.about-method-grid h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -.025em; }
.about-method-grid p { color: var(--muted); line-height: 1.5; }
.about-roadmap { padding-top: 0; }

.about-roadmap-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: #eaf2e5;
}

.about-roadmap-copy p + p { margin-top: .75rem; }
.about-roadmap-copy a { color: #355343; text-decoration: underline; text-underline-offset: .18em; }
.about-final .final-card { background: #f0ebf8; }
.about-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .75rem; }
.about-actions .button { min-height: 2.75rem; }
.about-actions .button-outline { border-color: #a79ab8; }
.about-actions .button-outline:hover { background: #e8def5; }

@media (max-width: 47.999rem) {
  .about-hero-layout,
  .about-method-grid,
  .about-roadmap-panel { grid-template-columns: minmax(0, 1fr); }

  .about-method-grid { margin-top: 1rem; }
  .about-hero-layout > img { border-radius: 1.25rem; }
  .about-method-grid img { width: 3.5rem; height: 3.5rem; }
}
