/* The Finance Analyst — Phase 1 landing page
   Palette: deep navy #0A1A33, gold #C9A227, paper #FAF7F0.
   Flat colors only. Fraunces (headlines) + Inter (body), with
   offline-tolerant system fallbacks via font-display: swap. */

:root {
  --navy: #0A1A33;
  --navy-2: #12294D;
  --navy-soft: #1B3A66;
  --gold: #C9A227;
  --gold-dark: #A8861D;
  --paper: #FAF7F0;
  --card: #FFFFFF;
  --ink: #1B2432;
  --muted: #5A6478;
  --line: #E7E0D2;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.brand-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.header-nav { display: flex; align-items: center; gap: 22px; }

.header-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.header-nav a:hover { color: #fff; }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: rgba(201, 162, 39, 0.12); color: var(--gold) !important; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 84px 0 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}

.eyebrow-dark { color: var(--gold-dark); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 22px;
  color: #fff;
}

.subhead {
  font-size: 18.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 36px;
}

/* Signup form */
.signup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 560px;
}

.form-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup input {
  flex: 1 1 150px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15.5px;
  font-family: inherit;
}

.signup input::placeholder { color: rgba(255, 255, 255, 0.5); }

.signup input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.signup button {
  flex: 1 1 180px;
  padding: 13px 20px;
  border: none;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15.5px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.signup button:hover { background: #DBB63A; }

.form-fine {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Portrait */
.hero-art { display: flex; justify-content: center; }

.portrait-card {
  width: min(100%, 420px);
  border: 2px solid var(--gold);
  border-radius: 18px;
  overflow: hidden;
  background: #233D61; /* matches the portrait's own backdrop */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.portrait-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Downloads ---------- */
.downloads {
  background: var(--paper);
  padding: 88px 0 96px;
}

.downloads h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 40rem;
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(10, 26, 51, 0.06);
}

.card-kicker {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-desc {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  text-align: center;
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover { background: #DBB63A; }

.btn-ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Wednesday strip ---------- */
.strip {
  background: var(--navy-2);
  color: #fff;
  padding: 64px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.strip h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  margin-bottom: 8px;
}

.strip-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  max-width: 34rem;
}

.strip-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 36px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.footer-disclaimer { max-width: 60rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { padding: 60px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; }
  .portrait-card { width: min(100%, 300px); }
  .downloads { padding: 64px 0 72px; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { min-height: 60px; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .brand-text { font-size: 16px; white-space: nowrap; }
  .header-nav { gap: 12px; }
  .header-nav a:first-child { display: none; }
  .nav-cta { white-space: nowrap; font-size: 13px; padding: 8px 13px; }
  .form-row { flex-direction: column; }
  .signup input, .signup button { flex: 1 1 auto; width: 100%; }
  .strip-links { width: 100%; }
  .strip-links .btn { flex: 1 1 auto; }
}
