/* Single-page longread. Sits on top of styles.css. */

html {
  scroll-padding-top: 6.25rem;
}

.lr-nav {
  display: flex;
  flex: 1 1 280px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 0.15rem;
}

.lr-nav::-webkit-scrollbar {
  display: none;
}

.lr-nav a {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
}

.lr-nav a:hover {
  color: var(--accent-deep);
  background: #fff;
  border-color: var(--line);
}

.lr-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.lr-hero__media {
  position: absolute;
  inset: 0;
}

.lr-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lr-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 32, 0.25) 0%, rgba(8, 24, 28, 0.78) 70%, rgba(8, 24, 28, 0.92) 100%);
}

.lr-hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 2.4rem;
}

.lr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lr-hero h1 {
  margin: 0 0 0.8rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lr-hero__lead {
  max-width: 62ch;
  margin: 0 0 1.3rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.lr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lr-hero .rank-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.lr-hero .rank-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lr-layout {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
}

.lr-prose {
  max-width: 74ch;
}

.lr-prose h2,
.lr-section > h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lr-prose h3 {
  margin: 1.6rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.lr-prose p,
.lr-brand p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.lr-prose .lr-lead,
.lr-section > .lr-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.lr-note {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
}

.lr-section {
  padding-top: 0.4rem;
}

.lr-rank-list {
  padding-top: 0.4rem;
  padding-bottom: 1rem;
}

.rank-row.lr-lead {
  border-color: rgba(11, 122, 117, 0.45);
  box-shadow: 0 14px 32px rgba(11, 122, 117, 0.14);
}

.lr-table-wrap {
  margin: 1rem 0 1.4rem;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 28, 36, 0.08);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 28, 36, 0.05);
}

.lr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.lr-table th,
.lr-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 28, 36, 0.08);
}

.lr-table th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d808b;
  background: #f4fafb;
}

.lr-table tr.is-lead td {
  background: rgba(11, 122, 117, 0.16);
}

.lr-table a {
  color: #1557d6;
  font-weight: 700;
}

.lr-review-toc {
  margin: 0.4rem 0 0.2rem;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
  list-style: none;
  counter-reset: rev;
}

.lr-review-toc li {
  break-inside: avoid;
  counter-increment: rev;
  margin: 0 0 0.35rem;
}

.lr-review-toc li::before {
  content: counter(rev) ". ";
  font-weight: 800;
  color: var(--accent-deep);
}

.lr-review-toc a {
  font-weight: 700;
  color: #1557d6;
}

.lr-review {
  margin: 2.6rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 28, 36, 0.12);
  scroll-margin-top: 6.25rem;
}

.lr-review--lead {
  border-top-color: rgba(11, 122, 117, 0.45);
}

.lr-review h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lr-facts {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0.2rem 0;
  border-top: 1px solid rgba(15, 28, 36, 0.08);
}

.lr-facts li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 28, 36, 0.08);
}

.lr-facts span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d808b;
}

.lr-brand {
  margin: 1.1rem 0;
  padding: 1.25rem 1.3rem 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 28, 36, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 28, 36, 0.04);
}

.lr-brand--lead {
  border-color: rgba(11, 122, 117, 0.35);
}

.lr-brand__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.lr-brand__logo {
  flex: 0 0 148px;
  display: grid;
  place-items: center;
  height: 72px;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(160deg, #eef7fa, #e3f0f4);
  border-radius: 12px;
  border: 1px solid rgba(15, 28, 36, 0.06);
}

.lr-brand__logo img {
  max-height: 44px;
  width: auto;
}

.lr-brand__meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lr-brand h4 {
  margin: 1rem 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d808b;
}

.lr-brand ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

.lr-brand h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.lr-brand__bonus {
  margin: 0;
  font-weight: 800;
}

.lr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.lr-split h3,
.lr-split h4 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d808b;
}

.lr-split ul {
  margin: 0;
  padding-left: 1.1rem;
}

.lr-split li + li {
  margin-top: 0.28rem;
}

.lr-brand__back {
  margin: 0.3rem 0 0;
  font-weight: 700;
}

.lr-brand__back a {
  color: #1557d6;
}

.lr-steps {
  margin: 0.4rem 0 1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.lr-steps li {
  position: relative;
  margin: 0 0 0.7rem;
  padding: 0.75rem 0.9rem 0.75rem 3.1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 28, 36, 0.08);
}

.lr-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.lr-steps strong {
  display: block;
  margin-bottom: 0.15rem;
}

.faq details {
  border-bottom: 1px solid rgba(15, 28, 36, 0.1);
  padding: 0.7rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.45rem 0 0.2rem;
  color: var(--ink-soft);
}

.lr-pay {
  margin-top: 0.6rem;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 9rem;
  }

  .lr-nav {
    flex-wrap: wrap;
    overflow: visible;
  }

  .lr-facts li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .lr-review-toc {
    columns: 1;
  }

  .lr-hero {
    min-height: 0;
  }

  .lr-hero__content {
    width: min(1120px, calc(100% - 1.5rem));
    padding: 2.4rem 0 1.6rem;
  }

  .lr-layout {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .lr-split,
  .lr-brand__head {
    grid-template-columns: 1fr;
    display: block;
  }

  .lr-brand__logo {
    margin-bottom: 0.7rem;
    width: 148px;
  }
}
