/* The Skills Gap Toolkit: shared styles */

:root {
  --navy: #1f3864;
  --navy-deep: #13254a;
  --navy-soft: #e9eef7;
  --accent: #e07a3f;
  --accent-hover: #c8652c;
  --accent-soft: #fdf0e7;
  --ink: #1c2333;
  --muted: #5b6475;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --ok: #1e7a45;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 37, 74, 0.06), 0 8px 24px rgba(19, 37, 74, 0.08);
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--navy-deep); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-deep); color: #dfe6f3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--navy-soft); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-deep); font-weight: 750; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn { padding: 10px 18px; font-size: 0.92rem; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background: radial-gradient(1200px 500px at 85% -10%, var(--navy-soft), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { margin: 20px 0 30px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.trust-line span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-visual { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 14px; }
.hero-visual img { border-radius: 10px; }
.hero-visual figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; padding: 10px 6px 2px; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 14px; }

.pain { display: flex; gap: 14px; align-items: flex-start; }
.pain-dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.pain p { margin: 0; }

.callout { margin-top: 40px; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; }
.callout p { margin: 0; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; color: var(--navy-deep); border-left: 4px solid var(--accent); padding-left: 24px; margin: 0; }
.placeholder { background: #fff6d6; outline: 1px dashed #d9b53f; border-radius: 4px; padding: 0 4px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  height: 44px;
  margin-top: 24px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 750;
  display: grid;
  place-items: center;
}
.step.card { padding-top: 88px; }

/* ---------- Results showcase ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.showcase { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; max-width: 920px; margin: 0 auto; }
.showcase img { border-radius: 10px; margin: 0 auto; }
.showcase figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; padding: 14px 8px 4px; }
.showcase figcaption strong { color: var(--ink); }
.panel[hidden] { display: none; }
.fineprint { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 18px; }

/* ---------- Inside list ---------- */
.inside .card h3 { margin-bottom: 6px; }
.inside .card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Who ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--navy-soft); color: var(--navy-deep); font-weight: 600; font-size: 0.92rem; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.avatar { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #3d5a99); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; box-shadow: var(--shadow); }
.founder-name { font-weight: 700; color: var(--navy-deep); margin-bottom: 2px; }

/* ---------- Pricing ---------- */
.founding {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: left;
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid #f4cfb6;
}
.founding .emoji { font-size: 1.6rem; }
.founding p { margin: 0; }
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.price-card .tier { font-weight: 700; color: var(--navy-deep); font-size: 1.15rem; margin-bottom: 4px; }
.price-card .best { color: var(--muted); font-size: 0.93rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 2px; }
.price .now { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--navy-deep); line-height: 1; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price-note { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.features li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 0.96rem; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.features li.plus { font-weight: 600; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 36px; color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 650; font-size: 1.05rem; color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final p { color: #c5d0e6; max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--navy); }

/* ---------- Consulting page ---------- */
.page-hero { padding: 72px 0 56px; background: radial-gradient(1000px 420px at 80% -10%, var(--navy-soft), transparent 60%), var(--bg); }
.service h3 { font-size: 1.25rem; }
.service .for { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.service .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 16px 0 18px; }
.service .meta strong { color: var(--navy-deep); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 650; }
tr:last-child td { border-bottom: none; }
.process { counter-reset: p; }
.process .card { position: relative; padding-left: 80px; }
.process .card::before { counter-increment: p; content: counter(p); position: absolute; left: 24px; top: 26px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750; display: grid; place-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
  .brand { white-space: nowrap; }
  .hero-grid, .story, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card .best { min-height: 0; }
  .service .for { min-height: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .nav-links .btn { padding: 9px 14px; font-size: 0.85rem; white-space: nowrap; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .step.card { padding-top: 80px; }
  .step::before { left: 22px; }
  .founder { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .avatar { width: 120px; height: 120px; font-size: 2.2rem; margin: 0 auto; }
  .founding { flex-direction: column; text-align: center; }
  .btn-row .btn { flex: 1 1 100%; }
  .process .card { padding-left: 22px; padding-top: 72px; }
  .process .card::before { left: 22px; top: 22px; }
}
