:root {
  --canvas: #f5f1ea;
  --canvas-deep: #ece3d8;
  --ink: #25292d;
  --muted: #69706e;
  --line: #dcd4c9;
  --accent: #be665d;
  --accent-deep: #9d4b45;
  --sage: #8f9d84;
  --white: #fffdf9;
  --shadow: 0 18px 48px rgba(68, 52, 36, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 4% 20%, rgba(190, 102, 93, 0.08), transparent 26rem),
    radial-gradient(circle at 98% 80%, rgba(143, 157, 132, 0.12), transparent 24rem),
    var(--canvas);
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible + span,
label:has(input:focus-visible) {
  outline: 3px solid rgba(190, 102, 93, 0.42);
  outline-offset: 4px;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  overflow: hidden;
}

.topbar,
.footer,
.screen {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-25deg);
}

.brand-mark::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.prototype-label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.screen {
  animation: enter 360ms ease both;
}

.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.92fr);
  gap: clamp(40px, 8vw, 112px);
  padding-block: clamp(32px, 6vw, 88px) 48px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 720;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.3vw, 5rem);
  line-height: 0.99;
}

h2 {
  margin-bottom: 17px;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.04;
}

.lead,
.step-header > p,
.result-intro > p,
.result-copy > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 999px;
  padding: 13px 21px;
  font-size: 0.98rem;
  font-weight: 750;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button span {
  font-size: 1.18rem;
  line-height: 0;
  transition: transform 180ms ease;
}

.button-primary {
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(190, 102, 93, 0.2);
  color: white;
}

.button-primary:hover:not(:disabled) {
  background: var(--accent-deep);
  box-shadow: 0 12px 24px rgba(157, 75, 69, 0.25);
  transform: translateY(-2px);
}

.button-primary:hover span {
  transform: translateX(3px);
}

.button-primary:active:not(:disabled) {
  transform: translateY(0);
}

.button-primary:disabled {
  background: #c6bdb4;
  box-shadow: none;
  color: #f1ece6;
}

.button-wide {
  width: 100%;
}

.helper-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 548px;
  place-items: center;
  padding: 14px 30px 12px;
  isolation: isolate;
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.orb-large {
  top: 5%;
  right: 2%;
  width: min(26vw, 330px);
  height: min(26vw, 330px);
  background: rgba(190, 102, 93, 0.15);
}

.orb-small {
  bottom: 8%;
  left: 2%;
  width: min(18vw, 220px);
  height: min(18vw, 220px);
  background: rgba(143, 157, 132, 0.22);
}

.example-card {
  position: relative;
  width: min(100%, 396px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.example-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7dbcd;
}

.example-card__media > img {
  display: block;
  width: 200%;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
}

.example-card__intro {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  max-width: 206px;
  color: #3f3934;
}

.example-card__intro span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 253, 249, 0.86);
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-card__intro p {
  margin: 8px 0 0;
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.25;
}

.example-age {
  display: inline-flex;
  margin-top: 9px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(185, 83, 76, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.example-map {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.example-zone {
  position: absolute;
  border: 1.5px solid rgba(255, 253, 249, 0.92);
  background: transparent;
  box-shadow: 0 0 0 1px rgba(53, 45, 39, 0.09);
}

.example-zone--forehead {
  top: 31%;
  left: 27%;
  width: 46%;
  height: 9%;
  border-radius: 50%;
}

.example-zone--eyes {
  top: 39%;
  left: 18%;
  width: 64%;
  height: 15%;
  border-radius: 48%;
}

.example-zone--oval {
  top: 28%;
  left: 19%;
  width: 62%;
  height: 49%;
  border-radius: 46% 46% 50% 50%;
}

.example-zone--neck {
  top: 70%;
  left: 31%;
  width: 38%;
  height: 19%;
  border-width: 0 1.5px 1.5px;
  border-radius: 0 0 48% 48%;
}

.example-map__label {
  position: absolute;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(37, 41, 45, 0.7);
  color: white;
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.example-map__label--forehead { top: 27%; right: 4%; }
.example-map__label--eyes { top: 49%; right: 3%; }
.example-map__label--oval { top: 62%; left: 3%; }
.example-map__label--neck { right: 8%; bottom: 7%; }

.example-map__label::before {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 253, 249, 0.88);
  content: "";
}

.example-map__label--forehead::before,
.example-map__label--eyes::before,
.example-map__label--neck::before {
  right: 100%;
}

.example-map__label--oval::before {
  left: 100%;
}

.example-card figcaption {
  padding: 12px 16px 13px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 620;
  text-align: center;
}

.upload-screen,
.result-screen {
  padding-block: 32px 70px;
}

.back-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.back-link {
  margin-bottom: 42px;
}

.back-link:hover,
.text-button:hover {
  color: var(--accent-deep);
}

.step-header {
  max-width: 600px;
  margin-bottom: 38px;
}

.step-header h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
}

.step-header > p {
  margin-bottom: 0;
}

.upload-layout {
  display: grid;
  grid-template-areas: "guidance form";
  grid-template-columns: minmax(220px, 0.66fr) minmax(0, 1fr);
  gap: 24px;
}

.guidance,
.upload-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.67);
}

.guidance {
  grid-area: guidance;
  padding: 28px;
}

.guidance summary {
  display: none;
}

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

.guidance ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 23px;
  color: #495150;
  line-height: 1.45;
}

.guidance li::marker {
  color: var(--accent-deep);
  font-weight: 800;
}

.guidance__note {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.upload-form {
  grid-area: form;
  padding: 22px;
}

.dropzone {
  position: relative;
  display: grid;
  min-height: 265px;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1.5px dashed #c9b7aa;
  border-radius: var(--radius-md);
  background: #fbf7f0;
  text-align: center;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.dropzone:hover,
.dropzone.is-filled {
  border-color: var(--accent);
  background: #f8eee8;
}

.dropzone__icon {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
  border: 1.5px solid var(--accent);
  border-radius: 50% 50% 12px 12px;
}

.dropzone__icon::before,
.dropzone__icon::after {
  position: absolute;
  left: 50%;
  background: var(--accent);
  content: "";
}

.dropzone__icon::before {
  top: 8px;
  width: 2px;
  height: 18px;
  transform: translateX(-50%);
}

.dropzone__icon::after {
  top: 16px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
}

.dropzone__title {
  font-weight: 750;
}

.dropzone__caption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.dropzone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1f2224;
}

.photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.photo-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--accent-deep);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

.photo-action--primary {
  border-color: rgba(190, 102, 93, 0.35);
  background: #f8eee8;
}

.photo-action:hover {
  border-color: var(--accent);
}

.upload-form:has(#camera-input:focus-visible) label[for="camera-input"],
.upload-form:has(#photo-input:focus-visible) label[for="photo-input"] {
  outline: 3px solid rgba(190, 102, 93, 0.42);
  outline-offset: 3px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-status {
  min-height: 24px;
  margin: 14px 2px 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.file-status.is-error {
  color: #a54745;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: #f1ece5;
  color: #4d5554;
  font-size: 0.83rem;
  line-height: 1.48;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.processing-screen {
  display: grid;
  min-height: calc(100dvh - 178px);
  place-items: center;
  padding-block: 32px 70px;
}

.processing-card {
  width: min(100%, 535px);
  padding: clamp(36px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
}

.processing-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.processing-card > p:not(.eyebrow):not(.demo-note) {
  color: var(--muted);
  line-height: 1.5;
}

.processing-rings {
  position: relative;
  width: 93px;
  height: 93px;
  margin: 0 auto 34px;
}

.processing-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(190, 102, 93, 0.45);
  border-radius: 42% 58% 51% 49%;
  animation: orbit 4.2s linear infinite;
}

.processing-rings span:nth-child(2) {
  inset: 12px;
  border-color: rgba(143, 157, 132, 0.85);
  animation-direction: reverse;
  animation-duration: 3.4s;
}

.processing-rings span:nth-child(3) {
  inset: 28px;
  border-color: var(--accent);
  background: rgba(190, 102, 93, 0.12);
  animation-duration: 2.7s;
}

.progress-track {
  height: 5px;
  margin: 28px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e0d7;
}

.progress-track span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 520ms ease;
}

.demo-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.result-screen {
  display: grid;
  align-content: center;
  min-height: calc(100dvh - 178px);
}

.result-intro {
  max-width: 660px;
  margin-bottom: 33px;
}

.result-intro h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 0.82fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
}

.result-map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #e9e4dc;
  box-shadow: var(--shadow);
}

.result-map > img {
  display: block;
  width: 100%;
  height: auto;
}

.result-map > .comparison-card__placeholder {
  min-height: 520px;
}

.result-map figcaption {
  padding: 13px 18px 15px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.result-portrait {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border-radius: 46% 46% 20% 20%;
  background: linear-gradient(155deg, #dde4d4, #c9a69a);
  box-shadow: var(--shadow);
}

.result-portrait__label {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 17px;
  margin: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.84);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.91);
}

.result-portrait__placeholder {
  position: relative;
  width: 47%;
  height: 65%;
  border: 1.5px solid rgba(255, 253, 249, 0.8);
  border-radius: 50% 50% 34% 34%;
}

.result-portrait__placeholder::before,
.result-portrait__placeholder::after {
  position: absolute;
  left: 17%;
  width: 66%;
  height: 1px;
  background: rgba(255, 253, 249, 0.77);
  content: "";
}

.result-portrait__placeholder::before {
  top: 35%;
}

.result-portrait__placeholder::after {
  top: 59%;
}

.result-portrait__placeholder span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.9);
}

.result-portrait__placeholder span:nth-child(1) {
  top: 32%;
  left: 26%;
}

.result-portrait__placeholder span:nth-child(2) {
  top: 32%;
  right: 26%;
}

.result-portrait__placeholder span:nth-child(3) {
  top: 53%;
  left: calc(50% - 4px);
}

.result-portrait__frame {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 253, 249, 0.64);
  border-radius: 42% 42% 16% 16%;
  pointer-events: none;
}

.result-copy {
  max-width: 470px;
}

.result-copy h2 {
  margin-bottom: 16px;
}

.result-gift-kicker {
  margin: 0 0 9px !important;
  color: var(--accent-deep);
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-gift-lead {
  margin-bottom: 20px !important;
}

.result-copy__rule {
  width: 46px;
  height: 3px;
  margin-bottom: 23px;
  border-radius: 999px;
  background: var(--accent);
}

.result-copy > p {
  margin-bottom: 26px;
}

.result-gift {
  margin-top: 4px;
  border: 1px solid rgba(185, 83, 76, 0.2);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 250, 246, 0.78);
  box-shadow: 0 16px 38px rgba(99, 68, 54, 0.08);
}

.result-gift__label {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-gift h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.15;
}

.result-gift p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.result-points {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding-left: 20px;
  color: #495150;
  line-height: 1.48;
}

.result-points li::marker {
  color: var(--accent-deep);
}

.result-cta {
  width: 100%;
}

.result-details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.result-details summary {
  min-height: 44px;
  color: var(--accent-deep);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 720;
}

.result-details .result-points {
  margin: 10px 0 5px;
}

.result-disclaimer {
  margin: 14px 2px 0 !important;
  color: var(--muted);
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

.text-button {
  margin-top: 18px;
  padding: 6px 4px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(220, 212, 201, 0.78);
  padding-block: 18px 24px;
  color: var(--muted);
  font-size: 0.76rem;
}

[hidden] {
  display: none !important;
}

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

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .topbar,
  .screen {
    width: min(100% - 32px, 560px);
  }

  .topbar {
    min-height: 58px;
    padding-block: 12px 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 26px 32px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .hero .button-primary {
    width: 100%;
  }

  .hero-visual {
    min-height: 375px;
    padding: 6px 10px;
  }

  .example-card {
    width: min(100%, 350px);
  }

  .example-card__media {
    height: 320px;
    aspect-ratio: auto;
  }

  .upload-screen,
  .result-screen {
    padding-block: 14px 34px;
  }

  .back-link {
    min-height: 44px;
    margin-bottom: 8px;
    padding: 8px 4px;
  }

  .upload-layout,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .step-header {
    margin-bottom: 16px;
  }

  .step-header .eyebrow {
    margin-bottom: 7px;
  }

  .step-header h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .step-header > p {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .upload-layout {
    grid-template-areas: "form" "guidance";
    gap: 14px;
  }

  .upload-form {
    padding: 14px;
  }

  .guidance {
    padding: 0;
  }

  .guidance summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 10px 17px;
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 750;
  }

  .guidance[open] summary {
    border-bottom: 1px solid var(--line);
  }

  .guidance__body {
    gap: 16px;
    padding: 17px;
  }

  .guidance ol {
    gap: 10px;
    font-size: 0.9rem;
  }

  .dropzone {
    min-height: 160px;
  }

  .dropzone__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }

  .photo-action {
    min-height: 52px;
    padding-inline: 10px;
  }

  .file-status {
    margin-block: 10px 12px;
  }

  .consent-row {
    margin-bottom: 14px;
    padding: 11px 12px;
    font-size: 0.79rem;
    line-height: 1.4;
  }

  .processing-screen,
  .result-screen {
    min-height: auto;
  }

  .processing-card {
    padding: 32px 22px;
  }

  .result-portrait {
    min-height: 390px;
  }

  .result-map > .comparison-card__placeholder {
    min-height: 42dvh;
  }

  .result-intro {
    margin-bottom: 14px;
  }

  .result-intro .eyebrow {
    margin-bottom: 7px;
  }

  .result-intro h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .result-intro > p {
    display: none;
  }

  .result-layout {
    gap: 16px;
  }

  .result-map > img {
    width: 100%;
    max-height: 42dvh;
    object-fit: contain;
  }

  .result-map figcaption {
    padding: 9px 12px 10px;
    font-size: 0.72rem;
  }

  .result-copy__rule {
    display: none;
  }

  .result-copy h2 {
    margin-bottom: 8px;
    font-size: 1.65rem;
  }

  .result-copy > p {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .result-gift {
    border-radius: 18px;
    padding: 16px;
  }

  .result-details {
    margin-top: 10px;
    padding-top: 8px;
  }

  .text-button {
    min-height: 44px;
    margin-top: 10px;
    padding-block: 10px;
  }

  .footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 32px 0 24px;
}

.comparison-grid--technical {
  grid-column: 1 / -1;
}

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 12px 30px rgba(42, 39, 36, 0.07);
}

.comparison-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 15px 13px;
}

.comparison-card__head h2,
.comparison-card__head span,
.comparison-card__error { margin: 0; }

.comparison-card__head h2 { font-size: 1rem; line-height: 1.15; }
.comparison-card__head span { color: var(--muted); font-size: 0.81rem; }

.comparison-card__image {
  overflow: hidden;
  background: #e9e4dc;
}

.comparison-card__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.comparison-card__placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #eae2d8, #d7ddd2);
}

.comparison-card__placeholder span {
  position: absolute;
  border: 1px solid rgba(110, 103, 95, 0.25);
  border-radius: 50%;
}

.comparison-card__placeholder span:nth-child(1) { width: 52%; height: 66%; left: 24%; top: 13%; }
.comparison-card__placeholder span:nth-child(2) { width: 26%; height: 7%; left: 37%; top: 53%; }
.comparison-card__placeholder span:nth-child(3) { width: 34%; height: 13%; left: 33%; top: 67%; }

.comparison-card__error { padding: 12px 15px 15px; color: #a24c45; font-size: 0.88rem; }

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