/*
 * style.css - the look of the Values Profile explainer
 * (landing/values-profile/index.html), served at /values-profile/style.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;
  --orange: #FF5A00;
  /* Pressed/hover state for anything filled with --orange. */
  --orange-dark: #E85100;
  --orange-2: #FF8A3D;
  --orange-soft: rgba(255, 90, 0, 0.14);
  --orange-fill: rgba(255, 90, 0, 0.26);
  --cream: #FFF6F0;
  --sand: #F5EBE3;
  --sand-border: #E8DED4;
  --teal: #2E86AB;
  --teal-soft: rgba(46, 134, 171, 0.14);
  --teal-fill: rgba(46, 134, 171, 0.24);
  --dark-text: #0B1220;
  --muted: #5A6478;
  --muted-2: #8A93A4;
  --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;
  /* Header brand mark. The img repeats this number as width/height attributes
     so the header does not shift while the PNG loads. */
  --lockup-mark: 30px;
}
* { 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: 9px; text-decoration: none; }
.lockup-mark { display: block; width: var(--lockup-mark); height: var(--lockup-mark); }
.lockup-word {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; color: var(--deep-navy);
}
.lockup-bang { color: var(--orange); }
.header-cta {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
  color: white; background: var(--orange); text-decoration: none;
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow);
}

/* 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 28px; 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); }

/* title block */
.hero { padding: 44px 0 30px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.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 12px;
}
.hero h1 { font-size: clamp(34px, 5.5vw, 52px); letter-spacing: -0.015em; margin-bottom: 16px; }
.standfirst { font-size: 19px; color: var(--muted); margin: 0 0 14px; max-width: 32em; }
/* The line that ties this page back to HeyVoter! and its mission. */
.standfirst-aside { font-size: 15.5px; margin-bottom: 0; }
.standfirst-aside a { text-underline-offset: 3px; }
.hero-visual {
  background: white; border: 1px solid var(--sand-border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg); padding: 22px 20px 16px; text-align: center;
}
.hero-visual .cap { font-size: 12.5px; color: var(--muted-2); margin: 8px 0 0; }

/* section scaffolding */
section { padding: 42px 0; }
.sec-header { max-width: 760px; margin-bottom: 26px; }
.sec-header h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; margin-bottom: 12px; }
.sec-header p.lede { font-size: 18px; color: var(--muted); margin: 0; }
.prose { max-width: 760px; color: var(--dark-text); }
.prose p { margin: 0 0 18px; }
.pullquote {
  max-width: 760px; margin: 28px 0 0; padding: 22px 26px;
  background: var(--sand); border-left: 4px solid var(--orange); border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 19px; color: var(--deep-navy);
}

/* dimensions */
.fam-head { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 6px; }
.fam-head h3 { font-size: 21px; }
.fam-head .fam-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.fam-tag.moral { background: var(--orange-soft); color: var(--orange); }
.fam-tag.gov { background: var(--teal-soft); color: var(--teal); }
.fam-desc { color: var(--muted); font-size: 15px; margin: 0 0 16px; max-width: 680px; }
.dim-list {
  background: white; border: 1px solid var(--sand-border); border-radius: var(--radius-card);
  box-shadow: var(--shadow); padding: 6px 26px;
}
.dim-row {
  padding: 18px 0; border-bottom: 1px dashed var(--sand-border);
  display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: baseline;
}
.dim-row:last-child { border-bottom: none; }
.dim-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px;
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.04em;
}
.dim-list.gov .dim-name { color: var(--teal); }
.dim-def { font-size: 16px; color: var(--dark-text); margin: 0; }
/* dimension bar: the range drawn as a bar with the two values named at either end,
   matching the governance-bar style on the big profile card */
.dim-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.dim-bar .pole {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.dim-bar .track { flex: 1; height: 7px; border-radius: 3.5px; position: relative; min-width: 60px; }
/* shading carried from the survey sliders: values shade orange fading to the right,
   governance shades teal fading to the neutral middle */
.dim-list .dim-bar .track {
  background: linear-gradient(to right, var(--orange) 0%, var(--orange-2) 40%, var(--sand) 100%);
}
.dim-list.gov .dim-bar .track {
  background: linear-gradient(to right, var(--teal) 0%, #d8d2cb 50%, var(--teal) 100%);
}
.dim-list.gov .dim-bar .track::after {
  content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--grid);
}
.dim-close-line {
  max-width: 760px; color: var(--deep-navy); font-size: 17.5px; margin: 28px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
}

/* profile reading section */
.shape-beats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 8px; }
.beat {
  background: white; border: 1px solid var(--sand-border); border-radius: var(--radius-card);
  box-shadow: var(--shadow); padding: 20px 18px; text-align: center;
}
.beat h4 { font-size: 16px; margin-bottom: 12px; }
.beat p { font-size: 14px; color: var(--muted); margin: 12px 0 0; text-align: left; }
.beat.locked { background: var(--deep-navy); border-color: var(--deep-navy); }
.beat.locked h4 { color: white; }
.beat.locked p { color: #C9D4E2; }
.beat.locked .lock-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-2); border: 1px solid rgba(255, 138, 61, 0.5); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* CTA card */
.cta-card {
  background: var(--deep-navy); border-radius: var(--radius-card); box-shadow: var(--shadow-lg);
  padding: 44px 46px; 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, 40px); margin-bottom: 12px; }
.cta-card p { color: #C9D4E2; font-size: 17px; margin: 0 0 24px; max-width: 34em; }
.cta-card .shape-art { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); opacity: 0.95; }

/* methodology - the three things a respondent needs before starting, as a plain list */
.method-list { max-width: 680px; margin: 0; padding: 0; list-style: none; }
.method-list li {
  font-size: 18px; color: var(--dark-text); padding: 13px 0;
  border-bottom: 1px solid var(--sand-border);
}
.method-list li:last-child { border-bottom: none; }
.method-list li b { color: var(--deep-navy); }
/* second survey entry, in the footer */
.foot-cta { margin: 22px 0 0; }

/* footer */
footer { margin-top: 30px; background: var(--deep-navy); padding: 44px 0 40px; text-align: center; }
footer .fline {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(22px, 3.5vw, 30px); color: white;
}
footer .fline b { color: var(--orange); }
footer .fsub { color: #7E93AC; font-size: 14px; margin: 10px 0 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .shape-beats { grid-template-columns: 1fr; }
  .cta-card { padding: 34px 26px; }
  .cta-card .shape-art { display: none; }
  .dim-row { grid-template-columns: 1fr; gap: 4px; }
  .dim-list { padding: 4px 20px; }
  .dim-bar { gap: 8px; }
  .dim-bar .pole { font-size: 10px; }
}
