:root {
  color-scheme: light;
  --ink: #3f3a3a;
  --muted: #746d6d;
  --rose: #c96872;
  --rose-dark: #9f4953;
  --rose-soft: #f8e7e8;
  --cream: #fffaf4;
  --paper: #ffffff;
  --gold: #d8a64a;
  --line: #eadfda;
  --shadow: 0 18px 50px rgba(91, 58, 58, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(234, 223, 218, .8); background: rgba(255, 250, 244, .94); backdrop-filter: blur(12px); }
.header-inner, .footer-inner { width: min(1120px, calc(100% - 2rem)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; color: var(--rose-dark); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.text-link { color: var(--muted); text-decoration: none; font-weight: 650; }
.text-link:hover { color: var(--rose-dark); }
.lang-button { border: 1px solid var(--line); background: var(--paper); color: var(--rose-dark); border-radius: 999px; padding: .55rem .85rem; cursor: pointer; }
.hero { position: relative; overflow: hidden; padding: 5rem 1rem 3.5rem; text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero::before { width: 280px; height: 280px; left: -110px; top: 30px; background: #f7d9db; }
.hero::after { width: 220px; height: 220px; right: -80px; bottom: 0; background: #f6e7bf; }
.eyebrow { display: inline-block; margin: 0 0 1rem; color: var(--rose-dark); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 790px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.45rem, 7vw, 5.1rem); line-height: .98; color: #4c3d3e; }
.hero-copy { max-width: 680px; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.privacy-note { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; padding: .65rem .9rem; border-radius: 999px; background: rgba(255,255,255,.72); color: #655d5d; font-size: .9rem; }
.privacy-note::before { content: "✓"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #e4f1e7; color: #26723d; font-weight: 900; }
.finder-shell { width: min(920px, calc(100% - 2rem)); margin: 0 auto 5rem; }
.finder-card { padding: clamp(1.25rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.progress-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .65rem; color: var(--muted); font-size: .88rem; }
.progress-track { height: 7px; margin-bottom: 2.2rem; overflow: hidden; border-radius: 999px; background: #f1e8e3; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rose), var(--gold)); transition: width .25s ease; }
fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
legend { margin-bottom: .85rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; }
.helper { display: block; margin: -.55rem 0 .9rem; color: var(--muted); font-size: .9rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.choice-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: #fffdfb; color: #5e5656; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.choice input:checked + span { border-color: var(--rose); background: var(--rose-soft); color: var(--rose-dark); font-weight: 750; }
.choice input:focus-visible + span { outline: 3px solid rgba(201, 104, 114, .28); outline-offset: 2px; }
.choice span:hover { transform: translateY(-1px); border-color: #d8b7b7; }
.hint-wrap { position: relative; }
textarea { width: 100%; min-height: 100px; resize: vertical; padding: .9rem 1rem 1.7rem; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fffdfb; }
textarea:focus { outline: 3px solid rgba(201, 104, 114, .22); border-color: var(--rose); }
.counter { position: absolute; right: .8rem; bottom: .55rem; color: var(--muted); font-size: .78rem; }
.form-error { min-height: 1.4rem; margin: 0 0 .75rem; color: #a52e3d; font-weight: 650; }
.primary-button { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--rose), var(--rose-dark)); color: white; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(159, 73, 83, .22); }
.primary-button:hover { filter: brightness(1.04); }
.primary-button:disabled { cursor: wait; opacity: .66; }
.status-panel { padding: 3rem 1rem; text-align: center; }
.spinner { width: 42px; height: 42px; margin: 0 auto 1rem; border: 4px solid var(--rose-soft); border-top-color: var(--rose); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 5rem; }
.results-heading { max-width: 700px; margin-bottom: 1rem; }
.results-heading h2, .guides h2 { margin: 0 0 .5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); }
.disclosure { margin: 1rem 0 1.4rem; padding: .8rem 1rem; border-left: 4px solid var(--gold); background: #fff8e8; color: #695a3d; font-size: .9rem; }
.result-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.gift-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 8px 24px rgba(91,58,58,.07); }
.gift-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f3ebe5; }
.gift-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.gift-card h3 { margin: 0 0 .55rem; font-size: 1rem; line-height: 1.3; }
.gift-card p { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.ai-label { display: inline-block; align-self: flex-start; margin-bottom: .7rem; padding: .25rem .55rem; border-radius: 999px; background: var(--rose-soft); color: var(--rose-dark); font-size: .72rem; font-weight: 750; }
.amazon-link { margin-top: auto; padding: .7rem .75rem; border-radius: 999px; background: #272321; color: white; text-align: center; text-decoration: none; font-size: .88rem; font-weight: 750; }
.secondary-button { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; background: white; color: var(--rose-dark); cursor: pointer; }
.guides { padding: 5rem 1rem; background: #f5ece7; text-align: center; }
.guide-grid { width: min(1000px, 100%); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .75rem; }
.guide-link { padding: 1rem; border-radius: 15px; background: white; text-decoration: none; font-weight: 700; color: #594c4d; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: white; color: var(--muted); font-size: .88rem; }
.guide-library { width: min(920px, calc(100% - 2rem)); margin: 3rem auto 5rem; }
.guide-intro { margin-bottom: 2rem; }
.guide-article { margin-bottom: 1rem; padding: clamp(1.2rem, 3vw, 2.2rem); scroll-margin-top: 90px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.guide-article h2 { margin: 0 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.guide-article h3 { margin: 1.1rem 0 .4rem; font-size: 1rem; color: var(--rose-dark); }
.guide-article p, .guide-article li { color: var(--muted); }
.guide-article ul { padding-left: 1.25rem; }
.footer-inner { align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .result-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .hero { padding-top: 3.5rem; } .choice-grid, .choice-grid.compact { grid-template-columns: 1fr 1fr; } .header-inner { width: min(100% - 1rem,1120px); } .nav-actions .text-link { display: none; } .result-grid { grid-template-columns: 1fr; } .footer-inner { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
