/* =============================================================
   Prime Citizens — Home page
   Brand palette: navy ink + gold accent + warm ivory paper
   ============================================================= */

:root {
  /* Palette */
  --bg:          #F3EDDF;   /* warm ivory paper */
  --bg-tint:     #EAE2CE;   /* deeper paper for alternating chapters */
  --bg-quiet:    #DFD5BE;   /* deepest paper (used for card interiors on tint) */

  --ink:         #0D2041;   /* brand navy — body text and headlines */
  --ink-soft:    #253558;   /* softer navy for secondary text */
  --muted:       #5C6379;   /* muted body */
  --faint:       #8B8E9A;   /* faint text */

  --gold:        #C28F3C;   /* brand gold — the accent */
  --gold-hover:  #A87729;   /* hover on gold */
  --gold-soft:   #D9B36F;   /* softer gold for tints */
  --rule:        #C5B892;   /* soft rule color, keyed to paper */

  /* Type scale */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;

  /* Rhythm */
  --measure: 34rem;   /* comfortable reading measure */
  --measure-wide: 42rem;
  --image-wide: 58rem;
}

/* ---------------- Reset ---------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-hover); }

em, i { font-style: italic; }
strong { font-weight: 600; color: var(--ink); }

::selection { background: var(--gold); color: var(--bg); }

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ---------------- Top bar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  line-height: 1;
}

.topbar-logo {
  height: 56px;
  width: auto;
  display: block;
}

.topbar-nav {
  display: flex;
  gap: 2rem;
}

.topbar-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  font-weight: 500;
}
.topbar-nav a:hover { color: var(--gold-hover); }

/* ---------------- Hero ---------------- */

.hero {
  padding: 8rem 2rem 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: var(--measure-wide);
  text-align: center;
}

.mission {
  font-family: var(--f-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 auto 3rem;
  letter-spacing: 0.005em;
}

.headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 2rem;
  font-variation-settings: "opsz" 120;
}

.headline em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 120;
}

.slogan {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  margin: 0;
}

/* ---------------- Framed images (blob mask + double gold outline) ---------------- */

.framed-image {
  position: relative;
  margin: 0 auto 4rem;
  max-width: var(--image-wide);
  padding: 2.5rem;
  aspect-ratio: 3 / 2;
}

.inset-image {
  margin: 2rem auto 3rem;
}

/* The image inside gets clipped to the blob path */
.frame-image-wrap {
  position: absolute;
  inset: 2.5rem;
  overflow: hidden;
}

.framed-image-A .frame-image-wrap {
  -webkit-clip-path: url(#blobA);
  clip-path: url(#blobA);
}

.framed-image-B .frame-image-wrap {
  -webkit-clip-path: url(#blobB);
  clip-path: url(#blobB);
}

.frame-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.05) saturate(0.95);
}

/* The two outline strokes drawn on top */
.frame-outline {
  position: absolute;
  pointer-events: none;
}

/* Outer outline: offset slightly outward, gold, thin */
.outline-outer {
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.9;
}

/* Inner outline: sits at the actual image edge, thinner, gold-hover */
.outline-inner {
  inset: 2.5rem;
  width: calc(100% - 5rem);
  height: calc(100% - 5rem);
  stroke: var(--gold-hover);
  stroke-width: 1;
  fill: none;
  opacity: 0.7;
}

/* On tinted chapters that follow a framed image, tighten spacing */
.framed-image + .chapter-tint,
.framed-image + .chapter {
  padding-top: 2rem;
}

/* ---------------- Chapters ---------------- */

.chapter {
  padding: 5rem 2rem;
}

.chapter-tint {
  background: var(--bg-tint);
}

.chapter-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.chapter-inner.center {
  text-align: center;
}

/* Eyebrow — symbol + text, reads as "chapter mark" */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin: 0 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.center-eyebrow {
  justify-content: center;
}

.eyebrow-symbol {
  width: 44px;
  height: 44px;
  opacity: 1;
  flex: 0 0 auto;
}

/* ---------------- Body copy ---------------- */

.lede {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 2rem;
  letter-spacing: -0.005em;
}

.lede em {
  color: var(--gold-hover);
}

.dropcap {
  font-family: var(--f-display);
  font-weight: 500;
  float: left;
  font-size: 4.2rem;
  line-height: 0.9;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--gold);
  font-variation-settings: "opsz" 144;
}

.body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.5rem;
  letter-spacing: 0.001em;
}

.body-quiet {
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 1.4rem;
  margin-left: -1.4rem;
  margin-top: 2rem;
}

.body-lead {
  font-size: 1.2rem;
}

.pullquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.35;
  color: var(--gold-hover);
  text-align: center;
  margin: 3.5rem auto 0;
  max-width: 32rem;
  letter-spacing: -0.005em;
}

/* The "someone is looking" turn */
.turn {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.turn-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.turn-text-quiet {
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

/* The single-statement "gap" chapter */
.statement {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}

.statement-accent {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--gold-hover);
  font-style: italic;
}

/* Privacy line as a visual band */
.privacy-line {
  margin-top: 3rem;
  padding: 1.8rem 2rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.chapter:not(.chapter-tint) .privacy-line {
  background: var(--bg-tint);
}

.privacy-mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.65rem;
}

.privacy-line p {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

/* ---------------- Roles + CTAs ---------------- */

.roles .chapter-inner {
  max-width: var(--measure-wide);
}

.role-card {
  margin-top: 3rem;
  padding: 2.75rem 2.5rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 3px;
  position: relative;
}

.role-card + .role-card {
  margin-top: 2rem;
}

.role-tag {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold-hover);
  margin: 0 0 1.6rem;
  letter-spacing: -0.005em;
}

.role-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

.role-closer {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 1.6rem 0 2rem;
  letter-spacing: -0.003em;
}

.role-closer em {
  color: var(--gold-hover);
}

/* CTA — brand-navy button, gold hover */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.6rem;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bg);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.cta:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--bg);
  transform: translateY(-1px);
}

.cta-arrow {
  transition: transform 200ms ease;
  display: inline-block;
}

.cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* ---------------- Closing signature ---------------- */

.closing {
  padding: 5rem 2rem 6rem;
  text-align: center;
}

.closing-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.closing-symbol {
  width: 84px;
  height: 84px;
  margin: 0 auto 2rem;
  opacity: 1;
  display: block;
}

.closing-slogan {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 4rem 2rem 3rem;
}

.footer-inner {
  max-width: 62rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .footer-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: var(--bg);
}

.footer-brand .footer-name .tm {
  font-size: 0.55rem;
  vertical-align: super;
  color: var(--gold-soft);
  margin-left: 0.2rem;
  font-weight: 400;
}

.footer-brand .footer-tag {
  font-size: 0.85rem;
  color: color-mix(in oklab, var(--bg) 60%, var(--ink));
  margin: 0;
  font-style: italic;
  font-family: var(--f-display);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
}

.footer-nav a {
  color: var(--bg);
  opacity: 0.75;
  font-size: 0.9rem;
  transition: opacity 200ms ease, color 200ms ease;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--gold-soft);
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--gold-soft);
  font-size: 0.9rem;
}

/* =============================================================
   Inner pages — shared components
   ============================================================= */

/* Page header — softer than the Home hero; used on all inner pages */
.page-header {
  padding: 5rem 2rem 2rem;
  text-align: center;
}

.page-header-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.page-eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.page-eyebrow-symbol {
  width: 44px;
  height: 44px;
  opacity: 1;
}

.page-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

.page-title em {
  color: var(--gold-hover);
  font-style: italic;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
}

.page-standfirst {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 32rem;
}

/* Section headings inside inner pages (chapters are heavy for a many-section page) */
.section-heading {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.6rem;
}

/* Ruled section divider — gold hairline, symbol centered */
.section-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 3rem auto;
  max-width: 12rem;
  color: var(--rule);
}

.section-rule::before,
.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-rule img {
  width: 34px;
  height: 34px;
  opacity: 1;
  flex: 0 0 auto;
}

/* Magazine-style bulleted list — no bullets, gold rule to the left */
.list-plain {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.list-plain li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 60%, transparent);
}

.list-plain li:last-child { border-bottom: none; }

.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 1.2rem;
  height: 1px;
  background: var(--gold);
}

.list-plain li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Proverb block — for the Twi proverb on About */
.proverb {
  margin: 2rem auto;
  padding: 1.6rem 2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  max-width: 32rem;
}

.proverb-original {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--gold-hover);
  margin: 0 0 0.6rem;
  letter-spacing: -0.005em;
}

.proverb-translation {
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.005em;
}

/* Author block — first-person "Who I am" on About */
.author {
  padding-top: 0.5rem;
}

.author-signoff {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-hover);
  margin: 2rem 0 0;
  line-height: 1.4;
}

/* Prose links inside inner-page body copy */
.body a,
.author a {
  color: var(--gold-hover);
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.body a:hover,
.author a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Simplified chapter for inner pages — no eyebrow rhythm, section-heading instead */
.section {
  padding: 3rem 2rem;
}

.section-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.section-tint {
  background: var(--bg-tint);
}

/* Final CTA pair on How it works — side-by-side buttons */
.final-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem auto 0;
}

.final-ctas .cta {
  flex: 0 1 auto;
}

/* =============================================================
   Onboarding flow — How it works numbered sections
   ============================================================= */

/* Inline five-stage list — lives inside the "How we onboard" section */
.flow-overview-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 1.6rem 0 0.4rem;
  border-top: 1px solid var(--gold);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.flow-overview-list li {
  padding: 0;
}

.flow-overview-list a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.flow-overview-list a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold);
}

.flow-num {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold-hover);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.flow-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

/* Per-section numbered eyebrow — sits above the section heading */
.step-mark {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.step-num {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-hover);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.step-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Anchor-scroll offset so the sticky topbar doesn't overlap the section heading */
.step {
  scroll-margin-top: 100px;
}

/* =============================================================
   Symbol figures — About page "Our symbol" section
   ============================================================= */

.symbol-figure {
  margin: 2.4rem auto;
  text-align: center;
  max-width: 22rem;
}

.symbol-figure img {
  display: block;
  margin: 0 auto 0.85rem;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.symbol-figure-original {
  margin-top: 0;
  margin-bottom: 2.6rem;
}

.symbol-figure-ours img {
  width: 170px;
  height: 170px;
}

.symbol-figure figcaption {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--faint);
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.symbol-figure figcaption em {
  color: var(--gold-hover);
  font-style: italic;
}

/* =============================================================
   Editorial form — for the two role landing pages
   ============================================================= */

.form-wrap {
  max-width: var(--measure);
  margin: 0 auto;
}

.form-field {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.65rem;
  letter-spacing: 0.005em;
}

.form-label .required {
  color: var(--gold-hover);
  font-weight: 400;
  margin-left: 0.15rem;
}

.form-label .optional {
  color: var(--faint);
  font-weight: 400;
  font-style: italic;
  font-size: 0.9rem;
  margin-left: 0.4rem;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.55;
  font-family: var(--f-body);
}

.form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23C28F3C' stroke-width='1.5'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--faint);
  font-style: italic;
  opacity: 1;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-bottom-color: var(--gold);
  background: color-mix(in oklab, var(--bg) 60%, var(--bg-tint));
}

/* Checkbox row */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  margin-top: 0.15rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-check input[type="checkbox"]:hover {
  border-color: var(--gold);
}

.form-check input[type="checkbox"]:checked {
  border-color: var(--gold);
  background: var(--gold);
}

.form-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check-label {
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Conditional exact-age field, hidden by default */
.form-conditional {
  display: none;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.form-conditional.is-visible {
  display: block;
}

/* Honeypot — truly invisible bot trap */
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Form submit button — lives in the CTA system */
.form-submit {
  margin-top: 1rem;
}

/* Post-submit thank-you state, hidden until form submits */
.form-thanks {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-tint);
  border: 1px solid var(--rule);
  border-radius: 2px;
  margin-top: 2rem;
}

.form-thanks.is-visible {
  display: block;
}

.form-thanks-heading {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.form-thanks-body {
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Preview badge — tiny note that this is a design preview only */
.preview-note {
  max-width: var(--measure);
  margin: 0 auto 2rem;
  padding: 0.85rem 1.2rem;
  background: color-mix(in oklab, var(--gold-soft) 25%, var(--bg));
  border: 1px dashed var(--gold);
  border-radius: 2px;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  text-align: center;
}

/* Small unsubscribe footer line at bottom of role pages */
.unsub-line {
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: var(--faint);
  text-align: center;
  margin: 2rem auto 4rem;
  max-width: var(--measure);
  font-style: italic;
  line-height: 1.55;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 720px) {
  body { font-size: 17px; }
  .topbar { padding: 0.85rem 1.2rem; }
  .topbar-logo { height: 40px; }
  .topbar-nav { gap: 1rem; }
  .topbar-nav a { font-size: 0.75rem; }
  .eyebrow-symbol,
  .page-eyebrow-symbol { width: 36px; height: 36px; }
  .closing-symbol { width: 64px; height: 64px; }
  .flow-overview-list { grid-template-columns: 1fr; gap: 0.65rem; margin-top: 1.4rem; padding-top: 1.2rem; }
  .flow-name { font-size: 0.98rem; }
  .step-mark { gap: 0.75rem; margin-bottom: 1.1rem; }
  .step-label { font-size: 0.65rem; letter-spacing: 0.2em; }
  .hero { padding: 5rem 1.4rem 3rem; min-height: 60vh; }
  .headline { font-size: clamp(3rem, 12vw, 4.5rem); }
  .framed-image { padding: 1.8rem; }
  .frame-image-wrap { inset: 1.8rem; }
  .outline-inner { inset: 1.8rem; width: calc(100% - 3.6rem); height: calc(100% - 3.6rem); }
  .chapter,
  .section { padding: 3.5rem 1.4rem; }
  .page-header { padding: 3.5rem 1.4rem 1.5rem; }
  .section-heading { font-size: 1.6rem; }
  .role-card { padding: 2rem 1.6rem; }
  .body-quiet { margin-left: 0; padding-left: 1rem; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .footer-contact { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
