/* Shortlist website. Colours match the extension's side panel (sidepanel.css). */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F7F6F2;
  --surface: #FFFFFF;
  --tray: #EFEDE6;
  --ink: #1C1B18;
  --muted: #6B675E;
  --line: #E6E2D8;
  --hover: rgba(28, 27, 24, .06);

  --brand: #14532D;
  --brand-hover: #166534;
  --on-brand: #FFFFFF;
  --brand-text: #14532D;
  --soft: #DCFCE7;
  --soft-ink: #14532D;
  --ember: #C2410C;

  --band: #14532D;
  --band-ink: #ECFDF3;
  --band-muted: #A7D7B8;
  --band-line: rgba(236, 253, 243, .16);

  --pill-neutral-bg: #E6E2D8;  --pill-neutral: #6B675E;
  --pill-contacted-bg: #E0E7FF; --pill-contacted: #3730A3;
  --pill-replied-bg: #FEF3C7;  --pill-replied: #92400E;
  --pill-interview-bg: #FCE7F3; --pill-interview: #9D174D;

  --shadow-soft: 0 1px 2px rgba(28, 27, 24, .06), 0 6px 18px rgba(28, 27, 24, .05);
  --shadow-lift: 0 1px 2px rgba(28, 27, 24, .06), 0 28px 64px -28px rgba(20, 83, 45, .38);

  --page: 1120px;
  --gutter: 16px;
  --section-y: clamp(64px, 8vw, 104px);
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;

  --fs-small: .875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.6vw, 1.3125rem);
  --fs-h2: clamp(2rem, 3.8vw, 2.875rem);
  --fs-h1: clamp(2.75rem, 7.2vw, 5.625rem);

  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151513;
    --surface: #1F1E1B;
    --tray: #1A1917;
    --ink: #EDEBE4;
    --muted: #A29E93;
    --line: #34322D;
    --hover: rgba(237, 235, 228, .08);

    --brand: #4ADE80;
    --brand-hover: #86EFAC;
    --on-brand: #0B2615;
    --brand-text: #4ADE80;
    --soft: #163222;
    --soft-ink: #BBF7D0;
    --ember: #FB923C;

    --band: #10281A;
    --band-ink: #E7F8EC;
    --band-muted: #93C5A4;
    --band-line: rgba(231, 248, 236, .12);

    --pill-neutral-bg: #34322D;  --pill-neutral: #A29E93;
    --pill-contacted-bg: #24264A; --pill-contacted: #A5B4FC;
    --pill-replied-bg: #3A2E12;  --pill-replied: #FCD34D;
    --pill-interview-bg: #3B1730; --pill-interview: #F9A8D4;

    --shadow-soft: none;
    --shadow-lift: 0 28px 64px -28px rgba(0, 0, 0, .7);

    color-scheme: dark;
  }
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
code {
  font: .875em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--tray);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .15em .35em;
}
.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;
}
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 10px 14px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Header & footer ----------------------------------------------------- */
.site-header { padding-block: 20px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 750 1.1875rem/1 "Inter Tight", sans-serif; letter-spacing: -.02em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: .9375rem;
}
.site-nav a:hover { color: var(--ink); background: var(--hover); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .site-nav .nav-wide { display: none; }
}

.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: var(--fs-small); }
.site-footer .wrap { display: grid; gap: 20px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.disclaimer { margin: 0; max-width: 72ch; font-size: .8125rem; line-height: 1.55; }

/* ---- Buttons ------------------------------------------------------------- */
/* The primary button borrows the shape of the extension's "Save to Shortlist" pill. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 10px; border: 0; border-radius: 999px;
  font: 600 1rem/1.2 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 22px -10px rgba(20, 83, 45, .6); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--on-brand) 18%, transparent);
}
.btn-dot svg { width: 12px; height: 12px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding-top: clamp(32px, 7vw, 96px); }
.hero h1 {
  margin: 0; max-width: 13ch;
  font: 800 var(--fs-h1)/.98 "Inter Tight", sans-serif;
  letter-spacing: -.034em;
  word-spacing: .04em;
  text-wrap: balance;
}
.hero .lead { margin: 28px 0 0; max-width: 54ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.store-note { margin: 0; color: var(--muted); font-size: .9375rem; max-width: 34ch; line-height: 1.45; }

/* ---- Demo video ---------------------------------------------------------- */
.demo { margin-top: clamp(40px, 6vw, 80px); scroll-margin-top: 24px; }
.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #1C1B18; box-shadow: var(--shadow-lift);
}
.player-start {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.player-start img { width: 100%; height: 100%; object-fit: cover; }
.player-start:focus-visible { outline-offset: -6px; border-radius: var(--radius-l); }
.play-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: #14532D; color: #FFFFFF;
  font: 600 1rem/1 "Inter", sans-serif; white-space: nowrap;
  box-shadow: 0 12px 32px -8px rgba(20, 83, 45, .55);
  transition: background-color .15s ease, transform .15s ease;
}
.play-pill .btn-dot { width: 36px; height: 36px; background: rgba(255, 255, 255, .18); }
.play-pill .btn-dot svg { width: 14px; height: 14px; }
.player-start:hover .play-pill { background: #166534; transform: translate(-50%, -50%) scale(1.03); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin: 14px 0 0; color: var(--muted); font-size: var(--fs-small);
}
@media (max-width: 520px) {
  .play-pill { padding: 8px 16px 8px 8px; font-size: .9375rem; }
  .play-pill .btn-dot { width: 30px; height: 30px; }
}

/* ---- Sections ------------------------------------------------------------ */
.section { padding-block: var(--section-y); scroll-margin-top: 8px; }
.section:not(.band) + .section:not(.band) { padding-top: 0; }
.section-head { max-width: 42rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head h2 {
  margin: 0;
  font: 800 var(--fs-h2)/1.06 "Inter Tight", sans-serif;
  letter-spacing: -.026em;
  text-wrap: balance;
}
.section-head p { margin: 18px 0 0; max-width: 54ch; color: var(--muted); font-size: 1.125rem; line-height: 1.55; }

/* ---- Screenshot tour ----------------------------------------------------- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  appearance: none; cursor: pointer;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted);
  font: 500 .9375rem/1 "Inter", sans-serif;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .step { font-weight: 650; margin-right: 6px; opacity: .55; }
.tour-panel + .tour-panel { margin-top: 24px; }
.has-js .tour-panel + .tour-panel { margin-top: 0; }
.tour-panel:not([hidden]) { animation: panel-in .28s ease-out; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.shot {
  margin: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #F7F6F2; box-shadow: var(--shadow-soft);
}
.shot img { width: 100%; aspect-ratio: 1280 / 800; }

/* ---- Features: each one shown with a piece of the real UI ---------------- */
.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px);
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 920px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature h3 {
  display: flex; align-items: center; gap: 8px;
  margin: 22px 0 8px;
  font: 700 1.25rem/1.25 "Inter Tight", sans-serif; letter-spacing: -.02em;
}
.feature p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.specimen {
  display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 8px;
  min-height: 132px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--tray);
  font-size: 13px; line-height: 1.35;
}
.mock-save {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: #14532D; color: #FFFFFF; font-weight: 500;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3);
}
.mock-save .mock-dot {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); font-size: 12px;
}
.mock-save.is-saved { background: var(--surface); color: var(--brand-text); box-shadow: 0 0 0 1px var(--soft), 0 6px 16px -8px rgba(0, 0, 0, .2); }
.mock-save.is-saved .mock-dot { background: var(--soft); }
.mock-save small { display: block; font-size: 11px; font-weight: 400; opacity: .75; margin-top: 1px; }

.pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--pill-neutral-bg); color: var(--pill-neutral);
  font-size: 12px; font-weight: 600; line-height: 1.3;
}
.pill.s-contacted { background: var(--pill-contacted-bg); color: var(--pill-contacted); }
.pill.s-replied { background: var(--pill-replied-bg); color: var(--pill-replied); }
.pill.s-interview { background: var(--pill-interview-bg); color: var(--pill-interview); }
.pill.s-placed { background: var(--soft); color: var(--soft-ink); }
.stage-arrow { color: var(--muted); font-size: 12px; }

.mock-card {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.mock-card b { display: block; font-weight: 620; }
.mock-card .muted { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.mock-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; }
.mock-card .pill { font-size: 11px; padding: 1px 7px; }
.due-over { color: var(--ember); font-weight: 600; }
.tag { color: var(--muted); }

.mock-text { width: 100%; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--radius-s);
  background: var(--surface); color: var(--ink); }
.mock-text code { font-size: 11.5px; }
.mock-search {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--muted);
}
.mock-file {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--surface);
}
.mock-file .file-icon {
  width: 30px; height: 36px; border-radius: 4px;
  display: grid; place-items: end center; padding-bottom: 5px;
  background: var(--soft); color: var(--soft-ink);
  font: 700 9px/1 "Inter", sans-serif;
}
.mock-file small { display: block; color: var(--muted); font-size: 11px; }

/* ---- Privacy band -------------------------------------------------------- */
.band { background: var(--band); color: var(--band-ink); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: minmax(0, 1fr); } }
.band .section-head { margin-bottom: 0; }
.band .section-head p { color: var(--band-muted); }
.band a { color: var(--band-ink); font-weight: 600; }
.band-link { display: inline-block; margin-top: 28px; }
.promises { margin: 0; padding: 0; list-style: none; }
.promises li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--band-line);
  font-size: 1.0625rem; line-height: 1.5;
}
.promises li:last-child { border-bottom: 1px solid var(--band-line); }
.promises b { display: block; font-weight: 650; color: var(--band-ink); }
.promise-text { color: var(--band-muted); }
.tick {
  width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center;
  background: #DCFCE7; color: #14532D;
}
.tick svg { width: 13px; height: 13px; }

/* ---- Getting started ----------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  margin: 0; padding: 0; list-style: none; counter-reset: step;
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 18px;
  font: 800 2.75rem/1 "Inter Tight", sans-serif; letter-spacing: -.04em;
  color: var(--brand-text);
}
.steps h3 { margin: 0 0 6px; font: 700 1.125rem/1.3 "Inter Tight", sans-serif; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover::after { border-color: var(--ink); }
.faq details p { margin: 0 0 22px; max-width: 62ch; color: var(--muted); }

/* ---- Privacy policy page ------------------------------------------------- */
.policy { padding-block: clamp(32px, 6vw, 72px) var(--section-y); }
.policy-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas: "toc head" "toc body";
  column-gap: clamp(32px, 6vw, 88px); align-items: start;
}
.policy-head { grid-area: head; }
.policy-body { grid-area: body; }
.toc { grid-area: toc; position: sticky; top: 24px; margin-top: 8px; font-size: var(--fs-small); }
.toc-title { margin: 0 0 10px; padding-left: 12px; font-weight: 600; }
.toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: block; padding: 6px 12px; border-radius: var(--radius-s);
  color: var(--muted); text-decoration: none; line-height: 1.35;
}
.toc a:hover { color: var(--ink); background: var(--hover); }
@media (max-width: 960px) {
  .policy-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "toc" "body"; }
  .toc { position: static; margin-top: 32px; padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

.prose { max-width: 68ch; }
.prose h1 { margin: 0; font: 800 clamp(2.5rem, 5.6vw, 4.25rem)/1 "Inter Tight", sans-serif; letter-spacing: -.032em; }
.prose .updated { margin: 18px 0 0; color: var(--muted); font-size: .9375rem; }
.prose .intro { margin: 24px 0 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.prose h2 {
  margin: 64px 0 14px; scroll-margin-top: 24px;
  font: 750 1.625rem/1.2 "Inter Tight", sans-serif; letter-spacing: -.025em;
}
.prose p, .prose li { line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--muted); }

.summary {
  margin-top: 40px; padding: 26px 28px;
  border-radius: var(--radius-l);
  background: var(--soft); color: var(--soft-ink);
}
.summary h2 { margin: 0 0 14px; font-size: 1.25rem; }
.summary ul { margin: 0; }
.summary li::marker { color: currentColor; }

.policy-table-frame { margin: 18px 0 20px; overflow-x: auto; }
.policy-table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: .9375rem; }
.policy-table th, .policy-table td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.policy-table thead th { border-top: 0; padding-top: 0; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.policy-table tbody th { width: 36%; font-weight: 600; }
.policy-table tr:last-child > * { border-bottom: 1px solid var(--line); }
@media (max-width: 600px) {
  .policy-table { min-width: 0; font-size: .875rem; }
  .policy-table tbody th { width: 40%; }
}
