:root {
  --blue: #155eef; --blue-dark: #1048c7; --ink: #172033; --muted: #697586;
  --line: #e5eaf2; --bg: #f6f8fc; --white: #fff; --soft: #eef4ff;
  --green: #12a875; --danger: #c93742; --shadow: 0 12px 34px rgba(20, 40, 90, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
.topbar { height: 72px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1040px)/2)); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 650; letter-spacing: -.03em; font-size: 19px; }
.brand b { color: var(--blue); }
.brand-mark { width: 36px; height: 36px; display: inline-grid; place-items: center; background: linear-gradient(145deg,#3678ff,#155eef); color: white; font-weight: 800; border-radius: 12px; box-shadow: 0 5px 12px #155eef33; }
.shell { max-width: 960px; margin: 0 auto; padding: 0 22px; }
.hero { padding: 62px 0 44px; max-width: 690px; }
.eyebrow { color: #68758b; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .13em; margin: 0 0 12px; }
.eyebrow.blue { color: var(--blue); margin-bottom: 6px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; box-shadow: 0 0 0 4px #12a87518; }
h1 { font-size: clamp(42px, 8vw, 68px); line-height: 1.02; letter-spacing: -.065em; margin: 0 0 20px; font-weight: 820; }
h1 span { color: var(--blue); }
.hero > p { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 0 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { border: 1px solid transparent; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; transition: transform .15s, background .15s; }
.button:active { transform: scale(.98); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 5px 14px #155eef26; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { border-color: #d8e0ec; background: white; color: var(--ink); }
.button-soft { background: var(--soft); color: var(--blue); }
.trust-line { color: #66748a; font-size: 12px; margin-top: 20px; }
.trust-line span { color: var(--green); margin-right: 5px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 4vw, 30px); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.04em; margin: 0; }
.question-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--soft); color: var(--blue); font-weight: 900; font-size: 22px; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 11px; }
label { display: block; font-size: 12px; font-weight: 750; margin: 17px 0 7px; }
.optional { color: #98a2b3; font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #dce3ed; background: #fff; color: var(--ink); border-radius: 11px; padding: 12px 13px; outline: none; transition: border .15s, box-shadow .15s; }
input:focus, textarea:focus { border-color: #79a4ff; box-shadow: 0 0 0 3px #155eef15; }
textarea { resize: vertical; min-height: 86px; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.questions-section { padding: 54px 0 40px; }
.questions-heading { margin-bottom: 18px; }
.count-pill { color: #64748b; background: #eaf0f8; border-radius: 100px; padding: 5px 10px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.search-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: white; padding: 5px 10px; border-radius: 13px; margin-bottom: 18px; }
.search-row input { border: 0; box-shadow: none; padding: 9px 3px; min-width: 0; }
.search-icon { color: #8a97ab; font-size: 24px; transform: rotate(-20deg); }
.clear-search { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 700; cursor: pointer; }
.question-list { display: grid; gap: 13px; }
.question-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 19px; }
.question-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #8a96a8; font-size: 11px; margin-bottom: 10px; }
.anonymous-badge { display: inline-flex; align-items: center; gap: 5px; color: #375ca7; background: #edf3ff; border-radius: 7px; padding: 4px 7px; font-weight: 750; }
.question-card h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 7px; overflow-wrap: anywhere; }
.question-card p { color: #637087; font-size: 13px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #eff2f6; }
.text-button { border: 0; padding: 6px 8px; background: transparent; color: #53627a; font-size: 12px; font-weight: 750; cursor: pointer; border-radius: 8px; }
.text-button:hover { background: #f0f4fa; color: var(--blue); }
.answers { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 13px; }
.answer { padding: 11px 12px; border-radius: 10px; background: #f7f9fc; margin-top: 8px; }
.answer p { color: #435066; }
.answer-meta { font-size: 10px; color: #8b96a7; margin-bottom: 4px; }
.answer-form { margin-top: 12px; }
.answer-form textarea { min-height: 70px; }
.answer-form .button { margin-top: 8px; }
.empty-state { text-align: center; padding: 34px 18px; border: 1px dashed #d8e0ec; border-radius: 15px; color: var(--muted); font-size: 13px; }
.empty-state strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.skeleton { height: 130px; border-radius: 16px; background: linear-gradient(90deg,#edf1f7,#f8faff,#edf1f7); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.load-more { width: 100%; margin-top: 15px; }
.message { font-size: 12px; margin-top: 9px; color: var(--muted); }
.message.error { color: var(--danger); }
.message.success { color: #07845b; }
.admin-panel { margin: 20px 0 45px; }
.admin-tag { background: #e9f9f2; color: #087c56; font-size: 10px; font-weight: 850; padding: 5px 8px; border-radius: 7px; }
.admin-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-item:last-child { border-bottom: 0; }
.admin-item h3 { font-size: 15px; margin: 0 0 5px; }
.admin-actions { display: flex; gap: 8px; margin-top: 10px; }
.button-small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.button-danger { background: #fff0f0; color: var(--danger); border-color: #f4d0d2; }
footer { border-top: 1px solid var(--line); padding: 27px 0 22px; margin-top: 20px; color: #7a8799; font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 15px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.small-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
footer p { margin: 10px 0; }
.footer-links { display: flex; gap: 16px; margin-top: 13px; }
.guidelines { background: #eef2f8; border-radius: 10px; padding: 12px; margin-top: 18px; color: #637087; font-size: 11px; }
.copyright { font-size: 10px; margin-top: 18px; }
.modal[hidden], [hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: #0e1931a8; backdrop-filter: blur(3px); }
.modal-card { position: relative; background: white; width: min(100%, 420px); max-height: 92vh; overflow-y: auto; padding: 27px; border-radius: 20px; box-shadow: 0 25px 90px #06122d55; }
.modal-close { position: absolute; top: 12px; right: 15px; background: transparent; border: 0; font-size: 28px; color: #8390a3; cursor: pointer; }
.modal-brand { margin-bottom: 22px; }
.modal-card h2 { font-size: 25px; margin-bottom: 7px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #f0f3f8; border-radius: 10px; margin: 18px 0; }
.auth-tab { background: transparent; border: 0; border-radius: 8px; padding: 9px; font-size: 12px; font-weight: 750; color: #6c788c; cursor: pointer; }
.auth-tab.active { background: white; color: var(--blue); box-shadow: 0 2px 7px #1c315014; }
.full-width { width: 100%; margin-top: 19px; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #14213b; color: white; border-radius: 11px; padding: 12px 16px; font-size: 13px; max-width: calc(100% - 32px); box-shadow: var(--shadow); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 760px) { .hero { padding-top: 78px; } .ask-panel { max-width: 760px; } .question-list { grid-template-columns: 1fr 1fr; align-items: start; } .question-card { height: 100%; } }
@media (max-width: 480px) { .topbar { height: 64px; padding: 0 16px; } .shell { padding: 0 15px; } .hero { padding-top: 43px; } .hero > p { font-size: 15px; } .form-bottom { align-items: flex-start; flex-direction: column; } .form-bottom .button { width: 100%; } .question-card { padding: 15px; } .section-heading h2 { font-size: 21px; } .modal-card { padding: 23px 19px; } }
