:root {
  --bg: #f5f7fb;
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-soft: #e0ecff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0ecff 0, #f5f7fb 45%, #ffffff 100%);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,247,251,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209,213,219,0.6);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(from 160deg, #2563eb, #22c55e, #06b6d4, #2563eb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

nav li a {
  padding: 0.25rem 0;
}

nav li a:hover {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 10px 20px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37,99,235,0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.8);
}

/* LAYOUT */

main {
  flex: 1;
}

.hero {
  padding: 2.5rem 0 1.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

/* HERO TEXT */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

/* HERO PANEL */

.hero-panel {
  background: rgba(255,255,255,0.98);
  border-radius: 1.25rem;
  border: 1px solid rgba(209,213,219,0.8);
  box-shadow: 0 22px 45px rgba(15,23,42,0.12);
  padding: 1.25rem 1.35rem 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}

.panel-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.badge-soft {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.question-row {
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 0.86rem;
}

.question-row strong {
  display: block;
  margin-bottom: 0.25rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.pill-alt {
  background: #ecfeff;
  color: #0f766e;
}

.score-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148,163,184,0.8);
}

.score-main {
  font-size: 0.85rem;
}

.score-main strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.score-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 600;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.panel-footer a {
  font-weight: 600;
  color: #1d4ed8;
}

/* GENERIC SECTION STYLING */

.section {
  padding: 1.75rem 0 0.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-link {
  font-size: 0.85rem;
  color: #1d4ed8;
  font-weight: 500;
}

/* CARDS & GRIDS */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 0.95rem 1rem;
  box-shadow: 0 12px 24px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card h3 {
  font-size: 0.98rem;
  margin: 0;
}

.card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-muted);
}

.card-footer {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #1d4ed8;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* CATEGORY CHIPS */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  cursor: pointer;
}

.chip-primary {
  background: #e0ecff;
  color: #1d4ed8;
}

/* JOBS PREVIEW */

.jobs-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.job-list {
  display: grid;
  gap: 0.6rem;
}

.job-row {
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.88rem;
}

.job-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.job-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.jobs-aside {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.jobs-aside h3 {
  font-size: 0.95rem;
  margin-top: 0;
}

.jobs-aside p {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* WHY SECTION */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.why-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* CONTACT BOX */

.contact-box {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-box strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: #111827;
  color: #e5e7eb;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
  padding: 1.1rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* RESPONSIVE */

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  nav ul {
    display: none;
  }
}

/* Interview Whisperer layout tweaks */

.iw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.iw-main {}
.iw-sidebar {}

.iw-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.iw-question-card {
  margin-top: 0.25rem;
}

.iw-question-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.iw-question-help {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.iw-answers {
  margin-top: 0.4rem;
}

.iw-feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #111827;
}

.iw-question-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.iw-tip-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.iw-tip-list li + li {
  margin-top: 0.15rem;
}

@media (max-width: 840px) {
  .iw-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Interview Whisperer layout tweaks */

.iw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.iw-main {}
.iw-sidebar {}

.iw-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.iw-question-card {
  margin-top: 0.25rem;
}

.iw-question-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.iw-question-help {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.iw-answers {
  margin-top: 0.4rem;
}

.iw-feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #111827;
}

.iw-question-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.iw-tip-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.iw-tip-list li + li {
  margin-top: 0.15rem;
}

@media (max-width: 840px) {
  .iw-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===========================
   Interview Whisperer layout fixes
   =========================== */

/* Make sure the main layout doesn't squish too hard */
.iw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

/* On small screens, stack nicely */
@media (max-width: 840px) {
  .iw-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Question card + answers: allow wrapping and avoid overflow */
.iw-question-card {
  margin-top: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Answer buttons: full width, left-aligned, wrap text */
.iw-answers .btn,
.iw-answer-btn {
  display: block;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  margin: 0.25rem 0;
}

/* Small meta text + help text */
.iw-question-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.iw-question-help {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

/* Feedback + buttons row */
.iw-feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #111827;
}

.iw-question-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* Sidebar tips */
.iw-tip-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.iw-tip-list li + li {
  margin-top: 0.15rem;
}

/* Interview Whisperer — hide skip/next until session starts */
.iw-hidden {
  display: none !important;
}



