/* ============================================================
   Hireanex landing prototypes — shared styles
   Self-contained. Not part of the live site. Uses the real
   brand tokens (amber/orange, near-black text, dark room shell).
   Mock product screens are drawn in CSS — no image assets.
   ============================================================ */

/* Self-hosted Geist (variable, wght 100–900) — same-origin so no CDN/CSP
   conflict; honors the fractional weights this page uses (650/720/750). */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;            /* near-black text */
  --muted: #6b7280;        /* AA body text on white (4.83:1) */
  --muted-2: #9aa1ad;      /* chrome only — NOT sentence text (2.6:1) */
  --line: #e7e8ec;
  --card: #ffffff;
  --soft: #f6f7f9;
  --brand: oklch(0.68 0.17 55);        /* amber/orange — fills + large accents */
  --brand-strong: oklch(0.62 0.18 50); /* large/display amber only */
  --brand-text: oklch(0.53 0.16 50);   /* small amber TEXT — AA on white (5.6:1) + on brand-muted (4.85:1) */
  --brand-muted: oklch(0.96 0.04 55);  /* soft amber wash */
  --brand-ink: #2a1c0c;    /* ink for text ON amber (5.4:1) */
  --room: #0b0d12;          /* interview-room shell */
  --room-2: #11141c;
  --room-line: rgba(255,255,255,0.08);
  --room-fg: #e9ebf0;
  --room-muted: #8b93a4;
  --good: #16a34a;
  --shadow-pop: 0 2px 4px rgba(10,10,10,.05), 0 18px 40px rgba(10,10,10,.10);
  --shadow-soft: 0 1px 2px rgba(10,10,10,.05), 0 4px 14px rgba(10,10,10,.06);
  --radius: 14px;
  --maxw: 1120px;
  /* Motion easing — referenced by proto2.css (cursor + pinned-canvas morph).
     Must live here: the static prototype CSS does NOT go through Tailwind, so
     the app's @theme --ease-out-quart is not available to these pages. */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- prototype banner (so owner always knows it's a mock) ---------- */
.proto-banner {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  background: var(--brand-ink); color: #fff;
}
.proto-banner a { color: #ffd9a8; }
.proto-banner .tag { opacity: .8; font-weight: 500; }

/* ---------- marketing chrome ---------- */
/* Full-width sticky bar = the frosted backing (no vw math, so it never overflows
   on scrollbar-present browsers); .nav inside is the centered content row. */
.navbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.nav.dark-nav { color: var(--fg); }
.brand-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; color: var(--fg); }
/* Hireanex lens mark: amber ring + solid center dot (dot inherits currentColor). */
.brand-logo .mark { width: 26px; height: 26px; display: grid; place-items: center; color: var(--fg); }
.brand-logo .mark svg { display: block; }
.brand-logo .wordmark { line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links .nl { color: var(--muted); transition: color .15s ease; }
.nav-links .nl:hover { color: var(--fg); }
.nav-links .btn-ghost { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 11px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
}
.btn-brand { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-soft); }
.btn-brand:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-text);
}
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px; }
.section--tight { padding: 56px 24px; }
.center { text-align: center; }
.lede { color: var(--muted); font-size: 18px; max-width: 56ch; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 750; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 720; }
.accent { color: var(--brand); }
.kicker { color: var(--muted); }

/* ---------- generic device / browser frame ---------- */
.frame {
  border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-pop); overflow: hidden;
}
.frame .bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--soft); border-bottom: 1px solid var(--line);
}
.frame .bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d6d8de; }
.frame .bar .url {
  margin-left: 10px; font-size: 12px; color: var(--muted-2);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 3px 12px;
}
.frame--dark { background: var(--room); border-color: var(--room-line); color: var(--room-fg); }
.frame--dark .bar { background: #0e1118; border-bottom-color: var(--room-line); }
.frame--dark .bar .url { background: #0b0d12; border-color: var(--room-line); color: var(--room-muted); }
.frame-body { padding: 18px; }

/* ---------- chips (report / saved minichips) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip-amber { background: var(--brand-muted); color: var(--brand-text); }
.chip-line { border: 1px solid var(--line); color: var(--muted); }

/* ---------- hero live room grid ---------- */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.caption { margin-top: 10px; font-size: 13px; color: var(--room-muted); text-align:center; }
.caption b { color: var(--room-fg); font-weight: 600; }

/* ---------- secure check signals ---------- */
.signals { display: flex; flex-direction: column; gap: 10px; }
.sig { display:flex; align-items:center; gap:11px; padding: 11px 13px; border:1px solid var(--room-line); border-radius:10px; background: var(--room-2); }
.sig .sib { width:30px; height:30px; border-radius:8px; display:grid; place-items:center; font-size:13px; background: rgba(255,255,255,.05); }
.sig .st { font-size:13.5px; font-weight:600; color: var(--room-fg); }
.sig .ss { font-size:12px; color: var(--room-muted); }
.sig.calm .sib { color: #7bd88f; }
.sig.amber .sib { color: #ffb454; }

/* ---------- mock: report ---------- */
.report { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.scorebox { text-align:center; padding: 18px; border:1px solid var(--line); border-radius: 12px; background:#fff; }
.scorering {
  width: 116px; height: 116px; border-radius:50%; margin: 4px auto 10px;
  background: conic-gradient(var(--brand) 0 82%, #eceef1 82% 100%);
  display:grid; place-items:center; position:relative;
}
.scorering::before { content:""; position:absolute; inset:11px; background:#fff; border-radius:50%; }
.scorering .v { position:relative; font-size: 30px; font-weight: 800; }
.bars .b { margin-bottom: 11px; }
.bars .b .lab { display:flex; justify-content:space-between; font-size:12.5px; margin-bottom:5px; color: var(--muted); }
.bars .b .track { height:7px; border-radius:99px; background:#eceef1; overflow:hidden; }
.bars .b .fill { height:100%; background: var(--brand); border-radius:99px; }
.tline { display:flex; gap:9px; font-size:13px; margin-bottom:9px; }
.tline .who { flex:0 0 64px; font-weight:700; color: var(--muted); font-size:12px; }
.tline .who.cand { color: var(--brand-text); }
.minichips { display:flex; flex-wrap:wrap; gap:7px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-muted); border-radius: 20px; padding: 48px; text-align:center; }

/* ---------- real footer (Product / Company / Legal) ---------- */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer-brand .brand-logo { font-size: 17px; }
.footer-tag { margin: 14px 0 0; max-width: 30ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.footer-col h3 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color .15s ease; }
.footer-col a:hover { color: var(--fg); }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--muted); transition: color .15s ease; }
.footer-base a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- trust / security strip (landing) ---------- */
.trust-band { max-width: var(--maxw); margin: 0 auto; padding: 28px 30px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; }
.trust-eyebrow { display:block; text-align:center; font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color: var(--brand-text); margin-bottom: 22px; }
.trust-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px 30px; }
.trust-item { display:flex; gap:11px; align-items:flex-start; }
.trust-ic { flex-shrink:0; color: var(--brand); margin-top:1px; }
.trust-t { font-weight:650; font-size:14px; }
.trust-s { font-size:12.5px; color: var(--muted); margin-top:3px; line-height:1.45; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust-more { font-size: 13.5px; font-weight: 650; color: var(--brand-text); }
.trust-more:hover { text-decoration: underline; }
.trust-dpa { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  /* keep the primary CTA in the sticky header; drop the text links + Sign in */
  .nav-links { display:flex; align-items:center; gap:10px; }
  .nav-links .nl, .nav-links .btn-ghost { display:none; }
  /* minmax(0,…) not bare 1fr: the scorebox / bars children have a ~275px
     min-content that otherwise floors the track and overflows the card on
     ≤360px phones (iPhone SE). */
  .report, .room { grid-template-columns: minmax(0, 1fr); }
  .report > *, .room > * { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
