:root {
  --color-bg: #f7f2ea;
  --color-surface: #fffdf8;
  --color-surface-strong: #f1e7d6;
  --color-text: #171512;
  --color-muted: #635b51;
  --color-accent: #ad8250;
  --color-accent-deep: #8f693e;
  --color-border: rgba(23, 21, 18, 0.12);
  --shadow-soft: 0 24px 60px rgba(24, 18, 10, 0.08);
  --shadow-card: 0 18px 32px rgba(24, 18, 10, 0.06);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  background: linear-gradient(180deg, #fbf8f2 0%, var(--color-bg) 100%);
  color: var(--color-text);
}

.legal-body {
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
  background: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 242, 234, 0.86);
  border-bottom: 1px solid rgba(23, 21, 18, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark__label,
h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

h1.currated {
  font-size: 60px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: #8f693e;
}

.brand-mark__label {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark__subtext {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.cart-button,
.primary-button,
.secondary-button,
.text-button,
.modal-close {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cart-button:hover,
.primary-button:hover,
.secondary-button:hover,
.text-button:hover,
.modal-close:hover {
  transform: translateY(-1px);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--color-text);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-section {
  padding: 0 0 2rem;

}

.hero-backdrop {
  min-height: 584.95px;
  background:
    linear-gradient(90deg, rgba(24, 21, 18, 0.46) 0%, rgba(24, 21, 18, 0.22) 34%, rgba(24, 21, 18, 0.08) 58%, rgba(24, 21, 18, 0.12) 100%),
    url("assets/hero/figma-hero.png") center/cover no-repeat;

}

.hero-stage {
  min-height: 584.95px;
}

.hero-inner {
  position: absolute;
  top: 150px;
  left: 30%;
  transform: translateX(-50%);
  width: min(1200px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.hero-copy {
  width: 635px;
  flex: 0 0 635px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
}

.hero-copy-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}

.eyebrow--light {
  color: rgba(247, 245, 245, 0.92);
}

.hero-eyebrow {
  margin-bottom: 0;
  letter-spacing: 2.688px;
  line-height: 1;
}

h1 {
  margin: 0;
  font-size: 60px;
  line-height: 82.94px;
  font-weight: 600;
  color: #fff;
}

.hero-text {
  max-width: 100%;
  margin: 0;
  font-size: 17.3px;
  line-height: 29.38px;
  color: #f7f5f5;
}

.hero-text--highlight {
  display: inline-block;
  padding: 6px 5px;
  border-radius: 5px;
  background: rgba(28, 28, 28, 0.02);
  backdrop-filter: blur(2.5px);
}

.hero-actions {
  margin-top: 0;
}

.hero-note {
  margin: 0;
  font-size: 20px;
  font-weight: 50;
  line-height: 1.5;
  color: #f7f5f5;
}

.hero-visual {
  position: relative;
  flex: 0 0 537px;
  width: 537px;
  height: 381px;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-large);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about {
  padding: 2rem 0;
}

.about-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 420px;
  padding: 10px 0;
}

.about-copy {
  flex: 0 0 549px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 5px;
}

.about-title {
  margin: 0;
  color: #8f693e;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
}

.about-text {
  margin: 0;
  color: #000;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.about-text+.about-text {
  margin-top: 0;
}

.about-copy>*+* {
  margin-top: 1.5rem;
}

.about-image {
  flex: 0 0 600px;
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pricing {
  padding: 1.25rem 0 2.25rem;
}

.pricing-cont {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  min-height: 170px;
  padding: 1.35rem 1.4rem 1.2rem;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-card);
}

.price-card-title {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0 0 0.7rem;
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--color-text);
}

.price-card-title span {
  font-size: 0.95rem;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 600;
  color: var(--color-accent-deep);
}

.price-card-cap {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}

.price-card-copy {
  margin: 0;
  max-width: 24ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.products-section {
  padding: 2rem 0 5rem;
  background: #fbf8f2;
}

.site-footer {
  border-top: 1px solid rgba(23, 21, 18, 0.08);
  background: rgba(255, 253, 248, 0.8);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
}

.site-footer__copy {
  margin: 0;
  color: var(--color-muted);
}

.site-footer__link {
  color: var(--color-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-page {
  flex: 1;
  padding: 3rem 0 4.5rem;
}

.legal-hero {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.legal-meta {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-intro {
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-muted);
}

.legal-card {
  max-width: 56rem;
  margin-bottom: 1rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.5rem;
}

.legal-card p {
  margin: 0 0 0.9rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.legal-list li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 50rem;
  margin-bottom: 5px;
}

h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
}

.people {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.people__heading {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: #1c1c1c;
}

.people__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.people__row-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.people__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.people__download {
  display: inline-flex;
  flex: 0 0 auto;
  width: 103px;
  aspect-ratio: 3 / 4;
  align-items: stretch;
  justify-content: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(241, 231, 214, 0.88), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-card);
}

.people__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.people__thumbnail--landscape {
  object-position: center;
}

.people__download:has(.people__thumbnail--landscape) {
  aspect-ratio: 4 / 3;
}

.product-group+.product-group {
  margin-top: 3rem;
}

.section-category-title {
  margin-bottom: 10px;
  margin-top: 50px;
}

.product-group__heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.product-group__heading h3 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-card.is-highlighted {
  outline: 2px solid rgba(173, 130, 80, 0.78);
  outline-offset: 4px;
}

.product-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 330px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(241, 231, 214, 0.95), rgba(255, 255, 255, 0.95));
}

.product-card__image-wrap--swatch {
  background: linear-gradient(180deg, rgba(241, 231, 214, 0.55), rgba(255, 255, 255, 0.55));
}

.product-card__image-frame {
  width: 277.895px;
  height: 330px;
  transform: translateX(-1.45px);
  flex: 0 0 auto;
}

.product-card__image-frame--swatch {
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
}

.product-card__image {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.25rem;
}

.product-card__meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.product-card__name {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.02;
  font-weight: 600;
}

.product-card__price {
  margin: 0.15rem 0 0;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
}

.product-card__description,
.modal-description,
.field-hint,
.status-widget__detail {
  margin: 0;
  line-height: 1.65;
  color: var(--color-muted);
}

.product-card__actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
}

.primary-button {
  background: var(--color-text);
  color: #fff;
}

.primary-button:hover {
  background: #2a261f;
}

.secondary-button {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(23, 21, 18, 0.14);
}

.secondary-button:hover {
  border-color: rgba(173, 130, 80, 0.6);
  color: var(--color-accent-deep);
}

.text-button {
  color: var(--color-muted);
  padding-inline: 0.2rem;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.45);
}

.modal-card {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100dvh - 2rem);
  border-radius: 24px;
  background: var(--color-surface);
  box-shadow: 0 30px 80px rgba(11, 10, 8, 0.24);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  color: var(--color-muted);
}

.modal-layout,
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 460px;
  align-items: stretch;
}

.modal-product,
.result-preview {
  background: linear-gradient(180deg, rgba(241, 231, 214, 1), rgba(255, 253, 248, 1));
}

.modal-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  min-width: 0;
  min-height: 0;
}

.modal-content>.primary-button {
  margin-top: auto;
}

.modal-content h3 {
  margin: 0;
  font-size: 2.35rem;
  font-weight: 600;
}

.cart-info-card {
  width: min(100%, 560px);
}

.cart-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 3.25rem 2rem 2rem;
}

.cart-info-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 600;
}

.cart-info-message {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: #1c1c1c;
}

.upload-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px dashed rgba(23, 21, 18, 0.2);
  border-radius: var(--radius-small);
  background: rgba(247, 242, 234, 0.72);
  cursor: pointer;
  overflow: hidden;
}

.upload-field__header {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 3.5rem;
}

.upload-field__label {
  font-weight: 600;
}

.upload-field__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 21, 18, 0.12);
  box-shadow: 0 8px 24px rgba(23, 21, 18, 0.08);
}

.upload-field__preview.hidden {
  display: none;
}

.upload-field__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.upload-field input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-small);
  border: 1px solid rgba(146, 57, 46, 0.18);
  background: rgba(146, 57, 46, 0.08);
  color: #7a2d24;
}

.status-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  width: min(320px, calc(100vw - 2rem));
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(173, 130, 80, 0.18);
  border-radius: 18px;
  background: rgba(23, 21, 18, 0.96);
  box-shadow: 0 18px 50px rgba(11, 10, 8, 0.26);
  color: #fff;
}

.status-widget__summary,
.status-widget__queue {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-widget[data-state="error"] {
  background: rgba(74, 24, 18, 0.97);
  border-color: rgba(194, 104, 84, 0.34);
}

.status-widget[data-state="success"] {
  background: rgba(23, 52, 38, 0.97);
  border-color: rgba(122, 184, 140, 0.28);
}

.status-widget__label {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.status-widget__detail {
  color: rgba(255, 255, 255, 0.76);
}

.status-widget__queue.hidden,
.status-widget__summary.hidden,
.status-widget__queue-list.hidden,
.status-widget__queue-button.hidden {
  display: none;
}

.status-widget__queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-widget__queue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.status-widget__queue-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.status-widget__queue-button:disabled {
  opacity: 0.72;
  cursor: default;
}

.status-widget__queue-button.is-active {
  background: rgba(173, 130, 80, 0.18);
  border-color: rgba(173, 130, 80, 0.42);
}

.status-widget__queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-widget__queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-widget__queue-item-content {
  flex: 1;
  min-width: 0;
}

.status-widget__queue-item-title {
  font-weight: 600;
}

.status-widget__queue-item-detail {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.status-widget__queue-item-title,
.status-widget__queue-empty {
  margin: 0;
}

.status-widget__queue-item-status {
  color: rgba(255, 255, 255, 0.7);
}

.status-widget__queue-link {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.status-widget__queue-link[disabled] {
  opacity: 0.5;
  cursor: default;
  text-decoration: none;
}

.result-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.result-preview__image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: var(--radius-medium);
  border: 1px dashed rgba(23, 21, 18, 0.2);
  background:
    linear-gradient(140deg, rgba(173, 130, 80, 0.24), rgba(255, 255, 255, 0.9)),
    url("assets/hero/result-texture.svg") center/cover no-repeat;
  color: var(--color-text);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 2rem;
  text-align: center;
}

.result-preview__image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-medium);
}

.body-lock {
  overflow: hidden;
}

@media (max-width: 980px) {

  .modal-card {
    width: min(100%, 760px);
    max-height: calc(100dvh - 3rem);
  }

  .modal-layout,
  .result-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .modal-product,
  .result-preview {
    min-height: 220px;
    max-height: 320px;
  }

  .modal-content {
    justify-content: flex-start;
    padding: 1.5rem;
    gap: 0.9rem;
  }

  .modal-content h3 {
    font-size: 2rem;
  }

  .hero-backdrop {
    padding: 2rem 0;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-inner {
    position: static;
    transform: none;
    width: min(1200px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
    flex-basis: auto;
  }

  .about-shell {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-copy {
    flex-basis: auto;
    width: 100%;
    max-width: 34rem;
    padding: 0;
  }

  .about-image {
    flex: 1 1 auto;
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 744px) and (max-width: 1024px) and (orientation: portrait) {
  .modal-shell {
    padding:
      max(1.5rem, env(safe-area-inset-top, 0px))
      2rem
      max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  .modal-card {
    width: min(100%, 720px);
    max-height: min(calc(100dvh - 3rem), 960px);
    border-radius: 26px;
  }

  .modal-layout,
  .result-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 34vh) auto;
  }

  .modal-product,
  .result-preview {
    min-height: 220px;
    max-height: 34vh;
  }

  .modal-content {
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .modal-content > .primary-button {
    position: sticky;
    bottom: 0;
    z-index: 1;
  }
}

@media (max-width: 640px) {
  .modal-shell {
    padding: 20px 16px;
  }

  .modal-card {
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 40px);
    border-radius: 20px;
  }

  .modal-layout,
  .result-layout {
    min-height: 0;
  }

  .modal-product img {
    height: 100%;
    object-position: center top;
  }

  .site-header {
    position: static;
  }

  .people__downloads {
    gap: 0.75rem;
  }

  .header-inner {
    gap: 1rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 2.9rem;
    line-height: 1.04;
  }

  .hero-actions,
  .product-card__actions,
  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 1.25rem 0 1.5rem;
  }

  .about-shell {
    padding: 0;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .product-card__image-wrap {
    height: 280px;
  }

  .product-card__image-frame {
    width: auto;
    max-width: 100%;
    height: 280px;
    transform: none;
  }

  .product-card__image {
    width: auto;
    max-width: 100%;
    height: 100%;
  }

  .modal-content {
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 1.35rem;
  }

  .cart-info-content {
    padding: 3rem 1.35rem 1.35rem;
  }

  .modal-content h3 {
    font-size: 1.95rem;
  }

  .legal-page {
    padding: 2rem 0 3rem;
  }

  .legal-card {
    padding: 1.3rem 1.15rem;
  }
}
