/* Tactical 2 Talent marketing pages (index.html, pilots.html).
   The app (app.html) has its own styles. */

:root {
  --navy: #1a3a6b;
  --navy-dark: #0f2347;
  --gold: #d4a017;        /* buttons: navy-dark text on gold = 6.5:1 */
  --gold-bright: #e0b23a; /* accents on navy = 5.7:1 */
  --gold-text: #8a6508;   /* gold text on light ground = 4.8:1 */
  --paper: #f7f5ef;
  --white: #ffffff;
  --rule: #e2ddd1;
  --rule-dark: #b9b3a6;
  --text: #1c1f26;
  --text-2: #3d4250;
  --muted: #4a4639;
  --muted-2: #5c5749;
  --on-navy: #dfe5ef;
  --green: #1a5c2a;
  --green-light: #e6f2e9;
  --display: 'Lora', Georgia, serif;
  --ui: 'Familjen Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--display);
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy-dark); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--navy-dark); padding: 10px 14px;
  font-family: var(--ui); font-weight: 700; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* Shared type */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow-on-navy { color: var(--gold); }
.h2 {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; color: var(--navy-dark);
}
.lede { margin: 0 0 48px; font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--ui); font-size: 16px; font-weight: 700;
  padding: 14px 24px; border-radius: 4px; border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-dark); }
.btn-outline { border-color: var(--navy-dark); color: var(--navy-dark); background: transparent; }
.btn-outline:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline-light { border-color: var(--on-navy); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy-dark); }
.btn-block { display: block; width: 100%; }
.btn-lg { font-size: 17px; padding: 15px 32px; }

/* Nav */
.site-header { background: var(--navy-dark); position: sticky; top: 0; z-index: 100; }
.site-header .wrap {
  min-height: 64px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-name {
  font-family: var(--ui); font-size: 16px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--ui); font-size: 15px; font-weight: 600;
  color: var(--on-navy); text-decoration: none; padding: 12px 14px;
}
.nav-link:hover { color: var(--white); }
.nav-cta { padding: 11px 18px; font-size: 15px; }
@media (max-width: 720px) {
  .nav-section { display: none; }
  .brand-name { font-size: 14px; }
}
@media (max-width: 480px) {
  .site-header .wrap { flex-wrap: nowrap; min-height: 60px; }
  .nav-signin { display: none; } /* the app's own screen offers sign-in */
  .nav-cta { font-size: 14px; padding: 10px 14px; white-space: nowrap; }
}

/* Hero */
.hero { background: var(--navy); padding: 72px 0 80px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 {
  margin: 0 0 24px; font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 5vw, 58px); line-height: 1.08; color: var(--white);
}
.hero h1 em { color: var(--gold-bright); }
.hero-sub { margin: 0 0 32px; font-size: 19px; line-height: 1.6; color: var(--on-navy); max-width: 520px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none;
  font-family: var(--ui); font-size: 15px; color: var(--on-navy); }
.checks li { display: flex; align-items: center; gap: 8px; }

/* Calculator card */
.calc {
  flex: 1 1 440px; min-width: 0; background: var(--white); border-radius: 8px; padding: 28px;
  box-shadow: 0 24px 60px rgba(5, 15, 35, 0.35);
}
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.calc-head h2 { margin: 0; font-family: var(--ui); font-size: 20px; font-weight: 700; color: var(--navy-dark); }
.pill { font-family: var(--ui); font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-light); padding: 4px 10px; border-radius: 99px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.field { flex: 1 1 120px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
  font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--text-2); }
.field-row .field { margin-bottom: 0; }
.field select {
  height: 46px; padding: 0 10px; font-size: 16px; font-family: var(--ui);
  border: 1px solid var(--rule-dark); border-radius: 4px; background: var(--white); color: var(--text);
}
.toggle { border: none; margin: 0 0 22px; padding: 0; }
.toggle legend { padding: 0; margin-bottom: 6px; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--text-2); }
.toggle-btns { display: flex; gap: 8px; }
.toggle-btns button {
  flex: 1; min-height: 44px; font-family: var(--ui); font-size: 15px; font-weight: 600;
  border-radius: 4px; border: 2px solid var(--rule-dark); background: var(--white); color: var(--text); cursor: pointer;
}
.toggle-btns button[aria-pressed="true"] { border-color: var(--navy-dark); background: var(--navy-dark); color: var(--white); font-weight: 700; }
.result { background: var(--paper); border-radius: 6px; padding: 20px 20px 8px; }
.result-label { margin: 0; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--text-2); }
.result-total { margin: 4px 0 14px; font-family: var(--ui); font-size: 48px; line-height: 1; font-weight: 700; color: var(--navy-dark); }
.result-total small { font-size: 18px; font-weight: 600; color: var(--muted-2); }
.result dl { margin: 0; }
.result-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.result-row dt { color: var(--text-2); }
.result-row dd { margin: 0; font-family: var(--ui); font-weight: 700; color: var(--text); white-space: nowrap; }
.calc .btn-block { margin-top: 20px; font-size: 17px; padding: 15px 20px; }
.calc-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
@media (max-width: 480px) {
  .calc { padding: 20px; }
  .result-total { font-size: 40px; }
}

/* Founder */
.founder { background: var(--white); border-bottom: 1px solid var(--rule); }
.founder .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.monogram {
  width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%;
  background: var(--navy-dark); color: var(--white); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ui); font-size: 30px; font-weight: 700; letter-spacing: 0.04em;
}
.founder-text { flex: 1 1 520px; min-width: 0; }
.founder blockquote { margin: 0 0 8px; font-size: 19px; line-height: 1.6; font-style: italic; color: var(--navy-dark); }
.founder-attr { margin: 0; font-family: var(--ui); font-size: 15px; font-weight: 700; color: var(--text-2); }

/* Timeline */
.how { padding: 88px 0; }
.phases { display: flex; flex-wrap: wrap; gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.phase { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.phase-mark { display: flex; align-items: center; gap: 10px; }
.phase-num {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  background: var(--navy-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ui); font-size: 15px; font-weight: 700;
}
.phase-line { flex: 1; height: 2px; background: var(--gold); }
.phase-when { margin: 4px 0 0; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.phase h3 { margin: 0; font-family: var(--ui); font-size: 22px; font-weight: 700; color: var(--navy-dark); }
.phase-body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.phase-tools { margin: 0; font-family: var(--ui); font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--text-2); }

/* Dark band (pilots teaser) */
.band { background: var(--navy-dark); padding: 64px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band-copy { flex: 1 1 560px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.band-copy svg { flex: 0 0 40px; }
.band h2 { margin: 0 0 10px; font-family: var(--ui); font-size: 26px; font-weight: 700; color: var(--white); }
.band p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-navy); max-width: 620px; }

/* Pricing */
.pricing { padding: 88px 0; }
.pricing .h2, .pricing .lede { text-align: center; margin-left: auto; margin-right: auto; }
.pricing .lede { margin-bottom: 44px; max-width: 560px; }
.plans { display: flex; flex-wrap: wrap; gap: 20px; }
.plan { flex: 1 1 320px; min-width: 0; background: var(--white); border: 1px solid #d6d0c4; border-radius: 8px; padding: 32px; display: flex; flex-direction: column; }
.plan-pro { border: 2px solid var(--navy-dark); }
.plan h3 { margin: 0 0 6px; font-family: var(--ui); font-size: 20px; font-weight: 700; color: var(--navy-dark); }
.plan-price { margin: 0 0 4px; font-family: var(--ui); font-size: 42px; font-weight: 700; color: var(--navy-dark); }
.plan-price small { font-size: 17px; font-weight: 600; color: var(--muted-2); }
.plan-sub { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.plan ul { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: 0 0 18px; margin-top: 3px; }
.privacy-line { margin: 32px 0 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Final CTA */
.final { background: var(--navy); padding: 80px 0; text-align: center; }
.final .wrap { max-width: 720px; }
.final h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; color: var(--white); }
.final p { margin: 0 0 32px; font-size: 18px; line-height: 1.6; color: var(--on-navy); }

/* Footer */
.site-footer { background: var(--navy-dark); padding: 32px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; font-family: var(--ui); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #c3cbd9; text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { margin: 0; color: #a9b3c4; }

/* Pilots page */
.page-hero { background: var(--navy); padding: 72px 0; }
.page-hero h1 { margin: 0 0 20px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; color: var(--white); max-width: 820px; }
.page-hero p { margin: 0 0 32px; font-size: 19px; line-height: 1.6; color: var(--on-navy); max-width: 640px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.card { flex: 1 1 260px; min-width: 0; background: var(--white); border: 1px solid #d6d0c4; border-radius: 8px; padding: 28px; }
.card h3 { margin: 0 0 10px; font-family: var(--ui); font-size: 20px; font-weight: 700; color: var(--navy-dark); }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.section { padding: 80px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.paths { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.path { flex: 1 1 200px; min-width: 0; padding: 22px; border-radius: 8px; background: var(--paper); }
.path-hours { margin: 0; font-family: var(--ui); font-size: 34px; font-weight: 700; color: var(--navy-dark); }
.path-name { margin: 4px 0 0; font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--text-2); }
