/*
 * home.css - the look of the home page (landing/index.html), served at /home.css.
 * Moved out of the page's inline <style> unchanged so the page stays under 500
 * lines; it is linked last, after the shared chrome, so the cascade order the
 * inline block had is kept. Hard rule: zero em or en dashes. Hyphens only.
 */

:root {
  --deep-navy: #0B2A4A;
  --navy-2: #123A63;
  /* The one dark fill on this page: the hero band, the manifesto, the CTA
     card and the footer are all painted with it, flat. It was a 135deg
     gradient down to #121A46, which put a lighter blue at the bottom of the
     page than the shared footer bar's flat navy and made the join between
     them visible. Read from the chrome's own token, linked above, so the two
     cannot drift. The literal is a fallback, not a second source of truth:
     every dark surface on this page is painted from this one token, so if
     shared/tokens.css fails to load, an unresolvable var() would leave the
     hero, the manifesto, the CTA card and the footer transparent and their
     cream type invisible on the cream body. */
  --panel-navy: var(--hv-navy-950, #070A17);
  /* The mark carries its own orange, a shade warmer than the page's. */
  --mark-orange: #FF6E28;
  --orange: #FF5A00;
  /* Pressed/hover state for anything filled with --orange. */
  --orange-dark: #E85100;
  --orange-2: #FF8A3D;
  --orange-soft: rgba(255, 90, 0, 0.14);
  --cream: #FFF6F0;
  --sand: #F5EBE3;
  --sand-border: #E8DED4;
  --teal: #2E86AB;
  --dark-text: #0B1220;
  --muted: #5A6478;
  --muted-2: #8A93A4;
  /* Text on the two dark panels, the CTA card and the footer, needs greys
     that read against navy rather than against cream. */
  --on-dark-body: #C9D4E2;
  --on-dark-fine: #8FA1BA;
  /* The hero band reads in cream rather than in those greys: it is the top
     of the page and carries the brand, so the type there is the beige the
     rest of the page is built on, dimmed once for the supporting line. */
  --on-dark-cream: var(--cream);
  --on-dark-cream-dim: #D9CCC1;
  --foot-sub: #7E93AC;
  --foot-link: #9FB2C6;
  --grid: #D8CFC4;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 6px 24px rgba(11, 18, 32, 0.10);
  --radius-card: 16px;
  --radius-btn: 12px;
  --maxw: 1000px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--deep-navy);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--deep-navy);
  line-height: 1.12;
  margin: 0;
}
a { color: var(--orange); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { padding: 20px 0 14px; display: flex; align-items: center; justify-content: space-between; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Both marks are the same inline symbol, and both sit on the navy band, so
   the currentColor half of the drawing is cream in each. */
.lockup-mark { height: 44px; width: 44px; flex: none; display: block; color: var(--cream); }
.hero-logo { display: block; width: min(186px, 46%); height: auto; margin: 0 auto 20px; color: var(--cream); }
.header-cta {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
  color: white; background: var(--orange); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow);
  transition: background 0.15s ease;
}
.header-cta:hover { background: var(--orange-dark); }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; border: none; cursor: pointer;
  border-radius: var(--radius-btn);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px;
  padding: 15px 30px; transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--orange-dark); }

/* hero */
.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px;
}
/* The band the header and the hero sit on. It runs from the top of the page
   down to the stat band's rule, so the page opens on the same navy it closes
   on and the cream starts at "Politics keeps pulling us apart". */
.hero-band { background: var(--panel-navy); padding-bottom: 44px; }
.hero-center { padding: 50px 0 6px; text-align: center; max-width: 840px; margin: 0 auto; }
.hero-center h1 {
  font-size: clamp(38px, 6vw, 58px); letter-spacing: -0.02em; margin-bottom: 14px;
  color: var(--on-dark-cream);
}
.hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3.4vw, 32px); color: var(--on-dark-cream); line-height: 1.15;
  margin: 0 0 20px; letter-spacing: -0.01em;
}
.hero-sub .accent { color: var(--orange); }
.hero-lead { font-size: 19px; color: var(--on-dark-cream-dim); margin: 0 auto; max-width: 42em; }
/* The brand name leads the h1 on a line of its own, smaller than the claim
   after it, so the page's one heading says whose network this is. */
.h1-brand { display: block; font-size: 0.5em; letter-spacing: 0; margin-bottom: 6px; }
/* What a visitor can do here today, and what is still being built. Plain
   links, so every route out works with scripting off. */
.hero-now { font-size: 16px; color: var(--on-dark-cream-dim); margin: 18px auto 0; max-width: 42em; }
.hero-now a { color: var(--orange-2); text-underline-offset: 3px; }
.hero-now a:hover { color: var(--on-dark-cream); }

/* matching: one card holding three radars, kept side by side at every width */
.match-card {
  background: white; border: 1px solid var(--sand-border); border-radius: var(--radius-card);
  box-shadow: var(--shadow); padding: 26px 24px 20px; margin-top: 26px;
}
.match-row { display: flex; align-items: flex-start; gap: 10px; }
.mcol { flex: 1 1 0; min-width: 0; text-align: center; }
.mcol h4 {
  font-size: clamp(12px, 2.1vw, 15.5px); line-height: 1.2; margin: 0 0 8px;
  min-height: 2.5em; display: flex; align-items: center; justify-content: center;
}
.mcol svg { width: 100%; height: auto; display: block; }
.op {
  flex: none; align-self: center; color: var(--muted-2);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(16px, 3vw, 26px);
}
.match-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 3px 7px;
  margin: 10px auto 0; background: var(--orange-soft); color: var(--orange);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; border-radius: 999px;
  padding: clamp(3px, 1vw, 5px) clamp(8px, 1.6vw, 13px); font-size: clamp(9px, 1.6vw, 12.5px); letter-spacing: 0.01em;
}
.match-badge .mb-pct { font-size: clamp(11px, 1.9vw, 15px); }
.match-cap { text-align: center; color: var(--muted); font-size: 14.5px; margin: 18px auto 0; max-width: 54em; }

/* section scaffolding */
section { padding: 46px 0; }
.sec-header { max-width: 800px; margin-bottom: 26px; }
.sec-header .eyebrow { margin-bottom: 12px; }
.sec-header h2 { font-size: clamp(27px, 4vw, 36px); letter-spacing: -0.01em; margin-bottom: 12px; }
.sec-header p.lede { font-size: 18.5px; color: var(--muted); margin: 0; }
.prose { max-width: 800px; color: var(--dark-text); }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--deep-navy); }

/* stat band */
.stat-band { background: var(--sand); border-top: 1px solid var(--sand-border); border-bottom: 1px solid var(--sand-border); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 46px);
  color: var(--orange); line-height: 1; letter-spacing: -0.01em;
}
.stat .key {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px;
  color: var(--deep-navy); line-height: 1.2; margin: 10px 0 4px; letter-spacing: -0.005em;
}
.stat .desc { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.stat .src { font-size: 12.5px; color: var(--muted-2); }
.stat .src a { color: inherit; text-decoration: underline; text-decoration-color: rgba(138, 147, 164, 0.55); text-underline-offset: 2px; }
.stat .src a:hover { color: var(--teal); text-decoration-color: var(--teal); }
.stat-foot { max-width: 800px; margin: 28px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 18.5px; color: var(--deep-navy); }

/* manifesto / what we stand for */
.manifesto { background: var(--panel-navy); }
.manifesto .eyebrow { color: var(--orange-2); }
.manifesto h2 { color: white; }
.beliefs { max-width: 860px; margin: 0; display: grid; gap: 4px; }
.belief {
  display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.09);
}
.belief:last-child { border-bottom: none; }
.belief .b-check { width: 24px; height: 24px; color: var(--orange); margin-top: 4px; }
.belief p {
  margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: clamp(19px, 2.6vw, 25px); line-height: 1.28; color: white; letter-spacing: -0.005em;
}
.belief p .no { color: var(--orange-2); }

/* CTA card */
.cta-card {
  background: var(--panel-navy);
  border-radius: var(--radius-card); box-shadow: var(--shadow-lg);
  padding: 46px 48px; position: relative; overflow: hidden;
}
.cta-card .stripe { position: absolute; top: 0; left: 0; right: 0; height: 8px; display: flex; }
.cta-card .stripe span { flex: 1; }
.cta-card .eyebrow { color: var(--orange-2); }
.cta-card h2 { color: white; font-size: clamp(28px, 4.5vw, 42px); margin: 6px 0 14px; }
.cta-card p { color: var(--on-dark-body); font-size: 17.5px; margin: 0 0 26px; max-width: 33em; }
.cta-card .fineprint { font-size: 13.5px; color: var(--on-dark-fine); margin: 20px 0 0; }
.cta-card .shape-art { position: absolute; right: 42px; top: 50%; transform: translateY(-50%); opacity: 0.95; }

/* promise */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 34px; }
.promise-item { padding-top: 16px; border-top: 2px solid var(--orange); }
.promise-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.promise-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* footer */
footer { margin-top: 30px; background: var(--panel-navy); padding: 50px 0 46px; text-align: center; }
footer .fline {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(24px, 3.6vw, 33px); color: white; line-height: 1.2;
}
footer .fline b { color: var(--orange); }
footer .fsub { color: var(--foot-sub); font-size: 14px; margin: 14px auto 0; max-width: 42em; }
footer .flink { margin-top: 24px; }
/* Route out to the deeper Values Profile explainer, which this page fronts. */
footer .fmore { margin-top: 22px; font-size: 14px; }
footer .fmore a { color: var(--foot-link); text-decoration: underline; text-underline-offset: 3px; }
footer .fmore a:hover { color: white; }

@media (max-width: 820px) {
  .hero-center { padding-top: 32px; }
  .hero-lead { max-width: none; }
  .hero-now { max-width: none; }
  .promise-grid { grid-template-columns: 1fr 1fr; gap: 24px 30px; }
  .cta-card { padding: 34px 26px; }
  .cta-card .shape-art { display: none; }
  .belief { gap: 10px; grid-template-columns: 24px 1fr; }
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; gap: 22px; }
  .promise-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .match-card { padding: 18px 12px 16px; }
  .match-row { gap: 4px; }
}
