/* NOVATLAS homepage, built from Kathryn's "Novatlas Website – Home page" design (22 Oct). */
:root {
  --cobalt: #3355E8; --cobalt-dark: #2440B8; --sky: #9DB4FF; --coral: #FF6A4D;
  --ink: #1C2833; --ink-2: #4A5563; --cloud: #F4F6F8; --line: #C9D1DB; --line-soft: #E3E8EE;
  --tag-bg: #E8EEFF; --on-ink: #D5DCE5; --on-ink-2: #B8C2CF; --ink-raised: #34445A;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* header + hero */
.top { background: var(--cloud); }
.nav { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo span { font: 800 26px/1 var(--display); letter-spacing: -0.035em; }
.logo.light { color: #fff; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--cobalt); }
.nav-links .btn-pill, .btn-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--cobalt); color: #fff; font-weight: 600; }
.nav-links .btn-pill:hover { background: var(--cobalt-dark); color: #fff; }

.hero { padding-top: 72px; padding-bottom: 112px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--cobalt); }
h1 { font-weight: 800; font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.035em; }
.lede { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.need { display: flex; flex-direction: column; gap: 10px; max-width: 580px; }
.need label { font-size: 15px; font-weight: 600; }
.need-row { display: flex; flex-wrap: wrap; gap: 10px; }
.need input { flex: 1 1 280px; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; }
.need input:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--tag-bg); }
.need button[type=submit] { min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--cobalt); color: #fff; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; }
.need button[type=submit]:hover { background: var(--cobalt-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--cobalt); }
.chip[aria-pressed=true] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.hero-card-wrap { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.results-card { width: 100%; max-width: 480px; background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 2px rgba(28,40,51,.06), 0 12px 40px rgba(28,40,51,.10); }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rc-for { font-size: 14px; color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-for b { color: var(--ink); }
.rc-ed { font-size: 13px; font-weight: 600; color: var(--cobalt); white-space: nowrap; }
.rc-list { display: flex; flex-direction: column; gap: 16px; min-height: 330px; }
.rc-item { border: 1px solid var(--line-soft); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-weight: 400; transition: border-color .12s; }
.rc-item:hover { border-color: var(--sky); color: var(--ink); }
.rc-item .tag { align-self: flex-start; }
.rc-item .t { font: 700 19px/1.3 var(--display); }
.rc-item .s { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-empty { color: var(--ink-2); font-size: 15px; padding: 18px; border: 1px dashed var(--line); border-radius: 16px; }
.rc-all { font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tag-bg); color: var(--cobalt-dark); }
.tag.dark { font-size: 13px; padding: 5px 12px; background: var(--ink-raised); color: #fff; }
.tag.beta { font-size: 13px; padding: 5px 12px; }

/* sections */
.band { background: var(--ink); color: #fff; }
.band-in { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.band h2 { flex: 1 1 440px; min-width: 0; }
.band-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--on-ink); }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; }
h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.head.wide { max-width: 680px; }
.sub { font-size: 18px; color: var(--ink-2); }
.tint { background: var(--cloud); }
.grid { display: grid; gap: 24px; }
.g240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.g260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { color: var(--ink-2); }
.card .grow { flex: 1 1 auto; }
.card.grey { background: var(--cloud); }
.card.white { background: #fff; }
.card.outline { border: 1px solid var(--line-soft); }
.card.dashed { border: 2px dashed var(--line); }
.card.ink { background: var(--ink); color: #fff; gap: 16px; }
.card.ink p { color: var(--on-ink); }
.card.ink a { color: #fff; }
.card .num { width: 44px; height: 44px; border-radius: 999px; background: var(--cobalt); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--display); }
.values > div { display: flex; flex-direction: column; gap: 10px; }
.values i { width: 12px; height: 12px; border-radius: 999px; }
.values h3 { font-size: 20px; letter-spacing: 0; }
.values p { color: var(--ink-2); }
.ed-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ed-name span:first-child { font: 800 32px/1.1 var(--display); letter-spacing: -0.035em; }
.ed-region { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.ed-region.cobalt { color: var(--cobalt); }
.next { font: 700 26px/1.2 var(--display); letter-spacing: -0.02em; }

/* footer */
.foot { background: var(--ink); color: var(--on-ink); }
.foot-in { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; flex: 1 1 280px; font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-cols .fh { font-weight: 600; color: #fff; }
.foot-cols a { color: var(--on-ink); font-weight: 400; }
.foot-cols a:hover { color: #fff; }
.foot-base { border-top: 1px solid var(--ink-raised); padding-top: 24px; font-size: 14px; color: var(--on-ink-2); }

@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hide-sm { display: none; }
  .hero { padding-top: 32px; padding-bottom: 64px; gap: 40px; }
  .hero-copy, .hero-card-wrap { flex-basis: 100%; }
  .lede { font-size: 18px; }
  .results-card { padding: 20px; }
  .rc-list { min-height: 0; }
  .band-in { padding-top: 64px; padding-bottom: 64px; }
  .band h2, .band-copy { flex-basis: 100%; }
  .section { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .card { padding: 24px; }
  .g240, .g260, .g280, .g300 { grid-template-columns: 1fr; }
}

/* words from the Doc: text pages (Inclusion rules, Privacy, any new Heading 1) and sections Kathryn adds */
.prose { padding-top: 56px; padding-bottom: 104px; max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 8px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 24px; }
.prose h3 { font-size: 20px; margin-top: 8px; }
.prose p, .prose li { font-size: 18px; color: var(--ink-2); }
.prose .eyebrow { margin-top: 24px; margin-bottom: -14px; }
.prose ul, .prose ol, .card ul, .card ol, .band-copy ul, .band-copy ol, .body ul, .body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.card div.grow { display: flex; flex-direction: column; gap: 12px; }
.section .body { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--ink-2); }
.head .sub { max-width: none; }
