.editorial-entry { padding-block: 36px 0; }
.editorial-nav { gap: 19px; }
.editorial-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 20px; background: var(--lilac); }
.editorial-banner h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 7px; }
.editorial-banner p, .editorial-banner .actions { margin: 0; }
.editorial-banner .actions { flex-shrink: 0; }
.editorial-page { padding-bottom: 65px; }
.editorial-page > h1 { max-width: 860px; }
.editorial-page > .lead { max-width: 750px; }
.country-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.country-pills a { display: inline-flex; min-height: 44px; align-items: center; color: var(--purple-dark); font-weight: 700; border: 1px solid #c9bde2; border-radius: 999px; padding: 8px 18px; }
.country-pills a:hover { background: var(--lilac); }
.editorial-market { padding-top: 40px; margin-top: 12px; scroll-margin-top: 18px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.editorial-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.editorial-card h3 { margin: 8px 0 13px; font-size: 1.35rem; }
.editorial-card h3 a:hover { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 4px; }
.editorial-card p:last-child { margin-bottom: 0; }
.editorial-meta { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.journey-index { padding-block-start: 2rem; }
.journey-index h2 { margin: 0 0 .85rem; }
.journey-index ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.journey-index a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; min-block-size: 4.25rem; block-size: 100%; padding: .8rem 1rem; border: 1px solid #dcd1f2; border-radius: 12px; background: #f9f6fe; color: var(--purple-dark); font-weight: 720; }
.journey-index a:hover, .journey-index a:focus-visible { background: var(--lilac); }
.journey-index a:focus-visible, .journey-topic-links a:focus-visible { outline-offset: 3px; }
.journey-topic-links { display: flex; flex-wrap: wrap; column-gap: 1.1rem; margin-block: .6rem 0; }
.journey-topic-links a { display: inline-flex; align-items: center; min-block-size: 44px; }
.guide-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(240px,1fr); align-items: start; gap: 40px; margin-top: 55px; }
.guide-block + .guide-block { padding-top: 30px; }
.guide-block h2, .guide-sources h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); }
.guide-steps, .plan-timeline { --step-indent: 2.85rem; --step-size: 2rem; margin: 0; padding-inline-start: var(--step-indent); }
.plan-timeline { list-style: none; }
.guide-steps > li, .plan-timeline > li { position: relative; min-inline-size: 0; overflow-wrap: anywhere; }
.guide-steps > li { padding: .8rem .75rem 1rem; border-block-end: 1px solid var(--line); }
.guide-steps > li::marker { color: transparent; }
.guide-steps > li::before, .plan-step-marker {
  position: absolute;
  inset-inline-start: calc(-1 * var(--step-indent));
  display: grid;
  place-items: center;
  inline-size: var(--step-size);
  block-size: var(--step-size);
  border: 1px solid #bcb3d3;
  border-radius: 50%;
  background: #f9f7fe;
  color: var(--purple-dark);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1;
}
.guide-steps > li::before { content: counter(list-item); inset-block-start: .7rem; }
.plan-step-marker { inset-block-start: .55rem; pointer-events: none; }
.guide-steps > li:not(:last-child)::after, .plan-timeline > li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-start: calc(-1 * var(--step-indent) + var(--step-size) / 2 - 1px);
  inset-block: calc(.7rem + var(--step-size)) -.7rem;
  inline-size: 2px;
  background: #d7cde6;
  pointer-events: none;
}
.plan-timeline > li:not(:last-child)::after { inset-block: calc(.55rem + var(--step-size)) -.55rem; }
.guide-steps li[id], .plan-group[id] { scroll-margin-top: 100px; }
.guide-steps li:target { background: var(--lilac); border-radius: 10px; outline: 1px solid #b8a8db; }
.guide-steps li:target::before, .plan-timeline [aria-current="step"] .plan-step-marker { border-color: var(--purple-dark); background: var(--purple-dark); color: #fff; }
.guide-plan-return, .plan-step-action a { display: inline-flex; align-items: center; min-block-size: 44px; }
.guide-plan-return { margin-block-start: .25rem; }
.plan-group.plan-group-guided { padding: 0; overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgb(48 32 71 / .07); }
.plan-cover { position: relative; isolation: isolate; display: flex; align-items: end; min-block-size: 10.75rem; background: #26203b; color: white; }
.plan-cover > img, .plan-cover::after { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.plan-cover > img { z-index: -2; object-fit: cover; object-position: center 57%; }
.plan-cover::after { content: ''; z-index: -1; background: linear-gradient(90deg, rgb(29 22 49 / .96), rgb(29 22 49 / .78) 45%, rgb(29 22 49 / .16)), linear-gradient(0deg, rgb(29 22 49 / .58), transparent); }
.plan-cover-content { padding: 1.25rem 3.75rem 1.25rem 1.4rem; overflow-wrap: anywhere; }
.plan-cover .eyebrow { margin: 0 0 .4rem; color: #e2d6fe; }
.plan-cover h2 { margin: 0; color: #fff; font-size: clamp(1.7rem, 5vw, 2.45rem); line-height: 1.08; letter-spacing: -.025em; }
.plan-cover a:focus-visible, .plan-cover button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.plan-cover .remove-group { position: absolute; inset-block-start: .55rem; inset-inline-end: .6rem; inline-size: 44px; block-size: 44px; padding: 0; border-radius: 50%; color: #fff; background: rgb(29 22 49 / .78); }
.plan-cover .remove-group:hover { background: #302047; }
.plan-group-progress { margin: .65rem 0 .35rem; color: #f1eafb; font-size: .86rem; }
.plan-group-progress strong { color: #fff; font-variant-numeric: tabular-nums; }
.plan-group-meter { appearance: none; display: block; inline-size: min(9.25rem, 100%); block-size: 5px; border: 0; border-radius: 100px; overflow: hidden; color: #c9eece; background: #756b88; }
.plan-group-meter::-webkit-progress-bar { background: #756b88; }
.plan-group-meter::-webkit-progress-value { background: #c9eece; }
.plan-group-meter::-moz-progress-bar { background: #c9eece; }
.plan-group-body { padding: 1rem clamp(1rem, 4vw, 1.4rem) 1.25rem; }
.plan-timeline > li { border-radius: 12px; }
.plan-group .plan-timeline label { align-items: center; min-block-size: 50px; margin: 0; padding: .65rem .75rem; border: 0; border-radius: 10px; cursor: pointer; }
.plan-timeline > li:not(:last-child):not([aria-current]) label { border-block-end: 1px solid #ebe6f2; }
.plan-group .plan-timeline input { position: absolute; z-index: 1; inset-inline-start: calc(-1 * var(--step-indent) - .375rem); inset-block-start: .175rem; inline-size: 44px; block-size: 44px; margin: 0; opacity: 0; cursor: pointer; }
.plan-timeline [aria-current="step"] { margin-block: .2rem; background: #f3edfe; }
.plan-timeline [aria-current="step"] label { min-block-size: 0; padding-block-end: 0; font-weight: 720; }
.plan-step-next { display: none; }
.plan-timeline [aria-current="step"] .plan-step-next { display: block; margin-block-end: .2rem; color: var(--purple-dark); font-size: .76rem; font-weight: 750; }
.plan-timeline label:focus-within { outline: 2px solid var(--purple-dark); outline-offset: 2px; }
.plan-step-action { padding-inline: .75rem; }
.plan-step-action a { gap: .45rem; color: #5235a1; font-size: .86rem; font-weight: 750; text-decoration: underline; text-underline-offset: .22em; }
.plan-step-action a:hover { color: #342168; }
.plan-step-check, .plan-timeline li:has(:checked) .plan-step-number { display: none; }
.plan-timeline li:has(:checked) .plan-step-check { display: inline; }
.plan-timeline li:has(:checked) .plan-step-marker { border-color: #25604d; background: #25604d; color: #fff; }
.plan-group .plan-timeline input:checked + .plan-step-name { color: #466257; text-decoration: none; }
@media (forced-colors: active) {
  .plan-timeline [aria-current="step"] { outline: 2px solid Highlight; }
  .plan-cover::after { background: Canvas; }
  .plan-cover :is(h2, .eyebrow, strong, .plan-group-progress) { color: CanvasText; }
}
.plan-general { margin-top: 16px; }
.plan-general summary { cursor: pointer; color: var(--muted); font-weight: 650; }
.guide-steps h3 { margin: 0 0 6px; letter-spacing: -.025em; }
.guide-steps p { margin: 0; }
.guide-sources { background: var(--mint); padding: 25px; border-radius: 19px; }
.guide-sources ul, .source-card ul { margin: 0 0 22px; padding-left: 18px; }
.guide-sources li, .source-card li { margin-bottom: 10px; overflow-wrap: anywhere; }
.guide-sources .button { margin-top: 4px; background-color: #fff8; }
.offer-browser { padding-top: 15px; }
.offer-filters { display: flex; gap: 16px; margin: 0 0 15px; }
.offer-filters label { flex: 0 1 270px; font-size: .94rem; font-weight: 700; }
.offer-filters select { display: block; width: 100%; margin-top: 7px; min-height: 47px; padding: 9px 14px; border: 1px solid #c9bde2; border-radius: 10px; background-color: white; }
.offer-grid, .source-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.offer-terms { color: var(--purple-dark); font-weight: 750; }
.offer-browser .notice { margin: 20px 0 0; }
.source-card { background: #faf8fe; }
.source-card ul { margin-bottom: 0; }
.source-card li:last-child { margin-bottom: 0; }
.source-card span { display: block; }
.editorial-page a:focus-visible, .guide-layout a:focus-visible { outline-offset: 5px; }
@media (max-width: 950px) { .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 851px) and (max-width: 1000px) {
  .header :is(.editorial-nav) { display:none; }
  .header:has(.editorial-nav) .menu-toggle { display:block; }
}
@media (max-width: 650px) {
  .editorial-banner { display: block; padding: 24px 20px; }
  .editorial-banner .actions { margin-top: 18px; }
  .editorial-grid, .guide-layout { grid-template-columns: 1fr; }
  .guide-layout { gap: 25px; margin-top: 30px; }
  .editorial-card { padding: 19px; }
  .offer-filters { gap: 10px; }
  .offer-filters label { flex: 1 1 0; min-width: 0; }
}
