/* public/styles.css — ACIS "Tech Luxury" light theme (per ACIS brand-guidelines.md).
   Light mode only (the brand's default; dark mode intentionally omitted for this
   validation artifact). Var names --ghost/--real/--caution are kept because app.js
   and the injected demo cards reference them inline. */
:root {
  /* Brand core (constant across modes) */
  --navy: #0F234C;
  --emerald: #0D6B4F;
  --copper: #B87333;

  /* Light-mode surfaces & text */
  --bg: #FFFFFF;          /* Background Primary (Pure White) */
  --panel: #F7F7F7;       /* Background Secondary (cards) */
  --panel-2: #EFEFEF;     /* Background Tertiary (nested) */
  --ink: #0F234C;         /* Text Primary (Navy) */
  --muted: #4A5568;       /* Text Secondary */
  --faint: #718096;       /* Text Muted */
  --line: #D8D8D8;        /* Borders / grid */

  /* Interactive */
  --steel: #156082;       /* Primary action */
  --steel-hover: #104A64;
  --copper-hover: #9A6129;

  /* Score semantics (stage colors, light mode) */
  --ghost: #C53030;       /* Likely Ghost (negative) */
  --caution: #C67F17;     /* Caution (amber) */
  --real: #0D6B4F;        /* Likely Real (emerald) */

  /* System tokens */
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-md: 0 4px 14px rgba(15, 35, 76, .08);
  --shadow-lg: 0 8px 24px rgba(15, 35, 76, .12);
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.02em; }

/* Header — always Navy with white text (brand anchor) */
.nav { display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; position: sticky; top: 0; z-index: 20;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.brand { font-weight: 800; letter-spacing: -0.01em; color: #fff; }

/* Buttons — Steel Blue primary, white text */
.nav-cta, .cta-form button, #scanBtn {
  background: var(--steel); color: #fff; border: 0; border-radius: var(--radius-md);
  padding: 12px 20px; text-decoration: none; font-weight: 600; font-size: 1rem;
  font-family: inherit; cursor: pointer; transition: transform .15s var(--ease), background .2s ease; }
.nav-cta:hover, .cta-form button:hover, #scanBtn:hover { background: var(--steel-hover); transform: translateY(-1px); }
.nav-cta:active, .cta-form button:active, #scanBtn:active { transform: scale(.98); }
#scanBtn:disabled { opacity: .6; cursor: default; transform: none; }

/* Hero — generous whitespace; accent word in Copper (brand "attention") */
.hero { text-align: center; padding: 100px 32px 48px; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin: 0 0 16px; }
.hero .ghost { color: var(--copper); }
.hero .sub { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.125rem; }
.scroll-hint { margin-top: 44px; color: var(--faint); font-size: .9rem; letter-spacing: .08em;
  text-transform: uppercase; animation: bob 1.6s infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* Scrollytelling demo — single column of job examples (Rodrigo prefers one column) */
.demo { position: relative; max-width: 760px; margin: 0 auto; padding: 40px 32px 96px; }
.board { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--panel); border: 1px solid var(--panel-2); border-radius: var(--radius-lg);
  padding: 20px 22px; position: relative; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s ease; }
.card.scanned { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink); }
.card .co { color: var(--muted); font-size: 14px; font-weight: 600; }
.card .meta { color: var(--faint); font-size: 13px; margin: 6px 0; }
.card .blurb { font-size: 14px; color: var(--muted); }
/* ghost-scan stamp, revealed as the card enters the scanned zone */
.card .stamp { position: absolute; top: 16px; right: 16px; opacity: 0;
  transform: scale(.9); transition: opacity .4s var(--ease), transform .4s var(--ease);
  border-radius: var(--radius-md); padding: 8px 12px; font-weight: 700; font-size: 13px;
  border: 1px solid currentColor; max-width: 220px; }
.card.scanned .stamp { opacity: 1; transform: scale(1); }
.card .stamp .why { display: block; font-weight: 400; font-size: 11px;
  color: var(--muted); margin-top: 2px; }
.stamp.ghost { background: rgba(197,48,48,.08); color: var(--ghost); }
.stamp.real { background: rgba(13,107,79,.08); color: var(--real); }
.stamp.caution { background: rgba(198,127,23,.08); color: var(--caution); }
/* translucent scan beam that tracks scroll (Steel Blue) */
.scan-sheet { position: fixed; left: 0; right: 0; top: 0; height: 140px;
  background: linear-gradient(180deg, rgba(21,96,130,0), rgba(21,96,130,.14),
    rgba(21,96,130,0)); pointer-events: none; z-index: 5; display: none; }
.demo.active .scan-sheet { display: block; }

/* Scanner + CTA sections */
.scanner, .cta { max-width: 960px; margin: 0 auto; padding: 64px 32px; text-align: center; }
.scanner h2, .cta h2 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.scanner p, .cta p { color: var(--muted); margin: 0 auto 20px; max-width: 520px; }
textarea, #jobUrl, #ctaEmail { width: 100%; margin: 8px 0; padding: 14px;
  border-radius: var(--radius-md); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-family: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease; }
textarea:focus, #jobUrl:focus, #ctaEmail:focus { outline: none;
  border-color: var(--steel); box-shadow: 0 0 0 3px rgba(21,96,130,.18); }
textarea::placeholder, input::placeholder { color: var(--faint); }

/* Scanner result card */
.result { text-align: left; margin-top: 24px; background: var(--panel);
  border: 1px solid var(--panel-2); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-md); }
.result .score { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700;
  font-size: 64px; line-height: 1.05; }
.result strong { display: block; margin-top: 14px; color: var(--ink); font-weight: 700; }
.result ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.result li { margin: 4px 0; }
.result a { color: var(--steel); font-weight: 600; }

/* CTA */
.cta-form { display: flex; gap: 10px; }
.cta-form #ctaEmail { margin: 0; }
.cta-msg { margin-top: 14px; color: var(--emerald); font-weight: 600; }

.foot { text-align: center; color: var(--faint); padding: 36px; font-size: 13px;
  border-top: 1px solid var(--panel-2); }

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .cta-form { flex-direction: column; }
  .result .score { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, .scroll-hint { animation: none !important; transition: none !important; }
}
