/* =========================================================================
   AINEXTAR — "Soft Matchmaker" design system
   Warm, honest, SFW-leaning chrome. Recommender, not a product. 18+.
   ========================================================================= */

:root {
  /* Brand palette — warm rose + cream + ink */
  --rose-50:  #fff1f3;
  --rose-100: #ffe0e6;
  --rose-200: #ffc4d0;
  --rose-300: #ff9bb0;
  --rose-400: #fb7193;
  --rose-500: #f04e79;   /* primary rose */
  --rose-600: #d63565;
  --rose-700: #b32551;

  --plum-700: #5b2347;
  --plum-900: #38152b;

  --cream:    #fff8f4;
  --cream-2:  #fdeee8;
  --paper:    #ffffff;

  --ink:      #2a1f29;   /* near-black warm */
  --ink-soft: #5d4f5a;
  --ink-mute: #8a7b87;
  --line:     #f0dfe3;

  --amber:    #f59e0b;

  --radius:   18px;
  --radius-lg:26px;
  --radius-sm:12px;

  --shadow-sm: 0 1px 2px rgba(56,21,43,.06), 0 2px 8px rgba(56,21,43,.05);
  --shadow-md: 0 6px 24px rgba(214,53,101,.10), 0 2px 8px rgba(56,21,43,.06);
  --shadow-lg: 0 18px 50px rgba(214,53,101,.18);

  --maxw: 1120px;
  --font-sans: "Plus Jakarta Sans","Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-serif:"Fraunces","Georgia",serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--rose-50), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, #fff4ef, transparent 55%),
    var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--rose-600); text-decoration: none; }
a:hover { color: var(--rose-700); }

h1,h2,h3 { font-family: var(--font-serif); line-height: 1.12; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rose-600); background: var(--rose-50);
  padding: .4em .9em; border-radius: 999px; border: 1px solid var(--rose-100);
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.center { text-align: center; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rose-500), var(--rose-600));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost {
  background: var(--paper); color: var(--rose-700);
  border-color: var(--rose-200); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--rose-50); color: var(--rose-700); }
.btn-lg { font-size: 1.1rem; padding: 1.05em 1.9em; }
.btn-block { width: 100%; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,244,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .55em; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo-dot {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brand .brand-name { font-family: var(--font-serif); letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; padding: .5em .8em; border-radius: 999px; }
.nav-links a:hover { color: var(--rose-700); background: var(--rose-50); }
.nav-links a.active { color: var(--rose-700); background: var(--rose-50); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--rose-600); }
.hero-sub { font-size: 1.25rem; color: var(--ink-soft); max-width: 30ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-trust { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-mute); }
.hero-trust span { display: inline-flex; align-items: center; gap: .4em; }

.hero-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at 90% 0%, var(--rose-50), transparent 60%);
}
.hero-card h3 { display: flex; align-items: center; gap: .5em; }
.mini-q { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; background: var(--cream); }
.mini-q .q { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.mini-q .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .85rem; font-weight: 600; padding: .45em .9em; border-radius: 999px;
  border: 1px solid var(--rose-200); background: var(--paper); color: var(--rose-700);
}

/* ---- Cards / grids ---------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); }

.step-num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; color: #fff; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
}

/* ---- Pick cards ------------------------------------------------------- */
.pick {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease; position: relative;
}
.pick:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pick.featured { border-color: var(--rose-300); box-shadow: var(--shadow-md); }
.pick-ribbon {
  position: absolute; top: 16px; right: -34px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--rose-500), var(--rose-600)); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 44px; box-shadow: var(--shadow-sm);
}
.pick-head { padding: 22px 22px 0; }
.pick-rank { font-family: var(--font-serif); font-size: .9rem; color: var(--rose-600); font-weight: 700; }
.pick-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin: 2px 0 4px; }
.pick-tagline { color: var(--ink-soft); font-size: .96rem; }
.pick-score {
  display: inline-flex; align-items: baseline; gap: .25em; margin-top: 10px;
  background: var(--rose-50); border: 1px solid var(--rose-100); color: var(--rose-700);
  padding: .35em .8em; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.pick-body { padding: 16px 22px; flex: 1; }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick-list li { display: flex; gap: .6em; align-items: flex-start; margin-bottom: 8px; font-size: .94rem; color: var(--ink-soft); }
.pick-list li i { color: var(--rose-500); margin-top: 3px; flex-shrink: 0; }
.pick-list li.con i { color: var(--ink-mute); }
.pick-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 8px; }
.tag { font-size: .78rem; font-weight: 600; color: var(--plum-700); background: var(--cream-2); border: 1px solid var(--line); padding: .35em .75em; border-radius: 999px; }
.pick-foot { padding: 14px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pick-price { font-size: .9rem; color: var(--ink-mute); }
.pick-price strong { color: var(--ink); }

/* ---- FTC / disclosure banner ----------------------------------------- */
.ftc-strip {
  background: var(--rose-50); border-bottom: 1px solid var(--rose-100);
  font-size: .82rem; color: var(--plum-700); text-align: center; padding: 8px 16px;
}
.ftc-strip a { color: var(--rose-700); text-decoration: underline; font-weight: 600; }

.disclosure-box {
  background: var(--cream-2); border: 1px dashed var(--rose-200); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .85rem; color: var(--ink-soft);
}
.disclosure-box strong { color: var(--plum-700); }

/* ---- FAQ -------------------------------------------------------------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-family: var(--font-sans); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q i { color: var(--rose-500); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 18px; color: var(--ink-soft); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--plum-900); color: #e9d8e2; margin-top: 60px; }
.site-footer a { color: #f6c8d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 56px 0 30px; }
.footer-brand { display: flex; align-items: center; gap: .55em; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 12px; }
.footer-brand .logo-dot { width: 30px; height: 30px; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: .95rem; }
.footer-disclosure { font-size: .82rem; color: #c7a9bb; max-width: 42ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; color: #b394a6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--rose-500), var(--rose-700));
  border-radius: var(--radius-lg); color: #fff; padding: 48px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe1e9; }
.cta-band .btn-primary { background: #fff; color: var(--rose-700); }
.cta-band .btn-primary:hover { background: var(--rose-50); color: var(--rose-700); }

/* ---- Quiz island ------------------------------------------------------ */
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.quiz-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 34px; position: relative; overflow: hidden;
}
.quiz-progress { height: 8px; background: var(--rose-50); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--rose-400), var(--rose-600)); border-radius: 999px; transition: width .35s ease; }
.quiz-step-label { font-size: .85rem; font-weight: 700; color: var(--rose-600); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.quiz-question { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 20px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  text-align: left; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 12px; transition: border-color .15s, background .15s, transform .1s;
}
.quiz-option:hover { border-color: var(--rose-300); background: var(--rose-50); }
.quiz-option.selected { border-color: var(--rose-500); background: var(--rose-50); box-shadow: inset 0 0 0 1px var(--rose-400); }
.quiz-option .opt-emoji { font-size: 1.4rem; }
.quiz-option .opt-desc { font-weight: 500; color: var(--ink-mute); font-size: .85rem; display: block; margin-top: 2px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.quiz-back { background: none; border: 0; color: var(--ink-mute); font-weight: 600; cursor: pointer; font-family: var(--font-sans); font-size: .95rem; }
.quiz-back:hover { color: var(--ink); }
.quiz-back:disabled { opacity: 0; pointer-events: none; }

/* Quiz result */
.quiz-result { text-align: center; }
.result-badge {
  display: inline-flex; align-items: center; gap: .5em; background: var(--rose-50); color: var(--rose-700);
  border: 1px solid var(--rose-100); padding: .5em 1.1em; border-radius: 999px; font-weight: 700; margin-bottom: 16px;
}
.result-match { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; text-align: left; }
.result-name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; }
.result-why { color: var(--ink-soft); margin: 6px 0 0; }
.result-runners { display: grid; gap: 10px; margin-top: 14px; }
.runner { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.runner .runner-name { font-weight: 700; }

/* ---- AgeGate modal ---------------------------------------------------- */
.agegate {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(56,21,43,.55); backdrop-filter: blur(4px);
}
.agegate.show { display: flex; }
.agegate-card {
  background: var(--paper); border-radius: var(--radius-lg); max-width: 440px; width: 100%;
  padding: 34px; text-align: center; box-shadow: var(--shadow-lg);
}
.agegate-card .ag-icon { font-size: 2.4rem; color: var(--rose-500); margin-bottom: 10px; }
.agegate-actions { display: flex; gap: 12px; margin-top: 20px; }
.agegate-actions .btn { flex: 1; }
.agegate small { display: block; margin-top: 16px; color: var(--ink-mute); font-size: .8rem; }

/* ---- Misc ------------------------------------------------------------- */
.page-head { padding: 56px 0 8px; }
.page-head .eyebrow { margin-bottom: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.prose p { font-size: 1.05rem; }
.prose h2 { margin-top: 36px; }
.prose ul { color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8em 1em; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 22px; }
  .quiz-card { padding: 22px; }
  .quiz-question { font-size: 1.3rem; }
}
