:root {
  --ink: #2d2431;
  --muted: #6f6273;
  --paper: #fffaf7;
  --card: #fff;
  --rose: #a94168;
  --rose-dark: #7d2849;
  --blush: #f8e9ee;
  --lilac: #eee8f7;
  --gold: #c7924a;
  --line: #eadce3;
  --shadow: 0 18px 55px rgba(72, 44, 61, 0.12);
  --radius: 26px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0, #fae9ef 0, transparent 34rem),
    linear-gradient(180deg, #fffaf7 0, #fff 70%);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--rose), #6f3f83);
  font-family: Georgia, serif;
  box-shadow: 0 8px 22px rgba(169, 65, 104, 0.25);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  color: #574b5a;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--blush);
  color: var(--rose-dark);
}
.main-nav .lang-switch {
  border: 1px solid var(--line);
  margin-left: 0.35rem;
}
.hero,
.page-hero,
.section,
.breadcrumbs {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 5rem;
}
.hero-copy h1,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0.35rem 0 1.2rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.hero-copy h1 {
  font-size: clamp(3.3rem, 6.6vw, 6.8rem);
}
.page-hero {
  max-width: 850px;
  text-align: center;
  padding: 5.8rem 0 3.2rem;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.3rem);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 800;
  margin: 0 0 0.7rem;
}
.lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}
.hero-copy .lede {
  margin: 0;
  max-width: 600px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
}
.trust-row li,
.filter-row a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.section {
  padding: 4.5rem 0;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.section-heading h2,
.prose h2,
.related h2,
.final-cta h2,
.section > h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0.15rem 0 0.9rem;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
}
.tinted {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, var(--blush), var(--lilac));
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
}
.step-grid,
.type-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.step-grid article,
.type-link-grid a,
.type-card,
.faq-list details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(72, 44, 61, 0.07);
}
.step-grid article {
  padding: 1.5rem;
}
.step-grid article > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.step-grid h3 {
  font-size: 1.16rem;
  margin: 1rem 0 0.4rem;
}
.step-grid p {
  color: var(--muted);
  margin: 0;
}
.type-link-grid a {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition:
    0.2s transform,
    0.2s box-shadow;
}
.type-link-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.type-link-grid span,
.type-card small {
  color: var(--muted);
}
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  margin-top: 2.8rem;
}
.prose h3 {
  font-size: 1.28rem;
  margin-top: 2rem;
}
.prose p,
.prose li {
  color: #4f4552;
}
.prose a {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--rose);
  background: var(--blush);
  border-radius: 0 18px 18px 0;
}
.updated {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-list details {
  padding: 1rem 1.2rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}
.faq-list p {
  color: var(--muted);
  margin: 0.7rem 0 0.2rem;
}
.final-cta {
  text-align: center;
  background: linear-gradient(145deg, #342639, #6c3150);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 5rem;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: var(--rose);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    0.18s transform,
    0.18s background;
}
.button:hover,
button:hover {
  background: var(--rose-dark);
  transform: translateY(-1px);
}
.button.secondary,
button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.filter-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.type-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 4rem;
}
.type-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  overflow: hidden;
  min-height: 116px;
}
.type-card img {
  width: 92px;
  height: 116px;
  object-fit: cover;
}
.type-card span {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.type-card strong {
  line-height: 1.2;
}
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}
.portrait-grid figure {
  aspect-ratio: 4/5;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--blush);
  box-shadow: 0 10px 30px rgba(50, 35, 47, 0.11);
}
.portrait-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--rose);
}
.type-hero {
  padding-top: 3rem;
}
.related {
  text-align: center;
}
.related .type-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}
.quiz-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(169, 65, 104, 0.19);
  border-radius: 30px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  min-height: 410px;
  position: relative;
}
.quiz-page {
  max-width: 980px;
  padding-top: 0;
}
.quiz-start {
  text-align: center;
  padding: 2rem;
}
.quiz-start h2,
.quiz-result h2 {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0.5rem 0;
}
.pool-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.pool-choice {
  padding: 1.15rem;
  background: var(--blush);
  color: var(--ink);
  border: 2px solid transparent;
}
.pool-choice:hover,
.pool-choice:focus-visible {
  border-color: var(--rose);
  background: #fff;
}
.age-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  text-align: left;
  background: #fff8e8;
  border: 1px solid #efd7aa;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  margin: 1rem auto;
  max-width: 480px;
}
.age-row input {
  margin-top: 0.35rem;
}
.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.2rem 0.2rem 1rem;
}
.quiz-progress {
  height: 8px;
  background: var(--blush);
  border-radius: 99px;
  overflow: hidden;
  flex: 1;
}
.quiz-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), #7d5aa0);
  border-radius: 99px;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.avatar-card {
  position: relative;
  aspect-ratio: 4/5;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  background: var(--blush);
  border: 2px solid transparent;
}
.avatar-card:hover,
.avatar-card:focus-visible {
  border-color: var(--rose);
  transform: none;
}
.avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-card.is-picked:after {
  content: "✓";
  position: absolute;
  right: 0.4rem;
  top: 0.4rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
}
.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1rem;
}
.quiz-note {
  font-size: 0.82rem;
  color: var(--muted);
}
.quiz-result {
  padding: 1rem;
}
.result-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1.2rem 0;
}
.result-gallery img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
}
.result-summary {
  padding: 1.1rem;
  border-radius: 18px;
  background: var(--blush);
  margin: 1rem 0;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.consent {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 50;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 2rem));
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0;
  color: var(--muted);
}
.consent div {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 3rem auto 0;
  border-top: 1px solid var(--line);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: var(--muted);
}
.footer-brand {
  color: var(--ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}
.footer-links a:hover {
  color: var(--rose);
}
.copyright {
  grid-column: 1/-1;
  margin: 0;
  font-size: 0.84rem;
}
.empty-state {
  text-align: center;
  min-height: 60vh;
}
.empty-state div {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}
@media (max-width: 900px) {
  .hero-home {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .lede {
    margin-inline: auto;
  }
  .trust-row {
    justify-content: center;
  }
  .step-grid,
  .type-link-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portrait-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .type-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-nav a:not(.lang-switch) {
    display: none;
  }
}
@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }
  .hero-home {
    gap: 1.5rem;
    padding-bottom: 3rem;
  }
  .hero-copy h1 {
    font-size: 3.35rem;
  }
  .page-hero {
    padding: 3.6rem 0 2rem;
  }
  .page-hero h1 {
    font-size: 2.75rem;
  }
  .section {
    padding: 3rem 0;
  }
  .step-grid,
  .type-link-grid,
  .related .type-link-grid,
  .type-card-grid {
    grid-template-columns: 1fr;
  }
  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .quiz-shell {
    border-radius: 22px;
    padding: 0.75rem;
  }
  .avatar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .avatar-card {
    border-radius: 11px;
  }
  .result-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quiz-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .quiz-actions button {
    width: 100%;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .consent {
    align-items: stretch;
    flex-direction: column;
  }
  .consent div {
    flex-wrap: wrap;
  }
  .consent button {
    flex: 1;
  }
  .type-card {
    grid-template-columns: 82px 1fr;
  }
  .type-card img {
    width: 82px;
    height: 106px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.quiz-intro {
  text-align: center;
  padding: 2rem;
}
.quiz-intro h2,
.quiz-result h2 {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0.5rem 0;
}
.pool-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.pool-picker button {
  padding: 1.15rem;
  background: var(--blush);
  color: var(--ink);
  border: 2px solid transparent;
}
.pool-picker button.active,
.pool-picker button:hover,
.pool-picker button:focus-visible {
  border-color: var(--rose);
  background: #fff;
}
.age-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  text-align: left;
  background: #fff8e8;
  border: 1px solid #efd7aa;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  margin: 1rem auto;
  max-width: 480px;
}
.age-check input {
  margin-top: 0.35rem;
}
.quiz-privacy {
  font-size: 0.82rem;
  color: var(--muted);
}
.quiz-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0.2rem 1rem;
  color: var(--muted);
}
.quiz-status strong {
  color: var(--ink);
}
.avatar-choice {
  position: relative;
  aspect-ratio: 4/5;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  background: var(--blush);
  border: 2px solid transparent;
}
.avatar-choice:hover,
.avatar-choice:focus-visible {
  border-color: var(--rose);
  transform: none;
}
.avatar-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-choice span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--rose);
}
.choice-flash {
  position: absolute;
  right: 1.2rem;
  top: 3.4rem;
  margin: 0;
  color: var(--rose);
  font-size: 1.35rem;
  font-weight: 900;
}
.result-faces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1.2rem 0;
}
.result-faces img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
}
.checkout-email {
  display: block;
  max-width: 430px;
  margin: 1rem 0;
  font-size: 0.9rem;
  font-weight: 750;
}
.checkout-email input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 0.45rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.checkout-message {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.86rem;
}
.result-actions {
  align-items: center;
}
@media (max-width: 620px) {
  .quiz-intro {
    padding: 1rem;
  }
  .pool-picker {
    grid-template-columns: 1fr;
  }
  .avatar-choice {
    border-radius: 11px;
  }
  .result-faces {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
