/* The landing pages' own parts (tools/landing-pages.mjs writes this to routes/routes.css), on top of the site's
   styles.css: the header, footer, palette and fonts are the site's, so a page is one of its pages. */
.desktop-nav a[aria-current]{color:var(--blue);position:relative}
.desktop-nav a[aria-current]::after{content:'';position:absolute;left:0;right:0;bottom:-8px;height:2px;border-radius:2px;background:var(--blue)}
.mobile-nav a[aria-current]{color:var(--blue);font-weight:700}
.site-header.nav-tight .desktop-nav{display:none}
.site-header.nav-tight .menu-toggle{display:block}
.rp .footer-links>p{text-transform:uppercase}
[hidden]{display:none!important}
.rp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.rp-main{padding-bottom:72px}
.rp-main h1{font-size:clamp(2.5rem,5.2vw,3.7rem);font-weight:800;letter-spacing:-.045em}
.rp-main h2{font-size:clamp(1.45rem,2.4vw,1.9rem);font-weight:800;letter-spacing:-.035em;margin-bottom:6px}
.rp-main h3{font-size:1.05rem;font-weight:750;letter-spacing:-.02em}
.rp-main section{margin-top:52px}
.rp-main h2+.rp-chips,.rp-main h2+.rp-kinds,.rp-main h2+.rp-table{margin-top:16px}
.rp-sub{font-size:.95rem;margin-bottom:18px}

.rp-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:22px 0 16px;font-size:.8rem;color:var(--muted)}
.rp-crumbs a:hover{color:var(--blue)}
.rp-crumbs svg{width:12px;height:12px;opacity:.55}
.rp-crumbs [aria-current]{color:var(--ink-2)}

.rp-main .rp-hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px;align-items:stretch;margin-top:0}
.rp-intro{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:44px 40px;border:1px solid #e3ebfa;border-radius:var(--radius);background:linear-gradient(155deg,#edf3ff 0%,#f7faff 55%,#fff 100%)}
.rp-kicker{display:flex;align-items:center;gap:8px;margin-bottom:20px;color:var(--blue);font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.rp-kicker svg{width:17px;height:17px}
.rp-intro h1 span{display:block;margin-top:8px;color:var(--ink);font-size:.56em;letter-spacing:-.035em}
.rp-lead{max-width:32em;margin:20px 0 28px;font-size:1.05rem;color:var(--ink-2)}
.rp-cta{display:inline-flex;align-items:center;gap:12px;max-width:100%;padding:16px 28px;border-radius:999px;background:var(--blue);color:#fff;font-size:1.02rem;font-weight:700;box-shadow:0 12px 28px #0058e23d;transition:background .2s,transform .2s}
.rp-cta:hover{background:var(--blue-dark);transform:translateY(-1px)}
.rp-cta svg{flex:none;width:19px;height:19px}
.rp-cta-note{margin-top:16px;font-size:.84rem}

.rp-map{display:flex;flex-direction:column;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 14px 34px #0f1a2b0f}
.rp-map-img{position:relative;flex:1;display:flex;align-items:center;background:#edf0f4}
.rp-map-img img{width:100%;height:auto}
.rp-map-tag{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:7px;padding:8px 15px 8px 11px;border-radius:999px;background:#fff;color:var(--ink);font-size:.82rem;font-weight:700;box-shadow:0 6px 18px #0f1a2b24}
.rp-map-tag svg{width:16px;height:16px;color:var(--blue)}
.rp-map figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:13px 18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--ink-2)}
.rp-key{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.rp-key i{width:18px;height:4px;border-radius:2px}
.rp-key i.dot{width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--blue)}
.rp-map small{margin-left:auto;font-size:.72rem;color:var(--muted)}

.rp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0 0;padding:8px;list-style:none;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 8px 24px #0f1a2b08}
.rp-stats li{display:flex;align-items:center;gap:16px;padding:16px 20px}
.rp-stats li+li{border-left:1px solid var(--line)}
.rp-ico{flex:none;display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:var(--blue-tint);color:var(--blue)}
.rp-ico svg{width:24px;height:24px}
.rp-stats b{display:block;font-family:var(--display);font-size:1.8rem;font-weight:800;line-height:1.1;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.rp-stats div>span{font-size:.85rem;color:var(--muted)}

.rp-note{display:flex;align-items:flex-start;gap:14px;margin-top:18px;padding:15px 20px;border:1px solid #f1d9a6;border-radius:16px;background:#fff8ea}
.rp-note-mark{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f0a020;color:#fff;font-size:.9rem;font-weight:800;line-height:1}
.rp-note p{font-size:.86rem;line-height:1.55;color:var(--ink-2)}
.rp-note strong{color:var(--ink)}

.rp-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.rp-kind{display:flex;flex-direction:column;padding:22px 22px 16px;border:1px solid var(--line);border-radius:18px;background:#fff}
.rp-kind.is-exam{border-color:#d6e3fb;background:var(--blue-tint)}
.rp-kind-head{flex:1;display:flex;align-items:flex-start;gap:16px}
.rp-kind-mark{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:15px}
.rp-kind-mark svg{width:28px;height:28px}
.rp-kind h3{margin:3px 0 4px}
.rp-kind p{font-size:.86rem;line-height:1.5}
.rp-facts{display:flex;margin:18px 0 0;padding:14px 0 0;list-style:none;border-top:1px solid var(--line);font-size:.84rem;color:var(--ink-2);font-variant-numeric:tabular-nums}
.rp-kind.is-exam .rp-facts,.rp-kind.is-exam .rp-facts li+li{border-color:#d6e3fb}
.rp-facts li{flex:1;display:flex;align-items:center;gap:7px;white-space:nowrap}
.rp-facts li+li{padding-left:12px;border-left:1px solid var(--line)}
.rp-facts svg{flex:none;width:16px;height:16px;color:var(--muted)}

.rp-table{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff}
.rp-table table{width:100%;border-collapse:collapse;font-size:.92rem}
.rp-table th,.rp-table td{padding:14px 18px;border-bottom:1px solid var(--line);text-align:start;vertical-align:middle}
.rp-table tbody tr:last-child td{border-bottom:0}
.rp-table th{background:var(--soft);color:var(--ink-2);font-size:.8rem;font-weight:600;white-space:nowrap}
.rp-table td.n{white-space:nowrap;font-variant-numeric:tabular-nums}
.rp-table td.w{min-width:16em}
.rp-loop{display:inline-grid;place-items:center;min-width:38px;height:28px;padding:0 9px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:.8rem;font-weight:700}

.rp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:52px}
.rp-pair.rp-single{grid-template-columns:minmax(0,1fr)}
.rp-pair>div>section:first-child{margin-top:0}
.rp-pair>div>section+section{margin-top:36px}
.rp-pair>div:first-child:not(:last-child){padding-right:48px}
.rp-pair>div+div{padding-left:48px;border-left:1px solid var(--line)}
.rp-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.rp-chips li{padding:7px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink-2);font-size:.86rem}
.rp-links li{padding:0;border:0;background:none}
.rp-links a{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border-radius:999px;background:var(--blue-tint);color:var(--blue);font-size:.88rem;font-weight:600;transition:background .2s}
.rp-links a:hover{background:var(--blue-soft)}
.rp-links svg{flex:none;width:15px;height:15px}

.rp-main .rp-steps{padding:32px 36px;border:1px solid #e0e9fb;border-radius:var(--radius);background:var(--blue-tint)}
.rp-steps h2{margin-bottom:24px}
.rp-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin:0;padding:0;list-style:none;counter-reset:step}
.rp-steps li{position:relative;display:flex;align-items:center;gap:14px}
.rp-steps li::before{counter-increment:step;content:counter(step);flex:none;align-self:flex-start;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:.85rem;font-weight:800}
.rp-steps li:not(:last-child)::after{content:'';position:absolute;right:-22px;top:50%;width:8px;height:8px;border-top:2px solid #9fb6dd;border-right:2px solid #9fb6dd;transform:translateY(-50%) rotate(45deg)}
.rp-step-ico{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#fff;color:var(--blue);box-shadow:0 4px 14px #0058e214}
.rp-step-ico svg{width:26px;height:26px}
.rp-steps p{font-size:.92rem;line-height:1.5;color:var(--ink-2)}
.rp-steps .rp-cta{margin-top:28px}

.rp-intro-wide{margin-top:28px}
.rp-main .rp-intro-wide h1{max-width:20em;font-size:clamp(2rem,4.2vw,3rem)}
.rp-search{position:sticky;top:88px;z-index:5;margin:28px 0 14px;padding:12px 0;background:#ffffffee;backdrop-filter:blur(10px)}
.rp-search input{width:100%;padding:15px 18px;border:1px solid #cfd6e1;border-radius:14px;background:#fff;color:var(--ink);font-size:1.02rem}
.rp-search input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:transparent}
.rp-search output{display:block;margin-top:6px;font-size:.82rem;color:var(--muted)}
.rp-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:0;list-style:none}
.rp-jump a{display:inline-block;padding:5px 12px;border-radius:999px;background:var(--blue-tint);color:var(--blue);font-size:.84rem;font-weight:600}
.rp-jump a:hover{background:var(--blue-soft)}
.rp-main .rp-country{margin-top:36px;scroll-margin-top:200px}
.rp-main .rp-country h2{display:flex;align-items:baseline;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line);font-size:1.35rem}
.rp-country h2 small{font-family:var(--font);font-size:.85rem;font-weight:600;letter-spacing:0;color:var(--muted)}
.rp-places{columns:3 270px;column-gap:32px;margin:12px 0 0;padding:0;list-style:none}
.rp-places li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed #e6eaf1;break-inside:avoid}
.rp-places li.area{padding-left:16px}
.rp-places a{color:var(--ink);font-weight:600}
.rp-places a:hover{color:var(--blue)}
.rp-places a span{font-weight:400;color:var(--muted)}
.rp-places li>span{white-space:nowrap;font-size:.8rem;color:var(--muted)}

@media(max-width:1000px){
  .rp-main .rp-hero{grid-template-columns:minmax(0,1fr)}
  .rp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp-stats li:nth-child(3){border-left:0}
  .rp-stats li:nth-child(n+3){border-top:1px solid var(--line)}
  .rp-kinds{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp-pair{grid-template-columns:minmax(0,1fr)}
  .rp-pair>div:first-child:not(:last-child){padding-right:0}
  .rp-pair>div+div{margin-top:44px;padding-left:0;border-left:0}
}
@media(max-width:760px){.rp-search{top:74px}}
@media(max-width:640px){
  .rp-intro{padding:30px 22px}
  .rp-kinds{grid-template-columns:minmax(0,1fr)}
  .rp-stats{padding:4px}
  .rp-stats li{gap:12px;padding:14px 12px}
  .rp-ico{width:40px;height:40px;border-radius:12px}
  .rp-ico svg{width:20px;height:20px}
  .rp-stats b{font-size:1.35rem}
  .rp-map small{margin-left:0}
  .rp-main .rp-steps{padding:26px 22px}
  .rp-steps ol{grid-template-columns:minmax(0,1fr);gap:18px}
  .rp-steps li::after{display:none}
  .rp-table td.w{min-width:14em}
}
