/* ScholarMind AI — landing and public pages */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.site-nav { display: none; gap: 1.5rem; } .site-nav a { color: var(--muted); font-weight: 500; } .site-nav a:hover { color: var(--text); text-decoration: none; }
.head-actions { display: flex; gap: .5rem; align-items: center; }
@media (min-width: 820px) { .site-nav { display: flex; } }
@media (max-width: 420px) { .head-actions .btn-ghost.login-link { display: none; } }

.hero { padding: 3.5rem 0 3rem; background: radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--violet) 18%, transparent), transparent), radial-gradient(800px 400px at 0% 0%, color-mix(in srgb, var(--blue) 16%, transparent), transparent); }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: .3rem .8rem; border-radius: 99px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.grad { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.hero .assure { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); } .hero .assure span { display: inline-flex; gap: .35rem; align-items: center; }
.preview { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 24px 60px rgba(30, 27, 90, .16); padding: 1rem; max-width: 520px; width: 100%; justify-self: center; }
.preview .bar { display: flex; gap: .4rem; margin-bottom: .8rem; } .preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.pv-msg { padding: .7rem .9rem; border-radius: 14px; font-size: .92rem; margin-bottom: .6rem; max-width: 92%; } .pv-user { background: var(--primary); color: var(--on-primary); margin-left: auto; border-bottom-right-radius: 4px; } .pv-bot { background: var(--surface-2); border-bottom-left-radius: 4px; }
.pv-bot b { color: var(--primary); } .pv-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; } .pv-chips span { font-size: .75rem; padding: .2rem .6rem; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-weight: 600; }
@media (min-width: 900px) { .hero { padding: 5rem 0 4.5rem; } .hero .wrap { grid-template-columns: 1.1fr .9fr; } }

section.block { padding: 3.5rem 0; } section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; } .section-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); } .section-head p { color: var(--muted); }
.feature { display: flex; flex-direction: column; gap: .5rem; } .feature h3 { font-size: 1.1rem; margin: .4rem 0 0; } .feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-top: 3.2rem; } .step::before { counter-increment: s; content: counter(s); position: absolute; top: 1rem; left: 1.25rem; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 700; }
.step h3 { font-size: 1.05rem; } .step p { color: var(--muted); margin: 0; }
.plan-card { max-width: 520px; margin: 0 auto; text-align: center; } .plan-card ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; text-align: left; display: grid; gap: .5rem; } .plan-card li { display: flex; gap: .6rem; align-items: flex-start; } .plan-card li svg { color: var(--success); margin-top: 3px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .2rem 1rem; margin-bottom: .6rem; max-width: 760px; margin-inline: auto; } .faq summary { cursor: pointer; font-weight: 600; padding: .8rem 0; min-height: 44px; } .faq details p { color: var(--muted); padding-bottom: .5rem; }
.cta-band { background: linear-gradient(135deg, #1e3a8a, #4f46e5 55%, #6d28d9); color: #fff; border-radius: 24px; padding: 2.5rem 1.5rem; text-align: center; } .cta-band p { color: #dbe0ff; max-width: 520px; margin: .4rem auto 1.4rem; } .cta-band .btn-primary { background: #fff; color: #3730a3; } .cta-band .btn-primary:hover { background: #eef0ff; }
.site-foot { border-top: 1px solid var(--border); padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; } .site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; } .site-foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; } .site-foot a { color: var(--muted); }

/* auth */
.auth-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; background: radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--violet) 14%, transparent), transparent), radial-gradient(700px 360px at 0% 100%, color-mix(in srgb, var(--blue) 12%, transparent), transparent), var(--bg); }
.auth-top { padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.auth-main { display: grid; place-items: center; padding: 1rem 1.1rem 3rem; }
.auth-card { width: 100%; max-width: 440px; } .auth-card h1 { font-size: 1.6rem; } .auth-card .sub { color: var(--muted); margin-bottom: 1.4rem; }
.auth-foot { text-align: center; margin-top: 1.2rem; color: var(--muted); font-size: .93rem; }
.two-col { display: grid; gap: 0 .8rem; } @media (min-width: 480px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* legal / prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.1rem 4rem; } .prose h1 { font-size: 2rem; } .prose h2 { font-size: 1.25rem; margin-top: 1.8rem; } .prose li { margin: .3rem 0; }
.head-actions .btn { white-space: nowrap; }
