/* theniftiest.com - hand-written stylesheet for the rebuilt public pages (2026-09-23).
   Tokens mirror the original Lovable theme so the site keeps its look:
   cyan primary, orange accent, purple, navy text, 1.5rem radius, Outfit + Public Sans. */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --bg: hsl(210 20% 98%);
  --fg: hsl(220 30% 15%);
  --card: #fff;
  --muted: hsl(210 15% 94%);
  --muted-fg: hsl(220 10% 45%);
  --line: hsl(220 15% 90%);
  --primary: hsl(185 85% 45%);
  --primary-dark: hsl(185 85% 36%);
  --primary-soft: hsl(185 85% 45% / .1);
  --accent: hsl(25 95% 55%);
  --purple: hsl(270 60% 50%);
  --navy: hsl(220 30% 15%);
  --footer: #2a1738;
  --radius: 1.5rem;
  --shadow: 0 4px 20px -4px rgb(27 34 50 / .08);
  --shadow-hover: 0 10px 30px -8px rgb(27 34 50 / .16);
  --heading: "Outfit", sans-serif;
  --body: "Public Sans", sans-serif;
  --wide: 1100px; --mid: 900px; --narrow: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--fg); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.wrap.mid { max-width: var(--mid); }
.wrap.narrow { max-width: var(--narrow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* chrome */
header.site { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
header.site img { height: 56px; width: auto; }
header.site nav a { font: 600 .95rem var(--heading); color: var(--fg); text-decoration: none; margin-left: 22px; }
header.site nav a:hover { color: var(--primary-dark); }
@media (max-width: 640px) { header.site .wrap { height: 60px; } header.site img { height: 44px; } header.site nav a { margin-left: 14px; font-size: .9rem; } }
footer.site { background: var(--footer); color: rgb(255 255 255 / .75); margin-top: 64px; padding: 48px 0 32px; font-size: .95rem; }
footer.site .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer.site img { height: 72px; width: auto; margin-left: -10px; }
footer.site h4 { color: rgb(255 255 255 / .45); margin-bottom: 10px; }
footer.site a { color: rgb(255 255 255 / .8); text-decoration: none; display: block; margin: 6px 0; }
footer.site a:hover { color: #fff; }
footer.site .fine { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 32px; padding-top: 22px; font-size: .85rem; color: rgb(255 255 255 / .55); }
.disclosure { background: var(--muted); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted-fg); padding: 8px 0; margin: 0; }
.disclosure b { color: var(--fg); }

/* buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font: 700 1rem var(--heading); padding: 14px 26px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .08s, background .15s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.block { display: block; text-align: center; }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: hsl(25 95% 47%); }
.arrow { font: 600 .95rem var(--heading); color: var(--primary-dark); text-decoration: none; }
.arrow:hover { text-decoration: underline; }

/* heroes */
.hero { position: relative; color: #fff; padding: clamp(56px, 9vw, 110px) 0; overflow: hidden; background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgb(27 34 50 / .75); }
.hero .wrap { position: relative; }
.hero .meta { display: flex; gap: 14px; align-items: center; font-size: .95rem; opacity: .9; margin-bottom: 22px; }
.hero .meta .dot { opacity: .5; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .sub { font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; opacity: .92; max-width: 42rem; margin: 0; }
.hero.soft { color: var(--fg); background: none; padding: 0; }
.hero.soft::before { display: none; }
.hero.soft .bg { position: relative; min-height: 480px; height: 70vh; }
.hero.soft .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.soft .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, hsl(210 20% 98% / .6) 45%, transparent 100%); }
.hero.soft .copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 20px 56px; }
.hero.soft h1 { color: var(--fg); max-width: 48rem; }
.hero.soft .sub { color: var(--muted-fg); font-style: normal; font-size: 1.15rem; max-width: 36rem; }
.eyebrow { font: 600 .8rem var(--heading); text-transform: uppercase; letter-spacing: .18em; color: var(--primary-dark); margin-bottom: 12px; }

/* sections */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section.alt { background: hsl(210 15% 94% / .35); }
.section.tight { padding: 28px 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 40px; }
.section-head p { font-size: 1.1rem; color: var(--muted-fg); margin: 0; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: hsl(220 30% 15% / .88); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; }
.prose blockquote { margin: 1.6rem 0; padding: 18px 24px; border-left: 4px solid var(--primary); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; font-style: italic; color: var(--fg); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* author */
.author { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.author h3 { font-size: 1.1rem; margin-bottom: 4px; }
.author p { margin: 0; font-size: .95rem; color: var(--muted-fg); }
.author.compact { border: 0; box-shadow: none; background: none; padding: 0; }
.author.compact img { width: 56px; height: 56px; }

/* product cards */
.products { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.product { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-top: 4px solid var(--primary); display: flex; flex-direction: column; }
.product .rank { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font: 700 .9rem var(--heading); padding: 4px 12px; border-radius: 999px; z-index: 1; }
.product > img { width: 100%; height: 220px; object-fit: cover; }
.product .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product .brand { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.product .brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: var(--muted); padding: 4px; }
.product .brand h3 { margin: 0; }
.product .brand p { margin: 0; font-size: .9rem; color: var(--muted-fg); }
.product h4.pros { color: var(--accent); } .product h4.cons { color: var(--primary-dark); }
.product ul { list-style: none; padding: 0; margin: 0 0 18px; }
.product li { position: relative; padding-left: 26px; font-size: .95rem; margin: 6px 0; }
.product li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.product .pros + ul li::before { content: "\2713"; color: var(--accent); }
.product .cons + ul li::before { content: "\2715"; color: var(--primary-dark); }
.product .btn { margin-top: auto; }

/* closer look */
.closer { display: flex; gap: 36px; align-items: center; margin: 44px 0; }
.closer > img { width: 40%; flex: none; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.closer h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.closer .consider { background: var(--muted); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0 22px; }
.closer .consider h4 { color: var(--accent); margin-bottom: 6px; }
.closer .consider p { margin: 0; font-size: .95rem; color: var(--muted-fg); }
.closer:nth-of-type(even) { flex-direction: row-reverse; }
@media (max-width: 720px) { .closer, .closer:nth-of-type(even) { flex-direction: column; } .closer > img { width: 100%; } }

/* picks */
.picks { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pick .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 14px; color: var(--primary-dark); }
.pick .icon svg { width: 24px; height: 24px; }
.pick h3 { margin-bottom: 2px; }
.pick .tag { font: 600 .9rem var(--heading); color: var(--primary-dark); margin-bottom: 12px; }
.pick p { font-size: .95rem; color: var(--muted-fg); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 1.05rem var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\203A"; font-size: 1.6rem; line-height: 1; color: var(--muted-fg); transform: rotate(90deg); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-90deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted-fg); font-size: .98rem; }

/* sleep tips */
.tips h3.cat { font-size: 1.6rem; margin: 40px 0 16px; color: var(--c, var(--primary)); }
.tip { display: block; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--primary)); border-radius: var(--radius); margin-bottom: 12px; padding: 0 20px; }
.tip summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 0; font: 600 1.1rem var(--heading); }
.tip summary::-webkit-details-marker { display: none; }
.tip .num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--heading); background: color-mix(in srgb, var(--c, var(--primary)) 14%, transparent); color: var(--c, var(--primary)); }
.tip summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--muted-fg); }
.tip[open] summary::after { content: "\2212"; }
.tip p { margin: 0 0 20px 52px; color: var(--muted-fg); }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; }
.callout p { color: var(--muted-fg); margin: 0; }
.callout p + p { margin-top: 1em; }

/* home cards */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.feature:hover, .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.feature img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature .body, .card .body { padding: 28px; }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { font-size: 1.25rem; }
.cat { display: inline-block; font: 700 .72rem var(--heading); text-transform: uppercase; letter-spacing: .12em; color: var(--primary-dark); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.feature p, .card p { color: var(--muted-fg); font-size: .98rem; }
.read { font: 600 .95rem var(--heading); color: var(--primary-dark); }
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } .feature img { min-height: 220px; } }

/* review-page components (GLP-1 and Keeps TRT) */
.hero.primary { background: linear-gradient(135deg, var(--primary) 0%, hsl(185 85% 40%) 60%, hsl(185 85% 34%) 100%); text-align: center; }
.hero.primary::before { display: none; }
.hero.primary .sub { font-style: normal; margin: 0 auto 22px; }
.hero.light { color: var(--fg); background: linear-gradient(to bottom, hsl(240 25% 96%), var(--bg)); padding-bottom: 40px; }
.hero.light::before { display: none; }
.hero.light h1 { color: var(--fg); }
.hero.light .sub { color: var(--muted-fg); font-style: normal; margin: 0 auto 22px; }
.center { text-align: center; }
.meta.center { justify-content: center; color: var(--muted-fg); }
.pill { display: inline-block; font: 700 .78rem var(--heading); text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); margin-bottom: 14px; }
.pill.gold { background: #facc15; color: hsl(220 30% 15%); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }
.chips span { font: 600 .85rem var(--heading); padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .16); }
.chips.dark span, .chips.center span { background: var(--primary-soft); color: var(--primary-dark); }
.hero .small { font-size: .9rem; opacity: .9; margin: 0; }
.btn.big { font-size: 1.15rem; padding: 18px 34px; }
.btn.small { padding: 10px 18px; font-size: .95rem; }
.btn.green { background: #22c55e; } .btn.green:hover { background: #16a34a; }
.btn.outline { background: var(--card); color: var(--primary-dark); border: 2px solid var(--line); box-shadow: none; }
button.btn { border: 0; cursor: pointer; font-family: var(--heading); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; margin: 8px 0 12px; }
.stats b { display: block; font: 700 2rem var(--heading); color: var(--primary-dark); }
.stats span { color: var(--muted-fg); font-size: .95rem; }
.fine { font-size: .82rem; color: var(--muted-fg); }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 28px; }
.warn { display: flex; flex-direction: column; background: hsl(0 84% 60% / .05); border: 1px solid hsl(0 84% 60% / .2); border-radius: var(--radius); padding: 24px; }
.warn h3 { font-size: 1.1rem; }
.warn p, .tint p { margin: 0; color: var(--muted-fg); font-size: .95rem; }
.callout.left { text-align: left; background: linear-gradient(90deg, var(--primary-soft), hsl(185 85% 45% / .04), var(--primary-soft)); border-color: hsl(185 85% 45% / .25); }
.callout.left h3 { margin-bottom: 8px; }
.pick .quote { color: var(--fg); font-style: italic; font-size: 1rem; }
.picks.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.provider { background: var(--card); border: 2px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.provider .banner { background: linear-gradient(90deg, #fcd34d, #f6b93b); color: #4a3108; font: 800 .95rem var(--heading); text-align: center; padding: 12px 16px; }
.provider .body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; padding: 32px; }
.provider .rating { color: var(--accent); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary-dark); font-weight: 800; }
.pricebox { background: var(--muted); border-radius: var(--radius); padding: 24px; text-align: center; align-self: start; }
.pricebox .was { text-decoration: line-through; color: var(--muted-fg); margin: 0; font-size: .95rem; }
.pricebox .price, .offer .price, .cmp .price { font: 800 2.6rem var(--heading); color: var(--primary-dark); margin: 4px 0; }
.pricebox .price small, .cmp .price small, .qmatch .price small { font-size: 1rem; font-weight: 600; color: var(--muted-fg); }
.pricebox .then, .cmp .then, .qmatch .then { font-size: .9rem; color: var(--muted-fg); margin: 0 0 14px; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 18px; }
.cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cmp.top { border: 2px solid var(--primary); }
.cmp h3 { margin-bottom: 6px; }
.cmp .promo { display: inline-block; background: linear-gradient(90deg, #fcd34d, #f6b93b); color: #4a3108; font: 800 .82rem var(--heading); padding: 6px 12px; border-radius: 10px; margin: 0 0 12px; }
.cmp .price { font-size: 1.7rem; }
.cmp dl { margin: 0 0 18px; font-size: .92rem; }
.cmp dt { font: 700 .72rem var(--heading); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); margin-top: 10px; }
.cmp dd { margin: 2px 0 0; }
.cmp .btn { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; text-align: center; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 24px 24px; box-shadow: var(--shadow); }
.step .n { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--heading); box-shadow: var(--shadow); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted-fg); font-size: .95rem; margin: 0 0 8px; }
.step .note { color: var(--primary-dark); font-weight: 600; font-size: .88rem; }
.primary-band { background: linear-gradient(135deg, var(--primary), hsl(185 85% 36%)); color: #fff; }
.primary-band h2 { color: #fff; }
.primary-band .sub { opacity: .9; font-size: 1.15rem; max-width: 40rem; margin: 0 auto 26px; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0 0 26px; }
.mini { display: block; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25); border-radius: var(--radius); padding: 18px; color: #fff; text-decoration: none; }
.mini:hover { background: rgb(255 255 255 / .2); }
.mini b { display: block; font: 700 1.15rem var(--heading); }
.mini span { display: block; font: 800 1.4rem var(--heading); margin: 6px 0 2px; }
.mini em { display: block; font-style: normal; font-size: .82rem; opacity: .9; }
.tint { background: var(--muted); border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow); }
.tint.warm { background: linear-gradient(135deg, var(--primary-soft), hsl(25 95% 55% / .15)); }
.tint .emoji { font-size: 3rem; display: block; margin-bottom: 10px; }
.tint p b { color: var(--fg); }
blockquote.center { max-width: 42rem; margin: 32px auto 0; padding: 18px 24px; border-left: 4px solid var(--primary); font-style: italic; font-size: 1.1rem; }
blockquote.center footer { font-style: normal; font-size: .9rem; color: var(--muted-fg); margin-top: 8px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.quotecard { background: linear-gradient(135deg, var(--primary), hsl(185 85% 36%)); color: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); font: italic 1.2rem/1.5 var(--body); }
.quotecard p { margin: 0; }
.offer { background: var(--card); border: 2px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.offer .top { background: var(--primary); color: #fff; text-align: center; padding: 32px 24px; }
.offer .top .pill { background: var(--accent); color: #fff; }
.offer .top h2 { color: #fff; margin-bottom: 4px; }
.offer .price { color: #fff; font-size: 3.4rem; }
.offer .price s { font-size: 1.4rem; opacity: .7; margin-left: 10px; }
.offer .body { padding: 32px; }
.offer .body > p:first-child { text-align: center; font-size: 1.05rem; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; background: rgb(255 255 255 / .95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgb(0 0 0 / .08); padding: 10px 0; transform: translateY(110%); transition: transform .25s; z-index: 50; }
.stickybar.show { transform: none; }
.stickybar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stickybar span { font: 700 .95rem var(--heading); }
@media (max-width: 720px) { .provider .body, .split { grid-template-columns: 1fr; } .stickybar span { display: none; } .stickybar .btn { width: 100%; text-align: center; } }

/* quiz modal */
.qmodal { position: fixed; inset: 0; z-index: 200; background: rgb(0 0 0 / .7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.qcard { background: var(--bg); border-radius: var(--radius); padding: 28px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-hover); }
.qbar { height: 8px; border-radius: 999px; background: var(--muted); margin-bottom: 22px; overflow: hidden; }
.qbar div { height: 100%; background: var(--primary); }
.qopts { display: grid; gap: 10px; }
.qopts button { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font: 600 1rem var(--heading); cursor: pointer; }
.qopts button:hover { border-color: var(--primary); }
.qnav { display: flex; justify-content: space-between; margin-top: 20px; }
.qnav button, .qclose { background: none; border: 0; color: var(--muted-fg); cursor: pointer; font: 600 .9rem var(--heading); }
.qwait { text-align: center; padding: 32px 0; }
.spin { width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); margin: 0 auto 18px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qresult { text-align: center; }
.qmatch { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: left; margin: 18px 0; }
.qmatch .name { font: 800 1.5rem var(--heading); margin: 0; }
.qmatch .price { font: 800 2rem var(--heading); color: var(--primary-dark); margin: 4px 0 0; }
.qmatch ul { margin: 12px 0 0; padding-left: 1.2em; font-size: .92rem; color: var(--muted-fg); }

/* legal */
.legal h1 { font-size: 2.2rem; margin: 40px 0 20px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal ul { padding-left: 1.3em; }
.legal blockquote { margin: 1.4rem 0; padding: 14px 20px; border-left: 4px solid var(--primary); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
