:root {
  --blue: #3476df;
  --blue-dark: #245ec3;
  --navy: #002b4e;
  --ink: #0a2438;
  --muted: #607286;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 43, 78, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,229,238,.8);
}

.nav-wrap { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 190px; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; color: #365064; }
.nav-links > a:not(.btn):hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-dark); }
.btn-small { min-height: 42px; padding: 0 18px; }
.btn-light { background: white; color: var(--navy); border-color: white; }
.btn-light:hover { background: #edf4fb; }

.hero { padding: 92px 0 36px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--blue); margin-bottom: 20px; }
.eyebrow.light { color: #a9c8ff; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(48px, 6.5vw, 84px); letter-spacing: -.055em; line-height: .98; max-width: 760px; }
.hero h1 span { color: var(--blue); }
.hero-copy > p { max-width: 650px; margin: 28px 0 34px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 4px; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }

.hero-panel {
  position: relative;
  border-radius: 30px;
  padding: 42px;
  min-height: 430px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 52px solid rgba(52,118,223,.35);
  border-radius: 50%;
  right: -115px;
  bottom: -120px;
}
.panel-badge { display: inline-block; padding: 7px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.panel-number { margin-top: 50px; font-size: 14px; font-weight: 800; color: #9fc0ff; }
.hero-panel h2 { font-size: 40px; line-height: 1.05; letter-spacing: -.04em; margin: 8px 0 10px; }
.hero-panel > p { color: #b9c8d5; margin: 0 0 34px; font-size: 17px; }
.mini-list { position: relative; z-index: 2; display: grid; gap: 16px; }
.mini-list div { display: flex; gap: 12px; color: #e4ebf1; }
.mini-list span { color: #84afff; font-weight: 800; }

.stat-strip { margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip div { padding: 26px 26px 26px 0; display: flex; flex-direction: column; gap: 5px; }
.stat-strip div + div { border-left: 1px solid var(--line); padding-left: 34px; }
.stat-strip strong { color: var(--navy); font-size: 15px; }
.stat-strip span { color: var(--muted); font-size: 14px; }

.section { padding: 120px 0; }
.resources-section { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 54px; }
.section-heading h2, .start-copy h2, .opportunity-copy h2, .about-card h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.03; letter-spacing: -.045em; color: var(--navy); }
.section-heading > p { width: 390px; color: var(--muted); line-height: 1.7; margin: 0 0 6px; }

.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resource-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 350px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,43,78,.08); border-color: #bfd2e8; }
.card-top { display: flex; align-items: center; justify-content: space-between; color: #8ca1b3; font-size: 12px; font-weight: 700; }
.arrow { font-size: 18px; }
.icon-box { width: 58px; height: 58px; margin-top: 34px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: #edf4ff; font-size: 14px; font-weight: 800; }
.resource-card h3 { color: var(--navy); margin: 24px 0 10px; font-size: 25px; letter-spacing: -.025em; }
.resource-card p { color: var(--muted); line-height: 1.7; margin: 0 0 28px; }
.card-link { margin-top: auto; padding: 0; border: 0; background: none; width: fit-content; color: var(--navy); font-weight: 800; cursor: pointer; }
.card-link:hover { color: var(--blue); }

.start-section { background: var(--navy); color: white; }
.start-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.start-copy h2 { color: white; }
.start-copy p { color: #aebfcd; font-size: 17px; line-height: 1.75; max-width: 500px; }
.pathway { display: grid; gap: 12px; }
.path-option { width: 100%; display: grid; grid-template-columns: 34px 1fr 24px; gap: 16px; align-items: center; text-align: left; padding: 22px 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: white; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.path-option:hover { background: rgba(255,255,255,.09); border-color: rgba(130,174,255,.55); transform: translateX(4px); }
.path-index { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,118,223,.25); color: #a9c8ff; font-size: 12px; font-weight: 800; }
.path-option strong { display: block; font-size: 16px; margin-bottom: 5px; }
.path-option small { display: block; color: #9fb1c0; font-size: 13px; line-height: 1.5; }
.path-arrow { color: #92baff; font-weight: 800; }
.path-result { display: none; background: white; color: var(--ink); border-radius: 16px; padding: 22px 24px; margin-top: 6px; line-height: 1.6; }
.path-result.show { display: block; animation: rise .25s ease; }
.path-result strong { color: var(--navy); }

.opportunity-section { border-bottom: 1px solid var(--line); }
.opportunity-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.opportunity-copy p { color: var(--muted); line-height: 1.75; font-size: 17px; max-width: 650px; margin: 26px 0 30px; }
.opportunity-list { border-top: 1px solid var(--line); }
.opportunity-list div { display: grid; grid-template-columns: 55px 1fr; align-items: center; border-bottom: 1px solid var(--line); padding: 22px 0; }
.opportunity-list span { color: var(--blue); font-size: 12px; font-weight: 800; }
.opportunity-list p { margin: 0; color: var(--navy); font-size: 19px; font-weight: 700; }

.about-section { padding-top: 88px; }
.about-card { background: var(--blue); border-radius: 30px; padding: 64px; color: white; }
.about-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #dce9ff; margin-bottom: 20px; }
.about-card h2 { max-width: 900px; color: white; }
.about-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 48px; }
.about-bottom p { max-width: 690px; color: #e2ecff; line-height: 1.75; margin: 0; }

.site-footer { padding: 58px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: start; padding-bottom: 44px; }
.footer-brand img { width: 175px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 28px; color: #4d6577; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; color: #8a9baa; font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,29,52,.58); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(620px, 100%); max-height: min(760px, 88vh); overflow: auto; background: white; border-radius: 24px; padding: 38px; box-shadow: var(--shadow); animation: rise .22s ease; }
.modal-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border: 1px solid var(--line); background: white; border-radius: 50%; font-size: 24px; cursor: pointer; }
.modal-card h2 { margin: 0 0 20px; color: var(--navy); font-size: 38px; letter-spacing: -.035em; }
.modal-card ul { padding-left: 20px; color: var(--muted); line-height: 1.75; }
.modal-card li + li { margin-top: 8px; }
.modal-done { margin-top: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 86px; left: 0; right: 0; padding: 24px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .hero-grid, .start-grid, .opportunity-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 62px; }
  .hero-panel { min-height: auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .section-heading > p { width: auto; max-width: 620px; }
  .about-bottom { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1160px); }
  .nav-wrap { height: 72px; }
  .brand img { width: 150px; }
  .nav-links { top: 72px; }
  .hero { padding: 50px 0 28px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .text-link { width: fit-content; }
  .hero-panel { padding: 30px; border-radius: 22px; }
  .hero-panel h2 { font-size: 32px; }
  .stat-strip { margin-top: 48px; grid-template-columns: 1fr; }
  .stat-strip div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding: 82px 0; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 330px; }
  .start-grid { gap: 36px; }
  .path-option { grid-template-columns: 30px 1fr 18px; padding: 18px; }
  .about-card { padding: 38px 28px; border-radius: 22px; }
  .footer-grid { flex-direction: column; gap: 28px; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .modal-card { padding: 32px 24px; }
}

/* Version 2: curated resource library */
.library-section { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.library-heading { margin-bottom: 34px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-chip { border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter-chip:hover, .filter-chip.active { border-color: var(--blue); background: var(--blue); color: var(--white); }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.library-card { display: flex; flex-direction: column; min-height: 285px; padding: 26px; border: 1px solid var(--line); background: var(--white); border-radius: 20px; box-shadow: 0 10px 34px rgba(0,43,78,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.library-card:hover { transform: translateY(-4px); border-color: #b9d1f4; box-shadow: 0 18px 44px rgba(0,43,78,.09); }
.library-card.hidden-resource { display: none; }
.library-card.featured-resource { border-color: #a9c8f8; box-shadow: inset 0 3px 0 var(--blue), 0 10px 34px rgba(0,43,78,.05); }
.library-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #8090a0; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.source-pill { color: var(--blue-dark); background: #edf4ff; border-radius: 999px; padding: 7px 9px; letter-spacing: .08em; }
.library-card h3 { margin: 30px 0 12px; color: var(--navy); font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.library-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.library-footer { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.library-footer span:last-child { font-size: 20px; }
.library-note { margin-top: 26px; border: 1px solid #cfe0f6; background: #eef5ff; border-radius: 16px; padding: 18px 20px; }
.library-note div { display: flex; gap: 12px; align-items: baseline; color: var(--navy); font-size: 13px; }
.library-note span { color: var(--muted); line-height: 1.6; }
.modal-resource-links { display: grid; gap: 10px; margin-top: 22px; }
.modal-resource-links a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 700; font-size: 13px; }
.modal-resource-links a:hover { border-color: var(--blue); color: var(--blue-dark); background: #f7faff; }
.modal-card p { color: var(--muted); line-height: 1.7; }
@media (max-width: 920px) { .library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .library-grid { grid-template-columns: 1fr; } .library-card { min-height: 255px; } .library-note div { flex-direction: column; gap: 4px; } }

/* V3 additions */
.brand img { width: 172px; height: 54px; object-fit: contain; object-position: left center; }
.lang-toggle { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 11px; font: inherit; font-weight: 800; font-size: 12px; cursor: pointer; }
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.tools-section { background: #f7faff; }
.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.tool-card { border: 1px solid var(--line); border-radius: 20px; background:#fff; padding: 28px; min-height: 310px; display:flex; flex-direction:column; align-items:flex-start; }
.tool-card h3 { font-size: 24px; color: var(--navy); margin: 14px 0 12px; }
.tool-card p { color: var(--muted); line-height: 1.7; margin: 0 0 26px; }
.tool-card .btn { margin-top:auto; }
.tool-kicker { font-size: 11px; letter-spacing: .12em; font-weight: 800; color: var(--blue); }
.filter-group { margin-bottom: 28px; }
.filter-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--muted); margin-bottom: 9px; }
.country-label { margin-top: 14px; }
.no-results { margin-top: 18px; }
.about-copy p + p { margin-top: 14px; }
.footer-logo { width: 150px; height: 52px; object-fit: contain; object-position:left center; margin-bottom: 12px; }
.site-footer { border-top: 1px solid var(--line); background:#fff; padding: 34px 0; }
.footer-wrap { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; }
.footer-wrap p { color:var(--muted); margin:0; font-size:13px; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; justify-content:flex-end; }
.footer-links a { color:var(--navy); font-size:12px; font-weight:700; }
.tool-modal-card { max-width: 760px; max-height: 88vh; overflow:auto; }
.tool-form { display:grid; gap:14px; margin-top:18px; }
.tool-form label { display:grid; gap:7px; color:var(--navy); font-size:12px; font-weight:800; }
.tool-form input, .tool-form textarea, .tool-form select { width:100%; border:1px solid var(--line); border-radius:12px; padding:12px 13px; font:inherit; color:var(--navy); background:#fff; }
.tool-form textarea { min-height:88px; resize:vertical; }
.tool-form input:focus, .tool-form textarea:focus, .tool-form select:focus { outline:2px solid #dceaff; border-color:var(--blue); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tool-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.secondary-btn { border:1px solid var(--line); background:#fff; color:var(--navy); border-radius:999px; padding:11px 16px; font-weight:800; cursor:pointer; }
.secondary-btn:hover { border-color:var(--blue); color:var(--blue); }
.output-box { margin-top:18px; padding:18px; border:1px solid var(--line); border-radius:14px; background:#f8fbff; white-space:pre-wrap; color:var(--navy); line-height:1.6; font-size:13px; }
.interview-question { padding:22px; border-radius:16px; background:var(--navy); color:#fff; margin-top:16px; }
.interview-question span { display:block; opacity:.6; font-size:10px; font-weight:800; letter-spacing:.12em; margin-bottom:10px; }
.interview-question h3 { margin:0; font-size:23px; color:#fff; }
.answer-tip { margin-top:14px; padding:15px; background:#eef5ff; border-radius:12px; color:var(--navy); line-height:1.6; font-size:13px; }
.tracker-form { display:grid; grid-template-columns:1.4fr 1fr 1fr auto; gap:8px; margin:16px 0; }
.tracker-form input, .tracker-form select { border:1px solid var(--line); border-radius:10px; padding:10px; font:inherit; min-width:0; }
.tracker-list { display:grid; gap:9px; }
.tracker-item { display:grid; grid-template-columns:1.4fr 1fr 1fr auto; gap:8px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:12px; font-size:12px; }
.tracker-item strong { color:var(--navy); }
.tracker-item span { color:var(--muted); }
.delete-row { border:0; background:transparent; color:#8b98aa; font-size:18px; cursor:pointer; }
.hidden-resource { display:none !important; }
@media (max-width: 920px) { .tool-grid { grid-template-columns:1fr; } .footer-wrap { align-items:flex-start; flex-direction:column; } .footer-links { justify-content:flex-start; } }
@media (max-width: 640px) { .brand img { width:140px; height:44px; } .form-grid { grid-template-columns:1fr; } .tracker-form, .tracker-item { grid-template-columns:1fr; } .tool-modal-card { width:calc(100% - 24px); } }
