/* ===============================================================
   REFUND POLICY PAGE (refund-policy.php, #2323)

   Shared by every 2027 conference website. Every colour comes from the
   --rp-* tokens below; refund-policy.php maps them to the website's own
   palette, so this file never changes from site to site.

   --rp-brand      solid brand colour: icons, active tab, step numbers, buttons
   --rp-on-brand   text on --rp-brand
   --rp-cta        main button on the dark grounds (hero, closing panel)
   --rp-on-cta     text on --rp-cta (keep 4.5:1)
   --rp-brand-ink  brand-coloured text on a light surface (keep 4.5:1 on white)
   --rp-dark       dark grounds: hero, table heads, closing panel
   --rp-dark-2     second stop of the hero gradient
   --rp-glow       accent on dark grounds (keep 4.5:1 on --rp-dark)
   --rp-ink        headings      --rp-text  body copy      --rp-muted  notes
   --rp-line       borders       --rp-soft  tinted fill    --rp-alt    zebra rows
   --rp-tint       hover / connector tint of the brand
   --rp-font-head  the website's heading font
   --rp-header-h   height of the website's fixed header (sticky offsets)
   --rp-hero-top   top padding of the page header (add the header height when
                   the website's header sits over the page instead of above it)
   =============================================================== */

.rp-page {
  --rp-brand: #1F4E8C;
  --rp-on-brand: #fff;
  --rp-cta: #F2B33D;
  --rp-on-cta: #14213D;
  --rp-brand-ink: #1F4E8C;
  --rp-dark: #10213A;
  --rp-dark-2: #1F4E8C;
  --rp-glow: #9CC3FF;
  --rp-ink: #14213D;
  --rp-text: #3B4658;
  --rp-muted: #5B6575;
  --rp-line: #E2E6EE;
  --rp-soft: #EEF3FA;
  --rp-alt: #F7F9FC;
  --rp-tint: #D5E2F4;
  --rp-surface: #fff;
  --rp-font-head: inherit;
  --rp-header-h: 80px;
  --rp-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--rp-alt);
  color: var(--rp-text);
}
.rp-page a { text-decoration: none; }

/* ---------- buttons ---------- */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 12px; border: 2px solid transparent; font-family: var(--rp-font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.rp-btn--solid { background: var(--rp-cta); color: var(--rp-on-cta) !important; }
.rp-btn--solid:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.rp-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.rp-btn:focus-visible { outline: 3px solid var(--rp-glow); outline-offset: 3px; }

/* ---------- page header ---------- */
.rp-hero { position: relative; overflow: hidden; padding: var(--rp-hero-top, 64px) 0 72px; background: linear-gradient(135deg, var(--rp-dark) 0%, var(--rp-dark-2) 100%); color: #fff; text-align: left; }
.rp-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%); pointer-events: none; }
.rp-hero > .container { position: relative; }
.rp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .9rem; padding: 0; list-style: none; font-family: var(--rp-font-head); font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.rp-crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; margin-right: .35rem; color: var(--rp-glow); }
.rp-crumbs a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: rgba(255, 255, 255, .92); }
.rp-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rp-crumbs [aria-current] { color: #fff; }
.rp-hero__title { margin: 0; font-family: var(--rp-font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.035em; color: #fff !important; }
.rp-hero__title span { color: var(--rp-glow); }
.rp-hero__lead { max-width: 58ch; margin: 1.2rem 0 0; font-size: 1.06rem; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.rp-head-meta { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; font-family: var(--rp-font-head); font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .92); }
.rp-head-meta i { color: var(--rp-glow); }
.rp-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* the policy as a document: the sheet itself opens the PDF */
.rp-doc { position: relative; display: flex; flex-direction: column; width: min(100%, 360px); justify-self: center; aspect-ratio: 210 / 270; border-radius: 6px 26px 6px 6px; background: #fff; color: #14141a; text-decoration: none; box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-3deg); transition: transform .35s var(--rp-ease), box-shadow .35s var(--rp-ease); overflow: hidden; }
.rp-doc::after { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: linear-gradient(225deg, var(--rp-dark) 50%, #e4e4ea 50%); border-bottom-left-radius: 8px; }
.rp-doc:hover, .rp-doc:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85), 0 0 0 2px var(--rp-glow); color: #14141a; }
.rp-doc:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rp-doc__band { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; background: var(--rp-brand); color: var(--rp-on-brand); }
.rp-doc__org { font-family: var(--rp-font-head); font-weight: 800; letter-spacing: .02em; }
.rp-doc__ver { margin-right: 26px; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .2); font-family: var(--rp-font-head); font-weight: 600; font-size: .72rem; }
.rp-doc__body { flex: 1; display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 1.3rem .4rem; }
.rp-doc__title { font-family: var(--rp-font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; color: #14141a; }
.rp-doc__date { font-size: .78rem; color: #5d5d68; }
.rp-doc__lines { display: grid; gap: 6px; }
.rp-doc__lines i { display: block; height: 6px; border-radius: 3px; background: #ececf1; }
.rp-doc__lines i:nth-child(2) { width: 92%; } .rp-doc__lines i:nth-child(3) { width: 96%; } .rp-doc__lines i:nth-child(4) { width: 70%; }
.rp-doc__lines--short i:nth-child(2) { width: 85%; } .rp-doc__lines--short i:nth-child(3) { width: 55%; }
.rp-doc__ladder { display: grid; grid-template-columns: 1.4fr 1fr .8fr; align-items: end; gap: 4px; margin: .3rem 0; }
.rp-doc__step { display: grid; gap: 2px; padding: .5rem .55rem .45rem; border-radius: 6px 6px 0 0; color: #fff; }
.rp-doc__step b { font-family: var(--rp-font-head); font-weight: 800; font-size: 1.05rem; line-height: 1; }
.rp-doc__step small { font-size: .62rem; opacity: .92; }
.rp-doc__step--60 { min-height: 74px; background: #138047; }
.rp-doc__step--40 { min-height: 56px; background: #A86400; }
.rp-doc__step--0 { min-height: 40px; background: #C62828; }
.rp-doc__foot { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-top: 1px solid #ececf1; font-size: .8rem; color: #5d5d68; }
.rp-doc__foot .bi-filetype-pdf { font-size: 1.2rem; color: var(--rp-brand-ink); }
.rp-doc__get { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-family: var(--rp-font-head); font-weight: 700; color: var(--rp-brand-ink); }

/* ---------- layout ---------- */
.rp-sec { padding: 56px 0 80px; }
.rp-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2.2rem; align-items: start; }
.rp-aside { position: sticky; top: calc(var(--rp-header-h) + 28px); display: grid; gap: 16px; }
.rp-main { min-width: 0; }
.rp-intro { margin: 0 0 1.6rem; font-size: 1.06rem; line-height: 1.75; color: var(--rp-muted); }

/* contents panel */
.rp-toc { padding: 1.1rem; border-radius: 22px; background: var(--rp-surface); border: 1px solid var(--rp-line); box-shadow: 0 6px 22px -14px rgba(16, 24, 40, .25); }
.rp-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: -.4rem .3rem .2rem; font-family: var(--rp-font-head); font-weight: 800; font-size: 1rem; color: var(--rp-ink); cursor: pointer; list-style: none; }
.rp-toc summary::-webkit-details-marker { display: none; }
.rp-toc summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: .85rem; color: var(--rp-brand-ink); transition: transform .25s; }
.rp-toc[open] summary::after { transform: rotate(180deg); }
.rp-toc__nav { display: flex; flex-direction: column; gap: 2px; }
.rp-toc__nav a { display: flex; align-items: center; min-height: 44px; padding: .55rem .8rem; border-radius: 12px; font-family: var(--rp-font-head); font-weight: 600; font-size: .88rem; color: var(--rp-ink); white-space: normal; text-align: left; }
.rp-toc__nav a:hover { background: var(--rp-soft); color: var(--rp-brand-ink); }
.rp-toc__nav a.is-active { background: var(--rp-brand); color: var(--rp-on-brand); }
.rp-aside__pdf { display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .9rem 1.1rem; border-radius: 22px; background: var(--rp-soft); border: 1px solid var(--rp-tint); color: var(--rp-ink); transition: background .2s; }
.rp-aside__pdf > i { font-size: 1.6rem; color: var(--rp-brand-ink); }
.rp-aside__pdf b { display: block; font-family: var(--rp-font-head); font-weight: 700; font-size: .95rem; }
.rp-aside__pdf small { display: block; font-size: .8rem; color: var(--rp-muted); }
.rp-aside__pdf:hover { background: var(--rp-tint); color: var(--rp-ink); }
.rp-aside__help { position: relative; overflow: hidden; padding: 1.4rem; border-radius: 22px; background: var(--rp-dark); color: #fff; }
.rp-aside__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font-family: var(--rp-font-head); font-weight: 700; font-size: 1.02rem; color: #fff !important; }
.rp-aside__title i { color: var(--rp-glow); }
.rp-aside__help p { margin: 0; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.rp-aside__help a { color: var(--rp-glow) !important; font-weight: 700; word-break: break-word; }

/* ---------- section cards ---------- */
.rp-card { margin-bottom: 22px; padding: clamp(1.3rem, 3vw, 2rem); border-radius: 24px; background: var(--rp-surface); border: 1px solid var(--rp-line); box-shadow: 0 10px 30px -22px rgba(16, 24, 40, .35); scroll-margin-top: calc(var(--rp-header-h) + 24px); }
.rp-card__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.rp-card__ico { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--rp-soft); color: var(--rp-brand-ink); font-size: 1.15rem; }
.rp-no { font-family: var(--rp-font-head); font-weight: 700; font-size: .95rem; }
.rp-card__title { margin: 0; font-family: var(--rp-font-head); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.3; color: var(--rp-ink) !important; }
.rp-card p { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.75; color: var(--rp-text); }
.rp-card p:last-child { margin-bottom: 0; }
.rp-card h3, .rp-card h4 { font-family: var(--rp-font-head); color: var(--rp-ink); }

/* lettered sub-lists (a., b., c.) */
.rp-alpha { margin: .6rem 0 0; padding-left: 1.6rem; list-style: lower-alpha; }
.rp-alpha li { margin-bottom: .3rem; padding-left: .2rem; line-height: 1.65; }
.rp-alpha li::marker { color: var(--rp-brand-ink); font-family: var(--rp-font-head); font-weight: 600; }

/* numbered clauses (2.1, 2.2 …) */
.rp-clauses { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rp-clauses > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .8rem; align-items: start; line-height: 1.7; }
.rp-clauses > li > span { display: grid; place-items: center; height: 30px; border-radius: 9px; background: var(--rp-soft); color: var(--rp-brand-ink); font-family: var(--rp-font-head); font-weight: 700; font-size: .85rem; }
.rp-clauses b { color: var(--rp-ink); font-family: var(--rp-font-head); }
.rp-callout + .rp-clauses { margin-top: 1.6rem; }

/* at a glance: refund by notice period */
.rp-line { position: relative; display: grid; grid-template-columns: 3fr 2.2fr 2.2fr 1.8fr; margin: 2.6rem 0 0; padding: 0; list-style: none; }
.rp-line__seg { position: relative; display: grid; align-content: start; gap: .2rem; padding: 1.6rem 1.2rem 0 0; }
.rp-line__seg::before { content: ""; position: absolute; top: 0; left: 0; right: 3px; height: 12px; background: var(--seg); }
.rp-line__seg:first-child::before { border-radius: 999px 0 0 999px; }
.rp-line__seg:last-child::before { right: 0; border-radius: 0 999px 999px 0; }
.rp-line__seg--best { --seg: #19A35B; --num: #138047; }
.rp-line__seg--mid { --seg: #E9A23B; --num: #A86400; }
.rp-line__seg--late { --seg: #E25A5A; --num: #C62828; }
.rp-line__seg--after { --seg: var(--rp-ink); --num: var(--rp-ink); padding-left: 1rem; }
.rp-line__seg--after::after { content: ""; position: absolute; left: -2px; top: -22px; height: 34px; border-left: 2px solid var(--rp-ink); }
.rp-line__flag { position: absolute; left: -2px; top: -32px; display: inline-flex; align-items: center; gap: .35rem; padding-left: .5rem; font-family: var(--rp-font-head); font-weight: 800; font-size: .8rem; color: var(--rp-ink); white-space: nowrap; }
.rp-line__flag i { color: var(--rp-brand-ink); }
.rp-line__when { font-family: var(--rp-font-head); font-weight: 700; font-size: .86rem; color: var(--rp-muted); }
.rp-line b { margin-top: .2rem; font-family: var(--rp-font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; color: var(--num); letter-spacing: -.02em; }
.rp-line__seg--late b, .rp-line__seg--after b { font-size: clamp(1.25rem, 2vw, 1.55rem); padding-top: .35rem; }
.rp-line__seg > span:not([class]) { font-size: .9rem; color: var(--rp-text); }
.rp-line__xfer { margin-top: .35rem; font-size: .84rem; color: var(--rp-muted); }
.rp-line__foot { display: flex; gap: .6rem; align-items: flex-start; margin: 1.6rem 0 0 !important; padding-top: 1rem; border-top: 1px dashed var(--rp-line); font-size: .92rem; color: var(--rp-muted) !important; }
.rp-line__foot i { color: var(--rp-brand-ink); margin-top: .15rem; }

/* definitions */
.rp-defs { display: grid; margin: 1.2rem 0 0; border: 1px solid var(--rp-line); border-radius: 18px; overflow: hidden; }
.rp-def { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1rem; padding: .95rem 1.2rem; border-top: 1px solid var(--rp-line); }
.rp-def:first-child { border-top: 0; }
.rp-def:nth-child(even) { background: var(--rp-alt); }
.rp-def dt { display: flex; gap: .55rem; font-family: var(--rp-font-head); font-weight: 800; color: var(--rp-ink); }
.rp-def dt span { flex-shrink: 0; min-width: 2.2rem; font-weight: 600; color: var(--rp-brand-ink); }
.rp-def dd { margin: 0; line-height: 1.7; color: var(--rp-text); }
.rp-more { margin-top: .5rem; }
.rp-more summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-family: var(--rp-font-head); font-weight: 700; color: var(--rp-brand-ink); cursor: pointer; list-style: none; }
.rp-more summary::-webkit-details-marker { display: none; }
.rp-more summary i { transition: transform .25s; }
.rp-more[open] summary i { transform: rotate(180deg); }
.rp-more__close, .rp-more[open] .rp-more__open { display: none; }
.rp-more[open] .rp-more__close { display: inline; }

/* services covered */
.rp-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rp-service { display: flex; flex-direction: column; padding: 1.3rem; border-radius: 20px; background: var(--rp-alt); border: 1px solid var(--rp-line); }
.rp-service__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem; border-radius: 13px; background: var(--rp-brand); color: var(--rp-on-brand); font-size: 1.15rem; }
.rp-service h3 { margin: 0 0 .4rem; font-size: 1.12rem; font-weight: 800; }
.rp-service p { margin: 0; font-size: .92rem; }
.rp-service .rp-alpha { flex: 1; font-size: .9rem; }
.rp-service__link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem; font-family: var(--rp-font-head); font-weight: 700; font-size: .9rem; color: var(--rp-brand-ink) !important; }
.rp-service__link:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.rp-note { margin: 1.2rem 0 0 !important; padding: 1rem 1.2rem; border-radius: 14px; background: var(--rp-soft); font-size: .92rem !important; color: var(--rp-muted) !important; }
.rp-note b { color: var(--rp-ink); }

/* what is not refundable */
.rp-nr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.6rem; }
.rp-nr__item { padding: 1.4rem 0 1.5rem; border-top: 1px solid var(--rp-line); font-size: .93rem; }
.rp-nr__item h3 { display: flex; align-items: center; gap: .75rem; margin: 0 0 .7rem; font-size: 1.02rem; font-weight: 800; }
.rp-nr__item h3 small { display: block; font-weight: 600; font-size: .78rem; color: var(--rp-brand-ink); }
.rp-nr__ico { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: var(--rp-soft); color: var(--rp-brand-ink); font-size: 1.05rem; }
.rp-nr__item p { margin: 0; }
.rp-nr__note { margin-top: .6rem !important; font-size: .88rem !important; color: var(--rp-muted) !important; }

/* 5.1 callout */
.rp-callout { padding: 1.4rem 1.5rem; border-radius: 20px; background: var(--rp-alt); border: 1px solid var(--rp-line); border-left: 5px solid var(--rp-brand); }
.rp-callout h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .5rem; font-size: 1.12rem; font-weight: 800; }
.rp-callout h3 i { color: var(--rp-brand-ink); }

/* refund matrix tabs + tables */
.rp-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 1.6rem 0 1.2rem; padding: 6px; border-radius: 999px; background: var(--rp-soft); border: 1px solid var(--rp-line); }
.rp-tab { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: transparent; font-family: var(--rp-font-head); font-weight: 700; font-size: .9rem; color: var(--rp-ink); transition: background .25s, color .25s; }
.rp-tab small { font-weight: 600; font-size: .76rem; color: var(--rp-brand-ink); }
.rp-tab:hover { background: var(--rp-surface); }
.rp-tab.is-active { background: var(--rp-brand); color: var(--rp-on-brand); }
.rp-tab.is-active small { color: var(--rp-on-brand); }
.rp-panel { scroll-margin-top: calc(var(--rp-header-h) + 24px); }
.rp-panel__title { margin: 0 0 .9rem; font-size: 1.15rem; font-weight: 800; }
.rp-panel__sub { margin: 1.4rem 0 .7rem; font-size: 1rem; font-weight: 800; }
.rp-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--rp-line); background: var(--rp-surface); }
.rp-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .93rem; }
.rp-table th, .rp-table td { padding: .85rem 1rem; border-top: 1px solid var(--rp-line); vertical-align: middle; text-align: left; }
.rp-table thead th { border-top: 0; background: var(--rp-dark); color: #fff; font-family: var(--rp-font-head); font-weight: 700; font-size: .86rem; }
.rp-table tbody th { font-family: var(--rp-font-head); font-weight: 700; color: var(--rp-ink); }
.rp-table tbody tr:nth-child(even) { background: var(--rp-alt); }
.rp-table td { white-space: nowrap; color: var(--rp-text); }
.rp-table td.rp-table__text { white-space: normal; color: var(--rp-muted); }
.rp-yes { font-family: var(--rp-font-head); color: #0F7A43; }
.rp-none { font-family: var(--rp-font-head); font-weight: 700; color: #C62828; }
.rp-pill { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-family: var(--rp-font-head); font-weight: 700; font-size: .8rem; }
.rp-pill--yes { background: #E6F7EE; color: #0F6E3C; }
.rp-pill--maybe { background: #FFF4DB; color: #8A5A00; }
.rp-pill--no { background: var(--rp-soft); color: var(--rp-muted); }

/* 8 review steps */
.rp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.rp-steps li { position: relative; display: grid; align-content: start; gap: .75rem; padding-right: 1.4rem; font-family: var(--rp-font-head); font-weight: 600; font-size: .92rem; color: var(--rp-ink); line-height: 1.45; }
.rp-steps li::before { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--rp-tint); }
.rp-steps li:nth-child(4n)::before, .rp-steps li:last-child::before { display: none; }
.rp-steps__no { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rp-brand); color: var(--rp-on-brand); font-weight: 700; box-shadow: 0 0 0 6px var(--rp-surface); }
.rp-steps li:last-child .rp-steps__no { background: var(--rp-dark); color: #fff; }

/* request a cancellation */
.rp-request { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 28px; background: var(--rp-dark); color: #fff; scroll-margin-top: calc(var(--rp-header-h) + 110px); }
.rp-request::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, var(--rp-brand), transparent 70%); opacity: .55; pointer-events: none; }
.rp-request > * { position: relative; z-index: 1; }
.rp-request h2 { margin: 0 0 .5rem; font-family: var(--rp-font-head); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.03em; color: #fff !important; }
.rp-request h2 span { color: var(--rp-glow); }
.rp-request p { max-width: 560px; margin: 0; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.rp-request p a { color: var(--rp-glow) !important; font-weight: 700; }
.rp-request__actions { display: flex; flex-wrap: wrap; gap: .7rem; flex-shrink: 0; }

/* keyboard focus */
.rp-toc__nav a:focus-visible, .rp-tab:focus-visible, .rp-toc summary:focus-visible, .rp-more summary:focus-visible,
.rp-aside__pdf:focus-visible, .rp-service__link:focus-visible, .rp-card a:focus-visible { outline: 2px solid var(--rp-brand-ink); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .rp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-steps li:nth-child(4n)::before { display: block; }
  .rp-steps li:nth-child(2n)::before { display: none; }
  .rp-line { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; }
  .rp-line__seg:nth-child(2)::before { right: 0; border-radius: 0 999px 999px 0; }
  .rp-line__seg:nth-child(3)::before { border-radius: 999px 0 0 999px; }
  .rp-services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
  .rp-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .rp-doc { width: min(100%, 300px); transform: rotate(-2deg); }
  .rp-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .rp-aside { position: static; }
  .rp-aside__help { display: none; }
  .rp-nr { grid-template-columns: minmax(0, 1fr); }
  .rp-def { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .rp-request { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .rp-hero { padding-bottom: 48px; }
  .rp-hero__actions .rp-btn, .rp-request__actions .rp-btn { width: 100%; }
  /* the download buttons above already open the PDF, so the sheet would only add scrolling */
  .rp-doc { display: none; }
  .rp-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .rp-steps li { grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: .9rem; padding: 0 0 1.1rem; }
  .rp-steps li > span:last-child { padding-top: .55rem; }
  .rp-steps__no { box-shadow: none; }
  .rp-steps li::before, .rp-steps li:nth-child(n)::before { display: block; top: 40px; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .rp-steps li:last-child::before { display: none; }
  .rp-line { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 1.4rem; }
  .rp-line__seg, .rp-line__seg--after { padding: .2rem 0 1.4rem 1.6rem; }
  .rp-line__seg::before, .rp-line__seg:nth-child(n)::before { top: 0; bottom: 3px; left: 0; right: auto; width: 8px; height: auto; border-radius: 0; }
  .rp-line__seg:first-child::before { border-radius: 999px 999px 0 0; }
  .rp-line__seg:last-child::before { bottom: 0; border-radius: 0 0 999px 999px; }
  .rp-line__seg--after { padding-top: 2rem; }
  .rp-line__seg--after::after { left: -6px; top: 0; height: 0; width: 20px; border-left: 0; border-top: 2px solid var(--rp-ink); }
  .rp-line__flag { left: 1.6rem; top: .4rem; padding-left: 0; }
  .rp-page p, .rp-intro, .rp-note, .rp-nr__item p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  .rp-tabs { display: grid; width: 100%; border-radius: 18px; }
  .rp-tab { justify-content: space-between; border-radius: 12px; }
  .rp-clauses > li { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .rp-clauses > li > span { justify-self: start; padding: 0 .6rem; }
  /* tables become stacked cards */
  .rp-table-wrap { border: 0; background: none; overflow: visible; }
  .rp-table thead { display: none; }
  .rp-table, .rp-table tbody, .rp-table tr, .rp-table th, .rp-table td { display: block; }
  .rp-table tr { margin-bottom: 10px; padding: .9rem 1rem; border-radius: 16px; border: 1px solid var(--rp-line); background: var(--rp-surface) !important; }
  .rp-table th, .rp-table td { padding: .2rem 0; border: 0; white-space: normal; }
  .rp-table tbody th { margin-bottom: .3rem; }
  .rp-table td[data-label] { display: flex; justify-content: space-between; gap: 1rem; }
  .rp-table td[data-label]::before { content: attr(data-label); font-family: var(--rp-font-head); font-weight: 600; font-size: .84rem; color: var(--rp-muted); }
  .rp-table td.rp-table__text { display: block; }
  .rp-table td.rp-table__text::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-doc, .rp-doc:hover, .rp-doc:focus-visible, .rp-btn, .rp-btn:hover { transition: none; transform: none; }
  .rp-toc summary::after, .rp-more summary i { transition: none; }
}
