/* ==========================================================================
   RexerLab v2 — corporate, scientific, dense. Loaded after style.css.
   Self-hosted only (mainland China): no Google Fonts or other Google assets.
   ========================================================================== */

/* Manrope (OFL 1.1, from WordPress' Twenty Twenty-Five theme), variable 200–800.
   The legacy name "Space Grotesk" is mapped to the same file, so older
   templates that still ask for it render consistently without extra bytes. */
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/manrope-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
/* IBM Plex Sans (OFL 1.1, IBM's @ibm/plex-sans 2.0.0 split files): brand
   typeface. Latin1 = Western Europe, Latin2 = Central Europe and Turkish. */
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Regular-Latin1.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Regular-Latin2.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-0130, U+0132-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-SemiBold-Latin1.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-SemiBold-Latin2.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0100-0130, U+0132-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Bold-Latin1.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Bold-Latin2.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-0130, U+0132-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* Brand D (Dec 2026): indigo + jade on porcelain. Variable names are kept
   from v2 so every component follows: --navy = indigo, --teal = deep jade. */
:root {
	--navy: #1E2A5A;
	--navy-2: #2B3A72;
	--slate: #4B5675;
	--slate-2: #5E6888;
	--line: #DCE2EE;
	--bg: #FFFFFF;
	--bg-alt: #F4F6FB;
	--teal: #1F7A60;
	--teal-dark: #165C48;
	--teal-tint: #E3F3EE;
	--jade: #2F9E7E;
	--jade-bright: #4CC3A0;
	--todo: #FFF1B8;
	--primary: var(--navy);
	--primary-hover: var(--navy-2);
	--text-main: var(--navy);
	--text-muted: var(--slate);
	--bg-offwhite: var(--bg-alt);
	--border-color: var(--line);
	--radius: 6px;
	--wrap: 1200px;
	--font: 'IBM Plex Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

body { font-family: var(--font); color: var(--navy); background: var(--bg); line-height: 1.55; font-size: 16px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
a { color: inherit; }

/* CJK summary pages: system fonts with full coverage, no web font download.
   Every phone and computer in China, Taiwan and Korea ships these. */
.rl-cjk { line-height: 1.75; }
.rl-lang-zh-hans { --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', 'IBM Plex Sans', 'Manrope', sans-serif; }
.rl-lang-zh-hant { --font: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', 'Source Han Sans TC', 'IBM Plex Sans', 'Manrope', sans-serif; }
.rl-lang-ko      { --font: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans CJK KR', 'Source Han Sans K', 'IBM Plex Sans', 'Manrope', sans-serif; }
.rl-cjk .rl-h1 { letter-spacing: 0; line-height: 1.3; }
[lang="en"] { font-family: 'IBM Plex Sans', 'Manrope', sans-serif; }

.rl-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.rl-skip:focus { left: 8px; }
.rl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- TODO markers: visible on purpose until the facts are confirmed --- */
mark.rl-todo { background: var(--todo); color: #5C4400; padding: 1px 5px; border-radius: 3px; font-size: .88em; font-weight: 600; border: 1px dashed #C9A100; }

/* --- Layout --- */
.rl-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.rl-narrow { max-width: 860px; }
.rl-section { padding: 80px 0; }
.rl-section.rl-tight { padding: 48px 0; }
.rl-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rl-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rl-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rl-gap-sm { gap: 16px; margin-top: 24px; }
.rl-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.rl-center { text-align: center; margin-top: 28px; }
.rl-mt { margin-top: 20px; }

/* --- Type --- */
.rl-h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 18px; }
.rl-h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.rl-lead { font-size: 19px; line-height: 1.6; color: var(--slate); max-width: 680px; }
.rl-lead-sm { font-size: 17px; line-height: 1.65; color: var(--slate); max-width: 720px; margin-bottom: 12px; }
.rl-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.rl-head { max-width: 760px; margin-bottom: 36px; }
.rl-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; margin-top: 8px; }
.rl-intro { font-size: 17px; color: var(--slate); margin-top: 12px; line-height: 1.6; }
.rl-sub { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-2); margin: 36px 0 16px; }
.rl-note { font-size: 13.5px; color: var(--slate-2); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.rl-icon { flex-shrink: 0; vertical-align: -0.2em; }

/* --- Buttons --- */
.rl-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--radius); font: 600 15px/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-decoration: none; }
.rl-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.rl-btn-primary { background: var(--navy); color: #fff; }
.rl-btn-primary:hover { background: var(--navy-2); }
.rl-btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.rl-btn-ghost:hover { border-color: var(--navy); }
.rl-btn-light { background: #fff; color: var(--navy); }
.rl-btn-light:hover { background: var(--teal-tint); }
.rl-btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.rl-btn-ghost-light:hover { border-color: #fff; }
.rl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rl-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); font-size: 15px; }
.rl-more:hover { color: var(--teal-dark); }

/* --- Header --- */
.rl-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.rl-header .header-inner { max-width: var(--wrap); padding: 0 32px; height: 72px; gap: 20px; }
.rl-header .header-logo img { height: 36px; width: auto; }
.rl-header .header-nav { gap: 22px; }
.rl-header .header-nav a { font-size: 14px; font-weight: 600; color: var(--slate); }
.rl-header .header-nav a:hover, .rl-header .header-nav a[aria-current="page"] { color: var(--teal); }
.rl-header .header-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); padding-bottom: 4px; }
.rl-header .header-actions { gap: 10px; }
.rl-header .search-btn { height: 40px; width: 40px; padding: 0; justify-content: center; border-radius: var(--radius); border-color: var(--line); color: var(--slate); }
.nav-langs-mobile { display: none; }
.rl-lang { position: relative; }
.rl-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--slate); }
.rl-lang summary::-webkit-details-marker { display: none; }
.rl-lang ul { position: absolute; right: 0; top: 46px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15,39,66,.12); padding: 6px; min-width: 150px; z-index: 60; }
.rl-lang a { display: block; padding: 9px 12px; border-radius: 4px; font-size: 14.5px; }
.rl-lang a:hover, .rl-lang a[aria-current] { background: var(--teal-tint); color: var(--teal-dark); }

/* --- Hero --- */
.rl-hero, .rl-page-head { background: linear-gradient(180deg, #F3F6F9 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line); }
.rl-hero { padding: 64px 0 56px; }
.rl-page-head { padding: 40px 0 48px; }
.rl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: center; }
.rl-kicker-hero { background: var(--teal-tint); padding: 6px 12px; border-radius: 100px; }
.rl-hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--slate); }
.rl-hero-note a { color: var(--teal); font-weight: 700; }
.rl-hero-photo { margin: 0; }
.rl-hero-photo figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; font-size: 14px; }
.rl-hero-photo figcaption span { color: var(--slate-2); }
.rl-crumbs { font-size: 13.5px; color: var(--slate-2); margin-bottom: 18px; }
.rl-crumbs a:hover { color: var(--teal); }
.rl-for { margin-top: 14px; font-weight: 700; color: var(--navy); }

/* --- Photo slots --- */
.rl-photo { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: #E7ECF2; }
.rl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-photo-slot { display: flex; align-items: center; justify-content: center; text-align: center; border: 2px dashed #AFC0D3; color: var(--slate); font-size: 14px; font-weight: 700; padding: 16px; background: repeating-linear-gradient(45deg, #EEF2F6, #EEF2F6 12px, #E7ECF2 12px, #E7ECF2 24px); }
.rl-photo-brand { display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 30% 20%, #2A3A78 0%, var(--navy) 60%); }
.rl-photo-brand svg { width: 46%; height: auto; }
.rl-photo-slot small { font-weight: 500; color: var(--slate-2); font-family: var(--mono); font-size: 11.5px; }

/* --- Proof strip --- */
.rl-proof { background: var(--navy); color: #fff; }
.rl-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rl-proof dd { font-family: var(--font); }
.rl-proof-grid > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 26px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.rl-proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.rl-proof dd { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.rl-proof dt { font-size: 14px; color: #C3CBE3; line-height: 1.45; }
.rl-proof mark.rl-todo { font-size: 15px; }

/* --- Cards --- */
.rl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.rl-card-link { display: block; transition: border-color .15s, box-shadow .15s; }
.rl-card-link:hover { border-color: var(--teal); box-shadow: 0 10px 28px rgba(15,39,66,.08); }
.rl-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 12px 0 8px; }
.rl-card p { color: var(--slate); font-size: 15.5px; }
.rl-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.rl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.rl-chips span { font-size: 13px; font-weight: 600; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; color: var(--navy-2); }
.rl-chips-lg span { font-size: 15px; padding: 7px 14px; }
.rl-aud .rl-more { margin-top: 4px; }

/* --- Lists --- */
.rl-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rl-list li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--navy); }
.rl-list li .rl-icon { color: var(--teal); margin-top: 2px; }
.rl-list-muted li { color: var(--slate); }
.rl-list-muted li .rl-icon { color: #B0473A; }

/* --- Problems --- */
.rl-problems { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rl-problems li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rl-problems h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.rl-problems p { font-size: 14.5px; color: var(--slate); }
.rl-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.rl-why { border-left: 4px solid var(--jade); }
.rl-why h3 { margin-top: 0; }
.rl-rule { display: flex; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy) !important; }
.rl-rule .rl-icon { color: var(--teal); }

/* --- Packages --- */
.rl-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: pk; }
.rl-pack { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--jade); border-radius: var(--radius); padding: 24px; }
.rl-pack-top { display: flex; align-items: center; gap: 12px; }
.rl-pack h3 { font-size: 20px; font-weight: 700; }
.rl-step { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: var(--teal-tint); color: var(--teal-dark); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.rl-step-lg { width: 52px; height: 52px; font-size: 22px; }
.rl-price { font-size: 26px; font-weight: 700; color: var(--navy); margin-top: 16px; letter-spacing: -0.01em; }
.rl-price span { display: block; font-size: 13.5px; font-weight: 600; color: var(--slate-2); letter-spacing: 0; margin-top: 2px; }
.rl-pkg-meta .rl-price span, .rl-table .rl-price span { display: inline; }
.rl-dur { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; color: var(--slate); margin-top: 4px; }
.rl-pack-sum { font-size: 15px; color: var(--slate); margin: 14px 0; flex-grow: 1; }
.rl-credit { font-size: 13.5px; font-weight: 700; color: var(--teal-dark); background: var(--teal-tint); border-radius: 4px; padding: 7px 10px; margin-bottom: 14px; display: flex; gap: 6px; align-items: center; }
.rl-pack-extra { display: flex; gap: 10px; margin-top: 20px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); font-size: 15px; color: var(--slate); }
.rl-pack-extra a { color: var(--teal); font-weight: 700; }

/* --- Flow diagram (home) --- */
.rl-flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: fl; }
.rl-flow > li { position: relative; background: #fff; border: 1px solid var(--line); padding: 26px 26px 24px 26px; margin-right: 28px; border-radius: var(--radius); }
.rl-flow > li:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A60' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.rl-flow > li:last-child { margin-right: 0; }
.rl-flow-when { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 4px 10px; border-radius: 4px; }
.rl-flow h3 { font-size: 19px; font-weight: 700; margin: 14px 0 14px; }

/* --- Case teaser --- */
.rl-case-teaser { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; }
.rl-case-teaser h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; font-weight: 700; margin: 10px 0; }

/* --- Map --- */
.rl-map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.rl-map { display: block; width: 100%; height: auto; }
.rl-map path { fill: #DCE3EB; stroke: #fff; stroke-width: .5; }
.rl-map path.is-worked { fill: #A9B4D3; }
.rl-map path.is-partner, .rl-map .rl-map-dot.is-partner { fill: var(--jade); }
.rl-map path.is-base { fill: var(--navy); }
.rl-map-dot { stroke: #fff; stroke-width: 1.5; }
.rl-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; font-size: 14.5px; color: var(--slate); }
.rl-legend li { display: flex; align-items: center; gap: 8px; }
.rl-sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.rl-sw.is-base { background: var(--navy); }
.rl-sw.is-partner { background: var(--jade); }
.rl-sw.is-worked { background: #A9B4D3; }

/* --- FAQ --- */
.rl-faq { border-bottom: 1px solid var(--line); }
.rl-faq details { border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.rl-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; }
.rl-faq summary::-webkit-details-marker { display: none; }
.rl-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--teal); }
.rl-faq details[open] summary::after { content: "\2212"; }
.rl-faq summary h3 { display: inline; font-size: 17px; font-weight: 700; }
.rl-faq details p { padding: 0 44px 22px 0; color: var(--slate); font-size: 15.5px; line-height: 1.65; }

/* --- CTA band --- */
.rl-cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.rl-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.rl-cta-band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.rl-cta-band p { color: #C3CBE3; max-width: 640px; margin-top: 8px; font-size: 16px; }
.rl-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Channels --- */
.rl-channels { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.rl-channels li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rl-channels .rl-icon { grid-row: span 2; color: var(--teal); margin-top: 2px; }
.rl-ch-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }
.rl-channels a { font-weight: 700; color: var(--navy); word-break: break-word; }
.rl-channels a:hover { color: var(--teal); }
.rl-channels small { grid-column: 2; font-size: 12.5px; color: var(--slate-2); margin-top: 4px; }
.rl-ch-book { grid-column: 1 / -1; background: var(--teal-tint) !important; border-color: #BCDADA !important; }
aside .rl-channels { grid-template-columns: 1fr; }

/* --- Tables --- */
.rl-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rl-table th, .rl-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rl-table thead th { background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.rl-table tbody tr:last-child th, .rl-table tbody tr:last-child td { border-bottom: 0; }
.rl-table tbody th { font-weight: 700; white-space: nowrap; }
.rl-table tbody th a { color: var(--teal-dark); }
.rl-table small { color: var(--slate-2); }

/* --- Package detail --- */
.rl-pkg { border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.rl-pkg:nth-of-type(even) { background: var(--bg-alt); }
.rl-pkg-head, .rl-how-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.rl-pkg-head h2, .rl-how-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.rl-pkg-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 6px 0 10px; color: var(--slate); font-weight: 700; font-size: 14.5px; }
.rl-pkg-meta .rl-price { margin: 0; font-size: 24px; }
.rl-pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rl-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rl-box h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.rl-box h3 .rl-icon { color: var(--teal); }
.rl-box-muted { background: #FAFBFC; }
.rl-box .rl-list li { font-size: 14.5px; }

/* --- Timeline --- */
.rl-timeline { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); position: relative; overflow-x: auto; padding-bottom: 6px; }
.rl-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 50px; height: 2px; background: var(--line); }
.rl-timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 18px; }
.rl-tl-when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); min-height: 24px; }
.rl-tl-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.rl-tl-what { font-size: 14.5px; color: var(--slate); line-height: 1.5; }

/* --- How I work --- */
.rl-principle .rl-icon { color: var(--teal); }
.rl-principle h3 { font-size: 17px; }
.rl-principle p { font-size: 14.5px; }
.rl-tz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
.rl-tz > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--slate); }
.rl-tz small { color: var(--slate-2); }
.rl-tz strong { font-size: 20px; color: var(--navy); }
.rl-tz > div:first-child { border-color: var(--teal); background: var(--teal-tint); }
.rl-tz .rl-note { grid-column: 1 / -1; margin: 0; }

/* --- Case study --- */
.rl-case { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.rl-case > li { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.rl-case h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.rl-case p { color: var(--slate); margin-bottom: 8px; }
.rl-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rl-result { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; font-weight: 700; }

/* --- About --- */
.rl-cv { list-style: none; border-left: 2px solid var(--line); margin-left: 6px; }
.rl-cv li { position: relative; padding: 0 0 26px 26px; }
.rl-cv li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.rl-cv span { font-weight: 700; color: var(--teal-dark); font-size: 14px; letter-spacing: .04em; }
.rl-cv p { color: var(--slate); margin-top: 4px; }
.rl-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rl-facts dt { font-weight: 700; color: var(--slate-2); }

/* --- Resources --- */
.rl-download { display: flex; gap: 18px; align-items: flex-start; }
.rl-download > .rl-icon { color: var(--teal); }
.rl-download h3 { margin-top: 0; }
.rl-download .rl-btn { margin-top: 14px; }
.rl-article h3 { font-size: 18px; }

/* --- Contact --- */
.rl-contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.rl-steps-sm { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--slate); font-size: 15px; }
.rl-address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--slate); }

/* --- Forms: restyle the shared components to the new palette --- */
.rx-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.rx-field input, .rx-field select, .rx-field textarea { border-radius: var(--radius); border-color: #C5D0DC; font-family: var(--font); }
.rx-option:has(input:checked) { background: var(--navy); border-color: var(--navy); }
.rx-tabs [role=tab] { border-radius: var(--radius); font-family: var(--font); }
.rx-tabs [role=tab][aria-selected=true] { border-color: var(--teal); box-shadow: inset 0 -3px 0 var(--teal); }
.rx-actions .rl-btn { border: 0; }

/* --- Footer --- */
.rl-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 14.5px; color: var(--slate); }
.rl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.rl-footer h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.rl-footer nav a, .rl-footer-grid > div > a { display: block; padding: 4px 0; }
.rl-footer a:hover { color: var(--teal); }
.rl-footer-brand img { height: 44px; width: auto; margin-bottom: 12px; }
.rl-footer-small { font-size: 13px; margin-top: 10px; color: var(--slate-2); }
.rl-footer-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; }
.rl-footer-langs a { display: inline !important; font-weight: 700; }
.rl-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* Legacy pages (products, articles) adopt the new palette and widths. */
.container { max-width: var(--wrap); }
.btn-primary { background: var(--navy); border-radius: var(--radius); }
.btn-primary:hover { background: var(--navy-2); }

/* --- Responsive --- */
@media (max-width: 1180px) {
	.rl-header .header-nav { gap: 16px; }
	.rl-header .header-nav a { font-size: 13.5px; }
}
@media (max-width: 1080px) {
	.rl-pkg-grid { grid-template-columns: 1fr 1fr; }
	.rl-grid-4 { grid-template-columns: 1fr 1fr; }
	.rl-tz { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
	.rl-header .header-nav.is-open { background: #fff; }
	.nav-langs-mobile { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 12px 4px; }
	.nav-langs-mobile a { border: 0 !important; padding: 4px 0 !important; }
	.rl-lang { display: none; }
	.rl-hero-grid, .rl-split, .rl-contact-grid, .rl-case-teaser { grid-template-columns: 1fr; gap: 32px; }
	.rl-hero-photo, .rl-page-head .rl-photo { max-width: 360px; }
	.rl-packs, .rl-flow, .rl-grid-3 { grid-template-columns: 1fr; }
	.rl-flow > li { margin: 0 0 28px; }
	.rl-flow > li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%) rotate(90deg); }
	.rl-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.rl-wrap { padding: 0 16px; }
	.rl-header .header-inner { padding: 0 16px; height: 64px; }
	.rl-header .header-cta { display: none; }
	.rl-section { padding: 56px 0; }
	.rl-hero { padding: 40px 0; }
	.rl-lead { font-size: 17px; }
	.rl-grid-2, .rl-problems, .rl-pkg-grid, .rl-grid-4, .rl-results { grid-template-columns: 1fr; }
	.rl-proof-grid { grid-template-columns: 1fr 1fr; }
	.rl-proof-grid > div { padding: 18px 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
	.rl-proof-grid > div:nth-child(-n+2) { border-top: 0; }
	.rl-proof dd { font-size: 26px; }
	.rl-timeline { grid-auto-flow: row; grid-auto-columns: auto; }
	.rl-timeline::before { left: 15px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.rl-timeline li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 14px; padding: 0 0 18px; }
	.rl-tl-dot { grid-row: 1 / span 2; }
	.rl-tl-when { min-height: 0; }
	.rl-tz { grid-template-columns: 1fr 1fr; }
	.rl-case > li { flex-direction: column; padding: 20px; }
	.rl-pkg-head, .rl-how-head { flex-direction: column; gap: 12px; }
	.rl-actions .rl-btn { width: 100%; justify-content: center; }
	.rl-footer-grid { grid-template-columns: 1fr; }
	.rl-table tbody th { white-space: normal; }
	.rl-map-wrap { padding: 6px; }
}

/* --- Brand D: wordmark and mono details --- */
.rl-logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; color: var(--navy); }
/* Same proportions as assets/brand/logo-horizontal.png: rings as tall as the
   ascenders, gap about a third of the font size, no side padding on the mark. */
.rl-logo svg { width: 48px; height: 48px; flex-shrink: 0; margin-left: -7px; }
.rl-logo-word { font-family: 'IBM Plex Sans', 'Manrope', sans-serif; font-size: 29px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.rl-logo-word span { font-weight: 400; color: var(--teal); }
.rl-footer .rl-footer-brand > a.rl-logo { display: inline-flex; padding: 0; margin-bottom: 14px; }
.rl-logo:hover .rl-logo-word { color: var(--navy); }
.rl-flow-when, .rl-tl-when, .rl-step, .rl-tag, .rl-kicker, .rl-ch-label { font-family: var(--mono); letter-spacing: 0.02em; }
.rl-kicker, .rl-tag, .rl-flow-when, .rl-tl-when { letter-spacing: 0.08em; }
.rl-price { font-family: var(--font); letter-spacing: -0.01em; }
.rl-kicker-hero { background: var(--teal-tint); color: var(--teal-dark); }
.rl-aud h3 { font-size: 21px; }
.rl-aud > p { margin-bottom: 4px; }
.rl-aud-sub { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 6px 0 12px; }
.rl-aud .rl-hero-note { margin-top: 18px; }
.rl-case-teaser .rl-list { margin-top: 16px; }
.rl-case-teaser .rl-results { grid-template-columns: 1fr; }
.rl-kicker-hero { font-family: var(--font); }

/* Turnstile: empty unless Cloudflare needs the visitor to click. */
.rx-turnstile:not(:empty) { margin: 4px 0 14px; }

/* Hero: global regions panel */
.rl-regions-wrap { padding: 0; }
.rl-photo-brand .rl-regions { width: 100%; height: 100%; }
.rl-rg-kicker { fill: #4CC3A0; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-anchor: middle; }
.rl-rg-pill { fill: rgba(244,246,251,.08); stroke: rgba(244,246,251,.55); stroke-width: 1.2; }
.rl-rg-label { fill: #F4F6FB; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; }
.rl-rg-cc { fill: #AFC0E8; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-anchor: middle; }
.rl-rg-arrow { fill: none; stroke: #4CC3A0; stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .85; animation: rl-rg-flow 1.6s linear infinite; }
@keyframes rl-rg-flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .rl-rg-arrow { animation: none; } }

/* LinkedIn + YouTube links: header (desktop), mobile menu, footer. */
.rl-social { display: inline-flex; align-items: center; gap: 4px; }
.rl-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: var(--slate); transition: color .15s, background .15s; }
.rl-social a:hover { color: var(--teal); background: var(--teal-tint); }
.rl-social-header { margin-right: 4px; }
.nav-social-mobile { display: none; }
.rl-footer .rl-footer-brand .rl-social-footer { display: flex; margin: -4px 0 12px -10px; }
.rl-footer .rl-footer-brand .rl-social-footer a { display: inline-flex; padding: 0; }
@media (max-width: 992px) {
	.rl-social-header { display: none; }
	.nav-social-mobile { display: flex; padding: 8px 0 0; }
	.nav-social-mobile a { border: 0 !important; padding: 0 !important; width: 40px !important; }
}

/* Hero world map (rl_regions_panel): sliding map + flowing arcs */
.rl-photo-brand .rl-wm { width: 100%; height: 100%; }
.rl-wm-sub { fill: #AFC0E8; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-anchor: middle; }
.rl-wm-land path { fill: #2B3A72; stroke: #1E2A5A; stroke-width: .6; }
.rl-wm-land path.is-partner { fill: #2F9E7E; }
.rl-wm-land path.is-worked { fill: #3E6FA8; }
.rl-wm-track { animation: rl-wm-pan 70s linear infinite; }
@keyframes rl-wm-pan { from { transform: translateX(0); } to { transform: translateX(-1000px); } }
.rl-wm-arc { fill: none; stroke: #4CC3A0; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 7; opacity: .9; animation: rl-rg-flow 1.4s linear infinite; }
.rl-wm-dot { fill: #F4F6FB; }
.rl-wm-dot.is-partner { fill: #4CC3A0; }
.rl-wm-dot.is-worked { fill: #8FB4E6; }
.rl-wm-dot.is-hub { fill: #F4F6FB; stroke: #4CC3A0; stroke-width: 2; }
.rl-wm-ping { fill: none; stroke: #4CC3A0; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: rl-wm-ping 2.6s ease-out infinite; }
.rl-wm-ping.is-worked { stroke: #8FB4E6; }
.rl-wm-ping.is-hub { stroke: #F4F6FB; }
@keyframes rl-wm-ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.rl-wm-legend text { fill: #AFC0E8; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .rl-wm-track, .rl-wm-arc, .rl-wm-ping { animation: none; } .rl-wm-ping { opacity: 0; } }
