:root {
  --paper: #f8f5ee;
  --card: #fffefa;
  --ink: #373a32;
  --muted: #706d61;
  --faint: #756e60;
  --rust: #8c563e;
  --rust-dark: #70422f;
  --line: #e3ddd0;
  --line-strong: #d5c8b4;
  --soft: #eee8dc;
  --sage: #e8ecdc;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

button,
input,
select,
textarea {
  font-size: 1rem;
}

button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

em {
  color: var(--rust);
  font-style: normal;
  font-weight: 400;
}

::selection {
  color: var(--ink);
  background: #ddcdb5;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.eyebrow > span:empty {
  width: 25px;
  height: 1px;
  background: #b58d72;
}

.small-copy {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.8;
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: 0.76rem;
}

.back-link:hover,
.text-link:hover,
.text-button:hover {
  color: var(--rust-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 49px;
  padding: 12px 21px;
  color: #fffaf0;
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-1px);
}

.button.small {
  min-height: 41px;
  padding: 9px 16px;
  font-size: 0.72rem;
}

.button.secondary,
.button.outline {
  color: var(--rust);
  background: transparent;
  border-color: #bfa98f;
}

.button.secondary:hover,
.button.outline:hover {
  color: var(--rust-dark);
  background: #f1e9dc;
  border-color: #aa8d70;
}

.button.danger {
  background: #7e4037;
  border-color: #7e4037;
}

.button.full {
  width: 100%;
  justify-content: space-between;
}

.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--rust);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.destructive {
  color: #80453a;
}

.soft-note,
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 21px 24px;
  color: var(--muted);
  background: #f1ece2;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 0.82rem;
  line-height: 1.8;
}

.soft-note.compact {
  margin-bottom: 23px;
  padding: 16px;
  font-size: 0.76rem;
}

.soft-note.compact > span:first-child {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid #bca98e;
  border-radius: 50%;
  font: 0.7rem Georgia, serif;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.8rem;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  flex: none;
  color: #fff3df;
  background: var(--rust);
  border-radius: 8px;
  font-size: 1.65rem;
  font-weight: 400;
}

.brand-dot {
  color: #ad8467;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 0.78rem;
}

.main-nav > a:not(.button) {
  color: var(--muted);
}

.main-nav > a:hover,
.main-nav > a[aria-current="page"] {
  color: var(--rust);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  color: #7f664f !important;
  background: #e8decf;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
}

.mobile-navigation {
  display: none;
}

.site-footer {
  padding-top: 38px;
  padding-bottom: 45px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-main .brand {
  font-size: 1.5rem;
}

.footer-main .brand-mark {
  width: 26px;
  height: 28px;
  border-radius: 6px;
  font-size: 1.35rem;
}

.footer-brand p {
  margin-top: 18px;
  color: #817966;
  font: italic 1rem/1.6 Georgia, serif;
}

.footer-main > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 5px;
}

.footer-main > div > span:first-child {
  margin-bottom: 7px;
  color: #817765;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-main a:not(.brand) {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-main a:hover {
  color: var(--rust);
}

.footer-free {
  max-width: 190px;
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #e9e2d4;
}

.footer-bottom p {
  max-width: 680px;
  color: var(--faint);
  font-size: 0.65rem;
  line-height: 1.8;
}

.footer-bottom span {
  padding-top: 3px;
  color: #8a7f6b;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}


.home-hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero-copy h1 {
  margin-top: 24px;
  font-size: clamp(3.2rem, 5.2vw, 4.7rem);
  line-height: 1.06;
}

.hero-lead {
  max-width: 430px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 30px;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.69rem;
}

.hero-reassurance > span {
  color: #73805e;
}

.hero-reassurance i {
  width: 3px;
  height: 3px;
  background: #9d9484;
  border-radius: 50%;
}

.for-whom {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 39px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.7;
}

.tiny-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: none;
  color: #826c51;
  border: 1px solid #d5cbb9;
  border-radius: 50%;
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: 495px;
  padding-top: 23px;
  padding-left: 24px;
}

.visual-caption {
  position: absolute;
  top: 0;
  left: 45px;
  color: #776e60;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.paper-back {
  position: absolute;
  inset: 37px 10px 39px 52px;
  background: #ece5d6;
  border: 1px solid #ddd4c1;
  border-radius: 4px;
  transform: rotate(6deg);
}

.hero-paper {
  position: relative;
  width: calc(100% - 19px);
  padding: 26px 33px;
  background: #fffdf6;
  border: 1px solid #e3dac8;
  border-radius: 4px;
  box-shadow: 0 14px 35px rgb(70 52 30 / 5%);
  transform: rotate(-3deg);
}

.paper-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 19px;
  color: #7f7769;
  border-bottom: 1px solid #e8e0d0;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.paper-heading .mini-brand {
  color: #8a6045;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.paper-recipient {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 23px;
  color: #777165;
  font-size: 0.62rem;
}

.paper-recipient strong {
  color: #6d6456;
  font-weight: 500;
}

.hero-paper h2 {
  margin: 23px 0 17px;
  color: #5e594d;
  font-size: 1.7rem;
  line-height: 1.16;
}

.hero-paper > p {
  max-width: 320px;
  margin-bottom: 12px;
  color: #706a5e;
  font: 0.7rem/1.9 Georgia, serif;
}

.paper-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 10px;
  margin: 19px 0;
  padding: 10px 14px;
  background: #f3eee0;
  border-left: 2px solid #b69b79;
}

.paper-highlight span,
.paper-highlight small {
  color: #766e61;
  font-size: 0.57rem;
}

.paper-highlight strong {
  color: #625846;
  font-size: 1.08rem;
  font-weight: 600;
}

.paper-highlight small {
  grid-column: 1 / -1;
}

.paper-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.paper-lines i {
  width: 100%;
  height: 3px;
  background: #e9e2d4;
}

.paper-lines i:nth-child(2) {
  width: 91%;
}

.paper-lines i:nth-child(3) {
  width: 64%;
}

.paper-signature {
  display: block;
  margin-top: 23px;
  color: #7e6e58;
  font: italic 0.95rem Georgia, serif;
}

.floating-progress {
  position: absolute;
  bottom: 44px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  background: #fefcf5;
  border: 1px solid #d8cebd;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgb(70 52 30 / 8%);
  transform: rotate(2deg);
}

.round-check {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #65704e;
  background: var(--sage);
  border-radius: 50%;
}

.floating-progress strong,
.floating-progress span {
  display: block;
}

.floating-progress strong {
  color: #5f6652;
  font-size: 0.72rem;
  font-weight: 600;
}

.floating-progress div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.61rem;
}

.visual-note {
  position: absolute;
  right: 17px;
  bottom: -14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #756955;
  font: italic 0.78rem/1.6 Georgia, serif;
  transform: rotate(-3deg);
}

.drawn-arrow {
  color: #9e8867;
  font: 2rem Georgia, serif;
  transform: rotate(-22deg);
}

.provider-strip {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 5px 35px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.provider-strip > span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.provider-strip > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.provider-wordmark {
  color: #656459;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.provider-wordmark:hover {
  color: var(--rust);
}

.wordmark-gocardless {
  font-size: 1.24rem;
  font-weight: 550;
}

.wordmark-stripe {
  font-weight: 800;
}

.wordmark-paypal {
  font-style: italic;
}

.wordmark-sumup {
  font-size: 1.32rem;
}

.provider-strip small {
  grid-column: 2;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.63rem;
}

.how-section {
  padding-top: 84px;
  padding-bottom: 80px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading > p {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.9;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin-top: 39px;
}

.how-grid article {
  padding-top: 18px;
  border-top: 1px solid #d5c9b5;
}

.how-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  color: #8f7859;
  font: 0.7rem ui-monospace, monospace;
}

.how-grid h3 {
  margin-bottom: 12px;
  color: #56584e;
  font: 1.5rem Georgia, serif;
  letter-spacing: -0.025em;
}

.how-grid p {
  max-width: 285px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

.home-guide-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 75px;
  padding: 48px 52px;
  background: var(--soft);
  border: 1px solid #ded5c3;
  border-radius: 10px;
}

.home-guide-band .eyebrow {
  margin-bottom: 18px;
}

.home-guide-band h2 {
  font-size: 2.4rem;
}

.home-guide-band > div > p:not(.eyebrow) {
  max-width: 350px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

.home-guide-band .text-link {
  margin-top: 23px;
}

.guide-shortlist {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.guide-shortlist > a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid #d4c9b4;
}

.guide-shortlist > a:last-child {
  border-bottom: 0;
}

.guide-shortlist > a > span:nth-child(2) {
  min-width: 0;
}

.guide-shortlist > a > span:last-child {
  margin-left: auto;
  color: #876d4e;
}

.guide-shortlist strong,
.guide-shortlist small {
  display: block;
}

.guide-shortlist strong {
  color: #55564d;
  font-size: 0.84rem;
}

.guide-shortlist small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
}

.provider-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: #8a674a;
  background: #f7f1e7;
  border: 1px solid #ded4c2;
  border-radius: 9px;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.06em;
}

.provider-stripe {
  color: #6f5ba2;
  background: #eeeaf8;
  border-color: #dcd3ee;
}

.provider-gocardless {
  color: #5c7043;
  background: #e8ebdd;
  border-color: #d3dac1;
  font-size: 1.16rem;
  font-weight: 550;
}

.provider-paypal {
  color: #5e748a;
  background: #e7edf1;
  border-color: #d4dee7;
  font-style: italic;
}

.provider-sumup {
  color: #575950;
  background: #e9e7e0;
  border-color: #d9d6cc;
}

.provider-mollie {
  color: #976b52;
  background: #f4e7df;
  border-color: #e4d1c4;
}

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  padding-top: 84px;
  padding-bottom: 78px;
}

.faq-section .eyebrow {
  margin-bottom: 18px;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  color: #55574f;
  cursor: pointer;
  font-size: 0.78rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: #876c4a;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 35px 23px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

.closing-note {
  padding: 58px 24px 62px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing-note .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}

.closing-note h2 {
  font-size: clamp(2.5rem, 4vw, 3rem);
}

.closing-note .button {
  margin-top: 27px;
}

.closing-note > p:last-child {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.68rem;
}


.page-intro {
  margin-bottom: 44px;
}

.page-intro .eyebrow {
  margin-bottom: 20px;
}

.page-intro > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.guides-page {
  padding-top: 57px;
  padding-bottom: 50px;
}

.guides-page .page-intro h1 {
  font-size: clamp(3.25rem, 5vw, 4rem);
}

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

.guide-row {
  display: flex;
  align-items: center;
  gap: 27px;
  min-width: 0;
  padding: 29px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}

.guide-row:hover {
  background: #f1ece2;
}

.row-index {
  width: 27px;
  flex: none;
  color: #806f58;
  font: 0.66rem ui-monospace, monospace;
}

.guide-row .provider-mark {
  width: 49px;
  height: 49px;
}

.guide-row-copy {
  min-width: 0;
}

.guide-row-copy strong,
.guide-row-copy small {
  display: block;
}

.guide-row-copy strong {
  color: #494b44;
  font-size: 1.05rem;
  font-weight: 600;
}

.guide-row-copy small {
  max-width: 660px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.guide-row-link {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: var(--rust);
  font-size: 0.75rem;
  white-space: nowrap;
}

.guides-page > .soft-note {
  max-width: 770px;
  margin-top: 32px;
}

.guides-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 56px 0 24px;
}

.guides-bottom h2 {
  font-size: 2.15rem;
}

.guide-page {
  padding-top: 37px;
  padding-bottom: 52px;
}

.guide-page > .back-link {
  margin-bottom: 28px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 94px;
}

.guide-article > .eyebrow {
  margin-bottom: 23px;
}

.guide-article h1 {
  font-size: clamp(2.8rem, 4.5vw, 3.55rem);
  line-height: 1.12;
}

.article-lead {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
  padding-bottom: 31px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
}

.author-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  color: #8d6749;
  background: #ece2d1;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

.article-byline small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.62rem;
}

.read-time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.63rem;
}

.guide-article section {
  padding-top: 38px;
  scroll-margin-top: 20px;
}

.section-number {
  display: block;
  margin-bottom: 12px;
  color: #836f52;
  font: 0.67rem ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.guide-article section h2 {
  margin-bottom: 17px;
  font-size: 2rem;
}

.guide-article section p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 2;
}

.evidence-list {
  padding: 0;
  margin: 21px 0;
  list-style: none;
}

.evidence-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  color: #665d4f;
  border-bottom: 1px solid #e2d9c9;
  font-size: 0.81rem;
}

.evidence-list li > span:first-child {
  color: #8e7657;
}

.official-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 15px;
  padding: 18px 22px;
  overflow-wrap: anywhere;
  color: #76583e;
  background: #eee7d9;
  border: 1px solid #d8cbb5;
  border-radius: 6px;
}

.official-source small,
.official-source strong {
  display: block;
}

.official-source small {
  color: #806e57;
  font-size: 0.63rem;
}

.official-source strong {
  margin-top: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}

.official-source > span:last-child {
  flex: none;
  font-size: 1.25rem;
}

.guide-aside {
  position: sticky;
  top: 25px;
  margin-top: 36px;
  padding: 27px;
  background: #f1ecdf;
  border: 1px solid #ddd2bd;
  border-radius: 8px;
}

.guide-provider {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9cdb7;
}

.guide-provider .provider-mark {
  width: 35px;
  height: 35px;
  font-size: 1.25rem;
}

.guide-provider strong {
  font-size: 0.83rem;
}

.guide-provider > span:last-child {
  margin-left: auto;
  color: #806f57;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.guide-aside h2 {
  margin-top: 25px;
  font-size: 2.1rem;
}

.guide-aside > p:not(.aside-foot) {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.9;
}

.guide-aside > .button {
  width: 100%;
  margin-top: 21px;
  padding-inline: 12px;
  gap: 12px;
  font-size: 0.72rem;
}

.aside-caption {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.62rem;
  text-align: center;
}

.guide-toc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid #d9cdb7;
}

.guide-toc > span {
  margin-bottom: 2px;
  color: #806f57;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.guide-toc a {
  display: flex;
  gap: 13px;
  color: #665c4f;
  font-size: 0.7rem;
}

.guide-toc small {
  color: #846f52;
  font: inherit;
}

.aside-foot {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.8;
}

.guide-end {
  margin-top: 39px;
}


.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: start;
  gap: 94px;
  padding-top: 64px;
  padding-bottom: 70px;
}

.auth-intro {
  padding-top: 31px;
}

.auth-intro .eyebrow {
  margin-bottom: 24px;
}

.auth-intro h1 {
  font-size: clamp(3rem, 4.5vw, 3.75rem);
}

.auth-intro > p:not(.eyebrow, .auth-bottom-note) {
  max-width: 370px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.auth-benefits {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  color: #665f52;
  font-size: 0.79rem;
}

.auth-benefits li span {
  width: 20px;
  color: #816d50;
  font-size: 1rem;
  text-align: center;
}

.auth-bottom-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: #756954;
  font-size: 0.7rem;
}

.auth-card,
.form-card,
.settings-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.auth-card {
  padding: 32px;
  box-shadow: 0 12px 24px rgb(70 52 30 / 3%);
}

.card-kicker {
  display: block;
  margin-bottom: 18px;
  color: #806e55;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-card h2 {
  font-size: 2.05rem;
}

.auth-card > p:not(.form-message) {
  margin-top: 11px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin-bottom: 22px;
}

.field label {
  color: #42443e;
  font-size: 0.77rem;
  font-weight: 650;
}

.field label > span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea,
.recovery-card textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid #d4ccbe;
  border-radius: 5px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.field input,
.field select {
  min-height: 47px;
}

.field textarea {
  line-height: 1.75;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #777265;
  opacity: 1;
}

.field small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

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

.consent,
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent {
  margin: 1px 0 17px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.8;
}

.consent input,
.check-row input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 3px 0 0;
  accent-color: var(--rust);
}

.consent a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.8;
}

.form-message {
  min-height: 0;
  margin-bottom: 18px;
  color: #743f35;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-message:empty {
  display: none;
}

.auth-other {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid #e7dfd1;
  font-size: 0.7rem;
}

.auth-other a {
  color: var(--rust);
}

.centered-page {
  max-width: 650px;
  padding-top: 52px;
  padding-bottom: 65px;
  text-align: center;
}

.large-line-icon {
  display: inline-grid;
  place-items: center;
  width: 47px;
  height: 47px;
  color: #806b4c;
  background: #f0e7d8;
  border: 1px solid #d6c5ab;
  border-radius: 50%;
  font: 1.35rem Georgia, serif;
}

.centered-page .eyebrow {
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 20px;
}

.centered-page h1 {
  font-size: clamp(3rem, 4.5vw, 3.6rem);
}

.center-lead {
  max-width: 540px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.recovery-card {
  margin: 31px 0 25px;
  padding: 27px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  text-align: left;
}

.recovery-card > label {
  display: block;
  margin-bottom: 15px;
  color: #775f43;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recovery-card textarea {
  min-height: 88px;
  padding: 18px;
  color: #704f36;
  background: #f6f0e4;
  border-style: dashed;
  border-color: #bba98c;
  font: 0.82rem/1.7 ui-monospace, monospace;
  overflow-wrap: anywhere;
  resize: none;
  text-align: center;
}

.recovery-card p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.85;
}

.centered-page > .small-copy {
  margin-top: 15px;
}

.cases-page {
  padding-top: 52px;
  padding-bottom: 52px;
}

.cases-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cases-heading .eyebrow {
  margin-bottom: 21px;
}

.cases-heading h1 {
  font-size: clamp(3rem, 4.8vw, 3.85rem);
}

.cases-heading > div > p:last-child {
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.86rem;
}

.cases-heading > .button {
  margin-top: 24px;
}

.case-note {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 37px;
  padding: 23px 26px;
  background: var(--soft);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.note-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  color: #786344;
  border: 1px solid #c7b797;
  border-radius: 50%;
}

.case-note strong {
  color: #695a46;
  font-size: 0.8rem;
}

.case-note p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
}

.note-small {
  margin-left: auto;
  color: #796d5b;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.cases-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 41px;
  margin-bottom: 23px;
}

.cases-section-head h2 {
  font-size: 2rem;
}

.cases-section-head h2 span {
  display: inline-block;
  padding: 2px 7px;
  margin-left: 8px;
  color: #755e41;
  background: #e8decb;
  border-radius: 4px;
  font: 0.67rem sans-serif;
  vertical-align: middle;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.case-row {
  padding: 25px 29px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.case-row-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.case-name {
  min-width: 0;
}

.case-name h3 {
  font-size: 0.98rem;
}

.case-name p {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.68rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #765d3d;
  background: #f1e6d6;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.4;
}

.status-pill i {
  width: 4px;
  height: 4px;
  flex: none;
  background: currentColor;
  border-radius: 50%;
}

.status-pill.sent {
  color: #576342;
  background: #e9eddf;
}

.case-row-top > .status-pill {
  margin-left: auto;
}

.case-row-details {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr auto;
  align-items: center;
  gap: 32px;
  margin: 23px 0 0 57px;
  padding-top: 22px;
  border-top: 1px solid #e7dfd1;
}

.case-row-details > div > span {
  display: block;
  margin-bottom: 6px;
  color: #796b57;
  font-size: 0.65rem;
}

.case-row-details strong {
  color: #5d594d;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.case-row-details p {
  color: #5f5c51;
  font-size: 0.78rem;
}

.case-row-details small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
}

.case-row-details p small {
  display: inline;
  margin: 0;
}

.mini-progress {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  appearance: none;
  background: #ece4d5;
  border: 0;
  border-radius: 3px;
}

.mini-progress::-webkit-progress-bar {
  background: #ece4d5;
  border-radius: 3px;
}

.mini-progress::-webkit-progress-value {
  background: #a48b63;
  border-radius: 3px;
}

.mini-progress::-moz-progress-bar {
  background: #a48b63;
  border-radius: 3px;
}

.case-row-details > .button {
  min-height: 42px;
  padding: 10px 17px;
  gap: 16px;
  font-size: 0.72rem;
}

.erase {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.7rem;
}

.erase summary {
  width: fit-content;
  color: #7a493d;
  cursor: pointer;
}

.erase p {
  max-width: 680px;
  margin: 12px 0;
  line-height: 1.8;
}

.empty-state {
  padding: 50px 30px;
  color: var(--muted);
  border: 1px dashed #cdbd9f;
  border-radius: 8px;
  text-align: center;
}

.empty-state h2 {
  margin-top: 20px;
  font-size: 2rem;
}

.empty-state p {
  max-width: 560px;
  margin: 14px auto 23px;
  font-size: 0.8rem;
}

.account-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 31px;
  color: #725b41;
  font-size: 0.74rem;
}

.account-links form {
  margin: 0;
}

.account-page {
  padding-top: 35px;
  padding-bottom: 52px;
}

.account-page > .back-link {
  margin-bottom: 27px;
}

.account-page h1 {
  font-size: clamp(3rem, 4.7vw, 3.8rem);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 27px;
}

.settings-card {
  padding: 30px;
}

.settings-card h2 {
  margin-top: 22px;
  font-size: 2rem;
}

.settings-card > p {
  margin: 17px 0 25px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.9;
}

.settings-card .button {
  font-size: 0.72rem;
}

.settings-card .erase {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.settings-card .erase .field {
  margin-top: 18px;
}


.privacy-page {
  padding-top: 54px;
  padding-bottom: 58px;
}

.privacy-page > .eyebrow {
  margin-bottom: 22px;
}

.privacy-page h1 {
  font-size: clamp(3rem, 4.7vw, 3.75rem);
}

.privacy-page > .article-lead {
  max-width: 710px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 80px;
  margin-top: 47px;
}

.privacy-layout aside {
  position: sticky;
  top: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  height: fit-content;
  padding-top: 8px;
  color: #735b3f;
  font-size: 0.73rem;
}

.privacy-layout aside > span {
  margin-bottom: 7px;
  color: #766a58;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.privacy-layout aside a:hover {
  color: var(--rust);
}

.privacy-layout section {
  padding-bottom: 31px;
  scroll-margin-top: 20px;
}

.privacy-layout h2 {
  margin-bottom: 17px;
  font-size: 2rem;
}

.privacy-layout p {
  margin-bottom: 16px;
  color: #615d53;
  font-size: 0.82rem;
  line-height: 2;
}


.tool-page {
  padding-top: 34px;
  padding-bottom: 55px;
}

.tool-page > noscript .notice {
  margin-bottom: 30px;
}

.tool-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  margin-bottom: 18px;
}

.resume-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 0.7rem;
}

.resume-bar:focus-within label[for="import-file"] {
  outline: 3px solid #a97856;
  outline-offset: 4px;
}

#save-status {
  position: relative;
  padding-left: 14px;
}

#save-status::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.cloud-error {
  display: block;
  margin-bottom: 22px;
  color: #633c34;
  background: #f4e6df;
  border-color: #d8b4a7;
}

.cloud-error .actions {
  margin-top: 15px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 86px;
}

#tool[data-step="3"] .tool-layout {
  display: none;
}

.tool-intro {
  padding-top: 39px;
}

.tool-heading .eyebrow {
  margin-bottom: 21px;
}

.tool-heading h1 {
  font-size: clamp(2.8rem, 4.3vw, 3.65rem);
  line-height: 1.12;
}

.tool-heading > p:last-child {
  max-width: 360px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.9;
}

.step-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 33px 0 0;
  list-style: none;
}

.step-nav li {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 315px;
  padding: 9px 0;
  color: var(--muted);
}

.step-nav li > span:first-child {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  color: #765f42;
  border: 1px solid #ccbda3;
  border-radius: 50%;
  font: 0.67rem ui-monospace, monospace;
}

.step-nav strong,
.step-nav small {
  display: block;
}

.step-nav strong {
  color: #766b5a;
  font-size: 0.79rem;
  font-weight: 500;
}

.step-nav small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
}

.step-nav i {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
}

.step-nav li[aria-current="step"] > span:first-child {
  color: #fff1dc;
  background: var(--rust);
  border-color: var(--rust);
}

.step-nav li[aria-current="step"] strong {
  color: var(--rust);
}

.step-nav li[aria-current="step"] i {
  background: var(--rust);
}

.tool-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 36px;
  color: #746951;
  font-size: 0.7rem;
  line-height: 1.8;
}

.tool-note > span:first-child {
  font-size: 1.2rem;
}

.tool-stage {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 29px;
  color: #756a58;
  border-bottom: 2px solid #b18458;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.stage-heading > span:last-child {
  font-weight: 500;
  letter-spacing: 0;
}

.tool-stage .form-card {
  padding: 29px;
  border: 0;
  border-radius: 0;
}

.prepare-form h2 {
  font-size: 2rem;
}

.panel-intro {
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.prepare-form .field {
  margin-bottom: 20px;
}

.prepare-form .field-row .field {
  min-width: 0;
}

.amount-row {
  grid-template-columns: minmax(0, 1fr) 105px;
}

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

.wrap-actions {
  flex-wrap: wrap;
}

.form-actions {
  justify-content: space-between;
  gap: 20px;
}

.form-actions .button {
  flex: none;
}

.result-panel {
  padding-top: 11px;
}

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.result-heading .eyebrow {
  margin-bottom: 20px;
}

.result-heading h1 {
  font-size: clamp(2.8rem, 4.4vw, 3.45rem);
}

.result-heading > .status-pill {
  max-width: 230px;
}

.result-heading .status-pill strong {
  font-weight: 600;
}

.dossier-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
  background: var(--soft);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.dossier-overview > div {
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid #d8cfbf;
}

.dossier-overview > div:last-child {
  border-right: 0;
}

.dossier-overview span,
.dossier-overview strong {
  display: block;
}

.dossier-overview span {
  margin-bottom: 5px;
  color: #746754;
  font-size: 0.65rem;
}

.dossier-overview strong {
  overflow-wrap: anywhere;
  color: #4f5149;
  font-size: 0.88rem;
  font-weight: 650;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  align-items: start;
  gap: 32px;
}

.result-main,
.result-aside {
  min-width: 0;
}

.letter-card {
  overflow: hidden;
  background: #ede8dd;
  border: 1px solid #d8cebb;
  border-radius: 8px;
}

.letter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  color: #665c4d;
  border-bottom: 1px solid #dbd1bf;
  font-size: 0.76rem;
}

.letter-sheet {
  margin: 24px;
  padding: 35px 38px;
  background: #fffdf7;
  border: 1px solid #d8d0c2;
  box-shadow: 0 5px 16px rgb(70 52 30 / 4%);
}

#letter-help {
  margin-bottom: 27px;
  padding-bottom: 19px;
  color: var(--muted);
  border-bottom: 1px solid #e8e0d4;
  font-size: 0.69rem;
  line-height: 1.8;
}

#letter {
  display: block;
  width: 100%;
  min-height: 630px;
  padding: 0;
  color: #504b41;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 0.88rem/1.95 Georgia, "Times New Roman", serif;
  resize: vertical;
}

#letter:focus-visible {
  outline-offset: 9px;
}

.letter-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 24px 20px;
}

.regenerate {
  margin: 0 24px 23px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid #d9cfbd;
  font-size: 0.7rem;
}

.regenerate summary {
  width: fit-content;
  color: var(--rust);
  cursor: pointer;
}

.regenerate p {
  margin: 12px 0;
  line-height: 1.8;
}

.notes-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 45px;
  margin-top: 31px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.notes-card h3 {
  margin-top: 14px;
  font: 2rem Georgia, serif;
}

.notes-card > div > p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.notes-card .field {
  margin: 0;
}

.notes-card textarea {
  min-height: 142px;
  background: var(--card);
}

.result-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.next-card,
.checklist-card,
.send-note,
.save-card {
  padding: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.next-card,
.send-note {
  background: var(--soft);
}

.checklist-card,
.save-card {
  background: var(--card);
}

.next-card .eyebrow,
.send-note .eyebrow {
  font-size: 0.61rem;
}

.next-card h2 {
  margin-top: 15px;
  font-size: 1.85rem;
}

.next-card > p:not(.eyebrow) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.8;
}

.next-card .text-button {
  margin-top: 17px;
  overflow-wrap: anywhere;
}

.checklist-card h3,
.send-note h3,
.save-card h3 {
  font: 1.7rem/1.15 Georgia, serif;
  letter-spacing: -0.025em;
}

.checklist-card .between > strong {
  color: #746956;
  font-size: 0.62rem;
}

.checklist-card > p,
.send-note > p:not(.eyebrow),
.save-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.8;
}

.checklist {
  margin-top: 15px;
}

.check-row {
  padding: 10px 0;
  color: #665947;
  border-top: 1px solid #e8e0d2;
  font-size: 0.73rem;
  line-height: 1.6;
}

.check-row:has(input:checked) span {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: #a99d88;
}

.send-note h3 {
  margin-top: 15px;
}

.send-note .field {
  margin-top: 21px;
  margin-bottom: 0;
}

.save-card .actions {
  flex-direction: column;
  align-items: stretch;
  margin-top: 19px;
}

.save-card .small-copy {
  margin-bottom: 17px;
}

.save-card > .text-button {
  display: flex;
  width: fit-content;
  margin-top: 12px;
}

.feedback {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.feedback > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: auto;
}

.feedback .button {
  min-height: 39px;
  padding: 8px 13px;
  font-size: 0.68rem;
}

#feedback-status {
  color: #5c6649;
}

#print-content {
  display: none;
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .home-hero {
    gap: 36px;
    padding-top: 58px;
  }

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

  .hero-lead {
    max-width: 355px;
    font-size: 0.88rem;
  }

  .hero-visual {
    padding-left: 9px;
  }

  .home-guide-band {
    gap: 50px;
    padding: 38px;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 50px;
  }

  .auth-page {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 50px;
  }

  .tool-layout {
    gap: 48px;
  }

  .result-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 25px;
  }

  .letter-sheet {
    margin: 20px;
    padding: 29px;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .main-nav {
    gap: 18px;
    font-size: 0.72rem;
  }

  .main-nav > a:nth-child(2) {
    display: none;
  }

  .home-hero {
    gap: 25px;
    padding-bottom: 60px;
  }

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

  .hero-visual {
    height: 465px;
  }

  .hero-paper {
    padding: 22px;
  }

  .hero-paper h2 {
    font-size: 1.5rem;
  }

  .floating-progress {
    bottom: 28px;
    left: -14px;
    padding: 12px;
  }

  .provider-strip {
    grid-template-columns: 105px 1fr;
    gap: 5px 20px;
  }

  .provider-strip > div {
    gap: 18px;
  }

  .provider-wordmark {
    font-size: 1.15rem;
  }

  .wordmark-gocardless {
    font-size: 0.96rem;
  }

  .home-guide-band {
    gap: 28px;
    padding: 30px;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 30px;
  }

  .guide-article h1 {
    font-size: 2.55rem;
  }

  .guide-aside {
    padding: 20px;
  }

  .auth-page {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 35px;
    padding-top: 44px;
  }

  .auth-card {
    padding: 27px;
  }

  .case-row-details {
    grid-template-columns: 1fr 0.75fr auto;
    gap: 20px;
    margin-left: 0;
  }

  .case-next {
    display: block;
    grid-column: 1 / -1;
  }

  .tool-layout {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
    gap: 28px;
  }

  .tool-heading h1 {
    font-size: 2.55rem;
  }

  .tool-stage .form-card {
    padding: 23px;
  }

  .result-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 22px;
  }

  .letter-sheet {
    margin: 15px;
    padding: 24px;
  }

  #letter {
    font-size: 0.8rem;
  }

  .next-card,
  .checklist-card,
  .send-note,
  .save-card {
    padding: 18px;
  }

  .privacy-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }

  body {
    font-size: 14px;
  }

  .site-header {
    height: 78px;
  }

  .brand {
    font-size: 1.65rem;
  }

  .brand-mark {
    width: 30px;
    height: 32px;
    font-size: 1.5rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .mobile-navigation > summary {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--rust);
    border: 1px solid #d6c7af;
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-navigation > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-navigation > summary span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
  }

  .mobile-navigation[open] > summary span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-navigation[open] > summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-navigation[open] > summary span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-navigation nav {
    position: absolute;
    z-index: 30;
    top: 66px;
    right: 0;
    display: flex;
    width: min(300px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 0 16px 35px rgb(70 52 30 / 12%);
  }

  .mobile-navigation nav > a:not(.button) {
    min-height: 42px;
    padding: 10px 8px;
    color: #57564d;
    border-bottom: 1px solid #eee7da;
    font-size: 0.82rem;
  }

  .mobile-navigation .button {
    margin-top: 8px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-brand p {
    margin-top: 0;
    font-size: 0.85rem;
    text-align: right;
  }

  .footer-main a:not(.brand) {
    font-size: 0.7rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 13px;
  }

  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 45px;
    padding-top: 43px;
    padding-bottom: 53px;
  }

  .hero-copy h1 {
    margin-top: 22px;
    font-size: 2.85rem;
  }

  .hero-lead {
    max-width: 355px;
    margin-top: 21px;
    font-size: 0.86rem;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 25px;
  }

  .hero-actions .button {
    padding-inline: 15px;
    gap: 16px;
    font-size: 0.73rem;
  }

  .for-whom {
    margin-top: 26px;
  }

  .hero-visual {
    width: 100%;
    max-width: 390px;
    height: 455px;
    margin-inline: auto;
    padding-left: 0;
  }

  .visual-caption {
    left: 8px;
  }

  .paper-back {
    inset: 37px 0 43px 19px;
    transform: rotate(2deg);
  }

  .hero-paper {
    width: calc(100% - 7px);
    padding: 22px;
    transform: rotate(-1deg);
  }

  .floating-progress {
    bottom: 29px;
    left: 4px;
    max-width: calc(100% - 18px);
    transform: none;
  }

  .visual-note {
    right: 4px;
    bottom: -21px;
    transform: none;
  }

  .provider-strip {
    display: block;
    padding-block: 23px;
  }

  .provider-strip > span {
    display: block;
    margin-bottom: 22px;
  }

  .provider-strip > div {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 21px 25px;
  }

  .provider-wordmark {
    font-size: 1.25rem;
  }

  .wordmark-gocardless {
    font-size: 1.03rem;
  }

  .provider-strip small {
    display: block;
    margin-top: 19px;
  }

  .how-section {
    padding-top: 47px;
    padding-bottom: 44px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .section-heading > p {
    margin-top: 20px;
    font-size: 0.76rem;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }

  .how-grid article {
    padding-top: 14px;
  }

  .how-top {
    margin-bottom: 16px;
  }

  .how-grid p {
    max-width: 100%;
  }

  .home-guide-band {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 25px;
  }

  .home-guide-band h2 {
    font-size: 2rem;
  }

  .guide-shortlist > a {
    padding: 19px 0;
    gap: 12px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 21px;
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .closing-note {
    padding: 41px 0 45px;
  }

  .closing-note h2 {
    font-size: 2.45rem;
  }

  .guides-page {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .page-intro {
    margin-bottom: 30px;
  }

  .guides-page .page-intro h1 {
    font-size: 2.85rem;
  }

  .page-intro > p:last-child {
    margin-top: 19px;
    font-size: 0.8rem;
  }

  .guide-row {
    flex-wrap: wrap;
    gap: 14px;
    padding: 23px 0;
  }

  .guide-row .row-index {
    display: none;
  }

  .guide-row .provider-mark {
    width: 40px;
    height: 40px;
  }

  .guide-row-copy {
    flex: 1;
  }

  .guide-row-copy strong {
    font-size: 0.93rem;
  }

  .guide-row-copy small {
    font-size: 0.67rem;
  }

  .guide-row-link {
    width: 100%;
    justify-content: flex-end;
    gap: 11px;
    font-size: 0.7rem;
  }

  .guides-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-top: 37px;
  }

  .guide-page {
    padding-top: 25px;
  }

  .guide-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .guide-article h1 {
    font-size: 2.5rem;
  }

  .article-lead {
    font-size: 0.85rem;
  }

  .guide-article section {
    padding-top: 30px;
  }

  .guide-article section h2 {
    font-size: 1.8rem;
  }

  .guide-aside {
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 25px;
  }

  .guide-toc {
    display: none;
  }

  .auth-page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .auth-intro {
    padding: 0;
  }

  .auth-intro h1 {
    font-size: 2.8rem;
  }

  .auth-intro > p:not(.eyebrow, .auth-bottom-note) {
    max-width: 100%;
  }

  .auth-benefits,
  .auth-bottom-note {
    display: none;
  }

  .auth-card {
    padding: 26px 22px;
  }

  .auth-card h2 {
    font-size: 1.95rem;
  }

  .auth-other {
    font-size: 0.67rem;
  }

  .centered-page {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .centered-page h1 {
    font-size: 2.85rem;
  }

  .recovery-card {
    padding: 22px;
  }

  .cases-page {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .cases-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .cases-heading h1 {
    font-size: 3rem;
  }

  .cases-heading > .button {
    margin: 0;
  }

  .case-note {
    align-items: flex-start;
    gap: 12px;
    margin-top: 27px;
    padding: 18px;
  }

  .note-symbol {
    width: 30px;
    height: 30px;
  }

  .note-small {
    display: none;
  }

  .cases-section-head {
    margin-top: 32px;
  }

  .case-row {
    padding: 20px;
  }

  .case-row-top {
    align-items: flex-start;
    gap: 10px;
  }

  .case-row-top > .status-pill {
    max-width: 130px;
    white-space: normal;
  }

  .case-row-details {
    grid-template-columns: minmax(0, 1.1fr) minmax(80px, 0.9fr);
    gap: 20px;
    margin-top: 20px;
    padding-top: 18px;
  }

  .case-row-details > .button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .account-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .account-page {
    padding-top: 27px;
  }

  .account-page h1 {
    font-size: 2.9rem;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .settings-card {
    padding: 25px;
  }

  .privacy-page {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .privacy-page h1 {
    font-size: 2.85rem;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 29px;
  }

  .privacy-layout aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 18px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .privacy-layout aside > span {
    flex-basis: 100%;
    margin: 0;
  }

  .privacy-layout h2 {
    font-size: 1.85rem;
  }

  .tool-page {
    padding-top: 22px;
    padding-bottom: 38px;
  }

  .tool-utility {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .resume-bar {
    width: 100%;
    justify-content: space-between;
  }

  .tool-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .tool-intro {
    padding-top: 0;
  }

  .tool-heading h1 {
    font-size: 2.7rem;
  }

  .tool-heading > p:last-child {
    margin-top: 18px;
    font-size: 0.75rem;
  }

  .step-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    margin-top: 23px;
  }

  .step-nav li {
    gap: 7px;
    max-width: none;
    padding: 0;
  }

  .step-nav li > span:first-child {
    width: 28px;
    height: 28px;
    font-size: 0.58rem;
  }

  .step-nav strong {
    max-width: 70px;
    font-size: 0.64rem;
  }

  .step-nav small,
  .step-nav i,
  .tool-note {
    display: none;
  }

  .stage-heading {
    padding: 18px 21px;
  }

  .tool-stage .form-card {
    padding: 24px 21px;
  }

  .prepare-form h2 {
    font-size: 1.8rem;
  }

  .prepare-form .field input,
  .prepare-form .field select,
  .prepare-form .field textarea {
    font-size: 1rem;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 27px;
  }

  .result-heading h1 {
    font-size: 2.6rem;
  }

  .result-heading > .status-pill {
    max-width: 100%;
  }

  .dossier-overview {
    grid-template-columns: 1fr;
  }

  .dossier-overview > div {
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid #d8cfbf;
  }

  .dossier-overview > div:last-child {
    border-bottom: 0;
  }

  .result-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .result-main,
  .result-aside {
    width: 100%;
  }

  .letter-toolbar {
    padding: 15px;
    gap: 12px;
  }

  .letter-toolbar .text-button {
    font-size: 0.67rem;
  }

  .letter-sheet {
    margin: 12px;
    padding: 24px 20px;
  }

  #letter-help {
    margin-bottom: 21px;
  }

  #letter {
    min-height: 660px;
    font-size: 0.8rem;
  }

  .letter-actions {
    padding: 0 14px 17px;
  }

  .regenerate {
    margin-inline: 14px;
  }

  .notes-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .result-aside {
    gap: 18px;
  }

  .next-card,
  .checklist-card,
  .send-note,
  .save-card {
    padding: 23px;
  }

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

  .feedback > div {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .wrap {
    width: calc(100% - 32px);
  }

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

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    height: 440px;
  }

  .hero-paper {
    padding: 19px;
  }

  .hero-paper h2 {
    font-size: 1.42rem;
  }

  .paper-highlight strong {
    font-size: 0.9rem;
  }

  .floating-progress {
    padding: 10px;
    gap: 9px;
  }

  .home-guide-band {
    padding: 21px;
  }

  .footer-main {
    gap: 25px 17px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand p {
    text-align: left;
  }

  .auth-card,
  .settings-card {
    padding: 23px 19px;
  }

  .auth-intro h1,
  .centered-page h1,
  .privacy-page h1,
  .account-page h1 {
    font-size: 2.5rem;
  }

  .field-row,
  .amount-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .case-row {
    padding: 16px;
  }

  .case-row-top .provider-mark {
    width: 37px;
    height: 37px;
    font-size: 1.25rem;
  }

  .case-row-top > .status-pill {
    max-width: 110px;
    padding: 5px 7px;
    font-size: 0.59rem;
  }

  .case-row-details strong {
    font-size: 1.2rem;
  }

  .tool-heading h1 {
    font-size: 2.42rem;
  }

  .step-nav strong {
    font-size: 0.59rem;
  }

  .stage-heading > span:last-child {
    display: none;
  }

  .tool-stage .form-card {
    padding: 22px 17px;
  }

  .result-heading h1 {
    font-size: 2.35rem;
  }

  .letter-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .letter-sheet {
    margin: 9px;
    padding: 22px 17px;
  }

  #letter {
    min-height: 700px;
  }

  .next-card,
  .checklist-card,
  .send-note,
  .save-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  @page {
    margin: 20mm;
  }

  #main,
  .site-header,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  #print-content {
    display: block !important;
    color: #111;
    white-space: pre-wrap;
    font: 11pt/1.55 Georgia, "Times New Roman", serif;
  }
}
