:root {
  --ink: #241429;
  --muted: #6f5c72;
  --primary: #d62975;
  --primary-dark: #a81858;
  --primary-soft: #ffe0ed;
  --accent: #b23c10;
  --warning: #ba2e66;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(89, 43, 105, 0.2);
  --shadow: 0 18px 60px rgba(95, 26, 74, 0.18);
  --shadow-small: 0 8px 24px rgba(95, 26, 74, 0.14);
  --content: 72rem;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #ffe6f0;
  font-family:
    ui-rounded, "Avenir Next Rounded", "Avenir Next", Inter, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 247, 227, 0.88) 0 10%, transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.66) 0 10%, transparent 35%),
    linear-gradient(135deg, #ffe8a8 0%, #ff7a8a 34%, #d44acf 66%, #61c4ff 100%);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at 52% -8%, rgba(255, 255, 255, 0.52), transparent 45%),
    radial-gradient(ellipse at 4% 88%, rgba(255, 222, 112, 0.4), transparent 38%);
}

a {
  color: var(--primary-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid #241429;
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.section-panel,
.values-section,
.legal-main,
.not-found-main {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffba6b, #d62975 56%, #61c4ff);
  box-shadow: var(--shadow-small);
  transform: rotate(-4deg);
}

.brand-mark__camera {
  position: relative;
  width: 1.4rem;
  height: 1.05rem;
  border: 2px solid #fff;
  border-radius: 5px;
}

.brand-mark__camera::before {
  position: absolute;
  top: -0.35rem;
  left: 0.22rem;
  width: 0.55rem;
  height: 0.3rem;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
}

.brand-mark__camera::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.footer-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--primary-dark);
}

.hero {
  display: grid;
  min-height: min(44rem, calc(100vh - 6rem));
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.03fr) minmax(19rem, 0.97fr);
}

.eyebrow,
.mini-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: #513a55;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero__copy,
.values-copy {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(89, 43, 105, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(8px);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-card {
  display: flex;
  min-width: 10.8rem;
  min-height: 4.2rem;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(73, 23, 63, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(163, 27, 91, 0.24);
}

.store-card--secondary {
  color: var(--primary-dark);
  background: var(--surface-strong);
  box-shadow: var(--shadow-small);
}

.store-card__platform {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.store-card strong {
  font-size: 1.05rem;
}

.availability-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.decision-preview {
  position: relative;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.decision-preview::before {
  position: absolute;
  z-index: -1;
  inset: -1rem 1rem 1rem -1rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 247, 227, 0.4);
  content: "";
  transform: rotate(-3deg);
}

.decision-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.decision-preview__header div {
  display: flex;
  flex-direction: column;
}

.decision-preview > p {
  max-width: 28rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.35;
}

.vouch-chip,
.tag-row span {
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.photo-options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, 1fr);
}

.photo-option {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: 0 5px 16px rgba(62, 28, 61, 0.13);
}

.photo-option--one {
  background: linear-gradient(160deg, #a9d9f4, #ffe1bc 57%, #b77a78);
}

.photo-option--two {
  background: linear-gradient(155deg, #f7c27a, #f7e4b2 50%, #6f88a9);
}

.photo-option--three {
  background: linear-gradient(160deg, #e6bce6, #b9dbe8 50%, #5d7082);
}

.photo-option.is-selected {
  border-color: var(--primary);
  transform: translateY(-0.35rem);
}

.photo-shape {
  position: absolute;
  right: -15%;
  bottom: -12%;
  left: 14%;
  height: 75%;
  border-radius: 52% 48% 16% 16%;
  background: rgba(63, 38, 59, 0.42);
}

.photo-shape::before {
  position: absolute;
  top: -38%;
  left: 25%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(67, 41, 55, 0.7);
  content: "";
}

.photo-shape--two {
  right: 8%;
  left: -10%;
  background: rgba(44, 64, 81, 0.48);
}

.photo-shape--three {
  right: -4%;
  left: 7%;
  background: rgba(56, 62, 78, 0.48);
}

.photo-choice {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  left: 0.35rem;
  padding: 0.35rem;
  border-radius: 5px;
  color: #fff;
  background: var(--primary);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  gap: 0.5rem;
}

.section-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.steps li {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.step-number {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.steps h3,
.value-list h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.steps p,
.value-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.values-section {
  display: grid;
  padding: clamp(6rem, 12vw, 10rem) 0;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.values-copy p:not(.eyebrow) {
  max-width: 38rem;
  color: #513a55;
  font-size: 1.05rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 850;
}

.value-list {
  display: grid;
  gap: 0.85rem;
}

.value-list article {
  display: grid;
  align-items: start;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
  gap: 1rem;
  grid-template-columns: 2.2rem 1fr;
}

.value-list article > span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 1.15rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  align-items: end;
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid rgba(64, 28, 63, 0.2);
  gap: 2rem;
  grid-template-columns: 1fr auto;
}

.brand-mark--small {
  width: 2rem;
  height: 2rem;
}

.brand-mark--small .brand-mark__camera {
  transform: scale(0.73);
}

.site-footer p {
  margin: 0.5rem 0 0;
  color: #58415b;
  font-size: 0.83rem;
}

.copyright {
  grid-column: 1 / -1;
}

.legal-main {
  max-width: 54rem;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 12vw, 10rem);
}

.page-hero {
  margin-bottom: 1.25rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-small);
}

.page-hero h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 6vw, 4.7rem);
}

.page-intro {
  max-width: 40rem;
  margin-bottom: 0;
  color: #513a55;
  font-size: 1.08rem;
}

.legal-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.legal-card .last-updated {
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.legal-card h2 {
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
  padding-top: 0.2rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #49394c;
}

.legal-card ul {
  padding-left: 1.35rem;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.legal-card code {
  padding: 0.12rem 0.3rem;
  border-radius: 4px;
  color: var(--ink);
  background: var(--primary-soft);
}

.not-found-main {
  display: grid;
  min-height: calc(100vh - 18rem);
  place-items: center;
  padding: 4rem 0 8rem;
}

.not-found-card {
  max-width: 44rem;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.not-found-card p:not(.eyebrow) {
  color: var(--muted);
}

.primary-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(163, 27, 91, 0.24);
  font-weight: 850;
  text-decoration: none;
}

.primary-link:hover {
  color: #fff;
  background: var(--primary-dark);
}

@media (max-width: 50rem) {
  .site-header {
    align-items: flex-start;
    padding: 1.1rem 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero,
  .values-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero__copy {
    max-width: 43rem;
  }

  .decision-preview {
    max-width: 38rem;
    margin-inline: auto;
  }

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

  .step-number {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 35rem) {
  .site-header {
    display: grid;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    gap: 4rem;
  }

  .store-actions,
  .store-card {
    width: 100%;
  }

  .photo-option {
    min-height: 8.5rem;
  }

  .decision-preview__header {
    align-items: flex-start;
  }

  .section-panel {
    padding: 1.35rem;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  :root {
    --surface: #fff;
    --surface-strong: #fff;
    --border: rgba(36, 20, 41, 0.65);
  }
}
