:root {
  --bg-linen: #F4F0E8;
  --bg-cream: #FAF8F3;
  --surface: #FFFFFF;
  --pine: #1E473E;
  --pine-dark: #14322B;
  --pine-tint: #E8F0EC;
  --terracotta: #BA5835;
  --terracotta-dark: #9C4627;
  --terracotta-tint: #FDF2ED;
  --ink: #1A221F;
  --muted: #52605A;
  --border: #DED8CA;
  --shadow-sm: 0 6px 20px rgba(26, 34, 31, 0.05);
  --shadow-md: 0 12px 30px rgba(26, 34, 31, 0.08);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-linen);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  color: var(--pine);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

p, li, span, div, label, button {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine);
  color: #FFFFFF;
  padding: 12px 18px;
  font-weight: 600;
  z-index: 500;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.brand__name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pine);
  line-height: 1.15;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-pill {
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-pill:hover {
  color: var(--pine);
  background: rgba(30, 71, 62, 0.05);
}

.nav-pill.is-active {
  color: var(--pine);
  font-weight: 600;
}

.nav-pill.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--pine);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--pine);
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-nav-panel {
  display: none;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 18px;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-panel .nav-pill {
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1rem;
}

.mobile-nav-panel .nav-pill.is-active {
  background: var(--pine-tint);
  border-color: var(--pine);
}

.mobile-nav-panel .nav-pill.is-active::after {
  display: none;
}

/* Page Container & Views */
.page-wrap {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

/* Overview Hero */
.editorial-hero {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.editorial-hero__title {
  font-size: clamp(2.05rem, 3.8vw, 2.85rem);
  color: var(--pine);
  margin-bottom: 14px;
}

.editorial-hero__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-top: 4px;
}

.editorial-hero__body {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 550px;
}

.editorial-hero__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.editorial-hero__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-pine {
  background: var(--pine);
  color: #FFFFFF;
}

.btn-pine:hover {
  background: var(--pine-dark);
  box-shadow: 0 6px 16px rgba(30, 71, 62, 0.2);
}

.btn-terracotta {
  background: var(--terracotta);
  color: #FFFFFF;
}

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 6px 16px rgba(186, 88, 53, 0.2);
}

.btn-outline {
  background: var(--surface);
  color: var(--pine);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--pine);
  background: var(--pine-tint);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 0;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pine);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--terracotta);
}

.text-link.inline-link {
  display: inline;
  min-height: 0;
  padding: 0;
}

/* Section Rule */
.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* 3-Card Hub */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--pine);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.tool-card--warm {
  border-top-color: var(--terracotta);
}

.tool-card__num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.tool-card__title {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.tool-card__desc {
  font-size: 0.96rem;
  color: var(--muted);
}

/* Email Band */
.email-band {
  margin-top: 28px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.email-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.email-band__title {
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.email-band__desc {
  font-size: 0.94rem;
  color: var(--muted);
}

.email-band__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1 360px;
  max-width: 520px;
}

.email-band__form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.feedback-msg {
  margin-top: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--pine);
}

/* Page Head */
.page-head {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-head--compact {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 12px;
  margin-bottom: 8px;
  box-shadow: none;
  align-items: center;
}

.page-head__title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.page-head__sub {
  color: var(--muted);
  max-width: 660px;
}

/* Topic Selector Bar (Desktop / Tablet) */
.topic-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.topic-tab {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--pine);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.topic-tab:hover {
  border-color: var(--pine);
  background: var(--pine-tint);
}

.topic-tab.is-selected {
  background: var(--pine);
  color: #FFFFFF;
  border-color: var(--pine);
}

/* Topic Cards */
.topic-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}

.topic-card__header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}

.topic-card__header:hover {
  background: var(--bg-cream);
}

.topic-card__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topic-badge {
  background: var(--pine-tint);
  color: var(--pine);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.topic-card__title {
  font-size: 1.15rem;
}

.topic-card__toggle {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--pine);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.topic-card.is-open .topic-card__toggle {
  transform: rotate(180deg);
}

.topic-card__body {
  padding: 4px 24px 24px;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.topic-card__body > p {
  margin-top: 14px;
}

.callout-box {
  background: var(--pine-tint);
  border-left: 4px solid var(--pine);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 16px 0;
  font-size: 0.96rem;
}

.sub-box {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
}

.sub-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--pine);
  margin-bottom: 8px;
}

.sub-box ul {
  padding-left: 20px;
}

.sub-box li {
  margin-bottom: 6px;
}

.next-box {
  background: var(--terracotta-tint);
  border-left: 4px solid var(--terracotta);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 16px;
}

.next-box__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 4px;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.93rem;
  background: var(--surface);
}

.comparison-table th {
  background: var(--pine);
  color: #FFFFFF;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
  background: var(--bg-cream);
}

/* Sheet Cards & Forms (Action Plan, Worksheet, Disclosures) */
.sheet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sheet-card__title {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
  margin-bottom: 8px;
}

.sheet-card__sub {
  color: var(--muted);
  max-width: 720px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}

.field-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-item label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--pine);
}

.input-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.input-control:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(30, 71, 62, 0.12);
}

.region-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--pine-tint);
  color: var(--pine);
  font-size: 0.86rem;
  font-weight: 600;
  max-width: 100%;
}

.field-group-block {
  margin-top: 22px;
  width: 100%;
  min-width: 0;
}

.field-group-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pine);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-cream);
  cursor: pointer;
  min-height: 52px;
  min-width: 0;
  max-width: 100%;
}

.check-card--span-2 {
  grid-column: 1 / -1;
}

.check-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--pine);
  flex-shrink: 0;
  cursor: pointer;
}

.check-card__title {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--pine);
}

.check-card__hint {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 2px;
}

.send-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--pine-tint);
  border: 1px solid rgba(30, 71, 62, 0.22);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.send-box__title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.send-box__desc {
  font-size: 0.92rem;
  color: var(--muted);
}

.arrears-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--terracotta-tint);
  border: 1.5px solid var(--terracotta);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.section-divider {
  border-top: 1px solid var(--border);
  margin: 24px 0 16px;
  padding-top: 20px;
}

.section-divider__title {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.section-divider__sub {
  font-size: 0.92rem;
  color: var(--muted);
}

.submit-row {
  margin-top: 22px;
}

/* Action Plan Output */
.plan-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.plan-result-head__title {
  font-size: 1.65rem;
}

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

.pine-meta {
  color: var(--pine);
  font-weight: 600;
  font-size: 0.94rem;
  margin-top: 4px;
}

.directory-box {
  background: var(--pine-tint);
  border: 1px solid rgba(30, 71, 62, 0.22);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 18px;
  min-width: 0;
}

.plan-step-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pine);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 14px;
  min-width: 0;
}

.plan-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.plan-step-card ul {
  padding-left: 20px;
}

.plan-step-card li {
  margin-bottom: 6px;
}

/* Worksheet Results */
.results-box {
  margin-top: 26px;
  background: var(--bg-cream);
  border: 1.5px solid var(--pine);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.results-box__title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.results-box__summary {
  font-size: 0.96rem;
  color: var(--ink);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
  width: 100%;
}

.metric-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  min-width: 0;
}

.metric-tile__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-tile__value {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--pine);
  margin-top: 4px;
}

.specialist-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.specialist-box__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.specialist-box__copy {
  font-size: 0.95rem;
  max-width: 600px;
  min-width: 0;
}

.specialist-box__copy strong {
  display: block;
  color: var(--pine);
  margin-bottom: 2px;
}

.specialist-box__copy span {
  display: block;
  color: var(--muted);
}

.specialist-box__prompt-text {
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.address-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.address-form__input {
  flex: 1 1 240px;
}

.specialist-box__confirmed {
  font-size: 0.96rem;
  color: var(--pine);
}

.specialist-box__confirmed strong {
  display: block;
  margin-bottom: 2px;
}

.specialist-box__confirmed span {
  display: block;
  color: var(--ink);
}

/* Disclosures */
.doc-heading {
  font-size: 1.22rem;
  margin-top: 20px;
  margin-bottom: 6px;
}

.doc-para {
  margin-bottom: 12px;
}

.doc-para a {
  color: var(--pine);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.site-footer__top img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: var(--surface);
  padding: 3px 8px;
  border: 1px solid var(--border);
}

.site-footer__disclaimer {
  font-size: 0.86rem;
  color: var(--muted);
}

@media print {
  .site-header, .mobile-nav-panel, .no-print, .site-footer, .skip-link {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
  }
  .page-view.is-active {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .editorial-hero,
  .tool-grid,
  .fields-grid,
  .check-grid,
  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .check-card--span-2 {
    grid-column: auto;
  }
  .editorial-hero,
  .page-head,
  .sheet-card,
  .results-box,
  .email-band {
    padding: 22px 18px;
  }
  .editorial-hero {
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .topic-selector {
    display: none;
  }
  .site-header__inner {
    padding: 0 16px;
    height: 70px;
  }
  .page-wrap {
    padding: 18px 14px 52px;
  }
  .site-footer {
    padding: 20px 14px 40px;
  }
  .action-row .btn,
  .specialist-box__row .btn,
  .address-form .btn,
  .submit-row .btn,
  .email-band__form .btn {
    width: 100%;
  }
  .topic-card__header {
    padding: 16px 16px;
  }
  .topic-card__body {
    padding: 4px 16px 18px;
  }
  .topic-card__title {
    font-size: 1.05rem;
  }
  .results-box,
  .specialist-box,
  .send-box,
  .arrears-panel,
  .check-card,
  .metric-tile {
    padding: 16px 14px;
  }
}
