:root {
  --ink: #101322;
  --paper: #f2f1ee;
  --navy: #101321;
  --navy-text: #f6f5f1;
  --lime: #d6f861;
  --lavender: #cab1f0;
  --purple: #5920d1;
  --line: #9694a1;
  --muted: #474957;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --heading-font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body-font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --content-width: 1272px;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.5 var(--body-font);
}

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

a {
  color: var(--purple);
  text-underline-offset: .14em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -.037em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 3.75vw, 3.625rem);
}

h2 {
  font-size: clamp(2.05rem, 2.9vw, 2.75rem);
}

h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.5rem);
}

.wrap {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
}

.skip-link:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 2;
  inset: 10px auto auto 10px;
  border-radius: 6px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
}

.dark-band {
  background: var(--navy);
  color: var(--navy-text);
}

.site-header,
.footer-main,
.footer-identity,
.brand,
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.site-header,
.footer-main {
  justify-content: space-between;
}

.site-header {
  min-height: 64px;
  gap: 10px 24px;
  border-bottom: 1px solid #ffffff25;
}

.brand {
  flex-shrink: 0;
  gap: 15px;
  color: inherit;
  font: 700 clamp(1.45rem, 2.1vw, 1.875rem)/1 var(--heading-font);
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-header nav {
  gap: clamp(16px, 3vw, 47px);
  font-size: 1.125rem;
  font-weight: 700;
}

.site-header nav a,
.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(30px, 3.65vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 58px);
}

.hero-copy p {
  max-width: 36rem;
  margin: 12px 0 18px;
  font-size: clamp(1.2rem, 1.67vw, 1.56rem);
  line-height: 1.4;
  letter-spacing: -.021em;
}

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 30px 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(1.15rem, 1.55vw, 1.47rem);
  font-weight: 700;
  letter-spacing: -.031em;
  text-align: center;
  text-decoration: none;
}

.primary-link:hover {
  background: #e0fc80;
}

.primary-link:focus-visible {
  outline-color: var(--lime);
}

.primary-link:active {
  background: #c4e84d;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .primary-link {
    transition: transform 85ms var(--ease-out);
  }

  .primary-link:active:not(:focus-visible) {
    transform: scale(.98);
    transition-duration: 110ms;
  }
}

.rss-flow {
  --flow-gap: clamp(14px, 4vw, 62px);
  border: 1px solid var(--lavender);
  border-radius: 4px;
  padding: 17px 30px 30px;
}

.rss-flow figcaption {
  margin: 0 0 21px 1px;
  color: var(--lavender);
  font-size: clamp(1.12rem, 1.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.023em;
}

.rss-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rss-flow li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  font-size: clamp(1rem, 1.41vw, 1.32rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.024em;
  overflow-wrap: anywhere;
}

.rss-flow li:not(:last-child)::after {
  position: absolute;
  top: 35px;
  left: calc(50% + 49px);
  width: calc(100% + var(--flow-gap) - 98px);
  border-top: 3px solid var(--lavender);
  border-radius: 3px;
  content: "";
}

.rss-flow svg {
  width: min(100%, 87px);
  height: 74px;
  fill: none;
  stroke: var(--lavender);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content {
  padding-top: clamp(32px, 4vw, 52px);
}

.compare h2 {
  margin-bottom: 13px;
}

.affiliate-note {
  margin-block: 0 .65rem;
  color: var(--muted);
  font-size: .95rem;
}

.filters {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-bottom: 1px solid var(--line);
}

@media (scripting: enabled) {
  .filters[hidden] { display: flex !important; visibility: hidden; }
}

.filters button {
  position: relative;
  min-height: 47px;
  border: 0;
  border-radius: 0;
  padding: 8px 14px 12px;
  background: transparent;
  color: var(--ink);
  font: 600 clamp(.96rem, 1.38vw, 1.31rem)/1.2 var(--body-font);
  letter-spacing: -.032em;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  color: var(--purple);
  font-weight: 700;
}

.filters button[aria-pressed="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  border-bottom: 4px solid var(--purple);
  content: "";
}

.filters button:hover {
  color: var(--purple);
}

.filter-status {
  margin-inline-start: auto;
  padding: 6px 0;
  color: var(--muted);
  font-size: .875rem;
  white-space: nowrap;
}

table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(.94rem, 1.33vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -.025em;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  overflow-wrap: anywhere;
  text-align: left;
}

thead th {
  padding-top: 13px;
  padding-bottom: 12px;
}

thead th:first-child {
  width: 24%;
}

thead th:last-child {
  width: 18.5%;
}

th {
  font-weight: 700;
}

td svg,
.guide-link svg {
  display: inline-block;
  width: .95em;
  height: .95em;
  margin-left: .1em;
  vertical-align: -.14em;
}

.prepare {
  margin-top: 43px;
}

.steps {
  display: grid;
  grid-template-columns: .97fr 1.06fr .97fr;
  margin: 25px 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: clamp(13px, 1.55vw, 24px);
  min-height: 82px;
  counter-increment: step;
}

.steps li + li {
  border-left: 1px solid var(--line);
  padding-left: clamp(12px, 1.6vw, 25px);
}

.steps li:not(:last-child) {
  padding-right: 14px;
}

.steps li::before {
  display: grid;
  flex: 0 0 47px;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--lavender);
  content: counter(step);
  font-size: 1.7rem;
  font-weight: 700;
}

.steps h3 {
  margin: 1px 0 6px;
}

.steps p {
  line-height: 1.4;
  letter-spacing: -.016em;
}

.guide-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .25em;
  margin-top: 12px;
  font-weight: 700;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 18px 0 16px;
  font-size: .94rem;
  letter-spacing: -.021em;
}

.footer-identity {
  flex-wrap: wrap;
  gap: 14px 18px;
}

.site-footer .brand {
  gap: 12px;
  font-size: 1.25rem;
}

.site-footer .brand img {
  width: 28px;
  height: 28px;
}

.footer-identity > span {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.site-footer nav {
  gap: 38px;
}

.footer-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .875rem;
}

.guide-page {
  padding-top: clamp(28px, 4vw, 48px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .875rem;
}

.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  margin-bottom: 44px;
}

.guide-photo {
  max-width: 32rem;
}

.guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.guide-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .875rem;
}

.guide-header > p {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.9vw, 1.37rem);
}

.guide-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-weight: 700;
}

.guide-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.guide-page section {
  max-width: 72ch;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.guide-page h2 {
  margin-bottom: 13px;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}

.guide-page ol,
.guide-page ul {
  padding-left: 1.3em;
}

.guide-page li + li {
  margin-top: 12px;
}

.guide-page li::marker {
  color: var(--purple);
  font-weight: 700;
}

main section[id] {
  scroll-margin-top: 16px;
}

.guide-page code {
  overflow-wrap: anywhere;
}

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

.cluster-navigation {
  max-width: 72ch;
  margin-top: 48px;
}

.cluster-links,
.guide-page .cluster-links {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cluster-links li,
.guide-page .cluster-links li + li {
  margin: 0;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.cluster-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  font-weight: 700;
}

.cluster-links span {
  display: block;
  color: var(--muted);
}

.cluster-details {
  margin-block: 16px;
}

.cluster-details > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 6px 20px;
  border-top: 1px solid var(--line);
  padding-block: 14px;
}

.cluster-details dt {
  font-weight: 700;
}

.cluster-details dd {
  margin: 0;
}

.migration-flow {
  max-width: 72ch;
  margin-bottom: 36px;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 28px);
  background: var(--navy);
  color: var(--navy-text);
}

.migration-flow figcaption {
  color: var(--lavender);
  font-weight: 700;
}

.migration-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 12px 0 0;
}

.migration-flow li + li {
  margin: 0;
}

.migration-flow li::marker {
  color: var(--lavender);
}

.cluster-example {
  margin-block: 16px;
  border-block: 1px solid var(--line);
  padding-block: 10px;
}

.cluster-example summary {
  min-height: 44px;
  align-content: center;
  color: var(--purple);
  font-weight: 700;
  cursor: pointer;
}

.cluster-example pre {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--navy-text);
}

.rss-form {
  margin-block: 16px;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  background: color-mix(in srgb, var(--paper), var(--lavender) 14%);
}

.rss-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.rss-field label {
  font-weight: 700;
}

.rss-field textarea,
.rss-field input {
  min-width: 0;
  width: 100%;
  font: inherit;
}

.rss-field textarea {
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--paper);
  color: var(--ink);
}

.rss-field input::file-selector-button {
  min-height: 44px;
  margin-inline-end: 8px;
  font: inherit;
}

.rss-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: var(--purple);
  color: var(--navy-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rss-form button:hover,
.rss-form button:active {
  background: #44169e;
}

.rss-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.rss-status:not(:empty) {
  margin-top: 12px;
  font-weight: 700;
}

.cluster-example :is(summary, pre):focus-visible,
.rss-form :is(input, textarea, button):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

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

  .guide-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rss-flow {
    --flow-gap: 14px;
    padding-inline: 16px;
  }

  .rss-flow li:not(:last-child)::after {
    left: calc(50% + 34px);
    width: calc(100% - 55px);
  }

  .rss-flow svg {
    max-width: 65px;
  }

  .steps li::before {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
    font-size: 1.3rem;
  }

  .site-footer nav {
    gap: 15px;
  }
}

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

  .site-header {
    min-height: 62px;
    flex-wrap: wrap;
  }

  .brand {
    gap: 8px;
    font-size: 1.2rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .site-header nav {
    gap: 12px;
    font-size: .92rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-inline: 0;
    padding-block: 17px 29px;
  }

  .hero-copy p {
    max-width: 30rem;
  }

  .primary-link {
    padding-inline: 17px;
  }

  .rss-flow {
    max-width: 33rem;
    padding-block: 14px 21px;
  }

  .rss-flow figcaption {
    margin-bottom: 11px;
  }

  .rss-flow svg {
    height: 60px;
  }

  .rss-flow li {
    font-size: clamp(.84rem, 4vw, 1rem);
  }

  .rss-flow li:not(:last-child)::after {
    top: 29px;
  }

  .prepare {
    margin-top: 36px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 19px;
  }

  .steps li,
  .steps li + li {
    border-left: 0;
    padding: 12px 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-identity {
    gap: 8px;
  }

  .footer-identity > span {
    flex-basis: 100%;
    border-left: 0;
    padding-left: 0;
  }

}

@media (max-width: 540px) {
  .cluster-details > div,
  .migration-flow ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters {
    gap: 0 5px;
  }

  .filters button {
    padding-inline: 6px;
    font-size: .9rem;
  }

  .filter-status {
    flex-basis: 100%;
    margin-inline-start: 0;
  }

  .table-labels {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  table,
  tbody {
    display: block;
  }

  tbody tr {
    display: grid;
    gap: 5px;
    padding-block: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  tbody th,
  tbody td {
    border: 0;
    padding: 0;
  }

  tbody th {
    font-size: 1.18rem;
  }

  tbody td a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .25em;
  }
}
