:root {
  --ink: #172224;
  --muted: #555e60;
  --paper: #fcfbf8;
  --ivory: #f3eee5;
  --sage: #e5e8dc;
  --sage-dark: #3f5a4a;
  --plum: #6b2449;
  --plum-dark: #4d1835;
  --warm: #b87951;
  --line: #d8d2c7;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(34, 32, 28, .12);
  --radius: 4px;
  --content: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--plum-dark);
  text-decoration: none;
}

a:hover {
  color: var(--plum);
}

/* Inline editorial links remain legible on light and dark sections. */
main :where(p, li, td, dd) a:not(.button):not([class*="-button"]) {
  color: inherit;
  font-weight: 700;
}

main :where(p, li, td, dd) a:not(.button):not([class*="-button"]):hover,
main :where(p, li, td, dd) a:not(.button):not([class*="-button"]):focus-visible {
  opacity: .8;
}

/* Compact homepage safety summary. */
.section.home-safety {
  padding-block: clamp(36px, 5vw, 64px);
  border-block: 1px solid var(--line);
  background: #f4f0e9;
}

.home-safety > .container {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  column-gap: clamp(28px, 5vw, 64px);
  max-width: 1100px;
  align-items: start;
}

.home-safety .section-heading {
  grid-row: span 2;
  margin: 0;
  text-align: left;
}

.home-safety .section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.home-safety > .container > p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.home-safety > .container > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .home-safety > .container {
    grid-template-columns: 1fr;
  }

  .home-safety .section-heading {
    grid-row: auto;
    margin-bottom: 22px;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  min-height: 46px;
}

:focus-visible {
  outline: 3px solid #b86a36;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 251, 248, .98);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.brand-line {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.5vw, 25px);
  margin-left: auto;
}

.primary-nav a {
  color: var(--ink);
  font-size: .91rem;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--plum);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--plum);
}

.button-primary:hover {
  color: var(--white);
  background: var(--plum-dark);
}

.primary-nav .button-primary {
  color: var(--white);
}

.primary-nav .button-primary:hover {
  color: var(--white);
}

.button-secondary {
  border-color: var(--plum);
  color: var(--plum-dark);
  background: transparent;
}

.button-secondary:hover {
  background: #f6eaf0;
}

.button-light {
  color: var(--plum-dark);
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--plum);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.section {
  padding: 72px 0;
}

.section-compact {
  padding: 56px 0;
}

.section-soft {
  background: var(--ivory);
}

.section-sage {
  background: var(--sage);
}

.section-dark {
  color: var(--white);
  background: var(--plum-dark);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading p {
  color: #eadde4;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background-color: var(--ivory);
  background-image: url("images/her2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  grid-area: 1 / 1;
  width: min(700px, calc(100% - 64px));
  margin-left: max(32px, calc((100vw - var(--content)) / 2 + 10px));
  padding: clamp(36px, 3vw, 50px);
  border: 1px solid rgba(103, 42, 74, .14);
  background: rgba(252, 249, 243, .97);
  box-shadow: var(--shadow);
}

.hero-copy .lede {
  max-width: 60ch;
  color: #3f494b;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.microcopy {
  margin-top: 14px;
  color: var(--muted);
  font-size: .86rem;
}

.decision-bar {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #f1eee6 0%, #e7eadf 50%, #f1eee6 100%);
}

.intent-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
}

.intent-list li {
  min-height: 86px;
  padding: 18px 22px;
  border: 1px solid rgba(64, 93, 76, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
}

.intent-list strong {
  display: block;
  color: var(--plum-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--plum);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.step {
  position: relative;
  padding: 28px 30px 22px;
  border-left: 0;
  background: var(--paper);
  counter-increment: step;
}

.step:first-child {
  border-left: 0;
}

.step::before {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-dark);
  content: counter(step);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.split.reverse .split-media {
  order: -1;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: .08em;
  left: 0;
  color: var(--sage-dark);
  content: "✓";
  font-weight: 800;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--line);
}

.region {
  min-height: 150px;
  padding: 26px;
  background: var(--white);
}

.region p {
  margin: 0;
  color: var(--muted);
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.profile-card img {
  width: 100%;
  aspect-ratio: 1 / .92;
  object-fit: cover;
}

.profile-card-copy {
  padding: 18px;
}

.profile-card .label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--plum);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #edc9ad;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--white);
  background: var(--sage-dark);
}

tr:last-child td {
  border-bottom: 0;
}

.status-yes {
  color: #1c6334;
  font-weight: 700;
}

.status-limited {
  color: #7b4b18;
  font-weight: 700;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid var(--warm);
  background: #fff4ea;
}

.quote-list {
  display: grid;
  gap: 14px;
}

.message-example {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.faq-list details p {
  max-width: 72ch;
  padding: 0 0 20px;
  color: var(--muted);
}

.cta-band {
  padding: 58px 0;
  color: var(--white);
  background: var(--plum-dark);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-inner h2 {
  margin-bottom: 8px;
}

.cta-inner p {
  max-width: 720px;
  margin-bottom: 0;
  color: #eadde4;
}

.cta-inner .button-light {
  color: var(--plum-dark);
  background: var(--white);
}

.cta-inner .button-light:hover {
  color: var(--plum-dark);
  background: #f3e8ee;
}

.page-hero {
  padding: 86px 0 64px;
  background: var(--ivory);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.page-hero img {
  width: 100%;
  max-height: 430px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .84rem;
}

.breadcrumb a {
  color: inherit;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 52px;
  font-size: 2.25rem;
}

.prose h3 {
  margin-top: 30px;
}

.prose li {
  margin-bottom: 10px;
}

.article-meta {
  color: var(--muted);
  font-size: .88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f4f0e9;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding: 40px 0 32px;
}

.footer-main h2,
.footer-main h3 {
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.footer-main a {
  color: var(--ink);
  text-decoration: none;
}

.footer-main li {
  margin-bottom: 8px;
}

.footer-note {
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Compatibility matching */
.compatibility-hero .page-hero-grid { align-items: center; }
.compatibility-hero img { aspect-ratio: 1272 / 723; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.compatibility-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.compatibility-intro-grid, .compatibility-rule-grid, .diagnostic-layout, .action-boundary-grid, .privacy-match-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(32px, 6vw, 86px); align-items: start; }
.recommendation-example, .rule-note, .problem-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(34, 32, 28, .07); }
.example-label { display: inline-block; margin: 0 0 12px; padding: 5px 9px; border: 1px solid var(--plum); color: var(--plum-dark); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.recommendation-example dl { margin: 22px 0; }
.recommendation-example dl div { display: grid; grid-template-columns: 108px 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.recommendation-example dt { font-weight: 700; }
.recommendation-example dd { margin: 0; color: var(--muted); }
.compatibility-table th:first-child { width: 23%; }
.compatibility-table th, .compatibility-table td { vertical-align: top; }
.diagnostic-steps details, .faq-compact details { border-top: 1px solid var(--line); background: transparent; }
.diagnostic-steps details:last-child, .faq-compact details:last-child { border-bottom: 1px solid var(--line); }
.diagnostic-steps summary, .faq-compact summary { position: relative; padding: 18px 42px 18px 0; font-weight: 700; cursor: pointer; }
.diagnostic-steps summary::after, .faq-compact summary::after { position: absolute; top: 17px; right: 8px; content: "+"; color: var(--plum); font-size: 1.35rem; line-height: 1; }
.diagnostic-steps details[open] summary::after, .faq-compact details[open] summary::after { content: "−"; }
.diagnostic-steps details p, .faq-compact details p { margin: 0; padding: 0 42px 18px 0; color: var(--muted); }
.reading-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reading-grid article { padding: 28px; border-left: 1px solid var(--line); }
.reading-grid article:first-child { border-left: 0; }
.reading-grid span { color: var(--warm); font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.reading-grid h3 { margin-top: 16px; }
.one-change-method { max-width: 980px; margin: 34px auto 0; padding: 28px; border-left: 4px solid var(--plum); background: var(--white); }
.one-change-method ol, .problem-card ol { padding-left: 1.35rem; }
.one-change-method li + li, .problem-card li + li { margin-top: 10px; }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.action-list { border-top: 1px solid rgba(63, 90, 74, .35); }
.action-list div { display: grid; grid-template-columns: minmax(150px, .6fr) 1.4fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(63, 90, 74, .35); }
.action-list span { color: #3e4c45; }
.faq-compact { max-width: 980px; }
.button-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.button-outline-light:hover { color: var(--plum-dark); background: var(--white); }

.verification-hero picture { display: block; }
.verification-hero img { aspect-ratio: 3 / 2; object-position: center; }
.verification-status { display: grid; gap: 5px; margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--sage-dark); background: var(--white); }
.verification-status span { color: var(--muted); }
.verification-table th:first-child { width: 22%; }
.verification-table th, .verification-table td { vertical-align: top; }
.verification-prep-grid, .verification-process-grid, .verification-boundary-grid, .verification-signal-grid, .verification-help-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.verification-warning { display: flex; gap: 18px; padding: clamp(24px, 4vw, 36px); border: 1px solid #d6b08d; background: #fff4ea; }
.warning-mark { flex: 0 0 38px; width: 38px; height: 38px; display: grid; border: 2px solid var(--warm); border-radius: 50%; place-items: center; color: #714022; font-size: 1.25rem; font-weight: 700; }
.verification-warning h3, .support-note h3, .signal-card h3 { margin-bottom: 10px; }
.verification-warning p, .support-note p { margin-bottom: 0; }
.verification-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.verification-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.verification-steps li > span { width: 36px; height: 36px; display: grid; border-radius: 50%; place-items: center; color: var(--white); background: var(--sage-dark); font-weight: 700; }
.verification-steps p { margin: 4px 0 0; color: var(--muted); }
.verification-router { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.verification-router article { padding: 24px; border-top: 4px solid var(--plum); background: rgba(255, 255, 255, .78); }
.verification-router h3 { margin-bottom: 10px; font-size: 1.35rem; }
.verification-router p { margin: 0; color: #3f494b; }
.signal-card, .support-note { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 28px rgba(34, 32, 28, .07); }
.signal-badge { width: 52px; height: 52px; display: grid; margin-bottom: 18px; border-radius: 50%; place-items: center; color: var(--white); background: var(--sage-dark); font-size: 1.65rem; font-weight: 700; }
.signal-card dl { margin: 20px 0 0; }
.signal-card dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.signal-card dt { font-weight: 700; }
.signal-card dd { margin: 4px 0 0; color: var(--muted); }
.verification-action .cta-inner { gap: 36px; }

/* Accessibility */
.accessibility-hero .page-hero-grid { align-items: center; }
.accessibility-hero img { aspect-ratio: 1239 / 884; object-position: center; }
.accessibility-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 26px; }
.action-note { max-width: 68ch; margin: 14px 0 0; color: var(--muted); font-size: .94rem; }
.access-scope-grid, .access-method-grid, .access-report-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.access-evidence, .access-callout, .report-checklist { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 28px rgba(34, 32, 28, .07); }
.access-evidence h3, .access-callout h3, .report-checklist h3 { margin-bottom: 12px; }
.access-task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.access-task-grid a { min-height: 158px; display: flex; flex-direction: column; justify-content: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: 0 8px 22px rgba(34, 32, 28, .05); text-decoration: none; }
.access-task-grid a:hover { border-color: var(--plum); transform: translateY(-2px); }
.access-task-grid span { color: var(--plum); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.access-task-grid strong { margin-top: 14px; font-size: 1.06rem; }
.access-task-grid small { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.access-task-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.access-task-help article { scroll-margin-top: 100px; padding: clamp(24px, 4vw, 34px); border-top: 4px solid var(--plum); background: rgba(255, 255, 255, .82); }
.access-task-help h3 { margin-bottom: 16px; font-size: 1.45rem; }
.access-task-help ol { margin: 0; padding-left: 1.25rem; }
.access-task-help li + li { margin-top: 10px; }
.task-number { margin-bottom: 7px; color: var(--plum-dark); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
kbd { display: inline-block; padding: 2px 7px; border: 1px solid #aaa49d; border-bottom-width: 2px; border-radius: 4px; color: var(--ink); background: #fff; font: 700 .82em/1.4 system-ui, sans-serif; }
.key-guide { margin: 28px 0; border-top: 1px solid var(--line); }
.key-guide div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.key-guide dt { font-weight: 700; }
.key-guide dd { margin: 0; color: var(--muted); }
.access-callout { border-top: 4px solid var(--warm); }
.access-callout p { margin-bottom: 0; }
.access-display-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.access-display-grid article { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.access-display-grid p { margin-bottom: 0; color: var(--muted); }
.access-table-wrap { overflow-x: auto; margin-top: 34px; }
.access-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--white); }
.access-table caption { padding-bottom: 12px; text-align: left; font-weight: 700; }
.access-table th, .access-table td { padding: 15px 17px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.access-table thead th { color: var(--white); background: var(--sage-dark); }
.access-table tbody th { width: 22%; }
.access-table tbody td:nth-child(2) { width: 21%; }
.status-confirmed, .status-untested, .status-boundary { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status-confirmed { color: #244032; background: #dfece4; }
.status-untested { color: #6f3e22; background: #fae6d4; }
.status-boundary { color: #542040; background: #f1dce9; }
.known-issue-list { display: grid; gap: 18px; margin-top: 34px; }
.known-issue-list article { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 30px; padding: 28px; border-left: 4px solid var(--plum); background: rgba(255, 255, 255, .82); }
.known-issue-list article p { margin-bottom: 0; }
.known-issue-list dl { margin: 0; }
.known-issue-list dl div { display: grid; grid-template-columns: 85px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(63, 90, 74, .24); }
.known-issue-list dl div:last-child { border-bottom: 0; }
.known-issue-list dt { font-weight: 700; }
.known-issue-list dd { margin: 0; }
.access-report-grid .button { margin-top: 10px; }
.report-checklist h3:not(:first-child) { margin-top: 24px; }
.report-checklist > p { margin-bottom: 0; }
.accessibility-action .cta-inner { gap: 36px; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .primary-nav a {
    padding: 11px 4px;
    font-size: 1rem;
  }

  .primary-nav .nav-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 10px;
  }

  .hero {
    min-height: 560px;
    background-position: 62% center;
  }

  .hero-copy {
    width: min(630px, calc(100% - 40px));
    margin: 28px 0 28px 20px;
    padding: 38px;
  }

  .grid-4,
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:nth-child(3) {
    border-left: 0;
  }

  .page-hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .compatibility-intro-grid, .compatibility-rule-grid, .diagnostic-layout, .action-boundary-grid, .privacy-match-grid { grid-template-columns: 1fr; }
  .reading-grid { grid-template-columns: repeat(2, 1fr); }
  .reading-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .reading-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .verification-prep-grid, .verification-process-grid, .verification-boundary-grid, .verification-signal-grid, .verification-help-grid, .access-scope-grid, .access-method-grid, .access-report-grid { grid-template-columns: 1fr; }
  .verification-router { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .known-issue-list article { grid-template-columns: 1fr; }

}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .container,
  .hero-copy {
    width: min(100% - 28px, var(--content));
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-line {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .hero-copy {
    width: min(100% - 28px, var(--content));
    margin: 20px auto;
    padding: 28px 24px;
    background: rgba(252, 249, 243, .94);
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .hero {
    min-height: 560px;
    background-position: 64% center;
  }

  .intent-list,
  .grid-2,
  .grid-3,
  .grid-4,
  .region-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step:first-child {
    border-top: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding-top: 54px;
  }

  .page-hero-grid {
    gap: 34px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .compatibility-actions, .cta-actions { align-items: stretch; flex-direction: column; }
  .compatibility-table-wrap { overflow: visible; }
  .compatibility-table, .compatibility-table thead, .compatibility-table tbody, .compatibility-table tr, .compatibility-table th, .compatibility-table td { display: block; width: 100%; }
  .compatibility-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compatibility-table tr { margin-bottom: 16px; border: 1px solid var(--line); background: var(--white); }
  .compatibility-table th, .compatibility-table td { border: 0; border-bottom: 1px solid var(--line); }
  .compatibility-table tr > :last-child { border-bottom: 0; }
  .compatibility-table th::before, .compatibility-table td::before { display: block; margin-bottom: 4px; color: var(--plum); content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .problem-grid, .reading-grid { grid-template-columns: 1fr; }
  .reading-grid article, .reading-grid article:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .reading-grid article:first-child { border-top: 0; }
  .action-list div, .recommendation-example dl div { grid-template-columns: 1fr; gap: 6px; }
  .verification-table-wrap { overflow: visible; }
  .verification-table, .verification-table thead, .verification-table tbody, .verification-table tr, .verification-table th, .verification-table td { display: block; width: 100%; min-width: 0; }
  .verification-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .verification-table tr { margin-bottom: 16px; border: 1px solid var(--line); background: var(--white); }
  .verification-table th, .verification-table td { border: 0; border-bottom: 1px solid var(--line); }
  .verification-table tr > :last-child { border-bottom: 0; }
  .verification-table th::before, .verification-table td::before { display: block; margin-bottom: 4px; color: var(--plum); content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .verification-router { grid-template-columns: 1fr; }
  .verification-warning { flex-direction: column; }
  .accessibility-actions, .accessibility-action .cta-actions { align-items: stretch; flex-direction: column; }
  .access-task-grid, .access-task-help, .access-display-grid { grid-template-columns: 1fr; }
  .access-task-grid a { min-height: 0; }
  .key-guide div { grid-template-columns: 1fr; gap: 6px; }
  .access-table-wrap { overflow: visible; }
  .access-table, .access-table thead, .access-table tbody, .access-table tr, .access-table th, .access-table td { display: block; width: 100%; min-width: 0; }
  .access-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .access-table tr { margin-bottom: 16px; border: 1px solid var(--line); background: var(--white); }
  .access-table th, .access-table td { border: 0; border-bottom: 1px solid var(--line); }
  .access-table tr > :last-child { border-bottom: 0; }
  .access-table th::before, .access-table td::before { display: block; margin-bottom: 4px; color: var(--plum); content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .known-issue-list article { padding: 24px; }
  .known-issue-list dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* Online dating scam recovery */
.recovery-page main { font-size: 18px; }
.recovery-hero { padding-bottom: 54px; }
.recovery-hero .page-hero-grid { align-items: center; }
.recovery-hero img { aspect-ratio: 648 / 421; object-position: center; }
.recovery-immediate { padding: clamp(42px, 6vw, 72px) 0; color: var(--white); background: #3d2131; }
.recovery-urgent-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.recovery-immediate .eyebrow { color: #efc7d9; }
.recovery-immediate h2 { margin: 0; color: var(--white); }
.recovery-first-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.recovery-first-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 24px 20px; border-left: 1px solid rgba(255,255,255,.28); }
.recovery-first-steps li:first-child { border-left: 0; }
.recovery-first-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-weight: 700; }
.recovery-first-steps p { margin: 5px 0 0; color: #f2e9ed; font-size: .94rem; }
.recovery-danger { margin-top: 24px; padding: 16px 20px; color: var(--ink); background: #fff1df; }
.recovery-danger a { color: #521a38; font-weight: 800; }
.recovery-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.recovery-selector a { min-height: 174px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: 0 8px 22px rgba(34,32,28,.06); text-decoration: none; }
.recovery-selector a:hover { border-color: var(--plum); transform: translateY(-2px); }
.recovery-selector span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--plum); font-size: .88rem; font-weight: 800; }
.recovery-selector strong { margin-top: 14px; }
.recovery-selector small { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.recovery-reading-width { max-width: 1180px; }
.recovery-two-column, .recovery-security-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.recovery-table-wrap { overflow-x: auto; margin-top: 30px; }
.recovery-table { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--white); }
.recovery-table caption { padding: 0 0 12px; text-align: left; font-weight: 700; }
.recovery-table th, .recovery-table td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.recovery-table thead th { color: var(--white); background: var(--sage-dark); }
.payment-response-table th:first-child { width: 20%; }
.payment-response-table td:nth-child(2) { width: 29%; }
.recovery-no-promise, .device-warning { margin: 20px 0 0; padding: 18px 20px; border-left: 4px solid var(--warm); background: #fff5e9; }
.recovery-detail-list { margin: 24px 0 0; padding: 0; list-style: none; }
.recovery-detail-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.recovery-detail-list li::before { position: absolute; top: 13px; left: 4px; content: "✓"; color: var(--sage-dark); font-weight: 800; }
.bank-call-script, .identity-option, .platform-boundary, .private-image-support, .refund-actions, .support-region-list { padding: clamp(26px, 4vw, 38px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 28px rgba(34,32,28,.07); }
.bank-call-script { border-top: 5px solid var(--plum); }
.bank-call-script blockquote { margin: 20px 0; color: var(--plum-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.42; }
.bank-call-script p, .identity-option p, .platform-boundary p, .private-image-support p, .refund-actions p { color: var(--muted); }
.refund-actions ol { padding-left: 1.3rem; }
.refund-actions li + li { margin-top: 10px; }
.source-date { margin: 22px 0 0; color: var(--muted); font-size: .88rem; }
.recovery-security-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.recovery-security-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; border: 1px solid var(--line); background: var(--white); }
.recovery-security-steps span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--sage-dark); font-size: .84rem; font-weight: 800; }
.recovery-security-steps p { margin: 2px 0 0; }
.device-response-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.device-response-grid article { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.device-response-grid p { margin-bottom: 0; color: var(--muted); }
.evidence-order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; padding: 0; counter-reset: evidence-step; list-style: none; }
.evidence-order li { padding: 15px 16px; border-left: 4px solid var(--sage-dark); background: var(--white); counter-increment: evidence-step; }
.evidence-order li::before { margin-right: 8px; content: counter(evidence-step) "."; color: var(--plum); font-weight: 800; }
.do-not-investigate { padding: clamp(26px, 4vw, 38px); color: var(--white); background: #3c2933; }
.do-not-investigate h3 { color: var(--white); }
.do-not-investigate ul { margin-bottom: 0; padding-left: 1.25rem; }
.do-not-investigate li + li { margin-top: 10px; }
.platform-boundary .button { margin-top: 10px; }
.uk-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.uk-report-grid article { padding: 26px; border-top: 4px solid var(--plum); background: var(--white); }
.uk-report-grid article:last-child { grid-column: 1 / -1; }
.uk-report-grid p { margin-bottom: 0; color: var(--muted); }
.bank-refusal-steps { margin: 0; padding: 0; list-style: none; counter-reset: refusal-step; }
.bank-refusal-steps li { position: relative; padding: 14px 16px 14px 50px; border-bottom: 1px solid var(--line); counter-increment: refusal-step; }
.bank-refusal-steps li::before { position: absolute; left: 4px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; content: counter(refusal-step); color: var(--white); background: var(--plum); font-size: .84rem; font-weight: 800; }
.recovery-warning-band { padding: clamp(52px, 7vw, 88px) 0; color: var(--white); background: #56213e; }
.recovery-warning-band h2 { color: var(--white); }
.recovery-warning-band .eyebrow { color: #efc7d9; }
.recovery-warning-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 28px 60px; align-items: start; }
.recovery-warning-inner blockquote { margin: 0; padding: 26px; border: 2px solid #efd2df; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; }
.recovery-warning-inner > p { grid-column: 1 / -1; margin: 0; color: #f2e9ed; }
.support-region-list ul { margin: 0; padding: 0; list-style: none; }
.support-region-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.support-region-list li:last-child { border-bottom: 0; }
.record-table-block { margin-top: 34px; }
.worksheet-table td { min-width: 145px; height: 58px; }
.print-record-button { margin-top: 28px; }
.recovery-order-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 40px 80px; align-items: start; }
.recovery-order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: recovery-order; }
.recovery-order li { padding: 18px; border: 1px solid var(--line); background: var(--white); counter-increment: recovery-order; }
.recovery-order li::before { display: block; margin-bottom: 8px; content: "0" counter(recovery-order); color: var(--plum); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.recovery-final-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 36px 64px; align-items: center; }
.recovery-final-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

@media (max-width: 1100px) {
  .recovery-first-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-first-steps li:nth-child(3) { border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .recovery-first-steps li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.28); }
  .recovery-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-two-column, .recovery-security-grid, .recovery-warning-inner, .recovery-order-layout, .recovery-final-inner { grid-template-columns: 1fr; }
  .recovery-final-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .recovery-page main { font-size: 17px; }
  .recovery-first-steps, .recovery-selector, .recovery-security-steps, .device-response-grid, .evidence-order, .uk-report-grid, .recovery-order { grid-template-columns: 1fr; }
  .recovery-first-steps li, .recovery-first-steps li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .recovery-first-steps li:first-child { border-top: 0; }
  .recovery-selector a { min-height: 0; }
  .recovery-table-wrap { overflow: visible; }
  .recovery-table, .recovery-table thead, .recovery-table tbody, .recovery-table tr, .recovery-table th, .recovery-table td { display: block; width: 100%; min-width: 0; }
  .recovery-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .recovery-table tr { margin-bottom: 16px; border: 1px solid var(--line); background: var(--white); }
  .recovery-table th, .recovery-table td { border: 0; border-bottom: 1px solid var(--line); }
  .recovery-table tr > :last-child { border-bottom: 0; }
  .recovery-table th::before, .recovery-table td::before { display: block; margin-bottom: 4px; color: var(--plum); content: attr(data-label); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .worksheet-table td { min-width: 0; min-height: 64px; }
  .uk-report-grid article:last-child, .recovery-warning-inner > p { grid-column: auto; }
  .recovery-final-links { align-items: stretch; flex-direction: column; }
}

@media print {
  .recovery-page .site-header, .recovery-page .site-footer, .recovery-page main > article > :not(.recovery-record-section), .recovery-page .print-record-button { display: none !important; }
  .recovery-page main, .recovery-record-section { padding: 0; color: #000; background: #fff; font-size: 11pt; }
  .recovery-record-section .section-heading { max-width: none; }
  .recovery-record-section .recovery-table-wrap { overflow: visible; }
  .recovery-record-section .recovery-table { min-width: 0; font-size: 9pt; }
  .recovery-record-section .recovery-table th, .recovery-record-section .recovery-table td { padding: 8px; border-color: #555; }
  .recovery-record-section .recovery-table thead th { color: #000; background: #fff; }
  .recovery-record-section .worksheet-table td { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Dating after divorce editorial guide */
.divorce-hero .hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 1.15rem;
}

.divorce-hero img {
  aspect-ratio: 1336 / 799;
  object-fit: cover;
  object-position: 50% 45%;
}

.editorial-prose {
  max-width: 980px;
}

.editorial-prose > p,
.editorial-prose > ul,
.editorial-prose > ol {
  max-width: 820px;
}

.editorial-prose h2 {
  margin-top: 58px;
}

.editorial-prose h2:first-of-type {
  margin-top: 38px;
}

.standfirst {
  margin: 0 0 34px;
  padding-left: 22px;
  border-left: 4px solid var(--warm);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  line-height: 1.5;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.status-grid > div {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.status-grid h3,
.privacy-columns h3,
.role-reset-grid h3,
.signal-comparison h3,
.stage-list h3 {
  margin-top: 0;
}

.evidence-list {
  display: grid;
  gap: 14px;
  padding-left: 1.4rem;
}

.evidence-list li {
  padding-left: 8px;
}

.readiness-layout {
  max-width: 1040px;
}

.readiness-check {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.readiness-check fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.readiness-question {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.readiness-question p {
  margin: 0;
}

.readiness-question p > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-dark);
  font-weight: 700;
}

.readiness-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.readiness-options label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.readiness-options label:has(input:checked) {
  border-color: var(--sage-dark);
  background: var(--sage);
}

.readiness-options input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--plum);
}

.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 26px 0;
}

.button-secondary {
  border: 1px solid var(--plum-dark);
  color: var(--plum-dark);
  background: transparent;
}

.readiness-result {
  display: block;
  margin: 24px 26px 26px;
  padding: 20px;
  border-left: 4px solid var(--warm);
  background: var(--ivory);
  font-weight: 700;
}

.readiness-result[data-state="ready"] {
  border-left-color: var(--sage-dark);
  background: var(--sage);
}

.readiness-result[data-state="resolve"] {
  border-left-color: var(--plum);
}

.privacy-columns,
.role-reset-grid,
.signal-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.privacy-columns > div,
.role-reset-grid > div,
.signal-comparison > div {
  padding: 26px;
  background: var(--white);
}

.privacy-columns ul,
.signal-comparison ul,
.boundary-list,
.question-panel ul {
  padding-left: 1.25rem;
}

.profile-examples {
  display: grid;
  gap: 14px;
  margin: 22px 0 44px;
}

.profile-examples blockquote {
  margin: 0;
  padding: 18px 22px;
  border-left: 3px solid var(--sage-dark);
  background: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

.divorce-table-wrap {
  margin: 26px 0 50px;
  overflow-x: auto;
}

.divorce-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  background: var(--white);
}

.divorce-table caption {
  padding-bottom: 10px;
  text-align: left;
  font-weight: 700;
}

.divorce-table th,
.divorce-table td {
  padding: 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.divorce-table thead th {
  color: var(--white);
  background: var(--plum-dark);
}

.divorce-table tbody th {
  min-width: 145px;
  color: var(--ink);
  background: var(--ivory);
}

.question-panel {
  margin: 26px 0;
  padding: 26px;
  border-left: 4px solid var(--sage-dark);
  background: var(--sage);
}

.question-panel h3 {
  margin-top: 0;
}

.boundary-list li,
.pause-plan li {
  margin-bottom: 10px;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.stage-list > div {
  padding: 24px;
  border-top: 4px solid var(--warm);
  background: var(--ivory);
}

.stage-label {
  margin: 0 0 8px;
  color: var(--plum);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pause-plan {
  max-width: 840px;
  padding-left: 1.4rem;
}

.planning-sheet {
  max-width: 1040px;
}

.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.worksheet-grid label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.worksheet-grid textarea {
  width: 100%;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
}

.print-button {
  margin-top: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 18px 40px 18px 0;
  color: var(--plum-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-list details p {
  max-width: 780px;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .readiness-question {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stage-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .status-grid,
  .privacy-columns,
  .role-reset-grid,
  .signal-comparison,
  .worksheet-grid {
    grid-template-columns: 1fr;
  }

  .editorial-prose h2 {
    margin-top: 44px;
  }

  .readiness-question,
  .check-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .readiness-options {
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-result {
    margin-right: 18px;
    margin-left: 18px;
  }

  .divorce-table-wrap {
    overflow: visible;
  }

  .divorce-table,
  .divorce-table thead,
  .divorce-table tbody,
  .divorce-table tr,
  .divorce-table th,
  .divorce-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .divorce-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .divorce-table tr {
    margin-bottom: 18px;
    border: 1px solid var(--line);
  }

  .divorce-table th,
  .divorce-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .divorce-table tr > :last-child {
    border-bottom: 0;
  }

  .divorce-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--plum);
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

@media print {
  .site-header,
  .site-footer,
  .divorce-hero,
  .divorce-cta,
  .print-button,
  .check-actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .section-soft {
    padding: 18px 0;
    background: #fff;
  }

  .readiness-check,
  .status-grid,
  .privacy-columns,
  .role-reset-grid,
  .signal-comparison {
    box-shadow: none;
    break-inside: avoid;
  }

  .worksheet-grid textarea {
    min-height: 70px;
    border-color: #555;
  }

  .faq-list details:not([open]) > p {
    display: block;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* No reply after matching editorial guide */
.no-reply-hero .hero-lead {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.no-reply-hero .page-hero-grid > * {
  min-width: 0;
}

.no-reply-hero .breadcrumb,
.reply-table th,
.reply-table td {
  overflow-wrap: anywhere;
}

.no-reply-hero img {
  width: 100%;
  aspect-ratio: 1327 / 769;
  object-fit: cover;
  object-position: 50% 46%;
}

.article-byline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.reply-container,
.reply-prose {
  max-width: 1040px;
}

.reply-prose > p,
.reply-prose > ul,
.reply-prose > ol {
  max-width: 820px;
}

.reply-prose h2 {
  margin-top: 58px;
}

.reply-prose h2:first-child {
  margin-top: 0;
}

.reply-situations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reply-situations article {
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.reply-situations h3 {
  margin: 8px 0 12px;
}

.reply-situations p:last-child {
  margin-bottom: 0;
}

.situation-number,
.example-label {
  margin: 0;
  color: var(--plum-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.thread-check {
  max-width: 850px;
  margin: 24px 0;
  padding: 22px 28px;
  border-left: 4px solid var(--sage-dark);
  background: var(--white);
}

.thread-check ol {
  margin: 0;
  padding-left: 1.25rem;
}

.thread-check li + li {
  margin-top: 10px;
}

.reply-table-wrap {
  margin: 28px 0 50px;
  overflow-x: auto;
}

.reply-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: var(--white);
}

.reply-table caption {
  padding-bottom: 11px;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
}

.reply-table th,
.reply-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.reply-table thead th {
  color: var(--white);
  background: var(--plum-dark);
}

.reply-table tbody th {
  width: 26%;
  color: var(--ink);
  background: var(--ivory);
}

.follow-up-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.follow-up-boundary > div {
  padding: 28px;
  background: var(--white);
}

.follow-up-boundary > div:first-child {
  border-top: 4px solid var(--sage-dark);
}

.follow-up-boundary > div:last-child {
  border-top: 4px solid var(--plum);
}

.follow-up-boundary h3 {
  margin-top: 0;
}

.follow-up-boundary ul,
.pressure-examples ul {
  padding-left: 1.2rem;
}

.message-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.message-examples article {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.message-examples blockquote {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

.pressure-examples {
  max-width: 850px;
  margin: 28px 0;
  padding: 26px;
  border-left: 4px solid var(--warm);
  background: var(--ivory);
}

.pressure-examples h3 {
  margin-top: 0;
}

.meeting-confirmation {
  max-width: 850px;
  margin: 26px 0;
  padding: 28px;
  color: var(--white);
  background: var(--plum-dark);
}

.meeting-confirmation p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.55;
}

.returning-replies {
  display: grid;
  gap: 0;
  max-width: 850px;
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

.returning-replies > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.returning-replies p {
  margin: 0;
}

.decision-table tbody th {
  width: 28%;
}

.reply-cta .button-light {
  color: var(--plum-dark);
  background: var(--white);
}

.reply-cta .button-light:hover {
  color: var(--white);
  background: var(--ink);
}

@media (max-width: 980px) {
  .reply-situations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .message-examples {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .reply-situations,
  .follow-up-boundary {
    grid-template-columns: 1fr;
  }

  .reply-prose h2 {
    margin-top: 44px;
  }

  .reply-table-wrap {
    overflow: visible;
  }

  .reply-table,
  .reply-table thead,
  .reply-table tbody,
  .reply-table tr,
  .reply-table th,
  .reply-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .reply-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .reply-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
  }

  .reply-table th,
  .reply-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .reply-table tr > :last-child {
    border-bottom: 0;
  }

  .reply-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--plum-dark);
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .returning-replies > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Messaging help article */
.messaging-hero .messaging-hero-inner {
  max-width: 980px;
}

.messaging-hero .hero-lead {
  max-width: 790px;
}

.messaging-container {
  max-width: 1100px;
}

.messaging-narrow {
  max-width: 860px;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.symptom-grid a {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(34, 32, 28, .05);
}

.symptom-grid a:hover,
.symptom-grid a:focus-visible {
  border-color: var(--plum);
  transform: translateY(-2px);
}

.symptom-grid strong {
  color: var(--plum-dark);
  font-size: 1.02rem;
}

.symptom-grid span,
.fine-print,
.device-figure-grid figcaption {
  color: var(--muted);
  font-size: .92rem;
}

.numbered-checks li + li,
.messaging-problem-grid li + li,
.platform-checks li + li,
.messaging-narrow li + li {
  margin-top: 10px;
}

.messaging-boundary,
.privacy-warning {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 4px solid var(--sage-dark);
  color: var(--ink);
  background: var(--white);
}

.privacy-warning {
  border-left-color: var(--warm);
  background: var(--ivory);
}

.platform-checks,
.messaging-problem-grid,
.device-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.platform-checks article {
  padding: 28px;
  border-top: 4px solid var(--plum);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(34, 32, 28, .06);
}

.platform-checks h3,
.decision-note h3,
.support-dont-send h3 {
  margin-top: 0;
}

.messaging-action-table tbody th,
.diagnostic-table tbody th {
  color: var(--ink);
  background: #efe8dc;
}

.decision-note,
.status-card,
.support-dont-send {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(34, 32, 28, .06);
}

.decision-note {
  border-top: 4px solid var(--plum);
}

.troubleshooting-flow {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.troubleshooting-flow li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.troubleshooting-flow li:first-child {
  border-top: 1px solid var(--line);
}

.troubleshooting-flow li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--plum-dark);
  font-weight: 800;
}

.troubleshooting-flow p {
  margin: 4px 0 0;
}

.status-card dl {
  margin: 0;
}

.status-card dl div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.status-card dl div:last-child {
  border-bottom: 0;
}

.status-card dt {
  color: var(--plum-dark);
  font-weight: 800;
}

.status-card dd {
  margin: 3px 0 0;
}

.device-figure-grid {
  align-items: center;
}

.device-figure-grid figure {
  margin: 0;
}

.device-figure-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1317 / 777;
  object-fit: cover;
}

.device-figure-grid figcaption {
  padding-top: 10px;
}

.support-template {
  margin-top: 26px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(34, 32, 28, .07);
}

.support-template p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.support-template p:last-child {
  border-bottom: 0;
}

.support-dont-send {
  max-width: 820px;
  margin-top: 22px;
  border-left: 4px solid var(--warm);
  box-shadow: none;
}

.support-dont-send ul {
  margin-bottom: 0;
}

.messaging-cta .button-light {
  color: var(--plum-dark);
  background: var(--white);
}

.messaging-cta .button-light:hover {
  color: var(--white);
  background: var(--ink);
}

@media (max-width: 980px) {
  .symptom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-checks,
  .messaging-problem-grid,
  .device-figure-grid {
    grid-template-columns: 1fr;
  }

  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .symptom-grid a {
    min-height: 0;
  }

  .messaging-action-table,
  .diagnostic-table {
    min-width: 0;
  }
}

/* Over-50 dating profile guide */
.profile-guide-page main { font-size: 18px; }
.profile-guide-hero .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; }
.profile-guide-hero .hero-lead { max-width: 68ch; }
.profile-guide-hero img { aspect-ratio: 456 / 455; object-position: center; }
.profile-reading-width { max-width: 1180px; }
.profile-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.profile-guide-table { min-width: 760px; }
.profile-guide-table caption { padding: 14px 18px; color: var(--ink); background: var(--ivory); text-align: left; font-weight: 700; }
.profile-guide-table th, .profile-guide-table td { vertical-align: top; }
.profile-guide-table tbody th { color: var(--ink); background: #eee7dc; }
.planning-table tbody th, .evidence-table tbody th { width: 20%; }
.field-map-table tbody th, .privacy-level-table tbody th, .profile-diagnostic-table tbody th { width: 18%; }
.product-boundary, .structure-example, .photo-avoid { margin-top: 26px; padding: 20px 24px; border-left: 4px solid var(--warm); background: #fff5e9; }
.four-part-framework, .photo-role-flow { margin: 0; padding: 0; list-style: none; }
.four-part-framework { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.four-part-framework li { padding: 26px; border-left: 1px solid var(--line); }
.four-part-framework li:first-child { border-left: 0; }
.four-part-framework span, .photo-role-flow > li > span { color: var(--warm); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }
.four-part-framework h3, .photo-role-flow h3 { margin: 10px 0 8px; }
.four-part-framework p, .photo-role-flow p { margin: 0; color: var(--muted); }
.intention-comparison, .status-example-grid, .editing-demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.intention-comparison > div, .status-example-grid article, .editing-demo section, .family-privacy-note, .publication-checklist, .update-trigger { padding: 26px; border: 1px solid var(--line); background: var(--white); }
.intention-comparison > div:last-child { border-top: 4px solid var(--sage-dark); }
.intention-comparison h3, .status-example-grid h3, .editing-demo h3, .family-privacy-note h3, .update-trigger h3 { margin-top: 0; }
.intention-comparison small { display: block; color: var(--muted); }
.status-example-grid { margin-bottom: 24px; }
.work-rhythm-layout, .family-boundary-layout, .stranger-test-layout, .update-profile-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(36px, 7vw, 90px); align-items: start; }
.work-rhythm-list { margin: 0; border-top: 1px solid var(--line); }
.work-rhythm-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.work-rhythm-list dt { color: var(--plum-dark); font-weight: 800; }
.work-rhythm-list dd { margin: 4px 0 0; }
.family-boundary-layout blockquote { margin: 24px 0 0; padding: 18px 22px; border-left: 4px solid var(--plum); background: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.photo-role-flow { border-top: 1px solid var(--line); }
.photo-role-flow li { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(210px, .5fr); gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.photo-role-flow strong { color: var(--sage-dark); }
.editing-demo { align-items: stretch; }
.editing-demo section { margin: 0; }
.editing-demo .edited-profile { color: var(--white); background: var(--plum-dark); }
.editing-demo .edited-profile p { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.edit-reasons { max-width: 820px; margin-top: 28px; }
.edit-reasons li + li { margin-top: 8px; }
.publication-checklist { margin: 0; list-style: none; }
.publication-checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.publication-checklist li:last-child { border-bottom: 0; }
.publication-checklist span { color: var(--plum); font-weight: 800; }
.update-trigger { margin-top: 0; border-top: 4px solid var(--warm); }
.profile-guide-cta .button-light { color: var(--plum-dark); background: var(--white); }
.profile-guide-cta .button-light:hover { color: var(--white); background: var(--ink); }

@media (max-width: 980px) {
  .four-part-framework { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four-part-framework li:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .four-part-framework li:nth-child(4) { border-top: 1px solid var(--line); }
  .intention-comparison, .status-example-grid, .editing-demo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .profile-guide-page main { font-size: 17px; }
  .profile-guide-hero .page-hero-grid, .work-rhythm-layout, .family-boundary-layout, .stranger-test-layout, .update-profile-layout { grid-template-columns: 1fr; }
  .four-part-framework { grid-template-columns: 1fr; }
  .four-part-framework li, .four-part-framework li:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .four-part-framework li:first-child { border-top: 0; }
  .photo-role-flow li { grid-template-columns: 44px minmax(0, 1fr); }
  .photo-role-flow strong { grid-column: 2; }
  .profile-table-wrap { overflow: visible; border: 0; background: transparent; }
  .profile-guide-table, .profile-guide-table thead, .profile-guide-table tbody, .profile-guide-table tr, .profile-guide-table th, .profile-guide-table td { display: block; width: 100%; min-width: 0; }
  .profile-guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .profile-guide-table caption { border: 1px solid var(--line); }
  .profile-guide-table tr { margin-bottom: 16px; border: 1px solid var(--line); background: var(--white); }
  .profile-guide-table th, .profile-guide-table td { border-bottom: 1px solid var(--line); }
  .profile-guide-table tr > :last-child { border-bottom: 0; }
  .profile-guide-table th::before, .profile-guide-table td::before { display: block; margin-bottom: 4px; color: var(--plum); content: attr(data-label); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
}

/* SilverSingles login guidance */
.login-guide-width { max-width: 1120px; }
.login-guide-hero { padding: clamp(32px, 5vw, 60px) 0; background: linear-gradient(115deg, var(--ivory), #faf7f1); border-bottom: 1px solid var(--line); }
.login-guide-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: center; }
.login-guide-intro > * { min-width: 0; }
.login-guide-intro h1 { margin: 16px 0 24px; font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
.login-guide-lead { max-width: 550px; margin: 0; font-size: 1.15rem; line-height: 1.7; color: var(--muted); }
.login-guide-actions { margin-top: 30px; }
.login-guide-actions .button { gap: 18px; min-height: 52px; padding: 15px 26px; }
.login-start-card { padding: clamp(24px, 2.5vw, 30px); border: 1px solid var(--line); border-top: 4px solid var(--plum); background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(34, 32, 28, .06); }
.login-start-card h2 { margin: 8px 0 22px; font-size: 1.65rem; line-height: 1.25; }
.login-start-card ol { padding-left: 22px; margin: 0; }
.login-start-card li + li { margin-top: 14px; }
.login-start-card > p:last-child { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--plum-dark); font-weight: 700; }
.login-section-heading { max-width: 780px; margin-bottom: 30px; }
.login-section-heading h2 { margin: 8px 0 16px; }
.login-section-heading > p:last-child { color: var(--muted); }
.login-troubleshooting { border-top: 1px solid var(--line); }
.login-troubleshooting details { border-bottom: 1px solid var(--line); }
.login-troubleshooting summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 18px; color: var(--plum-dark); font-size: 1.13rem; font-weight: 700; cursor: pointer; list-style: none; }
.login-troubleshooting summary::-webkit-details-marker { display: none; }
.login-troubleshooting summary::after { content: "+"; flex: 0 0 24px; text-align: center; font-size: 1.5rem; }
.login-troubleshooting details[open] > summary { background: var(--ivory); }
.login-troubleshooting details[open] > summary::after { content: "−"; }
.login-troubleshooting summary:hover { background: var(--ivory); }
.login-detail-body { max-width: 850px; padding: 8px 18px 20px; }
.login-detail-body ol { padding-left: 22px; }
.login-detail-body li + li { margin-top: 12px; }
.login-detail-body > :last-child { margin-bottom: 0; }
.login-verification-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(26px, 5vw, 60px); }
.login-verification-layout h2 { margin: 8px 0 20px; }
.login-code-decisions { margin: 0; }
.login-code-decisions > div { padding: 18px 0; border-top: 1px solid #a7b3a4; }
.login-code-decisions dt { font-weight: 700; }
.login-code-decisions dd { margin: 8px 0 0; }
.login-account-check { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.login-portrait img { width: 220px; height: auto; border-radius: var(--radius); }
.login-account-check h2 { margin: 8px 0 20px; }
.login-account-check p:last-child { margin-bottom: 0; }
.login-security-section { background: var(--ivory); }
.login-security-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; list-style: none; margin: 0; padding: 0; }
.login-security-list li { padding-top: 20px; border-top: 3px solid var(--sage-dark); }
.login-security-list strong { display: block; margin-bottom: 8px; }
.login-compromise-note { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.login-compromise-note a { font-weight: 700; }
.login-support-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.login-support-layout h2 { margin: 8px 0 20px; }
.login-help-link { display: inline-flex; gap: 12px; align-items: center; min-height: 46px; font-weight: 700; }
.login-new-member { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.login-new-member h3 { margin-top: 0; }
.login-new-member .button { white-space: normal; text-align: center; }
.login-footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.login-footer-inner p { margin: 0; }
.login-footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.login-footer-inner nav a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 850px) {
  .login-guide-intro, .login-verification-layout, .login-support-layout { grid-template-columns: 1fr; }
  .login-security-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .login-guide-actions .button { width: 100%; }
  .login-account-check { grid-template-columns: 1fr; }
  .login-portrait { order: 1; }
  .login-portrait img { width: 160px; }
  .login-troubleshooting summary { padding: 18px 8px; }
  .login-detail-body { padding: 8px 8px 20px; }
  .login-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Help Centre */
.help-centre-page {
  background: var(--white);
}

.help-centre-page a {
  text-decoration: none;
}

.help-container {
  max-width: 1120px;
}

.help-hero {
  padding: clamp(54px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.help-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.help-hero-copy h1 {
  max-width: 640px;
  margin: 18px 0;
  font-size: clamp(2.65rem, 5.6vw, 5.25rem);
  line-height: .98;
}

.help-hero-copy > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.help-start-panel {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--plum);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(34, 32, 28, .08);
}

.help-start-panel h2 {
  margin: 7px 0 18px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.help-start-panel ul {
  margin-bottom: 20px;
}

.help-start-panel > p:last-child {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.help-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.help-route-card {
  display: grid;
  min-height: 194px;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sage-dark);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(34, 32, 28, .05);
}

.help-route-card:hover,
.help-route-card:focus-visible {
  border-color: var(--plum);
  border-top-color: var(--plum);
  color: var(--ink);
  transform: translateY(-2px);
}

.help-route-card span {
  color: var(--plum-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.help-route-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.help-route-card small {
  color: var(--muted);
  font-size: .92rem;
}

.urgent-help-section {
  background: #fbf4e8;
}

.urgent-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.urgent-help-grid article {
  padding: 28px;
  border: 1px solid #d8c3aa;
  border-top: 5px solid #8a402f;
  background: var(--white);
}

.urgent-help-grid h3 {
  margin: 8px 0 14px;
  font-size: 1.4rem;
}

.urgent-help-grid ol {
  margin: 0;
  padding-left: 1.15rem;
}

.urgent-help-grid li + li {
  margin-top: 8px;
}

.help-action-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--plum);
  color: #5a1b36;
  font-weight: 800;
}

.help-action-link:hover,
.help-action-link:focus-visible {
  color: var(--white);
  background: var(--plum-dark);
}

.urgent-label {
  margin: 0;
  color: #743324;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.emergency-note {
  margin: 20px 0 0;
  padding: 18px 22px;
  border-left: 5px solid #8a402f;
  color: #381b14;
  background: #f5dfd4;
}

.help-split,
.support-prep-grid,
.official-support-warning {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.account-access-steps {
  margin: 24px 0 0;
  padding-left: 1.25rem;
}

.account-access-steps li + li {
  margin-top: 14px;
}

.wrong-account-check,
.contact-criteria,
.support-request-list,
.support-route-boundary {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(34, 32, 28, .06);
}

.wrong-account-check {
  border-top: 5px solid var(--sage-dark);
}

.wrong-account-check h3,
.contact-criteria h3,
.support-request-list h3,
.support-route-boundary h3 {
  margin-top: 0;
}

.help-table-wrap {
  overflow-x: auto;
}

.help-action-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: var(--white);
}

.help-action-table caption {
  padding-bottom: 12px;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}

.help-action-table th,
.help-action-table td {
  padding: 17px;
  border: 1px solid #cfc8bb;
  text-align: left;
  vertical-align: top;
}

.help-action-table thead th {
  color: var(--white);
  background: var(--plum-dark);
}

.help-action-table tbody th {
  width: 24%;
  color: var(--ink);
  background: #eee6da;
}

.table-boundary {
  max-width: 880px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.support-prep-grid {
  gap: 18px;
}

.support-prep-grid ul {
  margin-bottom: 0;
}

.support-privacy-strip {
  margin-top: 18px;
  padding: 20px 24px;
  border-left: 5px solid #8a402f;
  color: #381b14;
  background: #f5dfd4;
}

.support-route-boundary {
  max-width: 880px;
  margin-top: 18px;
  border-top: 5px solid var(--plum);
  box-shadow: none;
}

.official-support-section {
  padding: clamp(32px, 4vw, 52px) 0;
  color: var(--white);
  background: var(--plum-dark);
}

.official-support-warning {
  max-width: 1120px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.official-support-warning .eyebrow,
.official-support-warning h2,
.official-support-warning li {
  color: var(--white);
}

.official-support-warning h2 {
  max-width: 15ch;
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

.official-support-warning .eyebrow {
  color: #e6c9d8;
}

.official-support-warning ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.official-support-warning li {
  padding: 12px 16px;
  border-left: 3px solid #c996b2;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, .065);
  line-height: 1.5;
}

.official-support-warning li + li {
  margin-top: 8px;
}

.help-final-cta {
  padding: 30px 0;
  color: var(--ink);
  background: var(--ivory);
}

.help-final-cta .cta-inner {
  max-width: 1120px;
  gap: 28px;
}

.help-final-cta .cta-inner > div:first-child {
  flex: 1;
  min-width: 0;
}

.help-final-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.help-final-cta p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
}

.help-final-cta .cta-actions {
  flex: 0 0 auto;
  margin: 0;
}

.help-final-cta .button-light {
  min-height: 50px;
  color: var(--white);
  background: var(--plum);
}

.help-final-cta .button-light:hover {
  color: var(--white);
  background: var(--plum-dark);
}

@media (max-width: 980px) {
  .help-hero-layout {
    grid-template-columns: 1fr;
  }

  .help-route-grid,
  .urgent-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .help-split,
  .support-prep-grid,
  .official-support-warning {
    grid-template-columns: 1fr;
  }

  .official-support-warning h2 {
    max-width: 24ch;
  }

  .help-final-cta .cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .help-final-cta .cta-actions,
  .help-final-cta .button-light {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .help-route-grid,
  .urgent-help-grid {
    grid-template-columns: 1fr;
  }

  .help-route-card {
    min-height: 0;
  }

  .help-table-wrap {
    overflow: visible;
  }

  .help-action-table,
  .help-action-table thead,
  .help-action-table tbody,
  .help-action-table tr,
  .help-action-table th,
  .help-action-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .help-action-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .help-action-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
  }

  .help-action-table th,
  .help-action-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .help-action-table tr > :last-child {
    border-bottom: 0;
  }

  .help-action-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--plum-dark);
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
}

/* Dating advice blog */
.dating-advice-page {
  background: #fffdf9;
}

.advice-hero {
  overflow: hidden;
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 8% 12%, rgba(110, 35, 75, .1), transparent 30%),
    linear-gradient(135deg, #f7f1e8 0%, #fffdf9 58%, #eef1e9 100%);
}

.advice-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.advice-hero-copy {
  max-width: 690px;
}

.advice-hero-copy h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: .98;
}

.advice-hero-intro {
  max-width: 650px;
  margin-bottom: 26px;
  color: #353238;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.advice-jump-link,
.advice-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum-dark);
  font-weight: 800;
}

.advice-hero-media {
  position: relative;
  margin: 0;
}

.advice-hero-media::before {
  position: absolute;
  z-index: 0;
  inset: -18px 22px 20px -18px;
  border: 1px solid rgba(110, 35, 75, .32);
  border-radius: 180px 180px 24px 24px;
  content: "";
}

.advice-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1077 / 741;
  border-radius: 180px 180px 24px 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.advice-feature-section {
  padding-top: 82px;
}

.advice-section-kicker,
.advice-topic {
  margin-bottom: 12px;
  color: var(--plum-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.advice-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  overflow: hidden;
  border: 1px solid #d9d1c6;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(49, 37, 42, .09);
}

.advice-feature-image {
  min-height: 410px;
  overflow: hidden;
  background: #e7e0d7;
}

.advice-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advice-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.advice-feature-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}

.advice-feature-copy h2 a,
.advice-card h3 a {
  color: var(--ink);
}

.advice-feature-copy h2 a:hover,
.advice-card h3 a:hover {
  color: var(--plum-dark);
}

.advice-feature-copy > p:not(.advice-topic) {
  color: #484249;
  line-height: 1.7;
}

.advice-feature-copy .advice-read-link {
  margin-top: 8px;
}

.advice-library {
  border-top: 1px solid rgba(105, 83, 92, .12);
}

.advice-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.advice-library-heading h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.08;
}

.advice-library-heading > p {
  margin: 0;
  color: #484249;
  line-height: 1.65;
}

.advice-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.advice-card {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #d9d1c6;
  border-radius: 4px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.advice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(49, 37, 42, .1);
}

.advice-card-image {
  min-height: 100%;
  overflow: hidden;
  background: #e7e0d7;
}

.advice-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.advice-card:hover .advice-card-image img {
  transform: scale(1.025);
}

.advice-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.advice-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.16;
}

.advice-card-body > p:not(.advice-topic) {
  margin-bottom: 22px;
  color: #484249;
  line-height: 1.62;
}

.advice-card .advice-read-link {
  margin-top: auto;
}

.advice-card-urgent {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr);
  border-top: 5px solid #8a402f;
}

.advice-card-urgent .advice-topic {
  color: #793422;
}

@media (max-width: 1100px) {
  .advice-card-grid {
    grid-template-columns: 1fr;
  }

  .advice-card {
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 900px) {
  .advice-hero-grid,
  .advice-feature-card,
  .advice-library-heading {
    grid-template-columns: 1fr;
  }

  .advice-hero-media {
    max-width: 720px;
  }

  .advice-feature-image {
    min-height: 0;
  }

  .advice-feature-image img {
    height: auto;
    aspect-ratio: 1336 / 799;
  }

  .advice-library-heading {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .advice-hero {
    padding: 58px 0 52px;
  }

  .advice-hero-grid {
    gap: 42px;
  }

  .advice-hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .advice-hero-media::before {
    inset: -10px 14px 14px -10px;
  }

  .advice-feature-section {
    padding-top: 62px;
  }

  .advice-feature-copy {
    padding: 30px 24px 34px;
  }

  .advice-card {
    grid-template-columns: 1fr;
  }

  .advice-card-urgent {
    grid-template-columns: 1fr;
  }

  .advice-card-image {
    min-height: 0;
  }

  .advice-card-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .advice-card-body {
    padding: 26px 22px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .advice-card,
  .advice-card-image img {
    transition: none;
  }
}

/* Choosing a dating distance */
.distance-page {
  background: var(--paper);
}

.distance-hero {
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.distance-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .68fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.distance-hero-copy h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 1;
}

.distance-hero-copy > p:not(.eyebrow, .article-meta) {
  max-width: 750px;
  color: #343a3b;
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.68;
}

.distance-hero-copy .article-meta {
  margin: 28px 0 0;
  color: #4d5557;
}

.distance-hero-media {
  margin: 0;
  border-bottom: 5px solid var(--plum);
  background: var(--white);
  box-shadow: var(--shadow);
}

.distance-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

.distance-hero-media figcaption {
  padding: 15px 18px 17px;
  color: #42494a;
  font-size: .86rem;
  line-height: 1.5;
}

.distance-content {
  max-width: 1120px;
}

.distance-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.distance-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.7vw, 3.45rem);
  line-height: 1.08;
}

.distance-content > p {
  max-width: 900px;
  color: #41494a;
  line-height: 1.72;
}

.distance-factor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.distance-factor-grid section {
  padding: 26px 24px;
  background: var(--white);
}

.distance-factor-grid span,
.stage-number {
  display: block;
  margin-bottom: 14px;
  color: var(--plum-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.distance-factor-grid h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.distance-factor-grid p {
  margin: 0;
  color: #454d4e;
  line-height: 1.58;
}

.repeat-test {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 36px;
  align-items: center;
  padding: clamp(30px, 5vw, 50px);
  border-left: 8px solid #c98a62;
  color: var(--white);
  background: var(--plum-dark);
}

.repeat-test-label {
  margin-bottom: 10px;
  color: #f2d9c9;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.repeat-test h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.repeat-test > p {
  margin: 0;
  color: #f2e8ed;
  line-height: 1.65;
}

.route-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 34px 0 24px;
}

.route-example-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--sage-dark);
  background: var(--white);
}

.route-label {
  margin-bottom: 12px;
  color: var(--plum-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-example-grid h3 {
  margin-bottom: 13px;
  font-size: 1.45rem;
}

.route-example-grid article > p:last-child {
  margin: 0;
  color: #464d4f;
  line-height: 1.65;
}

.distance-source-note {
  padding-left: 18px;
  border-left: 4px solid #94613f;
  color: #51331f !important;
  font-size: .9rem;
}

.distance-worksheet {
  margin-top: 32px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #bdc6bb;
  border-top: 6px solid var(--sage-dark);
  background: #edf0e8;
}

.distance-worksheet fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.distance-worksheet legend {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.worksheet-grid label {
  display: grid;
  gap: 8px;
  color: #273032;
  font-weight: 700;
}

.worksheet-grid input,
.worksheet-grid select,
.worksheet-grid textarea,
.cost-table input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #7d8983;
  border-radius: 2px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.worksheet-grid textarea {
  resize: vertical;
}

.worksheet-grid input:focus,
.worksheet-grid select:focus,
.worksheet-grid textarea:focus,
.cost-table input:focus {
  border-color: var(--plum);
  outline: 3px solid rgba(107, 36, 73, .2);
  outline-offset: 1px;
}

.worksheet-wide {
  grid-column: 1 / -1;
}

.worksheet-result {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--plum);
  background: var(--white);
}

.worksheet-result h3 {
  margin-bottom: 14px;
}

.worksheet-result p {
  margin: 8px 0 0;
  color: #394143;
}

.worksheet-questions {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.worksheet-questions label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #2f3839;
}

.worksheet-questions input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--plum);
}

.worksheet-reset {
  min-width: 170px;
}

.distance-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid #bcc5b9;
  background: #bcc5b9;
}

.distance-stage-grid section {
  padding: 30px;
  background: #f9fbf6;
}

.distance-stage-grid h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.distance-stage-grid p:last-child {
  margin: 0;
  color: #41494a;
  line-height: 1.65;
}

.distance-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.distance-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.distance-table caption {
  padding: 16px 18px;
  color: #333b3d;
  background: #eee9df;
  font-weight: 700;
  text-align: left;
}

.distance-table th,
.distance-table td {
  padding: 17px 18px;
  border: 1px solid var(--line);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.distance-table thead th {
  border-color: #64405a;
  color: var(--white);
  background: var(--plum-dark);
}

.distance-table tbody th {
  width: 22%;
  color: #263032;
  background: #f0ece4;
}

.distance-table tbody td {
  color: #343d3f;
  background: var(--white);
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.transport-grid section {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--white);
}

.transport-grid section:first-child {
  border-top: 6px solid var(--sage-dark);
}

.transport-grid section:last-child {
  border-top: 6px solid var(--plum);
}

.transport-grid h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.transport-grid > section > p {
  color: #41494a;
}

.transport-question {
  margin: 24px 0 0;
  padding: 18px;
  color: #2d3436 !important;
  background: #f2eee6;
  font-weight: 700;
}

.distance-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.commitment-check {
  padding: 30px;
  border-left: 6px solid var(--sage-dark);
  background: #edf0e8;
}

.commitment-check h3 {
  margin-bottom: 18px;
}

.commitment-check ol {
  margin: 0;
  padding-left: 22px;
}

.commitment-check li + li {
  margin-top: 14px;
}

.cost-table-wrap {
  background: transparent;
}

.cost-table input {
  max-width: 170px;
}

.cost-total th,
.cost-total td {
  border-top: 3px solid var(--plum) !important;
}

.effort-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(34px, 6vw, 68px);
  align-items: start;
}

.effort-layout > div > p {
  color: #41494a;
  line-height: 1.72;
}

.effort-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.effort-checks span {
  padding: 9px 12px;
  border: 1px solid #849188;
  color: #27312d;
  background: #eef1e9;
  font-size: .84rem;
  font-weight: 700;
}

.journey-questions {
  padding: 30px;
  border-top: 6px solid var(--plum);
  background: #f2eee6;
}

.journey-questions h3 {
  margin-bottom: 18px;
}

.journey-questions ul {
  margin: 0;
  padding-left: 20px;
}

.journey-questions li + li {
  margin-top: 12px;
}

.journey-questions p {
  margin: 22px 0 0;
  color: #4b4549;
  font-size: .9rem;
}

.distance-safety-section {
  color: var(--white);
  background: #253d34;
}

.distance-safety-section .eyebrow,
.distance-safety-section h2,
.distance-safety-section p {
  color: var(--white);
}

.distance-safety-list {
  margin: 0;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  list-style: none;
}

.distance-safety-list li {
  position: relative;
  padding-left: 26px;
}

.distance-safety-list li::before {
  position: absolute;
  left: 0;
  color: #f0c7aa;
  content: "✓";
  font-weight: 800;
}

.distance-safety-list li + li {
  margin-top: 13px;
}

.radius-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
  counter-reset: none;
}

.radius-flow li {
  min-height: 170px;
  padding: 24px;
  background: var(--white);
}

.radius-flow span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--plum);
  font-weight: 800;
}

.radius-flow p {
  margin: 0;
  color: #374042;
  line-height: 1.55;
}

.product-boundary {
  padding: 28px 30px;
  border-left: 6px solid #96613f;
  background: #f3e6d9;
}

.product-boundary h3 {
  margin-bottom: 10px;
  color: #3e281a;
}

.product-boundary p {
  margin: 0;
  color: #493124;
  line-height: 1.65;
}

.classification-table tbody th {
  width: 24%;
}

.route-status {
  display: inline-block;
  padding: 7px 9px;
  border-left: 5px solid;
  color: #1e2925;
  font-size: .88rem;
}

.route-status-easy {
  border-color: #426d52;
  background: #dfeae1;
}

.route-status-plan {
  border-color: #a1632e;
  background: #f2e3cf;
}

.route-status-rare {
  border-color: #8a402f;
  background: #f1dcd5;
}

.distance-warning-signs {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.distance-warning-signs h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.distance-warning-signs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.distance-warning-signs li {
  position: relative;
  padding: 0 0 0 24px;
}

.distance-warning-signs li::before {
  position: absolute;
  left: 0;
  color: #86442f;
  content: "—";
  font-weight: 800;
}

.distance-warning-signs > p {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #424a4c;
}

.distance-faq-list {
  border-top: 1px solid var(--line);
}

.distance-faq-list details {
  border-bottom: 1px solid var(--line);
}

.distance-faq-list summary {
  padding: 22px 40px 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.distance-faq-list details p {
  max-width: 880px;
  padding: 0 0 22px;
  color: #41494a;
  line-height: 1.68;
}

.distance-cta .cta-inner p {
  color: #f0e5eb;
}

@media (max-width: 1000px) {
  .distance-factor-grid,
  .radius-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-example-grid,
  .distance-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .distance-hero-grid,
  .repeat-test,
  .distance-split,
  .effort-layout {
    grid-template-columns: 1fr;
  }

  .distance-hero-media {
    max-width: 620px;
  }

  .worksheet-grid,
  .transport-grid {
    grid-template-columns: 1fr;
  }

  .worksheet-wide {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .distance-hero {
    padding: 54px 0 48px;
  }

  .distance-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .distance-factor-grid,
  .radius-flow {
    grid-template-columns: 1fr;
  }

  .repeat-test,
  .distance-worksheet,
  .route-example-grid article,
  .distance-stage-grid section,
  .transport-grid section,
  .journey-questions,
  .distance-warning-signs {
    padding: 24px 20px;
  }

  .distance-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .distance-table,
  .distance-table thead,
  .distance-table tbody,
  .distance-table tr,
  .distance-table th,
  .distance-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .distance-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .distance-table tr {
    margin-bottom: 18px;
    border: 1px solid var(--line);
  }

  .distance-table th,
  .distance-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .distance-table tr > :last-child {
    border-bottom: 0;
  }

  .distance-table td::before {
    display: block;
    margin-bottom: 5px;
    color: var(--plum-dark);
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .cost-table input {
    max-width: none;
  }
}

@media print {
  .distance-page .site-header,
  .distance-page .site-footer,
  .distance-page .distance-hero-media,
  .distance-page .distance-cta,
  .distance-page .worksheet-reset,
  .distance-page .skip-link {
    display: none !important;
  }

  .distance-page,
  .distance-page .section,
  .distance-page .distance-hero,
  .distance-page .distance-worksheet,
  .distance-page .repeat-test,
  .distance-page .distance-safety-section {
    color: #000 !important;
    background: #fff !important;
  }

  .distance-page .container {
    width: 100%;
    max-width: none;
  }

  .distance-page .distance-hero {
    padding: 0 0 24px;
  }

  .distance-page .section {
    padding: 32px 0;
  }

  .distance-page h1,
  .distance-page h2,
  .distance-page h3,
  .distance-page p,
  .distance-page li,
  .distance-page th,
  .distance-page td,
  .distance-page .eyebrow {
    color: #000 !important;
  }

  .distance-page .distance-worksheet,
  .distance-page .distance-table-wrap,
  .distance-page .repeat-test,
  .distance-page .distance-safety-list {
    border: 1px solid #555;
    break-inside: avoid;
  }

  .distance-page .distance-table {
    min-width: 0;
  }

  .distance-page details {
    display: block;
  }

  .distance-page details > * {
    display: block;
  }
}
