/* css/interview.css: the AI Interview (/interview) and its guide pages
   (/interview/*). Loads after nova.css. The interview's own IDs and screens
   are styled inline in interview.html; this file restyles them and adds the
   guide-page components. */

/* ---- buttons: one family with the rest of the site ---- */
.iv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  background: var(--accent-fill); color: var(--accent-ink);
  font-weight: 700; letter-spacing: 0.01em;
  box-shadow: var(--glow);
  transition: transform 0.35s var(--ease-spring), box-shadow var(--transition), background var(--transition);
}
body.dark .iv-btn { color: var(--accent-ink); }
.iv-btn:hover { background: var(--accent2); transform: translateY(-2px); }
body:not(.dark) .iv-btn:hover { background: #ffc46b; }
.iv-btn.ghost, body.dark .iv-btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-bright); box-shadow: none; backdrop-filter: blur(8px); }
.iv-btn.ghost:hover { background: var(--surface2); border-color: var(--accent); }
.iv-btn.big { position: relative; min-height: 60px; padding: 0 38px; font-size: 1.1rem; animation: none; }
/* The pulse is a ring on its own layer (transform + opacity), not a box-shadow. */
.iv-btn.big::after, .coffee-shot .iv-btn.coffee-big::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 2px solid rgba(255,181,71,0.7);
  animation: ivBtnPulse 2.2s ease-out infinite;
}
@keyframes ivBtnPulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.18, 1.45); opacity: 0; } }

/* ---- intro: a wide split screen with Murry live on the right ---- */
.iv-hero { padding-top: 112px; }
.iv-wrap:has(#screen-intro.on) { max-width: 1200px; }
.iv-intro { text-align: left; }
.iv-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.iv-intro .iv-sub { margin: 0 0 26px; max-width: 540px; }
.iv-intro .iv-notice { margin: -12px 0 20px; }
.iv-intro .iv-fine { margin-top: 16px; }
.iv-eyebrow {
  border-radius: 999px; background: var(--surface) !important; backdrop-filter: blur(8px);
  border-color: rgba(255,181,71,0.35); color: var(--text);
}
.iv-title { font-weight: 800; font-size: var(--step-4); line-height: 0.95; letter-spacing: -0.05em; }
.iv-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 56px; }
.iv-card {
  position: relative; padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.iv-card .iv-card-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(255,181,71,0.25), rgba(61,232,255,0.12)); border: 1px solid var(--border-bright); }
.iv-card h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .iv-intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .iv-intro { text-align: center; }
  .iv-intro .iv-sub, .iv-intro .iv-notice { margin-left: auto; margin-right: auto; }
  .iv-intro-cam { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .iv-cards { text-align: left; }
}

/* ---- the live interview: Murry's webcam gets the cubicle frame too ---- */
.stage { border-radius: var(--radius-xl); border-color: var(--border-bright);
  box-shadow: 0 60px 140px -50px rgba(255,150,30,0.4), 0 0 0 1px rgba(255,181,71,0.08), var(--shadow-lg); }
.stage.has-face::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.45) 100%),
              repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
.cam-live { z-index: 2; }
.cam-live::before { box-shadow: 0 0 10px #ff3b4e; animation: recBlink 1.2s steps(1, end) infinite; }
.cam-tag { z-index: 2; backdrop-filter: blur(4px); }
.caption { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.015em; text-wrap: balance; }
.caption small { font-family: var(--font-body); color: var(--accent); font-weight: 700; }
.answer textarea { border-radius: var(--radius-lg); background: var(--surface-solid); }
.answer textarea:focus { outline: 2px solid var(--electric); }
.box { border-radius: var(--radius-xl); padding: 32px; }
.box h2 { font-weight: 700; letter-spacing: -0.03em; }

/* ---- verdict ---- */
.letter { border-radius: 14px; box-shadow: 0 50px 120px -40px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.05); transform: rotate(-0.6deg); }
.letter h2 { font-weight: 700; letter-spacing: -0.03em; }
/* The coffee ask: a big button, and Murry's parting shot right under it. */
.coffee-shot { margin: 28px auto 6px; max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.coffee-shot .iv-btn.coffee-big {
  min-height: 66px; padding: 0 40px; font-size: 1.2rem; font-weight: 800;
  background: linear-gradient(135deg, #ffcf70, #ffb547 40%, #ff8a3d);
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,181,71,0.7), 0 20px 60px -10px rgba(255,140,40,0.85);
}
.parting-shot {
  position: relative; margin: 0; padding: 16px 20px 16px 20px;
  border-radius: 18px 18px 18px 4px;
  background: var(--surface-solid); border: 1px solid rgba(255,77,141,0.45);
  box-shadow: 0 0 40px -12px rgba(255,77,141,0.6);
  font: 700 var(--step-0)/1.45 var(--font-display); letter-spacing: -0.01em; color: var(--text);
  text-wrap: balance;
}
.parting-shot::before {
  content: "Murry, on his way out"; display: block; margin-bottom: 6px;
  font: 800 0.68rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hot);
}
.parting-shot .up { display: inline-block; animation: pointUp 1.4s ease-in-out infinite; }
@keyframes pointUp { 50% { transform: translateY(-4px); } }
.actions { margin-top: 22px; }

/* ---- guide content under the app and on /interview/* ---- */
.iv-seo { position: relative; padding: 24px 24px 96px; }
.iv-seo-inner { max-width: 980px; margin: 0 auto; display: grid; gap: 56px; }
.iv-seo h2 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 16px; }
.iv-seo h3 { font-size: var(--step-1); letter-spacing: -0.02em; margin: 0 0 8px; }
.iv-seo p, .iv-seo li { color: var(--text-muted); line-height: 1.7; }
.iv-seo a { color: var(--accent); text-underline-offset: 3px; }
.iv-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.iv-steps li { position: relative; padding: 24px 22px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px); counter-increment: step; }
.iv-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 12px; background: var(--accent-fill); color: var(--accent-ink); font: 800 1.1rem/1 var(--font-display);
  box-shadow: var(--glow);
}
.iv-steps li strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.quote-wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote-wall blockquote {
  margin: 0; padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,181,71,0.10), rgba(255,77,141,0.06));
  border: 1px solid rgba(255,181,71,0.25);
  font: 600 1.05rem/1.45 var(--font-display); letter-spacing: -0.01em; color: var(--text);
}
.quote-wall blockquote p { color: var(--text); margin: 0; }
.quote-wall cite { display: block; margin-top: 10px; font: 600 0.8rem/1 var(--font-body); font-style: normal; color: var(--accent); }
.explore-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.explore-grid a {
  display: block; padding: 20px; border-radius: var(--radius-lg); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), border-color var(--transition);
}
.explore-grid a:hover { transform: translateY(-3px); border-color: var(--accent); }
.explore-grid b { display: block; color: var(--text); font: 700 1.05rem/1.2 var(--font-display); margin-bottom: 6px; }
.explore-grid span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.changelog { font-size: 0.92rem; }
.changelog time { color: var(--text); font-weight: 600; }
.changelog ul { margin: 8px 0 0; padding-left: 18px; }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-faint); }
.updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* Guide pages (/interview/*) */
.guide-hero { position: relative; padding: 128px 24px 40px; }
.guide-hero-inner { max-width: 980px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.85rem; color: var(--text-faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.guide-hero h1 { font-size: var(--step-4); line-height: 0.98; letter-spacing: -0.05em; margin: 10px 0 18px; text-wrap: balance; }
.guide-hero .lede { font-size: var(--step-1); color: var(--text-muted); max-width: 760px; line-height: 1.55; text-wrap: pretty; margin: 0 0 24px; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.guide-body { max-width: 980px; margin: 0 auto; }
.guide-body section { margin-top: 56px; }
.guide-body dl.faq-list { margin: 0; }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.qlist li { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.qlist li b { display: block; color: var(--text); font: 700 1.08rem/1.35 var(--font-display); letter-spacing: -0.015em; margin-bottom: 6px; }
.odds { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.odds div { padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.odds b { display: block; font: 800 2rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); }
.odds span { color: var(--text-muted); font-size: 0.9rem; }
.dossier { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.dossier dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dossier dt { color: var(--text-faint); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.dossier dd { margin: 0; color: var(--text); }
@media (max-width: 800px) { .dossier { grid-template-columns: 1fr; } .guide-hero { padding-top: 100px; } }
@media (prefers-reduced-motion: reduce) {
  .iv-btn.big::after, .coffee-shot .iv-btn.coffee-big::after, .parting-shot .up { animation: none; display: none; }
  .letter { transform: none; }
}

/* No fade-in on the intro: it held back Largest Contentful Paint. */
.iv-wrap { animation: none; }
