:root {
  --ivory: #f8f3ea;
  --paper: #fffdf8;
  --ink: #1f2340;
  --indigo: #2e3a7a;
  --terra: #c0552f;
  --terra-d: #9c4021;
  --line: #e3dccd;
  --muted: #5d6077;
  --ok: #2f6b4f;
  --warn: #fff1e6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font:
    17px/1.65 "Public Sans",
    system-ui,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: Newsreader, Georgia, serif;
  line-height: 1.2;
  color: var(--indigo);
}
h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 0.4em 0 0.3em;
}
h2 {
  font-size: clamp(23px, 3.4vw, 30px);
  margin: 1.6em 0 0.5em;
}
h3 {
  margin: 0.3em 0;
}
a {
  color: var(--terra-d);
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
main {
  padding-bottom: 40px;
}
.top {
  background: var(--paper);
  border-bottom: 2px solid var(--indigo);
  position: sticky;
  top: 0;
  z-index: 20;
}
.hb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}
.brandmark {
  display: flex;
  gap: 8px;
  align-items: center;
  font:
    700 20px Newsreader,
    serif;
  color: var(--indigo);
  text-decoration: none;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.menu .g {
  position: relative;
}
.menu button {
  background: none;
  border: 0;
  font: 600 15px "Public Sans";
  color: var(--ink);
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
}
.menu button:hover,
.menu button[aria-expanded="true"] {
  background: var(--ivory);
  color: var(--terra-d);
}
.menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(31, 35, 64, 0.12);
  list-style: none;
  padding: 6px;
  margin: 0;
}
.menu .open > ul {
  display: block;
}
.menu ul a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.menu ul a:hover {
  background: var(--ivory);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 22px;
  padding: 2px 10px;
  color: var(--indigo);
}
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.lead {
  font-size: 19px;
  max-width: 820px;
}
.meta {
  font-size: 14px;
  color: var(--muted);
}
.top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--indigo);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:first-child {
  border-top-color: var(--terra);
}
.rank {
  position: absolute;
  top: 10px;
  right: 12px;
  font:
    700 24px Newsreader,
    serif;
  color: var(--terra);
}
.logo {
  object-fit: contain;
  background: #1f2340;
  border-radius: 6px;
  padding: 4px;
}
.card .logo {
  width: 150px;
  height: 50px;
}
.why {
  font-weight: 600;
  margin: 0.3em 0;
}
.card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  font-size: 15px;
  margin: 6px 0;
}
.card dt {
  color: var(--muted);
}
.card dd {
  margin: 0;
  font-weight: 600;
}
.minus {
  font-size: 14px;
  color: var(--terra-d);
  margin: 0.4em 0 0.8em;
}
.btn {
  display: inline-block;
  margin-top: auto;
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 8px;
  text-align: center;
}
.btn:hover {
  background: var(--terra-d);
}
.cmp h2 {
  margin-top: 0.6em;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 8px 0 12px;
  font-size: 14px;
}
.filters select,
.cg input,
.cg select {
  display: block;
  font: inherit;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  margin-top: 3px;
  min-width: 150px;
}
.count {
  color: var(--muted);
}
.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}
th,
td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
th {
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
tr:nth-child(even) td {
  background: #fbf7ef;
}
.b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-width: 190px;
}
.b .logo {
  width: 80px;
  height: 27px;
}
.mini {
  margin: 0;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
figure {
  margin: 22px 0;
}
figure img {
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.calc {
  background: var(--paper);
  border: 2px solid var(--indigo);
  border-radius: 12px;
  padding: 6px 18px 16px;
  margin: 24px 0;
}
.calc h2 {
  margin-top: 0.6em;
}
.cg {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.calc output {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  background: var(--ivory);
  padding: 12px;
  border-radius: 8px;
}
.sec {
  max-width: 820px;
}
.sec p a,
.faq p a,
.fact p a,
.warn p a {
  overflow-wrap: anywhere;
}
.fact {
  background: #eef0f8;
  border-left: 4px solid var(--indigo);
  padding: 10px 16px;
  border-radius: 6px;
  margin: 16px 0;
}
.warn {
  background: var(--warn);
  border-left: 4px solid var(--terra);
  padding: 10px 16px;
  border-radius: 6px;
  margin: 16px 0;
}
.math {
  background: var(--paper);
  border: 1px dashed var(--indigo);
  padding: 10px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-variant-numeric: tabular-nums;
}
.fact p,
.warn p,
.math p {
  margin: 0.3em 0;
}
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.vs > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.vs > div:last-child {
  border-top: 3px solid var(--terra);
}
.vs > div:first-child {
  border-top: 3px solid var(--indigo);
}
.steps li,
.tl li {
  margin: 6px 0;
}
.tl {
  list-style: none;
  padding-left: 16px;
  border-left: 3px solid var(--terra);
}
.checklist {
  list-style: none;
  padding-left: 0;
}
.checklist li:before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}
.inline-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 18px 0;
}
.inline-cta span {
  flex: 1;
  min-width: 180px;
  font-weight: 600;
}
.inline-cta .logo {
  width: 90px;
  height: 30px;
}
.inline-cta .btn {
  margin: 0;
}
.cashmap {
  background: var(--indigo);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}
.cm-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 8px 0;
  padding: 10px 14px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.author {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin: 30px 0;
}
.author img {
  border-radius: 50%;
  object-fit: cover;
}
.author p {
  margin: 0.2em 0;
}
.svc {
  max-width: 820px;
  padding-bottom: 30px;
}
.foot {
  background: var(--ink);
  color: #e9e6f2;
  margin-top: 40px;
  padding: 30px 0 10px;
}
.foot a {
  color: #f3c9b5;
  text-decoration: none;
}
.foot h4 {
  margin: 0.4em 0;
  color: #fff;
}
.fc {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  font-size: 14px;
}
.fc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fc li {
  margin: 4px 0;
}
.legal {
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 16px;
}
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--terra);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  cursor: pointer;
}
.totop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .top3 {
    grid-template-columns: 1fr;
  }
  .fc {
    grid-template-columns: repeat(2, 1fr);
  }
  .burger {
    display: block;
  }
  nav[aria-label="Principal"] {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: var(--paper);
    border-bottom: 2px solid var(--indigo);
    max-height: 80vh;
    overflow: auto;
  }
  nav.open {
    display: block;
  }
  .menu {
    flex-direction: column;
    padding: 8px;
  }
  .menu ul {
    position: static;
    box-shadow: none;
    border: 0;
  }
  .vs {
    grid-template-columns: 1fr;
  }
  .cm-row {
    grid-template-columns: 1fr 1fr;
  }
}
.cmp td:first-child,
.cmp th:first-child {
  min-width: 215px;
}
.cmp .b .logo {
  flex: 0 0 80px;
}
