:root {
  --reading-ink: #271e1d;
  --reading-muted: #6f625d;
  --reading-plum: #6a3c41;
  --reading-rose: #a96860;
  --reading-blush: #ead2c6;
  --reading-paper: #fffaf6;
  --reading-soft: #f5eae4;
  --reading-line: rgba(88, 55, 51, .17);
  --reading-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

body {
  background:
    linear-gradient(90deg, transparent 0 49.94%, rgba(112, 65, 61, .028) 49.94% 50.06%, transparent 50.06%),
    var(--paper);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 60px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px) 0 0 / 68px 68px,
    radial-gradient(circle at 82% 18%, rgba(194, 125, 112, .24), transparent 28%),
    #2a2221;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -155px;
  top: -125px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .015), 0 0 0 80px rgba(255, 255, 255, .015);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 920px;
  margin-top: 16px;
  font-family: var(--reading-display);
  font-size: clamp(2.7rem, 5.25vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 760px;
}

.breadcrumbs {
  letter-spacing: .04em;
}

.section:has(.article-grid) {
  padding-top: 70px;
  padding-bottom: 86px;
}

.article-grid {
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: clamp(38px, 5vw, 70px);
  align-items: start;
}

.article {
  min-width: 0;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--reading-line);
  border-radius: 4px;
  background: rgba(255, 250, 246, .88);
  box-shadow: 0 24px 60px rgba(60, 39, 35, .06);
}

.article > .content-figure:first-child {
  margin: calc(clamp(28px, 4vw, 54px) * -1) calc(clamp(28px, 4vw, 54px) * -1) 38px;
  border-radius: 4px 4px 0 0;
}

.article > section {
  max-width: 75ch;
  margin-bottom: 0;
  padding: 35px 0;
  border-top: 1px solid var(--reading-line);
}

.article > section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.article h2,
.copy h2 {
  margin: 0 0 17px;
  color: var(--reading-ink);
  font-family: var(--reading-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.article h3 {
  margin-top: 24px;
  color: var(--reading-ink);
  font-size: 1.03rem;
  line-height: 1.4;
}

.article p,
.article li,
.copy p {
  color: var(--reading-muted);
  font-size: 1rem;
  line-height: 1.82;
}

.article p + p {
  margin-top: 1.05em;
}

.article a:not(.button),
.copy a:not(.button) {
  color: var(--reading-plum);
  text-decoration-color: rgba(106, 60, 65, .35);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.answer-box {
  position: relative;
  margin-bottom: 38px;
  padding: 26px 28px 26px 32px;
  overflow: hidden;
  border: 1px solid #dfc4b8;
  border-left: 5px solid var(--reading-plum);
  border-radius: 3px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .55), transparent 66%),
    var(--reading-soft);
}

.answer-box::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -52px;
  bottom: -55px;
  border: 1px solid rgba(106, 60, 65, .18);
  border-radius: 50%;
}

.answer-box strong {
  color: var(--reading-plum);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.answer-box p {
  margin-top: 8px;
  color: var(--reading-ink);
  font-size: 1.04rem;
  line-height: 1.76;
}

.note-warning,
.quote,
.disclaimer {
  border-radius: 3px;
}

.note-warning {
  padding: 19px 21px;
  border-left-color: var(--reading-rose);
  background: #f7e9e2;
}

.quote {
  padding: 23px 25px;
  border-left-color: var(--reading-plum);
  background: var(--reading-soft);
  font-family: var(--reading-display);
}

.table-scroll {
  margin: 24px 0 8px;
  overflow: hidden;
  border-color: #dfc9bf;
  border-radius: 4px;
  background: var(--reading-paper);
}

.compare-table {
  min-width: 0;
  font-size: .9rem;
}

.compare-table thead th {
  padding: 15px 16px;
  background: var(--reading-plum);
  color: white;
}

.compare-table thead a {
  color: white !important;
  text-decoration-color: rgba(255, 255, 255, .55) !important;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(234, 210, 198, .2);
}

.compare-table tbody th {
  width: 25%;
  background: rgba(234, 210, 198, .32);
  color: var(--reading-ink);
}

.compare-table th,
.compare-table td {
  padding: 15px 16px;
  border-color: var(--reading-line);
  line-height: 1.58;
}

.step-list {
  gap: 0;
  margin: 18px 0;
  border-top: 1px solid var(--reading-line);
}

.step-list li {
  min-height: 54px;
  padding: 15px 0 15px 44px;
  border-bottom: 1px solid var(--reading-line);
}

.step-list li::before {
  top: 14px;
  border-radius: 50%;
  background: var(--reading-plum);
}

.bullet-list {
  gap: 0;
  margin: 17px 0;
  border-top: 1px solid var(--reading-line);
}

.bullet-list li {
  padding-top: 11px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--reading-line);
}

.bullet-list li::before {
  border-radius: 1px;
  background: var(--reading-rose);
  transform: rotate(45deg);
}

.faq-list {
  gap: 9px;
  margin-top: 22px;
}

.faq-item {
  border-color: var(--reading-line);
  border-radius: 3px;
  box-shadow: none;
}

.faq-question {
  padding: 20px 21px;
  color: var(--reading-ink);
}

.faq-item.open {
  border-color: rgba(106, 60, 65, .4);
  background: var(--reading-paper);
}

.faq-item.open .faq-question {
  color: var(--reading-plum);
}

.faq-answer {
  padding-right: 52px;
}

.article > section.info-band {
  max-width: none;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 8px 28px;
  margin-top: 15px;
  padding: 24px 25px;
  border: 1px solid var(--reading-line);
  border-radius: 4px;
}

.article > section.info-band + section.info-band {
  margin-top: 12px;
}

.info-band h3 {
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 2px;
  color: var(--reading-ink);
  font: 400 1.37rem/1.12 var(--reading-display);
  letter-spacing: -.015em;
}

.info-band h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 14px;
  background: var(--reading-rose);
}

.info-band .disclaimer {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--reading-muted);
  font-size: .91rem;
  line-height: 1.72;
}

.info-band-note {
  border-left: 5px solid var(--reading-rose) !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .52), transparent 72%),
    #f3dfd6;
}

.info-band-note h3::before {
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: var(--reading-rose);
  box-shadow: 16px 0 0 rgba(169, 104, 96, .33);
}

.info-band-sources {
  background: #f3ece7;
}

.info-band-sources h3::before {
  background:
    linear-gradient(90deg,
      var(--reading-plum) 0 22%,
      transparent 22% 31%,
      var(--reading-rose) 31% 63%,
      transparent 63% 72%,
      var(--reading-blush) 72%);
}

.info-band-sources .sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  border: 0;
}

.info-band-sources .sources li {
  min-width: 0;
  padding: 12px 13px 12px 31px;
  border: 1px solid rgba(88, 55, 51, .14);
  border-radius: 3px;
  background: rgba(255, 250, 246, .82);
  line-height: 1.52;
}

.info-band-sources .sources li::before {
  left: 12px;
  top: 11px;
}

.info-band-sources .sources a {
  font-size: .81rem;
  text-decoration-line: none !important;
}

.side-card {
  top: 116px;
  padding: 24px 23px 25px;
  border: 0;
  border-left: 4px solid var(--reading-plum);
  border-radius: 0;
  background: var(--reading-soft);
  box-shadow: none;
}

.side-card h2 {
  font-family: var(--reading-display);
  font-size: 1.75rem;
}

.side-card .lead {
  font-size: .9rem;
  line-height: 1.7;
}

.side-card .related a {
  border: 1px solid var(--reading-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, .55);
}

.byline.expert-band {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-areas:
    "mark label date"
    "mark name date";
  align-items: center;
  gap: 3px 15px;
  margin: 0 0 28px;
  padding: 17px 19px;
  border: 0;
  border-left: 5px solid var(--reading-rose);
  border-radius: 4px;
  background:
    linear-gradient(100deg, rgba(169, 104, 96, .17), transparent 54%),
    #2a2221;
  color: rgba(255, 255, 255, .72);
  box-shadow: 0 16px 32px rgba(54, 36, 33, .09);
}

.byline.expert-band::before {
  content: "BK";
  grid-area: mark;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #e7c6b7;
  font: 700 .72rem/1 var(--reading-display);
  letter-spacing: .08em;
}

.expert-band-label {
  grid-area: label;
  color: #d9aa99;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article .expert-band a {
  grid-area: name;
  color: white;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}

.expert-band-date {
  grid-area: date;
  display: grid;
  gap: 3px;
  min-width: 145px;
  padding-left: 19px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.expert-band-date time {
  color: white;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.content-figure {
  border-radius: 4px;
}

.section > .wrap > .grid .service-card {
  border-radius: 4px;
  border-top: 3px solid var(--reading-blush);
  box-shadow: none;
}

.section > .wrap > .grid .service-card:nth-child(3n + 2) {
  border-top-color: var(--reading-rose);
}

.section > .wrap > .grid .service-card:nth-child(3n) {
  border-top-color: var(--reading-plum);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c77f6d;
  outline-offset: 4px;
}

@media (max-width: 940px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .section:has(.article-grid) {
    padding-top: 28px;
    padding-bottom: 62px;
  }

  .article {
    padding: 25px 18px;
    border-right: 0;
    border-left: 0;
    background: rgba(255, 250, 246, .74);
    box-shadow: none;
  }

  .article > .content-figure:first-child {
    margin: -25px -18px 28px;
  }

  .article > section {
    padding: 29px 0;
  }

  .article > section.info-band {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 21px 19px;
  }

  .info-band h3 {
    grid-row: auto;
    font-size: 1.28rem;
  }

  .info-band h3::before {
    margin-bottom: 10px;
  }

  .info-band-sources .sources {
    grid-template-columns: 1fr;
  }

  .byline.expert-band {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "mark label"
      "mark name"
      "date date";
    gap: 4px 13px;
    padding: 16px;
  }

  .byline.expert-band::before {
    width: 38px;
    height: 38px;
  }

  .expert-band-date {
    display: flex;
    justify-content: space-between;
    min-width: 0;
    margin-top: 10px;
    padding: 11px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-left: 0;
  }

  .article h2 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .answer-box {
    padding: 22px 20px 22px 23px;
  }

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

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

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

  .compare-table tbody {
    display: grid;
    gap: 13px;
  }

  .compare-table tbody tr {
    overflow: hidden;
    border: 1px solid #dfc9bf;
    border-radius: 3px;
    background: var(--reading-paper);
  }

  .compare-table tbody th,
  .compare-table tbody td {
    position: relative;
    min-height: 48px;
    padding: 13px 14px 13px min(44%, 145px);
    border: 0;
    border-bottom: 1px solid var(--reading-line);
    background: transparent;
  }

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

  .compare-table tbody th::before,
  .compare-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 13px;
    width: calc(min(44%, 145px) - 24px);
    color: var(--reading-plum);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .faq-answer {
    padding-right: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-toggle {
    transition: none;
  }
}
