/* =====================================================================
   ShortlistPrep orange theme (loaded last, after every other stylesheet)
   Based on the "black-orange" sample: Inter type, bright orange #f97316
   with dark text on it, a warm peach gradient page with faint line-art,
   white cards, and a full-width orange header with icons.
   Only colours, type and the header change here: no layout or behaviour.
   ===================================================================== */

:root {
  --orange: #f97316;          /* buttons, header, highlights */
  --orange-2: #fb923c;        /* lighter end of gradients */
  --orange-3: #fdba74;
  --orange-deep: #ea580c;     /* big headings, icons */
  --orange-text: #c2410c;     /* small orange text and links (readable on white) */
  --on-orange: #1c1917;       /* text on orange surfaces */
  --tint: rgba(255, 237, 213, .55);   /* section bands: see-through so the page gradient shows */
  --shadow-s: 0 1px 2px rgba(28, 25, 23, .06), 0 6px 18px -10px rgba(234, 88, 12, .35);
  --shadow: 0 2px 4px rgba(28, 25, 23, .05), 0 18px 40px -20px rgba(234, 88, 12, .40);
  --shadow-l: 0 30px 70px -30px rgba(234, 88, 12, .45);
}

/* ---------- Type: Inter everywhere (headings were a serif) ---------- */
body, .brand, h1, h2, h3, h4, button, input, select, textarea {
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; color: var(--ink); }

/* ---------- Page background: peach gradient + faint line-art ---------- */
html {
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(251, 146, 60, .26), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(249, 115, 22, .14), transparent 60%),
    linear-gradient(160deg, #fff8f0 0%, #ffeedd 50%, #ffe4c9 100%);
  background-attachment: fixed;
  min-height: 100%;
}
body { background: transparent; position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("bg-art.svg") center / cover no-repeat; opacity: .07;
}
.dc-hero, .page-head, .footer, .home-journey, .home-gap, body .ac-login, body .auth { background: var(--tint); }

/* ---------- Header: full-width orange gradient, dark text, icons ---------- */
.nav {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 55%, #fdba74 100%);
  border-bottom: 0;
  box-shadow: 0 6px 22px -12px rgba(234, 88, 12, .7);
  backdrop-filter: none;
}
.nav .brand { color: var(--on-orange); font-weight: 800; letter-spacing: -.02em; }
.nav .menu a:not(.btn), .nav .dropdown summary {
  color: var(--on-orange); font-weight: 600; border-bottom: 0;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px;
  transition: background .2s, box-shadow .2s;
}
.nav .menu a:not(.btn):hover, .nav .dropdown summary:hover { background: rgba(255, 255, 255, .35); color: var(--on-orange); }
.nav .menu a.current, .nav .menu > a[aria-current="page"] {
  background: #fff; color: var(--on-orange); font-weight: 800; border-bottom: 0;
  box-shadow: 0 4px 12px -6px rgba(124, 45, 18, .5);
}
.nav .menu .mi { flex: none; opacity: .9; }
.nav .menu a.current .mi { color: var(--orange-deep); opacity: 1; }
/* a dropdown that holds the current page gets the pill too */
.nav .dropdown:has(a.current) > summary { background: rgba(255, 255, 255, .6); }
.nav .dropdown-panel { background: #fff; border: 1px solid var(--bd); border-radius: 14px; box-shadow: var(--shadow); }
.nav .dropdown-panel a:not(.btn) { display: flex; border-radius: 10px; }
.nav .dropdown-panel a:not(.btn):hover { background: #fff4e8; }
.nav .dropdown-panel a.current { background: #ffedd5; box-shadow: none; }
.nav .menu .btn { background: #fff; color: var(--on-orange); border-color: #fff; }
.nav .menu .btn:hover { background: #fff7ed; }
/* no black in the header: "Start free" is a deeper orange pill with dark text */
.nav .menu .btn-primary { background: var(--orange-deep); color: var(--on-orange); border-color: rgba(255, 255, 255, .7); box-shadow: 0 6px 16px -8px rgba(124, 45, 18, .6); }
.nav .menu .btn-primary:hover { background: #fff; color: var(--on-orange); border-color: #fff; }
.nav-toggle { color: var(--on-orange); background: rgba(255, 255, 255, .3); border: 1px solid rgba(255, 255, 255, .6); border-radius: 10px; }
/* icons hide on mid-size screens so the menu still fits on one line */
@media (max-width: 1240px) and (min-width: 961px) { .nav .menu .mi { display: none; } .nav .menu a:not(.btn), .nav .dropdown summary { padding: 8px 9px; } }
/* mobile menu panel */
@media (max-width: 960px) {
  .nav .menu { background: #fff7ed; border-bottom: 3px solid var(--orange); }
  .nav .menu a:not(.btn), .nav .menu summary { border-radius: 10px; border-bottom: 1px solid #fed7aa; }
  .nav .menu a.current { background: var(--orange); box-shadow: none; }
  .nav .menu a.current .mi { color: var(--on-orange); }
}

/* ---------- Buttons: bright orange with dark text ---------- */
.btn { border-color: var(--bd); }
.btn:hover { background: #fff4e8; }
.btn-primary, a.btn-primary, button.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 700; }
.btn-primary:hover, a.btn-primary:hover, button.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--on-orange); }

/* ---------- Text on orange surfaces must be dark (white is unreadable) ----------
   "html body" raises specificity: page stylesheets (jobs.css, account.css...) load after this file. */
html body :is(.step::before, .stp .n, .avatar, .road li.win, .jr-tabs button[aria-selected="true"], .mini-btn, .gap-num, .vi-n,
  .m-during .moment-tag, .in-new, .ac-avatar, .cr-steps a[aria-current="step"], .cr-steps b, .jb-chip[aria-pressed="true"],
  .jb-pager .cur, .plan.featured .badge, .jb-badge) { color: var(--on-orange); }
html body .step::before { color: var(--on-orange); }
html body :is(.band, .band h2, .band h3, .band p, .band a:not(.btn)) { color: var(--on-orange); }
html body :is(.btn-primary, a.btn-primary, button.btn-primary) { color: var(--on-orange); }

/* ---------- Small orange text: the deeper orange stays readable ---------- */
.dc-link, .dc-cols a, .dc-row .dc-note a, .gap-grad { color: var(--orange-text); }
.jr-phases .p2, .jr-step.hot { color: var(--orange-text); }
.footer a:not(.btn):hover { color: var(--orange-text); }

/* ---------- Cards stay white so they stand out from the peach page ---------- */
.dc-panel, .dc-report, .hp-plans, .card, .plan { background: #fff; }
.plan.featured, .hp-plan.featured { background: #fff; border-color: var(--orange); }

/* ---------- Dark call-to-action band: warm instead of navy-tinted text ---------- */
.dc-cta { background: var(--on-orange); }
.dc-cta p { color: #e7d9cb; }
.dc-cta-form .btn { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }

/* ---------- Focus ring ---------- */
:focus-visible { outline-color: var(--orange-deep); }

/* ---------- Home page details ---------- */
:root { --navy: #1c1917; }
html body .hj-trustbar, html body .hj-trustbar * { color: var(--on-orange); }
.hp-badge { color: var(--on-orange); }
html body .hj-chip { color: #0f6b4c; }

/* ---------- Features page: journey graphic ---------- */
html body :is(.jr-tabs button[aria-selected="true"], .jr-tabs button[aria-selected="true"] b, .m-before .moment-tag, .m-during .moment-tag, .win b, .win small) { color: var(--on-orange); }
html body .jr-tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); }
html body .jr-tabs button[aria-selected="true"] b { background: rgba(255, 255, 255, .45); }

/* ---------- Header fit: pills need small gaps (the old menu used 24px gaps) ---------- */
@media (min-width: 961px) {
  .nav .menu { gap: 2px; }
  .nav .menu a:not(.btn), .nav .dropdown summary { padding: 8px 10px; font-size: 15px; }
  .nav .menu .btn { margin-left: 6px; padding: 8px 14px; }
  .nav-inner { gap: 14px; }
}
@media (max-width: 1240px) and (min-width: 961px) { .nav .menu a:not(.btn), .nav .dropdown summary { padding: 7px 8px; font-size: 14.5px; } }

/* ---------- Signed-in profile button in the header: no black ---------- */
.nav .nav-face { background: #fff; color: var(--on-orange); border-color: rgba(255, 255, 255, .8); font-family: Inter, "Segoe UI", system-ui, sans-serif; font-weight: 800; }
.nav .nav-avatar:hover .nav-face, .nav .nav-avatar[aria-expanded="true"] .nav-face { box-shadow: 0 0 0 2.5px #fff; }
