/* Eventogy Help (eventogy.help): shared styles for the chat-first homepage,
   the answer page (/ask) and /guides. Guide pages keep their own styles.
   Colour rule: primary purple = action (buttons, links, active states);
   secondary azure = "look here" (highlights, icon tiles, chips, annotations).
   --ev-sec-500 is a fill only, never text. */
:root {
  --ev-primary: #593DF3;
  --ev-ink: #020617;
  --ev-ink-muted: #6B7280;
  --ev-dark: #281B6D;
  --ev-border: #E6E4EC;
  --ev-sec-50: #E3F4FD;
  --ev-sec-200: #B5E3FB;
  --ev-sec-500: #38B2F0;
  --ev-sec-700: #0B6A9E;

  --ev-primary-hover: #4A30D0;
  --ev-primary-soft: #EEEAFE;
  --ev-ink-body: #374151;
  --ev-ink-sub: #4B5563;
  --ev-line: #EEEDF2;
  --ev-card-border: #DCD7F7;
  --ev-control-border: #C8C5D0;
  --ev-surface-muted: #F6F5FA;
  --ev-font-head: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ev-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ev-focus: 0 0 0 3px #fff, 0 0 0 5px var(--ev-primary);
}

/* Cross-document view transitions between the homepage and /ask. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--ev-font-body); color: var(--ev-ink); background: #fff;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
h1, h2, h3 { font-family: var(--ev-font-head); }
a { color: var(--ev-primary); }
a:hover { color: var(--ev-dark); }
:where(a, button, input, textarea):focus-visible { outline: none; box-shadow: var(--ev-focus); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ev-skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.ev-skip:focus { top: 12px; }

/* ---------- header ---------- */
.ev-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 20px 48px; border-bottom: 1px solid var(--ev-line); background: #fff;
}
.ev-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ev-brand img { display: block; height: 32px; width: auto; }
.ev-badge { font-size: 14px; font-weight: 500; color: var(--ev-primary); background: var(--ev-primary-soft); padding: 4px 10px; border-radius: 7px; line-height: 1.3; }
.ev-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 14px; font-weight: 500; }
.ev-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.ev-nav-links a { color: var(--ev-ink); text-decoration: none; padding: 4px 0; }
.ev-nav-links a:hover { color: var(--ev-primary); }
.ev-nav-links a[aria-current="page"] { color: var(--ev-primary); box-shadow: inset 0 -2px 0 var(--ev-primary); }

/* ---------- buttons ---------- */
.ev-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 10px 16px; border-radius: 8px; border: 1px solid transparent; white-space: nowrap;
}
.ev-btn svg { width: 16px; height: 16px; }
.ev-btn-primary { background: var(--ev-primary); color: #fff; }
.ev-btn-primary:hover { background: var(--ev-primary-hover); color: #fff; }
.ev-btn-secondary { background: #fff; color: var(--ev-ink); border-color: var(--ev-control-border); }
.ev-btn-secondary:hover { border-color: var(--ev-primary); color: var(--ev-primary); }
.ev-send {
  flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--ev-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.ev-send:hover { background: var(--ev-primary-hover); }
.ev-send:disabled { opacity: .5; cursor: default; }
.ev-send svg { width: 20px; height: 20px; }

/* ---------- chips ---------- */
.ev-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(89, 61, 243, .18); background: rgba(255, 255, 255, .85);
  font: inherit; font-size: 14px; color: var(--ev-ink); cursor: pointer; text-align: left;
}
.ev-chip:hover { border-color: var(--ev-primary); }
.ev-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ev-sec-500); }
.ev-dot--primary { background: var(--ev-primary); }

/* ---------- pill ---------- */
.ev-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.4;
  color: var(--ev-sec-700); background: var(--ev-sec-50); padding: 5px 10px; border-radius: 999px;
}
.ev-pill svg { width: 14px; height: 14px; flex: none; }

/* ---------- footer ---------- */
.ev-footer {
  margin-top: auto; border-top: 1px solid var(--ev-line); padding: 28px 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 14px; color: var(--ev-ink-muted);
}
.ev-footer p { margin: 0; }
.ev-footer a { font-weight: 500; text-decoration: none; }

/* ---------- /guides ---------- */
.ev-page { max-width: 1180px; width: 100%; margin: 0 auto; padding: 48px 24px 72px; }
.ev-page-head h1 { margin: 0 0 8px; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; color: var(--ev-dark); }
.ev-page-head p { margin: 0 0 32px; font-size: 16px; color: var(--ev-ink-sub); }
.ev-topic-section { margin: 0 0 40px; scroll-margin-top: 24px; }
.ev-topic-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.ev-topic-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.ev-topic-head p { margin: 0; font-size: 14px; color: var(--ev-ink-muted); }
.ev-guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ev-guide-card {
  height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; text-decoration: none; color: var(--ev-ink);
  border: 1px solid var(--ev-border); border-radius: 14px; background: #fff;
}
.ev-guide-card:hover { border-color: var(--ev-primary); color: var(--ev-ink); }
.ev-guide-card-title { font-family: var(--ev-font-head); font-weight: 500; font-size: 17px; }
.ev-guide-card-desc { font-size: 14px; line-height: 20px; color: var(--ev-ink-muted); flex: 1; }
.ev-guide-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; }
.ev-time { color: var(--ev-ink-muted); }
.ev-go { color: var(--ev-primary); font-weight: 600; }
.ev-soon { margin: 0; font-size: 14px; color: var(--ev-ink-muted); padding: 16px 20px; border: 1px dashed var(--ev-border); border-radius: 14px; }

@media (max-width: 720px) {
  /* Phone: brand and the main button share the top row, links underneath. */
  .ev-header { padding: 12px 16px; gap: 10px 12px; }
  .ev-brand { gap: 10px; }
  .ev-brand img { height: 26px; }
  .ev-badge { font-size: 13px; padding: 3px 8px; }
  .ev-nav { display: contents; font-size: 14px; }
  .ev-nav > .ev-btn { order: 2; margin-left: auto; padding: 9px 14px; }
  .ev-nav-links { order: 3; width: 100%; gap: 6px 20px; }
  .ev-footer { padding: 24px 16px; }
  .ev-page { padding: 32px 16px 56px; }
  .ev-page-head h1 { font-size: 28px; }
}

/* ---------- shared bits ---------- */
.ev-notice {
  font-size: 13.5px; line-height: 1.5; color: var(--ev-ink); text-align: left;
  background: #FFFBEB; border: 1px solid #F5D48A; border-radius: 10px; padding: 9px 12px;
}
.ev-linkbtn { font: inherit; font-weight: 600; color: var(--ev-primary); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ev-soon-tag { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--ev-ink-muted); }
.ev-soon-tag--dark { margin: 0; color: var(--ev-sec-200); white-space: nowrap; }

/* ---------- homepage ---------- */
.ev-hero {
  position: relative; overflow: hidden; margin: 16px; border-radius: 24px;
  background: linear-gradient(120deg, var(--ev-sec-50) 0%, #F3F0FF 50%, #E2DBFE 100%);
  padding: 56px 24px 48px; display: flex; flex-direction: column; align-items: center;
}
.ev-hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.ev-hero-glow--sec { width: 520px; height: 520px; left: -160px; top: -220px; background: radial-gradient(circle, rgba(56, 178, 240, .4) 0%, rgba(255, 255, 255, 0) 70%); }
.ev-hero-glow--primary { width: 600px; height: 600px; right: -200px; bottom: -320px; background: radial-gradient(circle, rgba(89, 61, 243, .28) 0%, rgba(89, 61, 243, 0) 70%); }
/* Wide enough for the headline on one line at 1280px+; the prompt card stays at 820px. */
.ev-hero-inner { position: relative; max-width: 980px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ev-hero h1 { margin: 0; font-weight: 600; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; color: var(--ev-dark); }
@media (max-width: 767px) { .ev-hero h1 { font-size: 36px; } }
.ev-hero-sub { margin: 0; font-size: 18px; line-height: 28px; color: var(--ev-ink-sub); }
.ev-prompt {
  width: 100%; max-width: 820px; margin-top: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--ev-card-border);
  box-shadow: 0 12px 40px rgba(40, 27, 109, .12); padding: 18px 18px 14px;
  display: flex; flex-direction: column; gap: 12px; text-align: left;
  view-transition-name: ev-question;
}
.ev-prompt:focus-within { border-color: var(--ev-primary); }
.ev-prompt-label { font-size: 12px; font-weight: 500; color: var(--ev-ink-muted); }
.ev-prompt textarea {
  border: 0; outline: none; resize: none; padding: 0; background: transparent;
  font: inherit; font-size: 17px; line-height: 26px; color: var(--ev-ink);
}
.ev-prompt textarea:focus-visible { box-shadow: none; }
.ev-prompt textarea::placeholder { color: #6B7280; }
.ev-prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-prompt-foot .ev-pill { min-width: 0; }
.ev-noscript { margin: 0; font-size: 14px; color: var(--ev-ink-sub); }
.ev-try-label { margin: 0; font-size: 14px; font-weight: 500; color: var(--ev-dark); }
.ev-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.ev-section { max-width: 1180px; width: 100%; margin: 0 auto; padding: 64px 24px 32px; }
#guides { padding-top: 40px; }
.ev-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ev-section-head h2 { margin: 0 0 6px; font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.ev-section-head p { margin: 0; font-size: 15px; color: var(--ev-ink-muted); }
.ev-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ev-topic {
  height: 100%; display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  border: 1px solid var(--ev-border); border-radius: 14px; background: #fff; color: var(--ev-ink); text-decoration: none;
}
a.ev-topic:hover { border-color: var(--ev-primary); color: var(--ev-ink); }
.ev-topic--soon { background: #FBFAFD; border-style: dashed; }
.ev-topic-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ev-sec-50); color: var(--ev-sec-700); display: flex; align-items: center; justify-content: center; }
.ev-topic-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.ev-topic-text { display: flex; flex-direction: column; gap: 4px; }
.ev-topic-title { font-family: var(--ev-font-head); font-weight: 500; font-size: 17px; }
.ev-topic-desc { font-size: 14px; line-height: 20px; color: var(--ev-ink-muted); }

#whats-new { padding-top: 24px; padding-bottom: 64px; scroll-margin-top: 16px; }
.ev-news {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--ev-dark); color: #fff;
  padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.ev-news-glow { position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(56, 178, 240, .4) 0%, rgba(40, 27, 109, 0) 70%); }
.ev-news-text { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.ev-eyebrow { margin: 0; font-size: 13px; font-weight: 500; color: var(--ev-sec-200); }
.ev-news h2 { margin: 0; font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.ev-news-text p:last-child { margin: 0; font-size: 15px; line-height: 22px; color: #CFC9F2; }
.ev-news-list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.ev-news-row {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.ev-news-title { flex: 1; font-size: 15px; font-weight: 500; }

/* ---------- answer page ---------- */
.ev-qband { background: linear-gradient(180deg, var(--ev-sec-50) 0%, #F7F5FF 60%, #fff 100%); padding: 32px 24px 0; }
.ev-qcard {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--ev-card-border);
  border-radius: 14px; padding: 16px 20px; box-shadow: 0 8px 28px rgba(40, 27, 109, .08);
}
.ev-qcard--lead { max-width: 1180px; margin: 0 auto; view-transition-name: ev-question; }
.ev-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ev-dark); color: #fff; display: flex; align-items: center; justify-content: center; }
.ev-avatar svg { width: 18px; height: 18px; }
.ev-avatar--sm { width: 30px; height: 30px; }
.ev-avatar--sm svg { width: 15px; height: 15px; }
.ev-qtext { margin: 0; flex: 1; min-width: 0; font-family: var(--ev-font-head); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ev-qtext--follow { font-size: 18px; }
.ev-qtime { flex: none; font-size: 13px; color: var(--ev-ink-muted); }
.ev-qcard--follow { margin-bottom: 24px; padding: 12px 16px; box-shadow: none; }

.ev-answer-layout { max-width: 1180px; width: 100%; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ev-answer-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ev-rail { flex: 1 1 300px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ev-turn + .ev-turn { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--ev-line); }
.ev-answer-body { display: flex; flex-direction: column; gap: 14px; }
.ev-answer-body .ev-pill { align-self: flex-start; }
.ev-summary { margin: 0; font-size: 17px; line-height: 28px; }
.ev-summary-sub { margin: 0; font-size: 15px; color: var(--ev-ink-body); }
.ev-answer-body--notice { padding: 18px 20px; border-radius: 14px; background: var(--ev-surface-muted); }

.ev-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.ev-step { display: flex; gap: 18px; }
.ev-step-n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ev-primary); color: #fff;
  font-family: var(--ev-font-head); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.ev-step-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-step-title { margin: 4px 0 0; font-weight: 500; font-size: 18px; line-height: 1.35; }
.ev-step-body { margin: 0; font-size: 15px; line-height: 24px; color: var(--ev-ink-body); }
.ev-step-body strong { color: var(--ev-ink); font-weight: 600; }

.ev-shot { margin: 4px 0 0; }
.ev-shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; text-align: left; }
.ev-shot-frame { position: relative; display: block; line-height: 0; overflow: hidden; border: 1px solid var(--ev-border); border-radius: 12px; background: #F3F4F6; }
.ev-shot-frame img { aspect-ratio: 1280 / 668; }
.ev-shot-frame img { display: block; width: 100%; height: auto; }
.ev-shot-btn:hover .ev-shot-frame { border-color: var(--ev-primary); }
.ev-hot { position: absolute; border: 2px solid var(--ev-sec-500); border-radius: 8px; box-shadow: 0 0 0 6px rgba(56, 178, 240, .2); pointer-events: none; }
.ev-hot-label {
  position: absolute; z-index: 2; white-space: nowrap; pointer-events: none;
  font-size: 12px; font-weight: 600; line-height: 1.3; color: #fff; background: var(--ev-dark);
  padding: 4px 9px; border-radius: 6px; box-shadow: 0 2px 8px rgba(16, 24, 40, .25);
}
.ev-hot-label[data-pos="top"] { transform: translate(-50%, calc(-100% - 8px)); }
.ev-hot-label[data-pos="bottom"] { transform: translate(-50%, 8px); }
.ev-hot-label[data-pos="left"] { transform: translate(calc(-100% - 8px), -50%); }
.ev-hot-label[data-pos="right"] { transform: translate(8px, -50%); }

.ev-lightbox { border: 0; padding: 0; background: transparent; width: 94vw; max-width: 1280px; overflow: visible; }
.ev-lightbox::backdrop { background: rgba(16, 18, 30, .72); }
.ev-lightbox .ev-shot-frame { border: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.ev-lightbox .ev-hot-label { font-size: 14px; padding: 5px 11px; }
.ev-lightbox-close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ev-ink); cursor: pointer;
}

.ev-feedback {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--ev-line); border-bottom: 1px solid var(--ev-line);
}
.ev-feedback-ask { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ev-ink-muted); }
.ev-feedback-thanks { margin: 0; font-size: 14px; color: var(--ev-ink-muted); outline: none; }
.ev-thumb {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--ev-control-border); background: #fff; color: var(--ev-ink-body);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ev-thumb:hover { border-color: var(--ev-primary); color: var(--ev-primary); }
.ev-fullguide { font-size: 14px; font-weight: 500; text-decoration: none; }
.ev-fullguide:hover { text-decoration: underline; text-underline-offset: 3px; }

.ev-near-h { margin: 4px 0 0; font-size: 14px; color: var(--ev-ink-muted); }
.ev-summary--soft { font-weight: 400; }
.ev-lead { margin: 0; font-size: 17px; line-height: 28px; }
.ev-best {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; color: var(--ev-ink);
  border: 1px solid var(--ev-sec-500); border-radius: 12px; background: #F5FBFE;
  box-shadow: 0 6px 20px rgba(40, 27, 109, .06);
}
.ev-best:hover { border-color: var(--ev-primary); color: var(--ev-ink); }
.ev-best-title { font-family: var(--ev-font-head); font-size: 17px; font-weight: 500; }
.ev-best-desc { font-size: 14px; line-height: 20px; color: var(--ev-ink-muted); }
.ev-best-go { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ev-primary); }
.ev-near, .ev-rel { list-style: none; margin: 0; padding: 0; }
.ev-near a, .ev-rel a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0;
  border-bottom: 1px solid #F1EFF6; font-size: 14px; color: var(--ev-ink); text-decoration: none;
}
.ev-near a:hover, .ev-rel a:hover { color: var(--ev-primary); }
.ev-near svg, .ev-rel svg { flex: none; color: #9AA3B1; }

.ev-followup { display: flex; flex-direction: column; gap: 10px; }
.ev-followup[hidden] { display: none; }
.ev-followup-h { margin: 0; font-family: var(--ev-font-body); font-size: 14px; font-weight: 500; color: var(--ev-dark); }
.ev-followup-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip--sm { padding: 9px 14px; border-color: var(--ev-card-border); background: #fff; }
.ev-chip--sm .ev-dot { width: 7px; height: 7px; }
.ev-followup-form {
  display: flex; align-items: center; gap: 10px; margin-top: 6px; background: #fff;
  border: 1px solid var(--ev-card-border); border-radius: 14px; padding: 10px 10px 10px 18px; box-shadow: 0 8px 28px rgba(40, 27, 109, .08);
}
.ev-followup-form:focus-within { border-color: var(--ev-primary); }
.ev-followup-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0; font: inherit; font-size: 16px; color: var(--ev-ink); background: transparent; }
.ev-followup-form input:focus-visible { box-shadow: none; }
.ev-followup-form input::placeholder { color: #6B7280; }

.ev-rail-sec h2, .ev-stuck h2 { margin: 0 0 12px; font-weight: 500; font-size: 15px; color: var(--ev-ink-muted); }
.ev-src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ev-src { display: flex; flex-direction: column; border: 1px solid var(--ev-border); border-radius: 12px; overflow: hidden; color: var(--ev-ink); background: #fff; text-decoration: none; }
.ev-src:hover { border-color: var(--ev-primary); color: var(--ev-ink); }
.ev-src-thumb { display: block; height: 96px; background: #F9FAFB; overflow: hidden; border-bottom: 1px solid var(--ev-border); }
.ev-src-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ev-src-nothumb { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ev-sec-700); background: var(--ev-sec-50); }
.ev-src-text { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.ev-src-title { font-size: 14px; font-weight: 500; }
.ev-src-cat { font-size: 12px; color: var(--ev-ink-muted); }
.ev-stuck { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; background: var(--ev-surface-muted); }
.ev-stuck h2 { margin: 0; font-size: 14px; color: var(--ev-ink); }
.ev-stuck p { margin: 0; font-size: 13px; line-height: 19px; color: #565C6B; } /* --ev-ink-muted is 4.46:1 on this tint */
.ev-stuck a { font-size: 14px; font-weight: 500; text-decoration: none; }

/* loading skeleton (matches the answer layout) */
.ev-skeleton { gap: 12px; }
.ev-skel { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #EEEDF2 0%, #F6F5FA 50%, #EEEDF2 100%); background-size: 200% 100%; animation: evShimmer 1.4s ease-in-out infinite; }
.ev-skel--pill { width: 150px; height: 24px; border-radius: 999px; }
.ev-skel--line { width: 100%; height: 16px; }
.ev-skel--short { width: 70%; }
.ev-skel--title { width: 45%; height: 18px; margin-top: 6px; }
.ev-skel--shot { height: 180px; border-radius: 12px; }
.ev-skel-step { display: flex; gap: 18px; margin-top: 16px; }
.ev-skel-step .ev-step-n, .ev-step--pending .ev-step-n { background: #EEEDF2; }
@keyframes evShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- motion: homepage → /ask ---------- */
::view-transition-group(ev-question) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
@keyframes evRise { from { transform: translateY(180px) scale(1.03); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes evFade { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.ev-motion.ev-no-vt .ev-qcard--lead { animation: evRise .55s cubic-bezier(.2, .8, .2, 1) both; }
.ev-motion.ev-no-vt.ev-from-guide .ev-qcard--lead { animation: none; }
.ev-motion .ev-turn:first-child > .ev-turn-answer { animation: evFade .45s ease-out .45s both; }
.ev-motion .ev-after { animation: evFade .45s ease-out .7s both; }
.ev-motion .ev-arrive { animation: evFade .3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .ev-skel { animation: none; }
}

@media (max-width: 720px) {
  .ev-hero { margin: 8px; padding: 48px 16px 40px; border-radius: 20px; }
  .ev-hero-sub { font-size: 16px; line-height: 24px; }
  .ev-prompt textarea { font-size: 16px; }
  .ev-section { padding: 40px 16px 24px; }
  #whats-new { padding-bottom: 48px; }
  .ev-news { padding: 28px 20px; }
  .ev-news h2 { font-size: 24px; }
  .ev-qband { padding: 20px 16px 0; }
  .ev-qcard { padding: 14px 16px; align-items: flex-start; flex-wrap: wrap; }
  .ev-qtext { font-size: 19px; }
  .ev-answer-layout { padding: 24px 16px 48px; gap: 32px; }
  .ev-step { gap: 12px; }
  .ev-hot-label { font-size: 10px; padding: 2px 6px; }
}
