/* Lift the Lid — Citizens Advice / gov.uk-style public service design */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f2ee;
  --bg-tint: #e8f1ec;
  --bg-info: #e6eef5;
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --ink-muted: #585858;
  --ink-faint: #767676;
  --rule: #d0cfc9;
  --rule-soft: #e3e2dc;
  --green: #1f7a4e;
  --green-dark: #155b3a;
  --green-darker: #0e3f28;
  --green-tint: #d8ebe0;
  --link: #155b3a;
  --link-hover: #0e3f28;
  --focus: #ffd24a;
  --warning-bg: #fff3cf;
  --warning-fg: #5b4500;
  --warning-rule: #b59100;
  --error-bg: #fde2e2;
  --error-fg: #8b1d1d;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}

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

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; background: var(--focus); color: var(--ink); text-decoration: none; }

button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

em { font-style: italic; }
strong { font-weight: 700; }

code { font-family: var(--mono); background: var(--bg-soft); padding: 0.05rem 0.35rem; border-radius: 3px; font-size: 0.92em; }
kbd { font-family: var(--mono); font-size: 0.85em; background: white; border: 1px solid var(--rule); border-bottom-width: 2px; padding: 0.05rem 0.4rem; border-radius: 3px; }

/* ---------- top utility band ---------- */

.top-band {
  background: var(--green-darker);
  color: white;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.top-band-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.top-band a { color: white; text-decoration: underline; }
.top-band a:hover { color: white; }

/* ---------- masthead ---------- */

.site-header {
  background: white;
  border-bottom: 4px solid var(--green);
  padding: 1rem 0;
}
.site-header-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.site-title {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-title:hover { text-decoration: none; }
.site-title:focus-visible { background: var(--focus); }
.site-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-wordmark-block { display: flex; flex-direction: column; line-height: 1.1; }
.site-wordmark { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.site-strap { font-size: 0.86rem; font-weight: 400; color: var(--ink-muted); margin-top: 0.15rem; white-space: nowrap; }
.site-nav {
  display: flex;
  gap: 0.4rem 1.5rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.site-nav a:hover { color: var(--link); border-bottom-color: var(--green); text-decoration: none; }
.site-nav a.is-active { color: var(--green-dark); border-bottom-color: var(--green); }

@media (max-width: 38rem) {
  .site-strap { display: none; }
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0;
  font-size: 0.9rem;
}
.breadcrumb-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--ink-muted);
}
.breadcrumb a { color: var(--link); }
.breadcrumb .sep { margin: 0 0.4rem; color: var(--ink-faint); }
.breadcrumb .current { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0 2.25rem;
}
.hero-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 56rem) {
  .hero-inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}

.hero-eyebrow {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 0.9rem;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.hero p.lede {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* hero aside (what you'll need) */
.hero-aside {
  background: white;
  border-left: 6px solid var(--green);
  padding: 1.25rem 1.4rem;
  align-self: start;
}
.hero-aside h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-aside ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.hero-aside li { margin-bottom: 0.35rem; }
.hero-aside .meta {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.65rem;
}

/* ---------- main ---------- */

main {
  background: var(--bg);
  padding: 2.25rem 0 3.5rem;
}
.page-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 56rem) {
  .layout { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 3rem; }
}

/* ---------- type ---------- */

h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: 2.1rem; line-height: 1.2; font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; margin: 2.2rem 0 0.7rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 1.4rem 0 0.5rem; }
h4 { font-size: 1rem; font-weight: 700; margin: 1.1rem 0 0.4rem; }

p { margin: 0 0 1rem; max-width: 38rem; line-height: 1.6; }
p.lede { font-size: 1.15rem; color: var(--ink-soft); }
ul, ol { padding-left: 1.4rem; margin: 0 0 1rem; max-width: 38rem; }
li { margin-bottom: 0.4rem; line-height: 1.55; }

hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 2px 0 var(--green-darker);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: white; text-decoration: none; }
.btn-primary:active { box-shadow: 0 0 0 var(--green-darker); transform: translateY(2px); }
.btn-primary:disabled { background: var(--ink-faint); border-color: var(--ink-faint); cursor: not-allowed; box-shadow: none; }

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.btn-secondary:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.btn-secondary:active { box-shadow: 0 0 0 var(--ink); transform: translateY(2px); }

.btn-link {
  background: none;
  border: none;
  color: var(--link);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.btn-link:hover { color: var(--link-hover); }

/* ---------- info / warning / success boxes ---------- */

.info-box {
  background: var(--bg-info);
  border-left: 6px solid #2a6094;
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
  border-radius: 0 4px 4px 0;
}
.info-box h3, .info-box h4 { margin-top: 0; }
.info-box p:last-child { margin-bottom: 0; }

.success-box {
  background: var(--green-tint);
  border-left: 6px solid var(--green);
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
  border-radius: 0 4px 4px 0;
}
.success-box p:last-child { margin-bottom: 0; }

.warning-box {
  background: var(--warning-bg);
  border-left: 6px solid var(--warning-rule);
  color: var(--warning-fg);
  padding: 0.8rem 1.1rem;
  margin: 1rem 0;
  font-weight: 500;
  border-radius: 0 4px 4px 0;
}

.error-box {
  background: var(--error-bg);
  border-left: 6px solid var(--error-fg);
  color: var(--error-fg);
  padding: 0.8rem 1.1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

/* ---------- step / section card ---------- */

.step-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.5rem 1.6rem;
  margin: 1.25rem 0;
}
.step-card h2 { margin-top: 0; }

.step-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  counter-reset: step;
}
.step-list > li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.4rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
  max-width: none;
}
.step-list > li:last-child { border-bottom: none; }
.step-list > li::before {
  counter-increment: step;
  content: counter(step);
  background: var(--green-tint);
  color: var(--green-darker);
  font-weight: 700;
  font-size: 1rem;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-list > li > h3,
.step-list > li > p { grid-column: 2; }
.step-list h3 { margin: 0.1rem 0 0.25rem; font-size: 1.05rem; }
.step-list p { margin: 0; max-width: none; }

/* recipient block - stays useful */
.recipient-block {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 1rem;
}
.recipient-block dl {
  margin: 0;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.45rem 1.2rem;
}
.recipient-block dt {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.recipient-block dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.recipient-block code { background: white; border: 1px solid var(--rule-soft); padding: 0.05rem 0.35rem; }
.recipient-block .source { font-size: 0.86rem; color: var(--ink-muted); margin: 0.7rem 0 0; }

@media (max-width: 32rem) {
  .recipient-block dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .recipient-block dt { margin-top: 0.5rem; }
  .recipient-block dt:first-child { margin-top: 0; }
}

/* ---------- form ---------- */

.form-block { margin: 1.5rem 0 0; }
.form-section {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section h2 { margin-top: 0; font-size: 1.25rem; }
.form-section-hint { color: var(--ink-muted); margin-bottom: 1rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--ink);
}
.field input[type="text"], .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--ink);
  background: white;
  color: var(--ink);
  border-radius: 4px;
  font-family: var(--sans);
}
.field input[type="text"]:focus, .field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 0;
}
.field textarea { resize: vertical; min-height: 5rem; line-height: 1.5; }
.hint {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-top: 0.3rem;
}
.hint--inline { display: inline-block; margin: 0 0 0 0.6rem; }

.checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  cursor: pointer;
  padding: 0.55rem 0.7rem;
  border: 2px solid transparent;
  border-radius: 4px;
}
.checkbox:hover { background: var(--bg-soft); }
.checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--green);
}
.checkbox span { display: block; }
.checkbox strong { display: block; font-weight: 700; }
.checkbox .hint { display: block; margin-top: 0.15rem; }

.form-actions {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- draft ---------- */

.draft-frame {
  margin: 1rem 0;
  border: 2px solid var(--ink);
  background: white;
  border-radius: 4px;
  overflow: hidden;
}
.draft-frame-tab {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.draft-frame-tab .label { font-weight: 700; margin-right: 0.4rem; }
.draft-frame-tab code { background: white; border: 1px solid var(--rule-soft); }
.draft-frame-tab .sep { color: var(--ink-faint); }
.draft-output {
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  background: white;
  border: none;
  padding: 1.25rem 1.5rem;
  white-space: pre-wrap;
  margin: 0;
  min-height: 14rem;
  color: var(--ink);
  overflow-x: auto;
}
.draft-output:focus { outline: none; background: #fdfdfa; }
.draft-frame-foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.status-ok { color: var(--green-dark); font-weight: 700; }
.status-warn { color: var(--warning-fg); font-weight: 700; }

.draft-actions {
  margin: 0.5rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

/* ---------- send: context-aware selector ---------- */

.send-block { margin: 1.25rem 0 1rem; }

.send-primary-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  background: var(--link);
  color: white;
  border: 2px solid var(--link);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, transform 0.05s ease;
}
.send-primary-btn:hover { background: var(--link-hover, var(--accent-dark, #155b3a)); border-color: var(--link-hover, var(--accent-dark, #155b3a)); }
.send-primary-btn:active { transform: translateY(1px); }
.send-primary-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 6px; color: white; flex-shrink: 0; }
.send-primary-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.send-primary-text strong { font-size: 1.05rem; font-weight: 700; }
.send-primary-text em { font-style: normal; font-size: 0.88rem; opacity: 0.9; line-height: 1.35; }
.send-primary-arrow { font-size: 1.3rem; opacity: 0.7; flex-shrink: 0; }

.send-or {
  text-align: center;
  margin: 1rem 0 0.7rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.send-providers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.6rem;
}
.send-providers li { margin: 0; max-width: none; }
.send-provider {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.send-provider:hover { border-color: var(--link); background: var(--bg-soft); }
.send-provider-icon { display: inline-flex; flex-shrink: 0; }
.send-provider-label { font-weight: 600; font-size: 0.94rem; }

.send-fallback {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.send-fallback .btn-link { font-size: inherit; }

/* desktop: three co-equal options */
.send-coequal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
@media (min-width: 38rem) {
  .send-coequal { grid-template-columns: repeat(3, 1fr); }
}
.send-coequal li { margin: 0; max-width: none; }
.send-coequal-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  height: 100%;
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 0.95rem 1rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.05s ease;
}
.send-coequal-btn:hover { border-color: var(--link); background: var(--bg-soft); }
.send-coequal-btn:active { transform: translateY(1px); }
.send-coequal-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; }
.send-coequal-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.send-coequal-text strong { font-size: 1rem; font-weight: 700; color: var(--ink); }
.send-coequal-text em { font-style: normal; font-size: 0.85rem; color: var(--ink-muted); line-height: 1.4; }

/* ---------- send route grid (legacy) ---------- */

.routes {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 36rem) {
  .routes { grid-template-columns: 1fr 1fr; }
}
.routes li { margin: 0; max-width: none; }
button.route {
  display: block;
  background: white;
  border: 2px solid var(--rule);
  border-radius: 5px;
  text-align: left;
  font-family: var(--sans);
  color: var(--ink);
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.12s ease, background 0.12s ease;
}
button.route:hover { border-color: var(--green); background: #f8fbf9; }
.route-name { font-weight: 700; font-size: 1rem; color: var(--link); display: block; margin-bottom: 0.15rem; }
.route-name::after { content: " →"; color: var(--ink-muted); font-weight: 400; }
.route-hint { display: block; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.4; }

.route-feedback {
  background: var(--green-tint);
  border-left: 6px solid var(--green);
  color: var(--green-darker);
  padding: 0.8rem 1.1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
  font-weight: 500;
}

/* ---------- sidebar ---------- */

.sidebar {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  align-self: start;
  position: sticky;
  top: 1.5rem;
  font-size: 0.96rem;
}
.sidebar h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
}
.sidebar h3:not(:first-child) { margin-top: 1.4rem; }
.sidebar ul { padding-left: 1.2rem; margin: 0 0 0.5rem; max-width: none; }
.sidebar li { margin-bottom: 0.4rem; line-height: 1.45; }
.sidebar p { font-size: 0.96rem; max-width: none; line-height: 1.5; }
.sidebar p:last-child { margin-bottom: 0; }

@media (max-width: 56rem) {
  .sidebar { position: static; }
}

/* ---------- timeline (after-sending) ---------- */

.timeline {
  margin: 1rem 0;
  padding: 0;
}
.timeline > div {
  background: white;
  border: 1px solid var(--rule);
  border-left: 6px solid var(--green);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.3rem;
  margin-bottom: 1rem;
}
.timeline dt {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.timeline dd { margin: 0; color: var(--ink-soft); }

/* share */
.share-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }
.share-quote {
  font-family: Georgia, serif;
  font-style: italic;
  background: var(--bg-soft);
  border-left: 4px solid var(--rule);
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  color: var(--ink-soft);
  border-radius: 0 4px 4px 0;
  max-width: 38rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-darker);
  color: var(--footer-text, #d8e6dd);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

body.hide-aside .hero-aside { display: none; }
body.hide-aside .hero-inner { grid-template-columns: 1fr !important; }
body.hide-sidebar .sidebar { display: none; }
body.hide-sidebar .layout { grid-template-columns: 1fr !important; }
.footer-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
}
@media (min-width: 44rem) {
  .footer-inner { grid-template-columns: 2fr 1fr; }
}
.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-col a:hover { text-decoration-thickness: 2px; }
.footer-col p { color: var(--footer-sub, #c8dccf); font-size: 0.94rem; max-width: 28rem; margin-bottom: 0.6rem; }
.footer-mark {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-mark .mark {
  width: 28px; height: 28px;
  background: white;
  border-radius: 50%;
  color: var(--green-darker);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-fineprint {
  max-width: 70rem;
  margin: 1.5rem auto 0;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid #2c5742;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  color: #b3c7ba;
  font-size: 0.86rem;
}

/* ---------- small screens ---------- */
@media (max-width: 32rem) {
  html { font-size: 17px; }
  .hero h1 { font-size: 1.85rem; }
  h1 { font-size: 1.7rem; }
  .step-list > li { grid-template-columns: 1.9rem 1fr; gap: 0.3rem 0.7rem; }
  .step-list > li::before { width: 1.7rem; height: 1.7rem; font-size: 0.92rem; }
  .form-section { padding: 1.1rem 1.1rem; }
  .draft-output { padding: 1rem; }
}

/* ---------- print ---------- */
@media print {
  .top-band, .site-header, .site-footer, .site-nav, .breadcrumb, .form-block, .draft-actions, .recipient-block, .routes, .form-actions, .info-box, .hero-aside, .sidebar { display: none !important; }
  body { background: white; color: black; }
  .draft-frame { border: none; }
  .draft-frame-tab, .draft-frame-foot { display: none; }
  .draft-output { padding: 0; font-size: 11pt; }
}
