/* ZOYTAR REDESIGN PREVIEW — the stylesheet for /Page1, /page2, /page3 and /page4 only.
 *
 * Loaded by resources/views/redesign/layout.blade.php and by nothing else, so it cannot reach a live
 * page; every selector still starts at .rd as a second guard. Hand-written rather than Tailwind so
 * the shared css/app.css is not rebuilt for a preview.
 *
 * Logical properties throughout (inline-start/end, not left/right): the pages mirror for Arabic.
 *
 * TOKENS. Brand blue and the orange of the logo's play mark are the house colours. Each page sets
 * --rd-tone from its product (lv_products(): Tutor violet, Enterprise navy, ERP green), so the four
 * pages share one system and still read as four products.
 */

.rd {
    --rd-blue: #0757D5;
    --rd-blue-600: #0646AD;
    --rd-blue-50: #EEF5FF;
    --rd-blue-100: #D9E8FF;
    --rd-orange: #FF8A00;
    --rd-orange-ink: #B84A00;
    --rd-navy: #0B1838;
    --rd-navy-2: #12224A;
    --rd-ink: #111827;
    --rd-ink-2: #374151;
    --rd-muted: #5B6474;
    --rd-faint: #677083;
    --rd-line: #E5E9F0;
    --rd-line-2: #EEF1F6;
    --rd-paper: #FFFFFF;
    --rd-soft: #F7F9FC;
    --rd-ok: #047857;

    --rd-tone: var(--rd-blue);
    --rd-tone-ink: var(--rd-blue-600);
    --rd-tone-bg: var(--rd-blue-50);
    --rd-tone-glow: rgba(7, 87, 213, .22);

    --rd-display: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
    --rd-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --rd-r-sm: 10px;
    --rd-r: 16px;
    --rd-r-lg: 24px;
    --rd-r-xl: 32px;
    --rd-shadow-1: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 1px rgba(17, 24, 39, .03);
    --rd-shadow-2: 0 2px 4px rgba(17, 24, 39, .04), 0 12px 32px -8px rgba(17, 24, 39, .12);
    --rd-shadow-3: 0 4px 8px rgba(17, 24, 39, .04), 0 32px 64px -16px rgba(17, 24, 39, .22);
    --rd-wrap: 1200px;
    --rd-gutter: clamp(20px, 4vw, 40px);
    --rd-section: clamp(52px, min(6vw, 10vh), 88px);
    --rd-ease: cubic-bezier(.2, .7, .2, 1);
}
.rd.rd-tutor  { --rd-tone: #7C3AED; --rd-tone-ink: #5B21B6; --rd-tone-bg: #F5F3FF; --rd-tone-glow: rgba(124, 58, 237, .22); }
.rd.rd-ent    { --rd-tone: #1E40AF; --rd-tone-ink: #1E3A8A; --rd-tone-bg: #EFF6FF; --rd-tone-glow: rgba(59, 130, 246, .30); }
.rd.rd-erp    { --rd-tone: #047857; --rd-tone-ink: #065F46; --rd-tone-bg: #ECFDF5; --rd-tone-glow: rgba(16, 185, 129, .22); }

/* ---------------------------------------------------------------- base */
.rd, .rd *, .rd *::before, .rd *::after { box-sizing: border-box; }
.rd { margin: 0; background: var(--rd-paper); color: var(--rd-ink-2); font-family: var(--rd-body); font-size: 16px; line-height: 1.6;
      -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* resets at zero specificity (:where), so any component class beats them */
:where(.rd) img { max-width: 100%; height: auto; display: block; }
:where(.rd) a { color: inherit; text-decoration: none; }
:where(.rd) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
:where(.rd) :where(ul, ol) { padding: 0; list-style: none; }
:where(.rd) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.rd :focus-visible { outline: 3px solid var(--rd-orange); outline-offset: 3px; border-radius: 6px; }
.rd ::selection { background: var(--rd-tone); color: #fff; }
.rd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--rd-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.rd-skip:focus { top: 12px; }

.rd-wrap { width: 100%; max-width: calc(var(--rd-wrap) + 2 * var(--rd-gutter)); margin-inline: auto; padding-inline: var(--rd-gutter); }
.rd-section { padding-block: var(--rd-section); position: relative; }
.rd-section--soft { background: var(--rd-soft); }
.rd-section--tight { padding-block: clamp(44px, 5vw, 68px); }

/* ---------------------------------------------------------------- type */
.rd-display, .rd h1 { font-family: var(--rd-display); color: var(--rd-ink); font-weight: 800; letter-spacing: -.035em;
    font-size: clamp(2rem, min(1.1rem + 2.6vw, .5rem + 5.6vh), 3.75rem); line-height: 1.05; text-wrap: balance; }
.rd h2, .rd-h2 { font-family: var(--rd-display); color: var(--rd-ink); font-weight: 800; letter-spacing: -.03em;
    font-size: clamp(1.6rem, min(1.05rem + 1.7vw, .6rem + 3.8vh), 2.6rem); line-height: 1.1; text-wrap: balance; }
.rd h3, .rd-h3 { font-family: var(--rd-display); color: var(--rd-ink); font-weight: 700; letter-spacing: -.015em; font-size: 1.12rem; line-height: 1.3; }
.rd-lede { font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.6; color: var(--rd-muted); max-width: 40rem; text-wrap: pretty; }
.rd-small { font-size: .875rem; color: var(--rd-muted); }
.rd-eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-tone-ink); }
/* the logo's play mark, as the house glyph */
.rd-eyebrow::before { content: ""; width: .7em; height: .8em; background: var(--rd-orange); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
html[dir="rtl"] .rd-eyebrow::before { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
html[dir="rtl"] .rd-eyebrow { letter-spacing: 0; }
.rd-mark { color: var(--rd-tone); }
.rd-grad { background: linear-gradient(100deg, var(--rd-tone-ink) 0%, var(--rd-tone) 45%, color-mix(in srgb, var(--rd-tone) 60%, #38BDF8) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd-head { max-width: 48rem; }
.rd-head--center { margin-inline: auto; text-align: center; }
.rd-head > * + * { margin-top: 14px; }
.rd-num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons */
.rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 20px; border-radius: 11px;
    font-weight: 650; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap; border: 1px solid transparent;
    transition: transform .2s var(--rd-ease), box-shadow .2s var(--rd-ease), background-color .2s, border-color .2s, color .2s; }
.rd-btn svg { width: 18px; height: 18px; transition: transform .2s var(--rd-ease); }
.rd-btn:hover svg { transform: translateX(3px); }
html[dir="rtl"] .rd-btn svg { transform: scaleX(-1); }
html[dir="rtl"] .rd-btn:hover svg { transform: scaleX(-1) translateX(3px); }
.rd-btn--primary { background: var(--rd-tone); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -6px var(--rd-tone-glow); }
.rd-btn--primary:hover { background: var(--rd-tone-ink); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 14px 28px -8px var(--rd-tone-glow); }
.rd-btn--secondary { background: #fff; color: var(--rd-ink); border-color: var(--rd-line); box-shadow: var(--rd-shadow-1); }
.rd-btn--secondary:hover { border-color: #CBD3DF; transform: translateY(-1px); }
.rd-btn--light { background: #fff; color: var(--rd-navy); }
.rd-btn--light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.rd-btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.rd-btn--ghost-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.rd-btn--sm { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rd-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; color: var(--rd-tone-ink); }
.rd-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- preview ribbon */
.rd-ribbon { background: var(--rd-navy); color: #C9D3EA; font-size: .78rem; }
.rd-ribbon .rd-wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding-block: 6px; }
.rd-ribbon strong { color: #fff; font-weight: 650; }
.rd-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rd-ribbon nav { display: flex; gap: 4px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rd-ribbon nav::-webkit-scrollbar { display: none; }
.rd-ribbon .rd-wrap > * { min-width: 0; }
.rd-ribbon nav a { white-space: nowrap; }
.rd-ribbon nav a { text-decoration: none; padding: 3px 10px; border-radius: 999px; color: #C9D3EA; }
.rd-ribbon nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------------------------------------------------------- navigation */
.rd-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.rd-nav.is-stuck { border-bottom-color: var(--rd-line); box-shadow: 0 6px 24px -18px rgba(17,24,39,.35); }
.rd-nav__bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.rd-nav__logo { display: inline-flex; align-items: center; flex: none; }
.rd-nav__logo img { height: 26px; width: auto; }
.rd-nav__links { display: flex; align-items: center; gap: 4px; margin-inline-end: auto; }
.rd-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; font-size: .9rem; font-weight: 550; color: var(--rd-ink-2); transition: background-color .15s, color .15s; }
.rd-nav__link:hover { background: var(--rd-soft); color: var(--rd-ink); }
.rd-nav__link[aria-current="page"] { color: var(--rd-tone-ink); background: var(--rd-tone-bg); }
.rd-nav__end { display: flex; align-items: center; gap: 8px; }
.rd-menu__dot { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--rd-display); font-weight: 800; }
.rd-nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; margin-inline-start: auto; }
.rd-nav__toggle:hover { background: var(--rd-soft); }
.rd-nav__toggle svg { width: 24px; height: 24px; }
.rd-drawer { display: none; }

/* the menus (partials/header): open on hover with a mouse, on click/Enter always (redesign.js) */
.rd-nav__item { position: relative; }
.rd-nav__link { background: none; border: 0; cursor: pointer; font-family: inherit; }
.rd-chev { width: 14px; height: 14px; transition: transform .15s; }
.rd-nav__link[aria-expanded="true"] { background: var(--rd-soft); color: var(--rd-ink); }
.rd-nav__link[aria-expanded="true"] .rd-chev { transform: rotate(180deg); }
.rd-nav__plus { color: var(--rd-orange-ink); }
.rd-nav__plus svg { width: 16px; height: 16px; }
.rd-nav__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 9px; border-radius: 10px;
    color: var(--rd-ink-2); background: none; border: 0; cursor: pointer; font: 600 .85rem var(--rd-body); }
.rd-nav__icon:hover, .rd-nav__icon[aria-expanded="true"] { background: var(--rd-soft); color: var(--rd-ink); }
.rd-nav__icon svg { width: 20px; height: 20px; flex: none; }
.rd-badge { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rd-orange); color: #fff;
    font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.rd-menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 60; min-width: 240px; padding: 10px; background: #fff; border: 1px solid var(--rd-line);
    border-radius: var(--rd-r); box-shadow: var(--rd-shadow-3); opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .15s, transform .15s var(--rd-ease), visibility 0s .15s; }
.rd-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; } /* the gap the pointer crosses */
.rd-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s var(--rd-ease); }
@media (hover: hover) and (min-width: 1081px) {
    .rd-nav__item:hover > .rd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s .08s, transform .15s .08s var(--rd-ease); }
}
.rd-menu__label { margin: 4px 8px 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-faint); }
.rd-menu--list { min-width: 230px; padding: 6px; }
.rd-menu--list a { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 10px; font-size: .9rem; font-weight: 550; color: var(--rd-ink-2); white-space: nowrap; }
.rd-menu--list a:hover { background: var(--rd-soft); color: var(--rd-ink); }
.rd-menu--list a:hover .rd-xp__ti { background: var(--rd-blue); color: #fff; }
.rd-xp__ti { transition: background-color .15s, color .15s; }
.rd-drawer .rd-xp__ti { width: 30px; height: 30px; }
.rd-menu__hubrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 4px; }
.rd-menu__hubrow + .rd-menu__hubrow { border-top: 1px dashed var(--rd-line-2); }
.rd-menu__cat { flex: 0 0 150px; font-weight: 700; color: var(--rd-ink); font-size: .9rem; }
.rd-menu__cat:hover { color: var(--rd-blue); }
.rd-menu__chip { padding: 4px 10px; border-radius: 999px; background: var(--rd-soft); border: 1px solid var(--rd-line); font-size: .8rem; font-weight: 550; color: var(--rd-ink-2); }
.rd-menu__chip:hover { background: var(--rd-blue-50); border-color: var(--rd-blue-100); color: var(--rd-blue-600); }
.rd-menu__chip--more { background: none; border-style: dashed; color: var(--rd-blue); }
.rd-menu__prod { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--rd-ink-2); }
.rd-menu__prod:hover { background: var(--rd-soft); }

/* Products — four doors, each in its product's colour (owner, 29 Oct) */
.rd-menu--products { width: min(500px, calc(100vw - 48px)); padding: 6px; max-height: calc(100vh - 120px); overflow-y: auto; }
.rd-pm { display: grid; gap: 2px; }
.rd-pm__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; color: var(--rd-ink-2); transition: background-color .15s; }
.rd-pm__item:hover, .rd-pm__item:focus-visible { background: color-mix(in srgb, var(--p) 8%, #fff); }
.rd-pm__mark { flex: none; width: 32px; height: 32px; border-radius: 10px; font-size: .85rem; display: grid; place-items: center; color: #fff; font-family: var(--rd-display); font-weight: 800;
    background: linear-gradient(140deg, color-mix(in srgb, var(--p) 75%, #fff), var(--p)); box-shadow: 0 6px 14px -6px var(--p); }
.rd-pm__text { flex: 1; min-width: 0; }
.rd-pm__text b { display: block; color: var(--rd-ink); font-size: .9rem; line-height: 1.25; }
.rd-pm__text small { display: block; margin-top: 1px; color: var(--rd-muted); font-size: .76rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-pm__go { flex: none; color: var(--p); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.rd-pm__go svg { width: 16px; height: 16px; }
.rd-pm__item:hover .rd-pm__go, .rd-pm__item:focus-visible .rd-pm__go { opacity: 1; transform: none; }
html[dir="rtl"] .rd-pm__go svg { transform: scaleX(-1); }
.rd-menu__side { margin: 4px -6px 0; padding: 9px 16px 10px; background: var(--rd-soft); border-top: 1px solid var(--rd-line); }
.rd-menu__side .rd-menu__label { margin: 0 0 6px; }
.rd-menu__side div { display: flex; flex-wrap: wrap; gap: 4px; }
.rd-menu__side a { padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line); font-size: .72rem; font-weight: 550; color: var(--rd-ink-2); }
.rd-menu__side a:hover { border-color: var(--rd-blue-100); color: var(--rd-blue-600); }
.rd-pm__foot { margin: 0 -6px -6px; padding: 8px 16px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rd-line); border-radius: 0 0 var(--rd-r) var(--rd-r); background: #fff; font-size: .84rem; font-weight: 650; }
.rd-pm__foot a { color: var(--rd-blue); }
.rd-pm__foot a:last-child { color: var(--rd-ink-2); }

/* Explore — categories | every subject of the one pointed at | the formats (owner, 29 Oct) */
.rd-menu--explore { display: grid; grid-template-columns: minmax(0, 1fr) 210px; width: min(820px, calc(100vw - 48px)); padding: 0; overflow: hidden; }
.rd-xp { display: grid; grid-template-columns: 220px minmax(0, 1fr); height: min(440px, calc(100vh - 130px)); }
.rd-xp__cats { list-style: none; margin: 0; padding: 10px; overflow-y: auto; background: #FBFCFE; border-inline-end: 1px solid var(--rd-line-2); }
.rd-xp__cats a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--rd-ink-2); transition: background-color .15s; }
.rd-xp__mark { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 .8rem var(--rd-display); }
.rd-xp__catname { flex: 1; min-width: 0; font-size: .88rem; font-weight: 600; line-height: 1.25; }
.rd-xp__catname small { display: block; font-size: .72rem; font-weight: 500; color: var(--rd-faint); }
.rd-xp__cats a > svg { width: 14px; height: 14px; color: var(--rd-faint); flex: none; opacity: 0; transition: opacity .15s; }
html[dir="rtl"] .rd-xp__cats a > svg { transform: scaleX(-1); }
.rd-xp__cats a.is-on, .rd-xp__cats a:hover { background: #fff; color: var(--rd-ink); box-shadow: var(--rd-shadow-1); }
.rd-xp__cats a.is-on > svg { opacity: 1; color: var(--rd-blue); }
.rd-xp__panel { display: flex; flex-direction: column; min-height: 0; padding: 14px 16px; }
.rd-xp__panel[hidden], .rd-xp__subs li[hidden] { display: none; }
.rd-xp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 6px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--rd-line-2); }
.rd-xp__head b { font-family: var(--rd-display); color: var(--rd-ink); font-size: 1.02rem; }
.rd-xp__head small { margin-inline-start: 8px; color: var(--rd-faint); font-size: .76rem; }
.rd-xp__all { flex: none; font-size: .8rem; font-weight: 650; color: var(--rd-blue); }
.rd-xp__subs { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: start; gap: 2px 10px; }
.rd-xp__subs a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 8px; border-radius: 8px; font-size: .86rem; color: var(--rd-ink-2); }
.rd-xp__subs a span { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.rd-xp__subs a:hover { background: var(--rd-blue-50); color: var(--rd-blue-600); }
.rd-xp__subs small { flex: none; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--rd-soft); color: var(--rd-faint); font-size: .7rem; text-align: center; line-height: 18px; }
.rd-xp__more { display: inline-flex; margin-top: 8px; padding: 6px 8px; border-radius: 8px; font-size: .84rem; font-weight: 650; color: var(--rd-blue); align-self: flex-start; }
.rd-xp__more:hover { background: var(--rd-blue-50); }
.rd-xp__more[hidden] { display: none; }
.rd-xp__types { padding: 12px 10px; background: linear-gradient(180deg, var(--rd-soft), #fff); border-inline-start: 1px solid var(--rd-line-2); overflow-y: auto; height: min(440px, calc(100vh - 130px)); }
.rd-xp__types .rd-menu__label { margin: 2px 6px 8px; }
.rd-xp__types a { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 9px; font-size: .84rem; font-weight: 550; color: var(--rd-ink-2); }
.rd-xp__types a:hover { background: #fff; color: var(--rd-ink); box-shadow: var(--rd-shadow-1); }
.rd-xp__ti { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--rd-blue-50); color: var(--rd-blue); }
.rd-xp__ti svg { width: 15px; height: 15px; }
.rd-xp__types a.rd-xp__alltopics { margin-top: 6px; color: var(--rd-blue); font-weight: 650; }

.rd-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.rd-langs button { display: flex; align-items: center; gap: 10px; text-align: start; padding: 7px 9px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-family: inherit; }
.rd-langs img, .rd-langs__noflag { flex: none; width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,24,39,.1); }
.rd-langs__noflag { background: var(--rd-line); }
.rd-nav__flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,24,39,.12); }
.rd-langs button:hover { background: var(--rd-soft); }
.rd-langs button[aria-current="true"] { background: var(--rd-blue-50); }
.rd-langs b { display: block; color: var(--rd-ink); font-size: .9rem; }
.rd-langs small { display: block; color: var(--rd-muted); font-size: .74rem; }

@media (max-width: 1240px) { .rd-nav__bar { gap: 14px; } .rd-nav__link { padding: 7px 8px; } .rd-nav__lang span { display: none; } }
@media (max-width: 440px) {
    .rd-nav__bar { gap: 8px; }
    .rd-nav__end { gap: 2px; }
    .rd-nav__logo img { height: 22px; }
    .rd-nav__icon { min-width: 36px; padding: 0 6px; }
    .rd-nav__toggle { width: 40px; }
    .rd .rd-nav__cta { padding: 0 11px; font-size: .84rem; }
}
@media (max-width: 380px) { .rd-nav__search { display: none; } }
@media (max-width: 340px) { .rd-nav__cta { display: none; } }
@media (max-width: 1080px) {
    .rd-nav__links, .rd-nav__end .rd-hide-m { display: none; }
    .rd-drawer__langrow { display: flex; gap: 8px; }
    .rd-drawer__langrow select { flex: 1; min-height: 40px; padding: 0 10px; border: 1px solid var(--rd-line); border-radius: 10px; font: inherit; background: #fff; }
    .rd-drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .rd-drawer__grid a.rd-drawer__a { font-size: .95rem; padding: 9px 4px; }
    .rd-drawer__grid svg { width: 18px; height: 18px; color: var(--rd-blue); flex: none; }
    .rd-drawer .rd-menu__hubrow { padding: 6px 0; }
    .rd-nav__toggle { display: grid; }
    .rd-nav__end { margin-inline-start: auto; }
    .rd-nav__toggle { margin-inline-start: 0; }
    /* backdrop-filter would make the bar the drawer's containing block (a fixed drawer 0px tall) */
    .rd-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .rd-lhero .rd-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .rd-drawer { display: block; position: fixed; inset: var(--rd-drawer-top, 64px) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 16px var(--rd-gutter) 40px;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--rd-ease), visibility 0s .2s; }
    .rd-drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--rd-ease); }
    .rd-drawer__group + .rd-drawer__group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rd-line); }
    .rd-drawer__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-faint); margin-bottom: 8px; }
    .rd-drawer a.rd-drawer__a { display: flex; gap: 12px; align-items: center; padding: 12px 4px; font-weight: 600; color: var(--rd-ink); font-size: 1.05rem; }
    .rd-drawer .rd-actions { margin-top: 24px; }
    .rd-drawer .rd-btn { flex: 1; }
    .rd-lock { overflow: hidden; }
}
.rd-nav__links, .rd-nav__end { flex-shrink: 0; }
.rd-nav__link { white-space: nowrap; }

/* THE BAR FITS IN EVERY LANGUAGE — the live header's rule (layouts.app, 5 Oct): its width is set by
   the words in it, and Tamil's or German's are much longer than English's, which no breakpoint can
   know. So when the bar is wider than the page it gives way one step at a time (redesign.js adds
   rd-fit1..5): the language button becomes its flag, then Log in and Zoytar+ go to the menu, then
   the links, then on a phone the search icon and the main button. Never a sideways scroll bar, never a squeezed or wrapped label. */
.rd-nav.rd-fit1 .rd-nav__lang span { display: none; }
.rd-nav.rd-fit1 .rd-nav__link { padding-inline: 7px; }
.rd-nav.rd-fit1 .rd-nav__bar { gap: 12px; }
.rd-nav.rd-fit2 .rd-nav__login, .rd-nav.rd-fit2 .rd-nav__plus { display: none; }
.rd-nav.rd-fit2 .rd-nav__toggle { display: grid; }
/* on a phone, two more steps: the search icon, then the main button (both are in the menu) */
.rd-nav.rd-fit4 .rd-nav__search { display: none; }
.rd-nav.rd-fit5 .rd-nav__cta { display: none; }
    .rd-nav.rd-fit3 .rd-nav__links, .rd-nav.rd-fit3 .rd-nav__end .rd-hide-m { display: none; }
    .rd-nav.rd-fit3 .rd-drawer__langrow { display: flex; gap: 8px; }
    .rd-nav.rd-fit3 .rd-drawer__langrow select { flex: 1; min-height: 40px; padding: 0 10px; border: 1px solid var(--rd-line); border-radius: 10px; font: inherit; background: #fff; }
    .rd-nav.rd-fit3 .rd-drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .rd-nav.rd-fit3 .rd-drawer__grid a.rd-drawer__a { font-size: .95rem; padding: 9px 4px; }
    .rd-nav.rd-fit3 .rd-drawer__grid svg { width: 18px; height: 18px; color: var(--rd-blue); flex: none; }
    .rd-nav.rd-fit3 .rd-drawer .rd-menu__hubrow { padding: 6px 0; }
    .rd-nav.rd-fit3 .rd-nav__toggle { display: grid; }
    .rd-nav.rd-fit3 .rd-nav__end { margin-inline-start: auto; }
    .rd-nav.rd-fit3 .rd-nav__toggle { margin-inline-start: 0; }
    .rd-nav.rd-fit3 { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .rd-nav.rd-fit3 .rd-drawer { display: block; position: fixed; inset: var(--rd-drawer-top, 64px) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 16px var(--rd-gutter) 40px;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--rd-ease), visibility 0s .2s; }
    .rd-nav.rd-fit3 .rd-drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--rd-ease); }
    .rd-nav.rd-fit3 .rd-drawer__group + .rd-drawer__group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rd-line); }
    .rd-nav.rd-fit3 .rd-drawer__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-faint); margin-bottom: 8px; }
    .rd-nav.rd-fit3 .rd-drawer a.rd-drawer__a { display: flex; gap: 12px; align-items: center; padding: 12px 4px; font-weight: 600; color: var(--rd-ink); font-size: 1.05rem; }
    .rd-nav.rd-fit3 .rd-drawer .rd-actions { margin-top: 24px; }
    .rd-nav.rd-fit3 .rd-drawer .rd-btn { flex: 1; }


/* ---------------------------------------------------------------- hero */
.rd-hero { position: relative; overflow: hidden; padding-block: clamp(28px, min(4.5vw, 6vh), 72px) clamp(44px, min(6vw, 9vh), 88px); isolation: isolate; }
.rd-hero::before { /* the glow: one soft field of the product's tone, never a rainbow */
    content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, var(--rd-tone-glow), transparent 70%); filter: blur(10px); }
.rd-hero::after { /* a dot grid, faded out towards the edges */
    content: ""; position: absolute; z-index: -2; inset: 0;
    background-image: radial-gradient(rgba(17,24,39,.10) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
html[dir="rtl"] .rd-hero::before { inset: -20% auto auto -10%; }
.rd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.rd-hero__copy > * + * { margin-top: 16px; }
.rd-line { display: block; }
@media (max-width: 640px) { .rd-line { display: inline; } }
.rd-hero__copy .rd-actions { margin-top: 24px; }
.rd-hero__note { font-size: .84rem; color: var(--rd-muted); }
.rd-hero--center { text-align: center; }
.rd-hero--center .rd-hero__copy { max-width: 54rem; margin-inline: auto; }
.rd-hero--center .rd-lede { margin-inline: auto; max-width: 46rem; }
.rd-hero--center .rd-actions { justify-content: center; }
.rd-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.rd-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 550; color: var(--rd-ink-2); }
.rd-points svg { width: 18px; height: 18px; color: var(--rd-tone); flex: none; }
@media (max-width: 960px) { .rd-hero__grid { grid-template-columns: 1fr; } }

/* dark hero (enterprise) */
.rd-hero--dark { background: radial-gradient(120% 80% at 80% 0%, #1A3A8F 0%, var(--rd-navy) 55%) var(--rd-navy); color: #C9D3EA; }
.rd-hero--dark h1, .rd-hero--dark .rd-display { color: #fff; }
.rd-hero--dark .rd-lede, .rd-hero--dark .rd-hero__note { color: #AFBBD6; }
.rd-hero--dark .rd-eyebrow { color: #9CC0FF; }
.rd-hero--dark .rd-points li { color: #DCE4F5; }
.rd-hero--dark .rd-points svg { color: #7FB0FF; }
.rd-hero--dark::after { background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); }
.rd-hero--dark::before { background: radial-gradient(closest-side, rgba(59,130,246,.35), transparent 70%); }

/* ---------------------------------------------------------------- the product frame (real screenshots) */
.rd-frame { position: relative; border-radius: 14px; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: var(--rd-shadow-3); overflow: hidden; }
.rd-frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #F6F8FB; border-bottom: 1px solid var(--rd-line-2); }
.rd-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE1E9; }
.rd-frame__url { margin-inline-start: 12px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid var(--rd-line-2); font-size: 11px; line-height: 18px; color: var(--rd-faint); padding-inline: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rd-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
html[dir="rtl"] .rd-frame img { object-position: top right; }
.rd-stage { position: relative; perspective: 1800px; }
.rd-stage__main { transform: rotateY(-8deg) rotateX(4deg); transform-origin: 30% 50%; transition: transform .8s var(--rd-ease); }
html[dir="rtl"] .rd-stage__main { transform: rotateY(8deg) rotateX(4deg); }
.rd-stage:hover .rd-stage__main { transform: rotateY(-3deg) rotateX(2deg); }
html[dir="rtl"] .rd-stage:hover .rd-stage__main { transform: rotateY(3deg) rotateX(2deg); }
.rd-stage__back { position: absolute; width: 58%; inset-inline-end: -3%; top: -8%; z-index: -1; opacity: .9; transform: rotateY(-8deg) rotateX(4deg) scale(.96); filter: saturate(.9); }
@media (max-width: 960px) { .rd-stage__main, html[dir="rtl"] .rd-stage__main { transform: none; } .rd-stage__back { display: none; } }

/* chips annotate a real screen with a fact the product holds — never a made-up figure */
.rd-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: rgba(255,255,255,.96);
    border: 1px solid var(--rd-line); border-radius: 12px; box-shadow: var(--rd-shadow-2); font-size: .78rem; line-height: 1.3; color: var(--rd-ink-2); max-width: 220px; }
.rd-chip b { display: block; color: var(--rd-ink); font-weight: 700; font-size: .82rem; }
.rd-chip__icon { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--rd-tone-bg); color: var(--rd-tone); }
.rd-chip__icon svg { width: 18px; height: 18px; }
.rd-chip--a { inset-inline-start: -28px; bottom: 14%; }
.rd-chip--b { inset-inline-end: -18px; top: 12%; }
.rd-chip--c { inset-inline-end: 8%; bottom: -22px; }
@media (max-width: 1100px) { .rd-chip--a { inset-inline-start: -8px; } .rd-chip--b { inset-inline-end: -8px; } }
@media (max-width: 600px) { .rd-chip { position: static; max-width: none; margin-top: 10px; box-shadow: var(--rd-shadow-1); } .rd-chips-m { display: grid; gap: 0; } }
@media (prefers-reduced-motion: no-preference) {
    .rd-chip { animation: rd-float 7s ease-in-out infinite; }
    .rd-chip--b { animation-delay: -2.3s; }
    .rd-chip--c { animation-delay: -4.6s; }
}
@keyframes rd-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 600px) { .rd-chip { animation: none !important; } }

/* ---------------------------------------------------------------- strips, cards and grids */
.rd-strip { border-block: 1px solid var(--rd-line); background: #fff; }
.rd-strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.rd-strip__cell { padding: 22px clamp(16px, 2.5vw, 28px); }
.rd-strip__cell + .rd-strip__cell { border-inline-start: 1px solid var(--rd-line); }
.rd-strip__big { font-family: var(--rd-display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.03em; color: var(--rd-ink); line-height: 1.1; }
.rd-strip__big small { font-size: .55em; font-weight: 700; color: var(--rd-muted); letter-spacing: -.01em; }
.rd-strip__cap { margin-top: 6px; font-size: .9rem; color: var(--rd-muted); line-height: 1.45; }
@media (max-width: 860px) { .rd-strip__row { grid-template-columns: 1fr 1fr; } .rd-strip__cell:nth-child(3) { border-inline-start: 0; } .rd-strip__cell:nth-child(n+3) { border-top: 1px solid var(--rd-line); } }

.rd-grid { display: grid; gap: 20px; }
.rd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .rd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rd-grid--2, .rd-grid--3, .rd-grid--4 { grid-template-columns: minmax(0, 1fr); } }

.rd-card { position: relative; background: #fff; border: 1px solid var(--rd-line); border-radius: var(--rd-r-lg); padding: 24px; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), border-color .25s; }
.rd-card--hover:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); border-color: #D5DCE7; }
.rd-card h3 + p, .rd-card .rd-h3 + p { margin-top: 8px; color: var(--rd-muted); font-size: .97rem; line-height: 1.6; }
.rd-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rd-tone-bg); color: var(--rd-tone); margin-bottom: 18px; }
.rd-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rd-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--rd-tone-bg); color: var(--rd-tone-ink); }
.rd-tag--soon { background: #FFF4E5; color: var(--rd-orange-ink); }
.rd-tag--line { background: transparent; border: 1px solid var(--rd-line); color: var(--rd-muted); font-weight: 600; }

.rd-check { display: grid; gap: 10px; }
.rd-check li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--rd-ink-2); line-height: 1.5; }
.rd-check li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
    background: var(--rd-tone-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rd-check--soon li::before { background: #FFF4E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='5' fill='none' stroke='%23B84A00' stroke-width='2' stroke-dasharray='3 2.4'/%3E%3C/svg%3E") center / 16px no-repeat; }
.rd-dark .rd-check li { color: #DCE4F5; }
.rd-dark .rd-check li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* bento — one big tile and smaller ones, for "what is built in" */
.rd-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.rd-bento > * { grid-column: span 2; }
.rd-bento > .rd-span-3 { grid-column: span 3; }
.rd-bento > .rd-span-4 { grid-column: span 4; }
@media (max-width: 960px) { .rd-bento { grid-template-columns: 1fr 1fr; } .rd-bento > *, .rd-bento > .rd-span-3, .rd-bento > .rd-span-4 { grid-column: span 1; } }
@media (max-width: 640px) { .rd-bento { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- dark band */
.rd-dark { background: var(--rd-navy); color: #AFBBD6; position: relative; overflow: hidden; isolation: isolate; }
.rd-dark h2, .rd-dark h3, .rd-dark .rd-h3 { color: #fff; }
.rd-dark .rd-lede { color: #AFBBD6; }
.rd-dark .rd-eyebrow { color: #9CC0FF; }
.rd-dark .rd-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.rd-dark .rd-card p { color: #AFBBD6; }
.rd-dark .rd-icon { background: rgba(255,255,255,.08); color: #fff; }
.rd-dark .rd-tag--soon { background: rgba(255,138,0,.14); color: #FFB566; }
.rd-dark::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--rd-tone-glow), transparent 70%); }

/* ---------------------------------------------------------------- tabs: a journey through real screens */
.rd-tabs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rd-tabs__list { display: grid; gap: 8px; }
.rd-tab { position: relative; display: block; width: 100%; text-align: start; padding: 16px 20px; border-radius: 16px; border: 1px solid transparent; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.rd-tab:hover { background: rgba(255,255,255,.7); }
.rd-tab[aria-selected="true"] { background: #fff; border-color: var(--rd-line); box-shadow: var(--rd-shadow-2); }
.rd-tab__step { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-faint); }
.rd-tab[aria-selected="true"] .rd-tab__step { color: var(--rd-tone); }
.rd-tab__title { display: block; margin-top: 4px; font-family: var(--rd-display); font-weight: 700; font-size: 1.05rem; color: var(--rd-ink); letter-spacing: -.01em; }
.rd-tab__body { display: none; margin-top: 8px; font-size: .95rem; color: var(--rd-muted); line-height: 1.55; }
.rd-tab[aria-selected="true"] .rd-tab__body { display: block; }
.rd-tab__bar { position: absolute; inset-inline-start: 22px; inset-inline-end: 22px; bottom: 10px; height: 2px; border-radius: 2px; background: var(--rd-line-2); overflow: hidden; display: none; }
.rd-tab[aria-selected="true"] .rd-tab__bar { display: block; }
.rd-tab__bar i { display: block; height: 100%; width: 0; background: var(--rd-tone); }
.rd-tabs.is-auto .rd-tab[aria-selected="true"] .rd-tab__bar i { animation: rd-progress var(--rd-tab-ms, 7000ms) linear forwards; }
@keyframes rd-progress { to { width: 100%; } }
.rd-tabs__panel[hidden] { display: none; }
.rd-tabs__panel .rd-check { margin-top: 22px; grid-template-columns: 1fr 1fr; }
@media (prefers-reduced-motion: no-preference) { .rd-tabs__panel:not([hidden]) .rd-frame { animation: rd-in .5s var(--rd-ease); } }
@keyframes rd-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .rd-tabs { grid-template-columns: minmax(0, 1fr); } .rd-tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-tab__body { display: none !important; } .rd-tabs__panel .rd-check { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .rd-tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .rd-tab { padding: 14px; } .rd-tab__title { font-size: 1rem; } }

/* segmented control (vocabulary switch, product switch) */
.rd-seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 4px; gap: 2px; border-radius: 14px; background: #EEF1F6; border: 1px solid var(--rd-line); }
.rd-seg button { padding: 9px 18px; border-radius: 10px; font-weight: 650; font-size: .93rem; color: var(--rd-muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.rd-seg button[aria-pressed="true"], .rd-seg button[aria-selected="true"] { background: #fff; color: var(--rd-ink); box-shadow: var(--rd-shadow-1); }

/* ---------------------------------------------------------------- split feature rows */
.rd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rd-split--flip > :first-child { order: 2; }
.rd-split + .rd-split { margin-top: clamp(48px, 6vw, 88px); }
.rd-split__copy > * + * { margin-top: 16px; }
.rd-split__copy .rd-check { margin-top: 24px; }
@media (max-width: 960px) { .rd-split { grid-template-columns: minmax(0, 1fr); } .rd-split--flip > :first-child { order: 0; } }

/* ---------------------------------------------------------------- product doors (home) */
.rd-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rd-door { --rd-tone: var(--door); position: relative; display: flex; flex-direction: column; border-radius: var(--rd-r-xl); background: #fff; border: 1px solid var(--rd-line); overflow: hidden;
    transition: transform .3s var(--rd-ease), box-shadow .3s var(--rd-ease); }
.rd-door:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-3); }
.rd-door__top { padding: 30px 30px 0; }
.rd-door__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: var(--door-ink); background: var(--door-bg); padding: 6px 12px 6px 6px; border-radius: 999px; }
.rd-door__badge i { width: 22px; height: 22px; border-radius: 50%; background: var(--door); display: grid; place-items: center; color: #fff; font-style: normal; font-size: .72rem; font-family: var(--rd-display); font-weight: 800; }
.rd-door h3 { margin-top: 16px; font-size: 1.3rem; letter-spacing: -.02em; }
.rd-door p { margin-top: 10px; color: var(--rd-muted); font-size: .97rem; }
.rd-door .rd-check { margin-top: 18px; }
.rd-door .rd-check li::before { background-color: var(--door-bg); }
.rd-door__cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--door-ink); }
.rd-door__cta svg { width: 18px; height: 18px; transition: transform .2s var(--rd-ease); }
.rd-door:hover .rd-door__cta svg { transform: translateX(4px); }
html[dir="rtl"] .rd-door__cta svg { transform: scaleX(-1); }
.rd-door__shot { margin-top: 26px; padding-inline: 30px; position: relative; flex: 1; display: flex; align-items: flex-end; background: linear-gradient(180deg, transparent 30%, var(--door-bg) 30%); }
.rd-door__shot .rd-frame { border-radius: 12px 12px 0 0; border-bottom: 0; box-shadow: 0 -2px 30px -10px rgba(17,24,39,.25); width: 100%; }
.rd-door__shot .rd-frame img { aspect-ratio: 16 / 11; }
.rd-door__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1024px) { .rd-doors { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------------------------------------------------------------- formats grid (home, tutors) */
.rd-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rd-format { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--rd-line); background: #fff; transition: border-color .2s, transform .2s var(--rd-ease), box-shadow .2s; }
a.rd-format:hover { border-color: var(--rd-tone); transform: translateY(-2px); box-shadow: var(--rd-shadow-2); }
.rd-format b { display: block; color: var(--rd-ink); font-weight: 650; font-size: .98rem; }
.rd-format span { display: block; font-size: .87rem; color: var(--rd-muted); line-height: 1.45; margin-top: 2px; }
.rd-format .rd-icon { display: grid; margin: 0; width: 40px; height: 40px; flex: none; }
@media (max-width: 1024px) { .rd-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rd-formats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- search (home) */
.rd-search { display: flex; align-items: center; gap: 8px; max-width: 560px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-2); }
.rd-search:focus-within { border-color: var(--rd-tone); box-shadow: 0 0 0 4px var(--rd-tone-bg), var(--rd-shadow-2); }
.rd-search svg { width: 20px; height: 20px; color: var(--rd-faint); margin-inline-start: 10px; flex: none; }
.rd-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--rd-ink); background: transparent; padding: 10px 4px; }
.rd-search input::placeholder { color: var(--rd-faint); }
.rd-search .rd-btn { min-height: 44px; }
.rd-hero--center .rd-search { margin-inline: auto; }

/* ---------------------------------------------------------------- rates (tutors) */
.rd-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rd-rate { padding: 28px; border-radius: var(--rd-r-lg); background: #fff; border: 1px solid var(--rd-line); }
.rd-rate__pct { font-family: var(--rd-display); font-weight: 800; font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); letter-spacing: -.04em; line-height: 1; color: var(--rd-ink); }
.rd-rate__pct small { font-size: .4em; letter-spacing: 0; color: var(--rd-muted); font-weight: 650; margin-inline-start: 6px; }
.rd-rate h3 { margin-top: 14px; font-size: 1.05rem; }
.rd-rate p:not(.rd-rate__pct) { margin-top: 6px; font-size: .92rem; color: var(--rd-muted); }
.rd-rate__meter { margin-top: 18px; height: 8px; border-radius: 8px; background: var(--rd-line-2); overflow: hidden; }
.rd-rate__meter i { display: block; height: 100%; border-radius: 8px; background: var(--rd-tone); }
.rd-rate--lead { background: linear-gradient(160deg, var(--rd-tone-bg), #fff 60%); border-color: color-mix(in srgb, var(--rd-tone) 30%, var(--rd-line)); }
@media (max-width: 860px) { .rd-rates { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- plans */
.rd-plans { display: grid; grid-template-columns: repeat(var(--rd-plan-n, 3), minmax(0, 1fr)); gap: 16px; }
.rd-plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--rd-r-lg); background: #fff; border: 1px solid var(--rd-line); }
.rd-plan--pick { border-color: var(--rd-ink); box-shadow: var(--rd-shadow-2); }
.rd-plan__flag { position: absolute; top: -12px; inset-inline-start: 28px; background: var(--rd-ink); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.rd-plan h3 { font-size: 1.15rem; }
.rd-plan__blurb { margin-top: 6px; font-size: .92rem; color: var(--rd-muted); min-height: 4.4em; }
.rd-plan__price { margin-top: 20px; font-family: var(--rd-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.03em; color: var(--rd-ink); line-height: 1; }
.rd-plan__price small { font-size: .42em; color: var(--rd-muted); font-weight: 650; letter-spacing: 0; }
.rd-plan__year { margin-top: 6px; font-size: .82rem; color: var(--rd-muted); min-height: 1.3em; }
.rd-plan .rd-btn { margin-top: auto; }
.rd-plan__space { height: 24px; }
@media (max-width: 1024px) { .rd-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rd-plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- table (bands, vocabulary) */
.rd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.rd-table th, .rd-table td { padding: 16px 18px; text-align: start; border-bottom: 1px solid var(--rd-line); }
.rd-table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-faint); background: var(--rd-soft); }
.rd-table tbody th { font-weight: 650; color: var(--rd-ink); }
.rd-table tbody tr:last-child > * { border-bottom: 0; }
.rd-table__box { border: 1px solid var(--rd-line); border-radius: var(--rd-r-lg); overflow: hidden; background: #fff; }
.rd-table__scroll { overflow-x: auto; }
.rd-table .rd-num { font-weight: 650; color: var(--rd-ink); }

/* ---------------------------------------------------------------- module explorer (ERP) */
.rd-mods { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); border: 1px solid var(--rd-line); border-radius: var(--rd-r-xl); background: #fff; overflow: hidden; box-shadow: var(--rd-shadow-2); }
.rd-mods__list { padding: 14px; border-inline-end: 1px solid var(--rd-line); background: var(--rd-soft); display: grid; gap: 4px; align-content: start; }
.rd-mod { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; text-align: start; font-weight: 600; color: var(--rd-ink-2); transition: background-color .15s, color .15s; }
.rd-mod:hover { background: #fff; }
.rd-mod[aria-selected="true"] { background: #fff; color: var(--rd-ink); box-shadow: var(--rd-shadow-1); }
.rd-mod svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--rd-faint); }
.rd-mod[aria-selected="true"] svg { color: var(--rd-tone); }
.rd-mod__n { margin-inline-start: auto; font-size: .78rem; color: var(--rd-faint); font-weight: 600; }
.rd-mods__panel { padding: clamp(24px, 3.5vw, 44px); }
.rd-mods__panel[hidden] { display: none; }
.rd-mods__panel h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.rd-mods__panel > p { margin-top: 10px; color: var(--rd-muted); font-size: 1.02rem; }
.rd-pages { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-pages li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rd-line); font-size: .9rem; font-weight: 550; color: var(--rd-ink-2); background: #fff; }
.rd-mods__foot { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--rd-line); font-size: .88rem; color: var(--rd-muted); }
@media (max-width: 860px) { .rd-mods { grid-template-columns: 1fr; } .rd-mods__list { border-inline-end: 0; border-bottom: 1px solid var(--rd-line); grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .rd-mods__list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- progress states (enterprise; an illustration, labelled as one) */
.rd-states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rd-state { padding: 26px; border-radius: var(--rd-r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.rd-state__ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.rd-state__ring svg { width: 56px; height: 56px; }
.rd-state h3 { font-size: 1.1rem; }
.rd-state p { margin-top: 8px; font-size: .94rem; color: #AFBBD6; }
@media (max-width: 860px) { .rd-states { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- flow (enterprise: two ways in) */
.rd-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rd-flow__steps { margin-top: 20px; display: grid; gap: 14px; counter-reset: rd-step; }
.rd-flow__steps li { position: relative; padding-inline-start: 44px; font-size: .97rem; color: var(--rd-ink-2); counter-increment: rd-step; line-height: 1.55; }
.rd-flow__steps li::before { content: counter(rd-step); position: absolute; inset-inline-start: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--rd-tone-bg); color: var(--rd-tone-ink); font-weight: 800; font-size: .82rem; font-family: var(--rd-display); }
@media (max-width: 860px) { .rd-flow { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- integrations */
.rd-ints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rd-int { padding: 20px; border-radius: 16px; border: 1px solid var(--rd-line); background: #fff; }
.rd-int b { display: block; font-weight: 700; color: var(--rd-ink); font-size: .97rem; }
.rd-int p { margin-top: 6px; font-size: .88rem; color: var(--rd-muted); line-height: 1.5; }
.rd-int .rd-tag { margin-top: 12px; }
@media (max-width: 1024px) { .rd-ints { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rd-ints { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.rd-faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.rd-faq details { border: 1px solid var(--rd-line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.rd-faq details[open] { border-color: #D5DCE7; box-shadow: var(--rd-shadow-1); }
.rd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 650; color: var(--rd-ink); font-size: 1.02rem; }
.rd-faq summary::-webkit-details-marker { display: none; }
.rd-faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--rd-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23374151' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--rd-ease); }
.rd-faq details[open] summary::after { transform: rotate(45deg); }
.rd-faq details > div { padding: 0 22px 22px; color: var(--rd-muted); font-size: .98rem; line-height: 1.65; }

/* ---------------------------------------------------------------- proof slot: an honest placeholder */
.rd-slot { border: 1.5px dashed #C7CFDC; border-radius: var(--rd-r-lg); padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; background: repeating-linear-gradient(-45deg, #fff, #fff 12px, #FAFBFD 12px, #FAFBFD 24px); }
.rd-slot__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FFF4E5; color: var(--rd-orange-ink); }
.rd-slot__icon svg { width: 20px; height: 20px; }
.rd-slot b { color: var(--rd-ink); display: block; }
.rd-slot p { font-size: .92rem; color: var(--rd-muted); margin-top: 4px; }

/* ---------------------------------------------------------------- closing call */
.rd-final { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--rd-r-xl); padding: clamp(32px, 5vw, 64px); background: var(--rd-navy); color: #AFBBD6; }
.rd-final::before { content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--rd-tone-glow), transparent 70%); }
.rd-final::after { content: ""; position: absolute; z-index: -1; inset-inline-end: clamp(20px, 6vw, 80px); bottom: -60px; width: 260px; height: 300px; background: var(--rd-orange); opacity: .08; clip-path: polygon(0 0, 100% 50%, 0 100%); }
html[dir="rtl"] .rd-final::after { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.rd-final h2 { color: #fff; max-width: 34rem; }
.rd-final p { margin-top: 14px; max-width: 36rem; font-size: 1rem; }
.rd-final .rd-actions { margin-top: 32px; }
.rd-final__note { margin-top: 16px !important; font-size: .9rem !important; color: #8E9BBB; }
.rd-final--tone { background: linear-gradient(135deg, var(--rd-tone-ink), var(--rd-navy) 75%); }

/* ---------------------------------------------------------------- footer */
/* footer: dark, columns and the brand note on top, the wordmark large below (owner, 29 Oct) */
.rd-foot { background: var(--rd-navy); color: #AEB9D3; padding-block: clamp(48px, 7vh, 80px) 36px; font-size: .92rem; }
.rd-foot__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px 64px; }
.rd-foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 32px 20px; }
.rd .rd-foot h4 { font-family: var(--rd-display); font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: 0; text-transform: none; }
.rd-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rd-foot a { color: #AEB9D3; transition: color .15s; }
.rd-foot a:hover { color: #fff; }
.rd-foot__brand p { line-height: 1.6; max-width: 26rem; }
.rd-foot__news { margin-top: 20px; max-width: 26rem; }
.rd-foot__news label { display: block; font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.rd-foot__news div { display: flex; gap: 8px; }
.rd-foot__news input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.rd-foot__news input::placeholder { color: #7D8AA8; }
.rd-foot__news button { height: 42px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--rd-orange); color: #1B1300; font: 700 .9rem var(--rd-body); cursor: pointer; }
.rd-foot__news button:hover { background: #FFA033; }
.rd-foot__social { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 18px !important; }
.rd-foot__social a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 600; }
.rd-foot__base { margin-top: clamp(40px, 7vh, 72px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.rd-foot__mark img { display: block; width: 100%; max-width: 640px; height: auto; }
.rd-foot__legal { display: grid; gap: 14px; font-size: .84rem; }
.rd-foot__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rd-foot__trust { color: #7D8AA8; }
.rd-foot__trust li { display: inline-flex; align-items: center; gap: 8px; }
.rd-foot__trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rd-orange); }
.rd-foot__legal p { color: #7D8AA8; }
@media (max-width: 900px) { .rd-foot__top, .rd-foot__base { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .rd-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-foot__cols a { overflow-wrap: anywhere; } }

/* ---------------------------------------------------------------- reveal on scroll (only when motion is welcome and the script ran) */
@media (prefers-reduced-motion: no-preference) {
    .rd-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--rd-ease), transform .7s var(--rd-ease); transition-delay: var(--rd-delay, 0ms); }
    .rd-js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rd *, .rd *::before, .rd *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .rd-stage__main, html[dir="rtl"] .rd-stage__main { transform: none !important; }
}
@media print { .rd-nav, .rd-ribbon, .rd-drawer { display: none; } .rd [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------------- home: the showcase under the hero */
.rd-showcase { margin-top: clamp(28px, min(4vw, 6vh), 56px); display: grid; justify-items: center; gap: 22px; }
.rd-showcase__stage { position: relative; width: 100%; max-width: 1100px; }
.rd-showcase__stage::before { content: ""; position: absolute; z-index: -1; inset: 8% 4% -6%; border-radius: 40px; background: linear-gradient(120deg, rgba(124,58,237,.18), rgba(7,87,213,.20) 45%, rgba(4,120,87,.16)); filter: blur(48px); }
.rd-showcase .rd-frame { border-radius: 18px; }
.rd-showcase__cap { margin-top: 16px; font-size: .9rem; color: var(--rd-muted); text-align: center; }
.rd-showcase__cap b { color: var(--rd-ink); }


/* ---------------------------------------------------------------- ERP: one table, two vocabularies */
.rd-vocab[data-mode="school"] .is-college, .rd-vocab[data-mode="college"] .is-school { display: none; }
.rd-vocab__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.rd-word { min-width: 0; overflow-wrap: break-word; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); }
.rd-word small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-faint); }
.rd-word b { display: block; margin-top: 4px; font-family: var(--rd-display); font-size: 1.3rem; letter-spacing: -.02em; color: var(--rd-ink); }
@media (prefers-reduced-motion: no-preference) { .rd-word b { animation: rd-in .4s var(--rd-ease); } }
@media (max-width: 640px) { .rd-vocab__grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- tutors: the watermark, as an illustration */
.rd-wm { margin: 0; }
.rd-wm__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
    background: radial-gradient(80% 90% at 30% 20%, #3B2A78 0%, #161B3D 60%, #0B1020 100%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.rd-wm__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rd-wm__play svg { width: 30px; height: 30px; fill: #fff; stroke: none; margin-inline-start: 4px; }
.rd-wm__mark { position: absolute; top: 22%; inset-inline-start: 8%; font: 600 .82rem/1 var(--rd-body); color: rgba(255,255,255,.42); letter-spacing: .02em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .rd-wm__mark { animation: rd-drift 14s ease-in-out infinite alternate; } }
@keyframes rd-drift { 0% { translate: 0 0; } 33% { translate: 18% 140%; } 66% { translate: 34% 40%; } 100% { translate: 6% 220%; } }
.rd-wm__bar { position: absolute; inset-inline: 5%; bottom: 8%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); }
.rd-wm__bar i { display: block; width: 38%; height: 100%; border-radius: 4px; background: var(--rd-orange); }
.rd-wm figcaption { margin-top: 14px; font-size: .85rem; color: #8E9BBB; }

/* ================================================================ LEARN (/Page1) — the marketplace */
.rd.rd-mkt { --rd-tone: #0757D5; --rd-tone-ink: #0646AD; --rd-tone-bg: #EEF5FF; --rd-tone-glow: rgba(7, 87, 213, .2); }
.rd .rd-h2s, .rd h2.rd-h2s, .rd h3.rd-h2s { font-family: var(--rd-display); color: var(--rd-ink); font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); line-height: 1.2; }
.rd-section--rail { padding-block: clamp(32px, min(4.5vw, 7vh), 56px); }
.rd-section--rail + .rd-section--rail { padding-top: 0; }
.rd-railhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.rd-railhead .rd-small { margin-top: 4px; }
.rd-railhead .rd-link { font-size: .92rem; }

/* hero */
.rd-lhero .rd-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
/* the whole hero and the topic strip on the first screen (owner, 29 Oct) */
.rd-lhero { padding-block: clamp(20px, 4vh, 52px) clamp(22px, 4.5vh, 52px); }
.rd-lhero .rd-hero__copy > * + * { margin-top: clamp(10px, 1.8vh, 16px); }
.rd-lhero .rd-points { margin-top: clamp(10px, 1.8vh, 18px); }
.rd-search--big { max-width: 600px; padding: 7px; }
.rd-search--big input { font-size: 1.02rem; padding: 12px 4px; }
.rd-chiprow { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.rd-chiprow > span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-faint); margin-inline-end: 4px; }
.rd-chiprow a { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--rd-line); background: #fff; font-size: .86rem; font-weight: 550; color: var(--rd-ink-2); transition: border-color .15s, background-color .15s, color .15s; }
.rd-chiprow a:hover { border-color: var(--rd-tone); color: var(--rd-tone-ink); background: var(--rd-tone-bg); }
.rd-chiprow a.rd-chiprow__all { border: 0; background: none; color: var(--rd-tone-ink); font-weight: 650; padding-inline: 4px; }
.rd-hotlist { align-self: center; max-width: 440px; justify-self: end; width: 100%; background: #fff; border: 1px solid var(--rd-line); border-radius: var(--rd-r-lg); box-shadow: var(--rd-shadow-3); padding: 14px 14px 8px; }
.rd-hotlist__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 8px; border-bottom: 1px solid var(--rd-line-2); }
.rd-hotlist__head p { display: flex; align-items: center; gap: 8px; font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); font-size: 1rem; }
.rd-hotlist__head a { font-size: .86rem; font-weight: 650; color: var(--rd-tone-ink); }
.rd-hotlist__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--rd-orange); box-shadow: 0 0 0 4px rgba(255,138,0,.18); }
.rd-hotlist__list { list-style: none; margin: 0; padding: 0; }
.rd-hot { position: relative; display: grid; grid-template-columns: 14px 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 4px; border-radius: 12px; transition: background-color .15s; }
.rd-hot + .rd-hot { border-top: 1px solid var(--rd-line-2); }
.rd-hot:hover { background: var(--rd-soft); }
.rd-hot__n { font-family: var(--rd-display); font-weight: 800; color: var(--rd-faint); font-size: .9rem; text-align: center; }
.rd-hot__img, .rd-hot__img img, .rd-hot__art { display: block; width: 56px; height: 36px; border-radius: 7px; object-fit: cover; }
.rd-hot__art { display: grid; place-items: center; color: #fff; }
.rd-hot__art svg { width: 17px; height: 17px; }
.rd-hot__title { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 650; color: var(--rd-ink); font-size: .88rem; line-height: 1.3; }
.rd-hot__title::after { content: ""; position: absolute; inset: 0; }
.rd-hot__meta { display: flex; flex-wrap: wrap; gap: 2px 9px; margin-top: 1px; font-size: .75rem; color: var(--rd-muted); }
.rd-hot__rate { color: #92400E; font-weight: 700; }
.rd-hot__meta b { color: var(--rd-ink); }
@media (max-width: 960px) {
    .rd-lhero .rd-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .rd-hotlist { display: none; }
}

/* trending: one row drifting right to left (JS clones the row once so it loops; see redesign.js) */
.rd-marquee { overflow: hidden; padding: 4px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rd-marquee__track { list-style: none; margin: 0; padding: 0 0 0 var(--rd-gutter); display: flex; gap: 16px; width: max-content; }
.rd-marquee__track > li { flex: none; width: clamp(220px, 21vw, 270px); }
.rd-marquee.is-moving .rd-marquee__track { padding: 0; animation: rd-drift var(--rd-drift, 60s) linear infinite; }
.rd-marquee.is-moving:hover .rd-marquee__track, .rd-marquee.is-moving:focus-within .rd-marquee__track, .rd-marquee.is-paused .rd-marquee__track { animation-play-state: paused; }
@keyframes rd-drift { to { transform: translateX(calc(-50% - 8px)); } }
html[dir="rtl"] .rd-marquee.is-moving .rd-marquee__track { animation-name: rd-drift-rtl; }
@keyframes rd-drift-rtl { to { transform: translateX(calc(50% + 8px)); } }
.rd-marquee:not(.is-moving) { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }

/* underline tabs (Udemy-style): scroll sideways when there are many */
.rd-utabs { display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rd-line); margin-bottom: 18px; }
.rd-utabs::-webkit-scrollbar { display: none; }
.rd-utabs button { flex: none; padding: 10px 2px 12px; border: 0; background: none; cursor: pointer; font: 650 .95rem var(--rd-body); color: var(--rd-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.rd-utabs button:hover { color: var(--rd-ink); }
.rd-utabs button[aria-selected="true"] { color: var(--rd-ink); border-bottom-color: var(--rd-ink); }
.rd-utabs--pills { gap: 8px; border: 0; padding-bottom: 4px; }
.rd-utabs--pills button { padding: 7px 14px; border: 1px solid var(--rd-line); border-radius: 999px; background: #fff; font-size: .88rem; margin: 0; }
.rd-utabs--pills button[aria-selected="true"] { background: var(--rd-ink); color: #fff; border-color: var(--rd-ink); }
.rd-skpanel { padding: 18px; border-radius: var(--rd-r-lg); background: var(--rd-soft); border: 1px solid var(--rd-line-2); }
.rd-skchips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; }
.rd-skchips a { flex: none; display: flex; flex-direction: column; padding: 10px 18px; border-radius: 999px; background: #E9EDF3; color: var(--rd-ink); transition: background-color .15s; }
.rd-skchips a:hover { background: #DDE3EC; }
.rd-skchips b { font-size: .92rem; font-weight: 700; }
.rd-skchips small { font-size: .76rem; color: var(--rd-muted); }
.rd-skall { margin-top: 8px; }

/* educators: one row, bigger cards */
.rd-tutrow { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
.rd-tcard { position: relative; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--rd-line);
    transition: transform .2s var(--rd-ease), box-shadow .2s, border-color .2s; }
.rd-tcard:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); border-color: var(--rd-blue-100); }
.rd-tcard__top { display: flex; gap: 14px; align-items: center; }
.rd-tcard__av { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-family: var(--rd-display); font-weight: 800; font-size: 1.2rem; }
.rd-tcard h3 { font-size: 1.02rem; line-height: 1.3; color: var(--rd-ink); }
.rd-tcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.rd-tcard__sub { font-size: .86rem; color: var(--rd-tone-ink); font-weight: 600; }
.rd-tcard__rate { font-size: .84rem; color: #92400E; }
.rd-tcard__rate small { color: var(--rd-muted); }
.rd-tcard__bio { font-size: .87rem; color: var(--rd-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-tcard__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rd-tcard__facts li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--rd-soft); font-size: .78rem; color: var(--rd-ink-2); }
.rd-tcard__facts svg { width: 14px; height: 14px; color: var(--rd-muted); }
.rd-tcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rd-line-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rd-tcard__price { font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); }
.rd-tcard__price small { font-family: var(--rd-body); font-weight: 500; color: var(--rd-muted); }
.rd-tcard__go { font-size: .86rem; font-weight: 650; color: var(--rd-tone-ink); }
@media (max-width: 1100px) { .rd-tutrow { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 800px) { .rd-tutrow { grid-auto-columns: 78%; } }

/* what learners say */
.rd-story { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-1); }
.rd-story__top { display: flex; justify-content: space-between; align-items: center; min-height: 18px; }
.rd-story blockquote { margin: 0; flex: 1; color: var(--rd-ink-2); font-size: .95rem; line-height: 1.6; white-space: pre-line; }
.rd-story figcaption { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--rd-line-2); }
.rd-story__av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; }
.rd-story b { display: block; color: var(--rd-ink); font-size: .92rem; }
.rd-story small { display: block; color: var(--rd-muted); font-size: .8rem; }

/* the problems it solves */
.rd-probs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 760px) { .rd-probs { grid-template-columns: 1fr; } }
.rd-prob { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line); }
.rd-prob__q { font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); line-height: 1.4; }
.rd-prob__a { display: flex; gap: 10px; margin-top: 10px; font-size: .92rem; color: var(--rd-muted); line-height: 1.55; }
.rd-prob__a svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--rd-ok); }

/* how Zoytar compares — compact: heading and score bars beside an icon table (owner, 29 Oct) */
.rd-cmpx { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 20px 40px; align-items: start;
    padding: clamp(20px, 3vw, 32px); border-radius: var(--rd-r-xl); background: linear-gradient(160deg, var(--rd-blue-50), #fff 45%); border: 1px solid var(--rd-line); }
@media (max-width: 960px) { .rd-cmpx { grid-template-columns: minmax(0, 1fr); } }
.rd-cmpx__side .rd-h2s { margin-top: 6px; }
.rd-cmpx__bars { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.rd-cmpx__bars li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .86rem; color: var(--rd-muted); }
.rd-cmpx__name { font-weight: 600; color: var(--rd-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-cmpx__track { height: 8px; border-radius: 999px; background: #E6EAF1; overflow: hidden; }
.rd-cmpx__track span { display: block; height: 100%; border-radius: inherit; background: #A3ADBF; }
.rd-cmpx__bars b { font-variant-numeric: tabular-nums; color: var(--rd-ink-2); font-size: .84rem; }
.rd-cmpx__bars .is-us .rd-cmpx__name, .rd-cmpx__bars .is-us b { color: var(--rd-blue-600); font-weight: 800; }
.rd-cmpx__bars .is-us .rd-cmpx__track span { background: linear-gradient(90deg, var(--rd-blue), #3B82F6); }
.rd-cmpx__note { margin-top: 18px; font-size: .8rem; line-height: 1.5; color: var(--rd-faint); }
.rd-cmpx__main { min-width: 0; background: #fff; border: 1px solid var(--rd-line); border-radius: 18px; box-shadow: var(--rd-shadow-2); overflow: hidden; }
.rd-cmpx__scroll { overflow-x: auto; }
.rd-cmpx__table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: .86rem; }
.rd-cmpx__table th, .rd-cmpx__table td { padding: 9px 12px; border-bottom: 1px solid var(--rd-line-2); text-align: center; vertical-align: middle; }
.rd-cmpx__table thead th { padding-block: 11px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--rd-muted); background: #FAFBFD; white-space: nowrap; }
.rd-cmpx__table thead th.is-us { color: #fff; background: var(--rd-blue); }
.rd-cmpx__table tbody th { text-align: start; font-weight: 600; color: var(--rd-ink); width: 46%; }
.rd-cmpx__table tbody th small { display: block; margin-top: 1px; font-size: .74rem; font-weight: 500; color: var(--rd-muted); }
.rd-cmpx__table td.is-us { background: var(--rd-blue-50); }
.rd-cmpx__table tbody tr:last-child > * { border-bottom: 0; }
.rd-cmpx__table tbody tr:hover > * { background: #F6F8FC; }
.rd-cmpx__table tbody tr:hover > td.is-us { background: #E3EEFF; }
.rd-cmpx__ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EEF1F6; color: #9AA3B2; vertical-align: middle; }
.rd-cmpx__ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rd-cmpx__ic--yes { background: #047857; color: #fff; }
.rd-cmpx__ic--part { background: #FEF3C7; color: #B45309; }
.rd-cmpx__ic--no { background: #FFE4E6; color: #BE123C; }
.rd-cmpx__foot { padding: 10px 14px 12px; border-top: 1px solid var(--rd-line-2); background: #FAFBFD; font-size: .74rem; color: var(--rd-faint); line-height: 1.5; }
.rd-cmpx__legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--rd-muted); font-weight: 600; }
.rd-cmpx__legend li { display: inline-flex; align-items: center; gap: 6px; }
.rd-cmpx__legend .rd-cmpx__ic { width: 16px; height: 16px; }
.rd-cmpx__legend .rd-cmpx__ic svg { width: 10px; height: 10px; }
.rd-cmpx__foot a { color: var(--rd-tone-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* bundles */
.rd-bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .rd-bundles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rd-bundles { grid-template-columns: minmax(0, 1fr); } }
.rd-bundle { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: linear-gradient(160deg, #F5F3FF, #fff 55%); border: 1px solid #E4E2FB; }
.rd-bundle__top { display: flex; justify-content: space-between; align-items: center; }
.rd-bundle__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #7C3AED; color: #fff; }
.rd-bundle__icon svg { width: 20px; height: 20px; }
.rd-bundle__save { padding: 3px 10px; border-radius: 999px; background: #047857; color: #fff; font-size: .76rem; font-weight: 700; }
.rd-bundle h3 { font-size: 1.05rem; color: var(--rd-ink); line-height: 1.3; }
.rd-bundle__by { font-size: .84rem; color: var(--rd-muted); }
.rd-bundle__by a { position: relative; z-index: 1; color: var(--rd-tone-ink); font-weight: 600; }
.rd-bundle ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.rd-bundle li { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--rd-ink-2); }
.rd-bundle li svg { width: 15px; height: 15px; color: #7C3AED; flex: none; }
.rd-bundle .rd-bundle__more { color: var(--rd-muted); padding-inline-start: 23px; }
.rd-bundle__foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #ECE9FB; }
.rd-bundle__foot b { font-family: var(--rd-display); font-size: 1.2rem; color: var(--rd-ink); }
.rd-bundle__foot s { margin-inline-start: 8px; font-size: .85rem; color: var(--rd-faint); }
.rd-bundle .rd-btn--primary { background: #7C3AED; }

/* card buttons */
.rd-item__buy { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 10px; }
.rd-item__buy .rd-btn { flex: 1; min-height: 34px; padding: 0 8px; font-size: .8rem; gap: 5px; border-radius: 9px; }
.rd-item__buy .rd-btn svg { width: 15px; height: 15px; }
.rd-item__buy.is-added .rd-btn--secondary { border-color: #A7F3D0; color: #047857; background: #ECFDF5; }

/* subject pills wrap onto lines instead of running off the edge */
.rd-utabs--wrap { flex-wrap: wrap; overflow: visible; }

/* Zoytar+ band, and the teach / train pair */
.rd-plusband { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 20px 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--rd-r-xl);
    background: radial-gradient(120% 140% at 100% 0%, #1A3A8F 0%, var(--rd-navy) 60%); color: #C9D3EA; }
.rd-plusband .rd-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #FFB566; }
.rd-plusband .rd-eyebrow svg { width: 16px; height: 16px; }
.rd .rd-plusband h2 { color: #fff; }
.rd-plusband p:not(.rd-eyebrow) { margin-top: 8px; max-width: 40rem; }
@media (max-width: 860px) { .rd-plusband { grid-template-columns: 1fr; } }
.rd-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.rd-duo .rd-teachband { grid-template-columns: 1fr; align-content: space-between; height: 100%; }
.rd-teachband--ent { background: linear-gradient(120deg, #EFF6FF, #F7F9FC 60%); border-color: #DBE6F7; }
.rd-teachband.rd-teachband--ent .rd-eyebrow { color: #1E3A8A; }
.rd.rd-mkt .rd-formats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rd.rd-mkt .rd-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rd.rd-mkt .rd-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .rd.rd-mkt .rd-formats { grid-template-columns: 1fr; } }

/* category strip */
.rd-catbar { border-block: 1px solid var(--rd-line); background: #fff; }
.rd-catbar__row { display: flex; align-items: center; gap: 4px; max-width: var(--rd-wrap); margin-inline: auto; padding: 6px var(--rd-gutter); }
.rd-catbar__run { flex: 1; min-width: 0; padding: 0; }
.rd-catbar__run .rd-marquee__track { gap: 2px; padding: 0; }
.rd-catbar__run .rd-marquee__track > li { width: auto; }
.rd-catbar a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; font-size: .88rem; font-weight: 550; color: var(--rd-ink-2); white-space: nowrap; transition: background-color .15s, color .15s; }
.rd-catbar a:hover { background: var(--rd-soft); color: var(--rd-ink); }
.rd-catbar a.rd-catbar__cat { font-weight: 700; color: var(--rd-ink); }
.rd-catbar__all { font-weight: 700 !important; color: var(--rd-tone-ink) !important; background: var(--rd-tone-bg); }
.rd-catbar__all svg { width: 16px; height: 16px; }

/* the card */
.rd-item { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--rd-line); border-radius: 16px; overflow: hidden; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), border-color .25s; }
.rd-item:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); border-color: #D5DCE7; }
.rd-item__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--rd-art, linear-gradient(135deg, #3B82F6, #1E40AF)); overflow: hidden; }
.rd-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--rd-ease); }
.rd-item:hover .rd-item__media img { transform: scale(1.04); }
.rd-item__art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.rd-item__art svg { width: 38px; height: 38px; }
.rd-item__art::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; background: rgba(255,255,255,.12); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.rd-item__type { position: absolute; inset-inline-start: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--rd-ink); font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.rd-item__flag { position: absolute; inset-inline-end: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #FBBF24; color: #422006; font-size: .7rem; font-weight: 800; }
.rd-item__flag--ad { background: var(--rd-ink); color: #fff; }
.rd-item__body { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px 15px; flex: 1; }
.rd-item__title { font-family: var(--rd-body); font-size: .96rem; font-weight: 700; line-height: 1.35; color: var(--rd-ink); letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-item__title a::after { content: ""; position: absolute; inset: 0; }
.rd-item { position: relative; }
.rd-item__by { font-size: .8rem; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-item__rate { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--rd-muted); }
.rd-item__rate b { color: #92400E; font-weight: 800; }
.rd-stars { --rd-stars: 0; width: 70px; height: 13px; background: linear-gradient(90deg, #F59E0B calc(var(--rd-stars) / 5 * 100%), #E5E7EB 0);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.2 4.6.4-3.5 3 1 4.4-4-2.4-4 2.4 1-4.4-3.5-3 4.6-.4z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.2 4.6.4-3.5 3 1 4.4-4-2.4-4 2.4 1-4.4-3.5-3 4.6-.4z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
html[dir="rtl"] .rd-stars { transform: scaleX(-1); }
.rd-item__meta { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .8rem; color: var(--rd-muted); }
.rd-item__price { font-size: 1rem; color: var(--rd-ink); font-weight: 800; }
.rd-k-course { --rd-art: linear-gradient(135deg, #6366F1, #1E3A8A); }
.rd-k-class  { --rd-art: linear-gradient(135deg, #0EA5E9, #0757D5); }
.rd-k-exam   { --rd-art: linear-gradient(135deg, #F97316, #B91C1C); }
.rd-k-event  { --rd-art: linear-gradient(135deg, #EC4899, #7C3AED); }
.rd-k-download { --rd-art: linear-gradient(135deg, #14B8A6, #047857); }
.rd-k-project { --rd-art: linear-gradient(135deg, #F59E0B, #C2410C); }

.rd-itemgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .rd-itemgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .rd-itemgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 420px) { .rd-itemgrid { grid-template-columns: 1fr; } }

/* a scrolling row */
.rd-rail { position: relative; }
.rd-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rd-rail__track::-webkit-scrollbar { display: none; }
.rd-rail__track > li { scroll-snap-align: start; }
.rd-rail__track:focus-visible { outline-offset: 4px; }
@media (max-width: 1100px) { .rd-rail__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 800px) { .rd-rail__track { grid-auto-columns: 62%; } }
@media (max-width: 420px) { .rd-rail__track { grid-auto-columns: 80%; } }
.rd-rail__btn { position: absolute; top: 34%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-2); display: grid; place-items: center; color: var(--rd-ink); }
.rd-rail__btn svg { width: 20px; height: 20px; }
.rd-rail__btn--prev { inset-inline-start: -14px; }
.rd-rail__btn--next { inset-inline-end: -14px; }
.rd-rail__btn--prev svg, html[dir="rtl"] .rd-rail__btn--next svg { transform: scaleX(-1); }
html[dir="rtl"] .rd-rail__btn--prev svg { transform: none; }
.rd-rail__btn:hover { background: var(--rd-soft); }
.rd-rail__btn[hidden] { display: none; }
@media (max-width: 800px), (hover: none) { .rd-rail__btn { display: none !important; } }
.rd-rail__all { margin-top: 10px; text-align: end; }
.rd-seg--tabs { margin-bottom: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rd-seg--tabs button { white-space: nowrap; }

/* categories */
.rd-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .rd-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rd-cats { grid-template-columns: 1fr; } }
.rd-cat { border: 1px solid var(--rd-line); border-radius: 18px; background: #fff; padding: 16px; transition: box-shadow .2s, border-color .2s; }
.rd-cat:hover { box-shadow: var(--rd-shadow-2); border-color: #D5DCE7; }
.rd-cat__head { display: flex; align-items: center; gap: 12px; }
.rd-cat__head b { display: block; color: var(--rd-ink); font-weight: 700; }
.rd-cat__head small { display: block; color: var(--rd-muted); font-size: .8rem; }
.rd-cat__head:hover b { color: var(--rd-tone-ink); }
.rd-cat__mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--rd-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.rd-cat__kids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rd-cat__kids a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--rd-soft); font-size: .82rem; font-weight: 550; color: var(--rd-ink-2); }
.rd-cat__kids a:hover { background: var(--rd-tone-bg); color: var(--rd-tone-ink); }
.rd-c0 { background: linear-gradient(135deg, #3B82F6, #1D4ED8); } .rd-c1 { background: linear-gradient(135deg, #F97316, #C2410C); }
.rd-c2 { background: linear-gradient(135deg, #10B981, #047857); } .rd-c3 { background: linear-gradient(135deg, #A855F7, #6D28D9); }
.rd-c4 { background: linear-gradient(135deg, #EC4899, #BE185D); } .rd-c5 { background: linear-gradient(135deg, #0EA5E9, #0369A1); }

/* teach on Zoytar */
.rd-teachband { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--rd-r-xl);
    background: linear-gradient(120deg, #F5F3FF, #EEF5FF 60%, #FFF7EB); border: 1px solid #E4E2FB; }
.rd-teachband p:not(.rd-eyebrow) { margin-top: 8px; color: var(--rd-muted); max-width: 40rem; }
.rd-teachband .rd-eyebrow { color: #5B21B6; }
.rd-teachband .rd-btn--primary { background: #7C3AED; box-shadow: 0 8px 20px -6px rgba(124,58,237,.35); }
.rd-teachband .rd-btn--primary:hover { background: #5B21B6; }
@media (max-width: 860px) { .rd-teachband { grid-template-columns: 1fr; } }

/* ================================================================ PRODUCT HOME (/Page) */
.rd-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(24px, 4vh, 40px); text-align: start; }
@media (max-width: 1024px) { .rd-prods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rd-prods { grid-template-columns: 1fr; } }
.rd-prod { --p: var(--rd-blue); --p-bg: var(--rd-blue-50); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: #fff;
    border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-1); transition: transform .25s var(--rd-ease), box-shadow .25s, border-color .25s; }
.rd-prod:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-3); border-color: color-mix(in srgb, var(--p) 40%, var(--rd-line)); }
.rd-prod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 18px 18px 0 0; background: var(--p); }
.rd-prod__top { display: flex; align-items: center; gap: 10px; }
.rd-prod__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--p-bg); color: var(--p); }
.rd-prod__icon svg { width: 20px; height: 20px; }
.rd-prod__name { font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); font-size: 1.02rem; letter-spacing: -.01em; }
.rd-prod__who { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p); }
.rd-prod p { font-size: .88rem; color: var(--rd-muted); line-height: 1.5; }
.rd-prod__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--p); }
.rd-prod__go svg { width: 16px; height: 16px; transition: transform .2s var(--rd-ease); }
.rd-prod:hover .rd-prod__go svg { transform: translateX(3px); }
html[dir="rtl"] .rd-prod__go svg { transform: scaleX(-1); }
.rd-prod a::after { content: ""; position: absolute; inset: 0; }
.rd-p-learn { --p: #0757D5; --p-bg: #EEF5FF; } .rd-p-tutor { --p: #7C3AED; --p-bg: #F5F3FF; }
.rd-p-ent { --p: #1E40AF; --p-bg: #EFF6FF; } .rd-p-erp { --p: #047857; --p-bg: #ECFDF5; }

/* the four-way showcase: a screen on one side, what it is on the other */
.rd-pshow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.rd-pshow__copy > * + * { margin-top: 12px; }
.rd-pshow__copy .rd-check { margin-top: 18px; grid-template-columns: 1fr; }
.rd-pshow__copy .rd-actions { margin-top: 22px; }
@media (max-width: 960px) { .rd-pshow { grid-template-columns: 1fr; } }
.rd-livegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; background: var(--rd-soft); }
.rd-livegrid .rd-item__body { padding: 10px 11px 12px; }
.rd-livegrid .rd-item__title { font-size: .84rem; }
@media (max-width: 600px) { .rd-livegrid { grid-template-columns: 1fr 1fr; } .rd-livegrid > :nth-child(n+5) { display: none; } }

/* LONG WORDS. A label that is twice as long in Tamil or German wraps onto a second line inside its
   button rather than pushing the page sideways; headings break a word that cannot fit at all (no
   automatic hyphens: they cut Tamil and Malayalam words in the wrong places). */
@media (max-width: 640px) {
    .rd .rd-btn { max-width: 100%; white-space: normal; text-align: center; height: auto; padding-block: 9px; line-height: 1.3; }
}
.rd h1, .rd h2, .rd h3, .rd h4, .rd-item__title, .rd-tcard h3, .rd-bundle h3, .rd-tab, .rd-card { overflow-wrap: break-word; }
/* the comparison on a phone: no sideways scroll — the feature takes half, the three answers share the rest */
@media (max-width: 640px) {
    .rd-cmpx { padding: 0; border: 0; background: none; }
    .rd-cmpx__table { min-width: 0; table-layout: fixed; font-size: .82rem; }
    .rd-cmpx__table th, .rd-cmpx__table td { padding: 8px 6px; }
    .rd-cmpx__table thead th:first-child { width: 50%; }
    .rd-cmpx__table tbody th { padding-inline-start: 12px; overflow-wrap: break-word; }
    .rd-cmpx__table thead th { font-size: .68rem; letter-spacing: 0; padding-inline: 2px; }
    .rd-cmpx__bars li { grid-template-columns: 76px minmax(0, 1fr) auto; }
}
@media (max-width: 360px) { .rd-cmpx__table thead th:first-child { width: 44%; } .rd-cmpx__table th, .rd-cmpx__table td { padding-inline: 4px; } }

/* ================================================================ PRODUCT HOME, re-audited (owner, 29 Oct) */
.rd .rd-btn--lg { min-height: 50px; padding: 0 24px; font-size: 1rem; border-radius: 13px; }
.rd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-blue-100);
    box-shadow: var(--rd-shadow-1); font-size: .82rem; font-weight: 650; color: var(--rd-blue-600); }
.rd-pill svg { width: 16px; height: 16px; padding: 2px; border-radius: 6px; background: var(--rd-blue-50); box-sizing: content-box; }

/* hero (owner, 29 Oct: "redesign a bit"): copy on the left, sized to the screen's width and height so
   the whole of it sits in the first view even on a short laptop screen; one window on the right that
   cycles through the real product screens, with two facts at its corners */
.rd-hhero { padding-block: clamp(18px, 4.2vh, 56px) clamp(24px, 4.8vh, 64px);
    background: radial-gradient(60% 70% at 100% 0%, rgba(124, 58, 237, .10), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(4, 120, 87, .07), transparent 70%); }
.rd-hhero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.rd-hhero h1 { font-size: clamp(2rem, min(3.5vw, .9rem + 5.4vh), 3rem); line-height: 1.06; margin-top: clamp(12px, 2.4vh, 22px); }
.rd-hhero h1 .rd-line { display: block; }
.rd-hhero .rd-lede { max-width: 34rem; margin-top: clamp(10px, 2vh, 18px); }
.rd-hhero .rd-actions { margin-top: clamp(16px, 3vh, 28px); }
.rd-hhero .rd-points { margin-top: clamp(12px, 2.2vh, 20px); }
@media (max-height: 720px) and (min-width: 961px) {
    .rd-hhero .rd-lede { font-size: .98rem; line-height: 1.5; }
    .rd-hhero .rd-btn--lg { padding-block: 11px; }
    .rd-hhero .rd-stackpill { padding-block: 4px; }
    .rd-hhero .rd-stackpill__marks i { width: 26px; height: 26px; }
}
@media (max-width: 960px) { .rd-hhero__grid { grid-template-columns: minmax(0, 1fr); } }

.rd-hwin { position: relative; padding: 14px 0 22px; }
.rd-hwin__frame { position: relative; border-radius: 14px; background: #fff; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 30px 60px -28px rgba(30, 41, 80, .35), 0 8px 18px -10px rgba(30, 41, 80, .18); overflow: hidden; }
.rd-hwin__bar { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 6px 10px 6px 14px; background: #F6F8FB; border-bottom: 1px solid var(--rd-line); }
.rd-hwin__dots { display: inline-flex; gap: 6px; flex: none; }
.rd-hwin__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D7DCE5; }
.rd-hwin__tabs { display: flex; gap: 4px; margin-inline-start: auto; min-width: 0; }
.rd-hwin__tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 650; color: var(--rd-muted); cursor: pointer; overflow: hidden; }
.rd-hwin__tabs button > i { width: 8px; height: 8px; border-radius: 50%; background: var(--p); opacity: .45; flex: none; }
.rd-hwin__tabs button:hover { color: var(--rd-ink); }
.rd-hwin__tabs button[aria-selected="true"] { background: #fff; color: var(--rd-ink); box-shadow: 0 1px 2px rgba(17,24,39,.08), 0 0 0 1px var(--rd-line); }
.rd-hwin__tabs button[aria-selected="true"] > i { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 22%, transparent); }
.rd-hwin__tabs button::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 0; background: var(--p); }
.is-auto .rd-hwin__tabs button[aria-selected="true"]::after { animation: rd-progress var(--rd-tab-ms, 7000ms) linear forwards; }
.rd-hwin__shot { position: relative; margin: 0; animation: rd-hwin-in .5s ease both; }
.rd-hwin__shot[hidden] { display: none; }
.rd-hwin__shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@keyframes rd-hwin-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.rd-hwin__fact { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 9px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rd-line);
    box-shadow: 0 14px 30px -16px rgba(30, 41, 80, .35); animation: rd-float 6s ease-in-out infinite; }
.rd-hwin__fact b { font-family: var(--rd-display); font-size: 1.3rem; line-height: 1; flex: none; }
.rd-hwin__fact span { font-size: .74rem; line-height: 1.3; color: var(--rd-muted); }
.rd-hwin__fact--a { bottom: 0; inset-inline-start: -22px; } .rd-hwin__fact--a b { color: #7C3AED; }
.rd-hwin__fact--b { bottom: 0; inset-inline-end: -14px; animation-delay: -3s; } .rd-hwin__fact--b b { color: #047857; }
@media (prefers-reduced-motion: reduce) { .rd-hwin__fact, .rd-hwin__shot { animation: none; } }
@media (max-width: 960px) { .rd-hwin { max-width: 600px; width: 100%; margin-inline: auto; } .rd-hwin__fact--a { inset-inline-start: 8px; } .rd-hwin__fact--b { inset-inline-end: 8px; } }
@media (max-width: 520px) { .rd-hwin__fact { display: none; } .rd-hwin { padding-bottom: 0; } .rd-hwin__dots { display: none; } .rd-hwin__tabs { margin-inline: 0; } }

/* how it works */
.rd-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.rd-steps::before { content: ""; position: absolute; top: 34px; inset-inline: 16% 16%; border-top: 2px dashed var(--rd-blue-100); }
.rd-step { position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-1); }
.rd-step__n { position: absolute; top: 18px; inset-inline-end: 20px; font-family: var(--rd-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--rd-blue-50); }
.rd-step .rd-icon { position: relative; }
.rd-step h3 { margin-top: 14px; font-size: 1.08rem; color: var(--rd-ink); }
.rd-step p { margin-top: 6px; font-size: .92rem; color: var(--rd-muted); }
@media (max-width: 860px) { .rd-steps { grid-template-columns: minmax(0, 1fr); } .rd-steps::before { display: none; } }

/* prices at a glance */
.rd-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1024px) { .rd-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rd-glance { grid-template-columns: minmax(0, 1fr); } }
.rd-glance__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line);
    box-shadow: var(--rd-shadow-1); overflow: hidden; transition: transform .2s var(--rd-ease), box-shadow .2s; }
.rd-glance__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--p); }
.rd-glance__card:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); }
.rd-glance__name { font-size: .8rem; font-weight: 700; color: var(--p); }
.rd-glance__big { font-family: var(--rd-display); font-size: 1.45rem; line-height: 1.15; color: var(--rd-ink); }
.rd-glance__line { font-size: .88rem; color: var(--rd-muted); line-height: 1.5; }
.rd-glance__go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 650; color: var(--p); }
.rd-glance__go svg { width: 16px; height: 16px; }

/* integrations */
.rd-ints { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 36px; }
.rd-ints__col { padding: 22px; border-radius: 20px; background: var(--rd-soft); border: 1px solid var(--rd-line-2); }
.rd-ints__col h3 { font-size: 1rem; color: var(--rd-ink); margin-bottom: 12px; }
.rd-ints__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-ints__col li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-1); cursor: help; transition: border-color .15s, color .15s; }
.rd-ints__col li:hover, .rd-ints__col li:focus-visible { border-color: var(--rd-blue-100); }
.rd-ints__col b { font-size: .86rem; font-weight: 600; color: var(--rd-ink-2); }
.rd-ints__col li:hover b { color: var(--rd-blue-600); }

/* in your language */
.rd-langband { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px 40px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--rd-r-xl);
    background: linear-gradient(130deg, #FFF7EB, #FFFFFF 45%, #EEF5FF); border: 1px solid #F6E3C6; }
.rd-langband .rd-eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.rd-langband .rd-eyebrow svg { width: 16px; height: 16px; }
.rd-langband p:not(.rd-eyebrow) { margin-top: 8px; color: var(--rd-muted); }
.rd-langband__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-langband__list li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line); font-size: .88rem; font-weight: 600; color: var(--rd-ink-2); box-shadow: var(--rd-shadow-1); }
.rd-langband__list img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,24,39,.1); }
@media (max-width: 860px) { .rd-langband { grid-template-columns: minmax(0, 1fr); } }
.rd-story__top .rd-tag--line { font-size: .72rem; }
/* gradient text is clipped to its box: give the letters that drop below the line (Arabic, Tamil) room */
.rd h1 .rd-grad, .rd h2 .rd-grad { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---- the four products as one badge (home hero) */
.rd-stackpill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line);
    box-shadow: var(--rd-shadow-2); font-size: .9rem; font-weight: 700; color: var(--rd-ink); transition: transform .2s var(--rd-ease), box-shadow .2s; }
.rd-stackpill:hover { transform: translateY(-2px); box-shadow: var(--rd-shadow-3); }
.rd-stackpill > svg { width: 16px; height: 16px; color: var(--rd-blue); }
.rd-stackpill__marks { display: inline-flex; }
.rd-stackpill__marks i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid #fff; background: var(--p); margin-inline-start: -8px; box-shadow: 0 2px 6px -2px var(--p); }
.rd-stackpill__marks i:first-child { margin-inline-start: 0; }
.rd-stackpill__marks svg { width: 14px; height: 14px; }

/* ---- choose where to start: four doors in their colours */
.rd-start { position: relative; padding-block: clamp(36px, 6vh, 64px) clamp(44px, 7vh, 80px); background: linear-gradient(180deg, transparent, var(--rd-soft) 60%); }
.rd-start__head { text-align: center; max-width: 44rem; margin-inline: auto; }
.rd-start__head p { margin-top: 8px; color: var(--rd-muted); }
.rd-start__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .rd-start__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rd-start__grid { grid-template-columns: minmax(0, 1fr); } }
.rd-door { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-2); overflow: hidden;
    transition: transform .25s var(--rd-ease), box-shadow .25s, border-color .25s; }
.rd-door:hover, .rd-door:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--p) 55%, transparent); border-color: color-mix(in srgb, var(--p) 40%, var(--rd-line)); }
.rd-door__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 46px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--p) 80%, #fff), var(--p)); color: #fff; }
.rd-door__top::after { content: ""; position: absolute; inset: auto -10% -30px -10%; height: 60px; border-radius: 50% 50% 0 0; background: #fff; }
.rd-door__icon { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); }
.rd-door__icon svg { width: 26px; height: 26px; }
.rd-door__who { position: relative; z-index: 1; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: end; opacity: .95; }
.rd-door__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 0 20px; margin-top: -14px; flex: 1; }
.rd-door__name { font-family: var(--rd-display); font-size: 1.25rem; line-height: 1.2; color: var(--rd-ink); }
.rd-door__what { font-size: .9rem; color: var(--rd-muted); line-height: 1.5; }
.rd-door__pts { display: grid; gap: 6px; margin-top: 4px; }
.rd-door__pts span { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; font-weight: 550; color: var(--rd-ink-2); line-height: 1.4; }
.rd-door__pts svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--p); }
.rd-door__go { margin: 16px 20px 20px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; background: var(--p-bg); color: var(--p);
    font-weight: 700; font-size: .92rem; transition: background-color .2s, color .2s; }
.rd-door__go svg { width: 18px; height: 18px; }
.rd-door:hover .rd-door__go { background: var(--p); color: #fff; }

/* ---- built in: every pillar, with how much of it is built */
.rd-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.rd-pillar { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #AFBBD6;
    transition: background-color .2s, border-color .2s, transform .2s var(--rd-ease); }
.rd-pillar:hover { background: rgba(255,255,255,.07); border-color: rgba(127,176,255,.35); transform: translateY(-3px); }
.rd-pillar .rd-icon { background: rgba(127,176,255,.12); color: #7FB0FF; }
.rd .rd-pillar h3 { color: #fff; font-size: 1.05rem; margin-top: 6px; }
.rd-pillar p { font-size: .88rem; line-height: 1.55; }
.rd-pillar__meter { margin-top: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.rd-pillar__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34D399, #10B981); }
.rd-pillar__count { font-size: .76rem; font-weight: 700; color: #6EE7B7; }
.rd-pillar__todo { display: flex; gap: 8px; align-items: baseline; font-size: .8rem; line-height: 1.45; color: #8E9BBB; }
.rd-pillar__todo .rd-tag { flex: none; }
.rd-pillar__more { font-size: .78rem; color: #7FB0FF; font-weight: 600; }
.rd-tag--prog { background: rgba(127,176,255,.16); color: #9EC3FF; }

/* ---- AI, built in */
.rd-aiwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 24px 40px; padding: clamp(24px, 4vw, 44px); border-radius: var(--rd-r-xl);
    background: radial-gradient(70% 90% at 100% 0%, rgba(124,58,237,.12), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(7,87,213,.10), transparent 60%), #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-2); }
@media (max-width: 960px) { .rd-aiwrap { grid-template-columns: minmax(0, 1fr); } }
.rd-aiwrap .rd-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #6D28D9; }
.rd-aiwrap .rd-eyebrow svg { width: 16px; height: 16px; }
.rd-aiwrap__head p:not(.rd-eyebrow) { margin-top: 10px; color: var(--rd-muted); }
.rd-aiwrap__note { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #FFF4E5; color: var(--rd-orange-ink) !important; font-size: .8rem; font-weight: 600; }
.rd-aigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.rd-aicard { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid var(--rd-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rd-aicard .rd-icon { background: #F5F3FF; color: #7C3AED; }
.rd-aicard h3 { margin-top: 10px; font-size: .98rem; color: var(--rd-ink); }
.rd-aicard ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.rd-aicard li { position: relative; padding-inline-start: 16px; font-size: .84rem; line-height: 1.45; color: var(--rd-ink-2); }
.rd-aicard li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #7C3AED, #0757D5); }

/* ---- integrations as a wall of logos */
.rd-logowall { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rd-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 10px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line);
    box-shadow: var(--rd-shadow-1); text-align: center; cursor: help; transition: transform .2s var(--rd-ease), box-shadow .2s; }
.rd-logo:hover, .rd-logo:focus-visible { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); }
.rd-logo__mark { height: 34px; display: grid; place-items: center; }
.rd-logo__mark svg { width: 32px; height: 32px; }
.rd-logo__ini { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rd-soft); border: 1px solid var(--rd-line); color: var(--rd-ink-2); font: 800 .82rem var(--rd-display); }
.rd-logo__name { font-size: .82rem; font-weight: 600; color: var(--rd-ink-2); line-height: 1.3; }
.rd-capwall { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rd-capwall li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px dashed var(--rd-blue-100); font-size: .84rem; font-weight: 600; color: var(--rd-blue-600); cursor: help; }
.rd-capwall svg { width: 16px; height: 16px; }
.rd-logowall__note { margin-top: 16px; text-align: center; color: var(--rd-faint); font-size: .76rem; }

/* ---- built and building: what is live, what is being built, what comes next (partials/roadmap) */
.rd-rm { margin-top: 6px; }
.rd-rm__tabn { margin-inline-start: 4px; padding: 1px 7px; border-radius: 999px; background: #ECFDF5; color: #047857; font-size: .72rem; font-weight: 700; }
.rd-rm__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 16px; font-size: .86rem; font-weight: 600; color: var(--rd-ink-2); }
.rd-rm__dot { width: 9px; height: 9px; border-radius: 50%; margin-inline-start: 8px; }
.rd-rm__dot:first-child { margin-inline-start: 0; }
.rd-rm__dot--live { background: #10B981; } .rd-rm__dot--progress { background: #F59E0B; } .rd-rm__dot--planned { background: #6366F1; }
.rd-rm__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.rd-rm__stack { display: grid; gap: 14px; align-content: start; }
@media (max-width: 960px) { .rd-rm__cols { grid-template-columns: minmax(0, 1fr); } }
.rd-rm__col { --c: #10B981; --cbg: #ECFDF5; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-1); border-top: 4px solid var(--c); }
.rd-rm__col--progress { --c: #F59E0B; --cbg: #FFFBEB; }
.rd-rm__col--planned { --c: #6366F1; --cbg: #EEF2FF; }
.rd-rm__head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.rd-rm__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cbg); color: var(--c); }
.rd-rm__ic svg { width: 18px; height: 18px; }
.rd-rm__head b { display: block; font-family: var(--rd-display); color: var(--rd-ink); font-size: 1rem; }
.rd-rm__head small { display: block; font-size: .76rem; color: var(--rd-muted); }
.rd-rm__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rd-rm__col li { position: relative; padding: 6px 0 6px 22px; font-size: .88rem; line-height: 1.4; color: var(--rd-ink-2); border-top: 1px solid var(--rd-line-2); }
.rd-rm__col li:first-child { border-top: 0; }
html[dir="rtl"] .rd-rm__col li { padding: 6px 22px 6px 0; }
.rd-rm__col li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--cbg); }
.rd-rm__col--progress li::before { background: linear-gradient(90deg, var(--c) 50%, #fff 50%); border: 1.5px solid var(--c); width: 9px; height: 9px; box-sizing: border-box; }
.rd-rm__col--planned li::before { background: #fff; border: 2px solid var(--c); box-sizing: border-box; }
.rd-rm__more { margin-top: 6px; }
.rd-rm__more summary { cursor: pointer; font-size: .84rem; font-weight: 650; color: var(--rd-blue); list-style: none; padding: 6px 0; }
.rd-rm__more summary::-webkit-details-marker { display: none; }
.rd-rm__more[open] summary { display: none; }

/* spacing rhythm (owner, 29 Oct: "nothing should look clumsy"): two sections on the same background read
   as one break, not two paddings stacked; headings and short intros balance their lines instead of
   leaving one word alone on the last line */
.rd-section:not(.rd-section--soft):not(.rd-dark):not(.rd-aisec) + .rd-section:not(.rd-section--soft):not(.rd-dark):not(.rd-section--rail):not(.rd-aisec),
.rd-section--soft + .rd-section--soft:not(.rd-section--rail) { padding-top: clamp(8px, 1.6vw, 24px); }
.rd h1, .rd h2, .rd-head p, .rd-start__head p, .rd-railhead .rd-small, .rd-railhead p { text-wrap: balance; }

/* grids that end on a short row: the last row's cards share its width (or, for logo tiles, sit centred)
   instead of leaving a hole at the end */
.rd-pillars, .rd-aigrid { display: flex; flex-wrap: wrap; }
.rd-pillars > * { flex: 1 1 260px; min-width: 0; }
.rd-aigrid > * { flex: 1 1 220px; min-width: 0; }
.rd-logowall { display: flex; flex-wrap: wrap; justify-content: center; }
.rd-logowall > li { flex: 0 0 calc((100% - 6 * 12px) / 7); min-width: 0; }
@media (max-width: 1100px) { .rd-logowall > li { flex-basis: calc((100% - 4 * 12px) / 5); } }
@media (max-width: 760px) { .rd-logowall > li { flex-basis: calc((100% - 2 * 12px) / 3); } }
.rd-bundles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.rd-cats { align-items: start; }
.rd-ints > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.rd-formats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .rd-formats--3 { grid-template-columns: minmax(0, 1fr); } }

/* one story, wide (pages 2–4, and the home page when there is only one) */
.rd-wstory { position: relative; margin: 0 0 32px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--rd-r-lg, 20px); background: linear-gradient(135deg, #fff, var(--rd-soft)); border: 1px solid var(--rd-line);
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; box-shadow: var(--rd-shadow-1); }
.rd-wstory__mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--rd-blue-50); color: var(--rd-blue); }
.rd-wstory__mark svg { width: 22px; height: 22px; }
.rd-wstory blockquote { margin: 0; font-family: var(--rd-display); font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.45; color: var(--rd-ink); text-wrap: pretty; }
.rd-wstory figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; max-width: 300px; }
.rd-wstory figcaption b { display: block; color: var(--rd-ink); font-size: .92rem; }
.rd-wstory figcaption small { display: block; color: var(--rd-muted); font-size: .78rem; }
@media (max-width: 760px) { .rd-wstory { grid-template-columns: minmax(0, 1fr); } .rd-wstory figcaption { justify-content: flex-start; max-width: none; } }
/* the topic strip fades in and out at its ends, so a topic is never cut in half next to "All topics" */
.rd-catbar__run { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
@media (max-width: 520px) { .rd-hhero .rd-actions > .rd-btn { flex: 1 1 100%; justify-content: center; } }

/* AI, BUILT IN (owner, 29 Oct: "a little beautification — it is a hot feature"): a deep violet panel that
   says what it is and the rules it keeps, and white cards for who gets what, each with a gradient mark */
.rd-aisec { background: radial-gradient(70% 90% at 0% 0%, rgba(124, 58, 237, .10), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(7, 87, 213, .09), transparent 60%), #FBFAFF; }
.rd-ai { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr); gap: 18px; align-items: stretch; }
.rd-ai--n1 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.rd-ai__panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 3.2vw, 40px); border-radius: 24px; color: #CFC8F7;
    background: linear-gradient(150deg, #1E1B4B 0%, #3B1D8F 55%, #6D28D9 100%); box-shadow: 0 30px 60px -30px rgba(76, 29, 149, .6); }
.rd-ai__panel::before { content: ""; position: absolute; inset-inline-end: -25%; bottom: -35%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, .5), transparent 65%); z-index: -1; }
.rd-ai__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.rd-ai__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rd-ai__badge svg { width: 15px; height: 15px; color: #FCD34D; }
.rd .rd-ai__panel h2 { color: #fff; margin-top: 16px; font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.3rem); line-height: 1.12; }
.rd-ai__lede { margin-top: 12px; line-height: 1.6; font-size: .98rem; }
.rd-ai__rules { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.rd-ai__rules li { display: flex; align-items: center; gap: 9px; color: #EDE9FE; font-weight: 600; font-size: .9rem; }
.rd-ai__rules svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: rgba(167, 243, 208, .16); color: #A7F3D0; box-sizing: content-box; }
.rd-ai__note { display: inline-block; margin-top: 20px; padding: 5px 12px; border-radius: 999px; background: rgba(252, 211, 77, .14); border: 1px solid rgba(252, 211, 77, .32); color: #FDE68A; font-size: .8rem; font-weight: 600; }
.rd-ai__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.rd-ai--n5 .rd-ai__cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rd-ai--n5 .rd-ai__card { grid-column: span 2; }
.rd-ai--n5 .rd-ai__card:nth-child(n+4) { grid-column: span 3; }
.rd-ai--n3 .rd-ai__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-ai__card { position: relative; overflow: hidden; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid #E9E5FB; box-shadow: 0 12px 30px -22px rgba(76, 29, 149, .5); transition: transform .2s, box-shadow .2s; }
.rd-ai__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #7C3AED, #0757D5); }
.rd-ai__card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(76, 29, 149, .6); }
.rd-ai__cardhead { display: flex; align-items: center; gap: 10px; }
.rd-ai__ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7C3AED, #0757D5); box-shadow: 0 8px 16px -8px rgba(124, 58, 237, .8); }
.rd-ai__ic svg { width: 19px; height: 19px; }
.rd .rd-ai__card h3 { font-size: 1rem; color: var(--rd-ink); }
.rd-ai__card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.rd-ai__card li { position: relative; padding-inline-start: 20px; font-size: .86rem; line-height: 1.5; color: var(--rd-ink-2); }
.rd-ai__card li::before { content: "✦"; position: absolute; inset-inline-start: 0; top: 0; font-size: .78rem; background: linear-gradient(135deg, #7C3AED, #0757D5); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1100px) { .rd-ai--n5 .rd-ai__cards, .rd-ai--n3 .rd-ai__cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); } .rd-ai--n5 .rd-ai__card, .rd-ai--n5 .rd-ai__card:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 960px) { .rd-ai, .rd-ai--n1 { grid-template-columns: minmax(0, 1fr); } }
/* the AI fact on the home hero and in the facts strip */
.rd-hwin__fact--ai b { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #7C3AED, #0757D5); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.rd-hwin__fact--ai b svg { width: 18px; height: 18px; color: #7C3AED; }
.rd-strip__big--ai { background: linear-gradient(135deg, #7C3AED, #0757D5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd-strip__big--ai small { -webkit-text-fill-color: var(--rd-muted); }

/* Built in: eight cards, two even rows of four (owner, 29 Oct) */
.rd-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rd-pillars > * { flex: none; }
@media (max-width: 1100px) { .rd-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rd-pillars { grid-template-columns: minmax(0, 1fr); } }

/* Integrations: ten tiles to a row (owner, 29 Oct), the plan each needs under its name where a page asks */
.rd-logowall { gap: 10px; }
.rd-logowall > li { flex: 0 0 calc((100% - 9 * 10px) / 10); padding: 14px 6px 12px; gap: 8px; }
.rd-logowall .rd-logo__name { font-size: .74rem; line-height: 1.25; text-align: center; }
.rd-logo__plan { font-size: .64rem; line-height: 1.2; font-weight: 600; color: var(--rd-muted); text-align: center; }
.rd-capwall small { margin-inline-start: 6px; font-size: .68rem; font-weight: 600; color: var(--rd-muted); }
@media (max-width: 1100px) { .rd-logowall > li { flex-basis: calc((100% - 5 * 10px) / 6); } }
@media (max-width: 760px) { .rd-logowall > li { flex-basis: calc((100% - 3 * 10px) / 4); } }
@media (max-width: 440px) { .rd-logowall > li { flex-basis: calc((100% - 2 * 10px) / 3); } }

/* In your language: an even grid of four, each flag and name lined up (owner, 29 Oct: "align them") */
.rd-langband__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rd-langband__list li { border-radius: 12px; padding: 8px 10px; min-width: 0; }
.rd-langband__list li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .rd-langband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rd-langband { grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); }
.rd-langband__list li { font-size: .85rem; gap: 7px; }
@media (max-width: 860px) { .rd-langband { grid-template-columns: minmax(0, 1fr); } }
.rd-ai--n6 .rd-ai__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-ai--n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rd-ai--n1 .rd-ai__cards, .rd-ai--n2 .rd-ai__cards { grid-template-columns: minmax(0, 1fr); align-content: center; }
.rd-ai__card--next { background: linear-gradient(180deg, #fff, #FAF8FF); border-style: dashed; }
.rd-ai__card--next .rd-ai__ic { background: linear-gradient(135deg, #F59E0B, #F97316); box-shadow: 0 8px 16px -8px rgba(245, 158, 11, .8); }
.rd-ai__card--next li .rd-tag { margin-inline-start: 4px; vertical-align: 1px; font-size: .68rem; }
.rd-ai__card .rd-tag--prog { background: #EEF5FF; color: #0757D5; }
@media (max-width: 1100px) { .rd-ai--n6 .rd-ai__cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); } }
@media (max-width: 960px) { .rd-ai--n2 { grid-template-columns: minmax(0, 1fr); } }
.rd-strip__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rd-strip__cell { min-width: 0; }
.rd-strip__big { overflow-wrap: break-word; }
@media (max-width: 860px) { .rd-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .rd-strip__cell { padding-inline: 12px; } .rd-strip__big small { display: inline-block; } }
/* a little more air between the home hero and "Choose where to start" (owner, 29 Oct) */
.rd-hhero + .rd-start { padding-top: clamp(64px, 9vh, 104px); }

/* the comparison with many rivals (pages 2–4: up to seven): scores beside the heading on top, the table
   across the full width underneath; on a phone the table scrolls inside its own card */
.rd-cmpx--wide { grid-template-columns: minmax(0, 1fr); }
.rd-cmpx--wide .rd-cmpx__side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 40px; align-items: start; }
.rd-cmpx--wide .rd-cmpx__side > .rd-eyebrow, .rd-cmpx--wide .rd-cmpx__side > .rd-h2s { grid-column: 1; }
.rd-cmpx--wide .rd-cmpx__bars { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.rd-cmpx--wide .rd-cmpx__bars li { grid-template-columns: 96px minmax(0, 1fr) auto; }
.rd-cmpx--wide .rd-cmpx__note { grid-column: 1; margin-top: 10px; }
.rd-cmpx--wide .rd-cmpx__table { min-width: 720px; table-layout: fixed; }
.rd-cmpx--wide .rd-cmpx__table tbody th { width: 30%; }
.rd-cmpx--wide .rd-cmpx__table thead th { white-space: normal; line-height: 1.25; font-size: .74rem; }
@media (max-width: 960px) { .rd-cmpx--wide .rd-cmpx__side { grid-template-columns: minmax(0, 1fr); } .rd-cmpx--wide .rd-cmpx__bars { grid-column: 1; grid-row: auto; margin-top: 16px; } }
@media (max-width: 560px) { .rd-cmpx--wide .rd-cmpx__bars { grid-template-columns: minmax(0, 1fr); } }

/* problems: the rest open under "Show more" */
.rd-probs__more { margin-top: 14px; }
.rd-probs__more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line); font-weight: 700; font-size: .88rem; color: var(--rd-blue); box-shadow: var(--rd-shadow-1); }
.rd-probs__more > summary::-webkit-details-marker { display: none; }
.rd-probs__more[open] > summary { margin-bottom: 0; }
.rd-probs__more .rd-probs { margin-top: 14px; }
.rd-cmpx--wide .rd-cmpx__table thead th:first-child { width: 30%; }
.rd-cmpx--wide .rd-cmpx__table th, .rd-cmpx--wide .rd-cmpx__table td { padding-block: 8px; }

/* product heroes (pages 2–4): the home hero's product window, and a headline sized to the screen's
   width and height so the hero sits in the first view on a short laptop screen too */
.rd-phero { padding-block: clamp(20px, 4.5vh, 60px) clamp(28px, 5vh, 64px); }
.rd-phero .rd-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.rd-phero h1 { font-size: clamp(2rem, min(3.7vw, .9rem + 5.6vh), 3.4rem); line-height: 1.06; }
.rd-phero .rd-lede { margin-top: clamp(10px, 2vh, 18px); }
.rd-phero .rd-actions { margin-top: clamp(16px, 3vh, 28px); }
.rd-phero .rd-points { margin-top: clamp(12px, 2.2vh, 20px); }
.rd-phero .rd-hero__note { margin-top: clamp(8px, 1.6vh, 14px); }
@media (max-width: 960px) { .rd-phero .rd-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.rd-hwin__fact--icon { max-width: 270px; padding: 10px 14px 10px 10px; }
.rd-hwin__fic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--p, #0757D5) 12%, #fff); color: var(--p, #0757D5); }
.rd-hwin__fic svg { width: 18px; height: 18px; }
.rd-hwin__fact--icon b { display: block; font-family: var(--rd-display); font-size: .84rem; line-height: 1.25; color: var(--rd-ink); }
.rd-hwin__fact--icon span:last-child { font-size: .72rem; line-height: 1.3; color: var(--rd-muted); }
.rd-hero--dark .rd-hwin__frame { border-color: rgba(255,255,255,.12); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .7); }

/* ==================================================================== LIVE-PAGE PARTS (1 Nov 2026)
   What the live product pages carry and these pages now do too, read from the same functions: the
   price and tax note, where a sale goes, the break-even calculator, the full plan cards and the plan
   table, the seat bands, Business Embedded and the ERP plan ladder. And the styling of the live
   partials included at the foot of the layout (confirm dialog, busy button, install offer, the
   staging "Viewing as" bar), whose own rules live in css/app.css, which these pages do not load. */
.rd-pnote { display: inline-flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding: 8px 12px; border-radius: var(--rd-r-sm); background: var(--rd-soft); color: var(--rd-ink-2); font-size: .82rem; line-height: 1.5; text-align: start; max-width: 46rem; }
.rd-pnote svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.rd-pnote--warn { background: #FFF7E8; color: #7A3E00; }
.rd-pnote--dark { background: rgba(255,255,255,.08); color: #DCE4F5; }
.rd-head--center .rd-pnote { margin-inline: auto; }

.rd-share { margin-top: 28px; padding: 24px; border-radius: var(--rd-r-lg); background: #fff; border: 1px solid var(--rd-line); display: grid; gap: 18px; }
.rd-share__on { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-faint); }
.rd-share h3 { font-size: 1.1rem; margin-top: -12px; }
.rd-share__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .92rem; color: var(--rd-ink-2); }
.rd-share__top b { font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); }
.rd-share__bar { margin-top: 8px; height: 10px; border-radius: 10px; background: var(--rd-line); overflow: hidden; }
.rd-share__bar i { display: block; height: 100%; background: var(--rd-tone); border-radius: 10px; }
.rd-share__pct { display: flex; justify-content: space-between; margin-top: 6px; font-size: .75rem; font-weight: 600; color: var(--rd-muted); }
.rd-share__pct span:first-child { color: var(--rd-tone-ink); }
.rd-share__row--own { padding: 14px; border-radius: var(--rd-r); background: var(--rd-soft); }

.rd-calc { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 20px; margin-top: 36px; }
.rd-calc__in, .rd-calc__card { padding: 24px; border-radius: var(--rd-r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.rd-calc__in label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8E9BBB; }
.rd-calc__amt { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; color: #fff; font-family: var(--rd-display); font-weight: 800; font-size: 1.5rem; }
.rd-calc__amt input { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: #fff; font: inherit; font-size: 1.9rem; padding: 0 0 4px; }
.rd-calc__amt input:focus { outline: none; border-color: rgba(255,255,255,.7); }
.rd-calc input[type=range] { width: 100%; margin-top: 14px; accent-color: #fff; }
.rd-calc__mix { margin-top: 6px; font-family: var(--rd-display); font-weight: 800; font-size: 1.9rem; color: #fff; }
.rd-calc__in .rd-small { margin-top: 8px; color: #8E9BBB; font-size: .8rem; }
.rd-calc__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rd-calc__card { display: flex; flex-direction: column; transition: box-shadow .2s var(--rd-ease); }
.rd-calc__card.is-best { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.rd-calc__name { color: #fff; font-weight: 650; }
.rd-calc__card .rd-small { color: #8E9BBB; font-size: .8rem; margin-top: 2px; }
.rd-calc__keep { margin-top: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8E9BBB; }
.rd-calc__val { font-family: var(--rd-display); font-weight: 800; font-size: 1.5rem; color: #fff; }
.rd-calc__sub { margin-top: auto; padding-top: 14px; font-size: .8rem; line-height: 1.5; color: #AFBBD6; }
.rd-calc__fine { margin-top: 18px; max-width: 52rem; font-size: .8rem; line-height: 1.6; color: #8E9BBB; }
.rd-calc__fine strong { color: #DCE4F5; }
@media (max-width: 960px) { .rd-calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rd-calc__out { grid-template-columns: minmax(0, 1fr); } }

.rd-plan__gst { display: inline-block; margin-inline-start: 4px; }
.rd-plan__fee { margin-top: 6px; font-size: .8rem; font-weight: 650; color: var(--rd-ink-2); }
.rd-plan__for { margin-top: 16px; padding: 10px 12px; border-radius: var(--rd-r-sm); background: var(--rd-soft); font-size: .82rem; line-height: 1.5; color: var(--rd-ink-2); }
.rd-plan__plus { margin-top: 18px; font-size: .88rem; font-weight: 650; color: var(--rd-ink); }
.rd-plan__list { margin-top: 12px; gap: 8px; }
.rd-plan__list li { font-size: .88rem; }
.rd-plan__noshare { margin-top: 18px; padding: 8px 12px; border-radius: var(--rd-r-sm); background: var(--rd-tone-bg); color: var(--rd-tone-ink); font-size: .78rem; font-weight: 700; }
.rd-notyet { margin-top: 28px; padding: 20px 22px; border-radius: var(--rd-r-lg); border: 1px dashed var(--rd-line); background: #fff; }
.rd-notyet h3 { font-size: .98rem; }
.rd-notyet p { margin-top: 6px; font-size: .9rem; color: var(--rd-muted); }

.rd-matrix { min-width: 44rem; }
.rd-matrix thead th { text-transform: none; letter-spacing: 0; vertical-align: bottom; }
.rd-matrix thead th:not(:first-child), .rd-matrix td { text-align: center; }
.rd-matrix__plan { display: block; font-size: .92rem; font-weight: 700; color: var(--rd-ink); }
.rd-matrix__price { display: block; margin-top: 2px; font-size: .78rem; font-weight: 600; color: var(--rd-muted); font-variant-numeric: tabular-nums; }
.rd-matrix__group th { padding-top: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-faint); background: #fff; }
.rd-matrix tbody th { font-weight: 500; color: var(--rd-ink-2); }
.rd-matrix__yes { display: inline-block; width: 18px; height: 18px; background: var(--rd-tone); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.rd-matrix__no { display: inline-block; width: 12px; height: 1px; background: var(--rd-faint); vertical-align: middle; }

.rd-bands { min-width: 40rem; }
.rd-bands__month { font-family: var(--rd-display); font-weight: 800; color: var(--rd-ink); }
.rd-ladder { min-width: 44rem; }
.rd-ladder thead th { text-transform: none; letter-spacing: 0; vertical-align: bottom; }
.rd-ladder td, .rd-ladder tbody th { vertical-align: top; }
.rd-ladder__blurb { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; line-height: 1.4; color: var(--rd-muted); }
.rd-ladder td b { font-family: var(--rd-display); font-size: 1.1rem; color: var(--rd-ink); }
.rd-ladder__per { display: block; font-size: .78rem; color: var(--rd-muted); }
.rd-ladder__adds { gap: 6px; }
.rd-ladder__adds li { font-size: .8rem; }
.rd-ladder__adds li::before { width: 16px; height: 16px; }

.rd-status { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 2px 8px; border-radius: 999px; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rd-status--live { background: #ECFDF5; color: #047857; }
.rd-status--progress { background: #FFF7E8; color: #8A4B00; }
.rd-status--progress::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; }
.rd-status--pending { background: var(--rd-soft); color: var(--rd-muted); }
.rd-embedded { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; margin-top: 32px; padding: 28px; border-radius: var(--rd-r-lg); border: 2px dashed var(--rd-line); background: linear-gradient(135deg, var(--rd-soft), #fff); }
.rd-embedded__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rd-embedded__brand { padding: 3px 10px; border-radius: 999px; background: var(--rd-tone); color: #fff; font-family: var(--rd-display); font-size: .75rem; font-weight: 800; }
.rd-embedded h3 { margin-top: 12px; font-size: 1.35rem; }
.rd-embedded > div > p { margin-top: 8px; font-size: .92rem; color: var(--rd-muted); }
.rd-embedded > div > p.rd-embedded__price { color: var(--rd-ink); font-weight: 650; }
.rd-embedded .rd-btn { margin-top: 18px; }
.rd-embedded ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.rd-embedded li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--rd-r-sm); background: #fff; border: 1px solid var(--rd-line); font-size: .86rem; line-height: 1.4; color: var(--rd-ink-2); }
@media (max-width: 960px) { .rd-embedded { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rd-embedded ul { grid-template-columns: minmax(0, 1fr); } }

.rd-types { margin-top: 44px; }
.rd-types h3 { font-size: 1.1rem; }
.rd-types .rd-grid { margin-top: 16px; gap: 12px; }
.rd-types .rd-grid > div { padding: 18px; border-radius: var(--rd-r); background: var(--rd-soft); }
.rd-types b { display: block; color: var(--rd-ink); font-size: .95rem; }
.rd-types p { margin-top: 6px; font-size: .86rem; color: var(--rd-muted); }
.rd-sources { margin-top: 28px; padding: 22px; border-radius: var(--rd-r-lg); background: #fff; border: 1px solid var(--rd-line); }
.rd-sources h3 { font-size: 1rem; }
.rd-sources p { margin-top: 6px; font-size: .9rem; color: var(--rd-muted); max-width: 48rem; }
.rd-sources ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rd-sources li { padding: 6px 12px; border-radius: var(--rd-r-sm); border: 1px solid var(--rd-line); font-size: .78rem; font-weight: 650; color: var(--rd-ink-2); }
.rd-extras { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* the live partials at the foot of the layout */
.lv-confirm { border: 0; padding: 0; background: transparent; max-width: 26rem; width: calc(100% - 2rem); }
.lv-confirm::backdrop { background: rgba(23, 32, 35, .45); }
.lv-confirm-box { margin: 0; border-radius: 1rem; background: #fff; color: #172023; padding: 1.25rem; box-shadow: 0 20px 50px -12px rgba(23, 32, 35, .35); }
.lv-confirm-q { font-size: .95rem; line-height: 1.5; font-weight: 600; white-space: pre-line; }
.lv-confirm-actions { margin-top: 1.25rem; display: flex; justify-content: flex-end; gap: .5rem; }
.lv-confirm-actions button { border-radius: .75rem; padding: .55rem 1rem; font-size: .875rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.lv-confirm-no { border: 1px solid #d9e0e8; background: #fff; color: #334155; }
.lv-confirm-yes { border: 1px solid #0757D5; background: #0757D5; color: #fff; }
.lv-confirm-yes.lv-confirm-danger { border-color: #dc2626; background: #dc2626; }
.lv-confirm-actions button:focus-visible { outline: 2px solid #FF8A00; outline-offset: 2px; }
.lv-busy { cursor: progress; opacity: .75; }
.lv-busy::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-inline-end: .45em; vertical-align: -.12em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 9999px; animation: lv-spin .7s linear infinite; }
@keyframes lv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lv-busy::before { animation: none; } }
#lv-install { position: fixed; z-index: 60; inset-inline: 12px; bottom: 12px; }
#lv-install.hidden { display: none; }
#lv-install > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--rd-r); background: #fff; border: 1px solid var(--rd-line); box-shadow: var(--rd-shadow-2); }
#lv-install img { width: 40px; height: 40px; border-radius: 12px; flex: none; }
#lv-install p:first-child { font-size: .9rem; font-weight: 700; color: var(--rd-ink); }
#lv-install p + p { margin-top: 2px; font-size: .78rem; color: var(--rd-muted); }
#lv-install button { margin-top: 10px; margin-inline-end: 6px; padding: 6px 12px; border-radius: 8px; border: 0; font: inherit; font-size: .78rem; font-weight: 650; cursor: pointer; background: transparent; color: var(--rd-muted); }
#lv-install #lv-install-go { background: var(--rd-blue); color: #fff; }
@media (min-width: 640px) { #lv-install { inset-inline-start: auto; inset-inline-end: 16px; width: 20rem; } }
[data-test-region-bar] { background: #FEF3C7; border-bottom: 1px solid #FCD34D; color: #451A03; font-size: .75rem; }
[data-test-region-bar] form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: var(--rd-wrap); margin: 0 auto; padding: 6px var(--rd-gutter); }
[data-test-region-bar] form > span:first-of-type { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
[data-test-region-bar] label { font-weight: 650; }
[data-test-region-bar] select { padding: 2px 6px; border: 1px solid #FBBF24; border-radius: 4px; background: #fff; font: inherit; color: #111827; }
/* a scroll box holds its own screen-reader labels: .rd-sr is absolutely placed, and without a positioned
   box it escaped the clip and widened the page on a phone */
.rd-cmpx__scroll, .rd-table__scroll { position: relative; }
/* the country switcher and the "not available here yet" note (partials/region), the other products
   (partials/others); and screen-reader text inside a coloured icon keeps a readable colour, since
   contrast checkers measure it like any other text */
.rd-cmpx__ic .rd-sr { color: var(--rd-ink); background: #fff; }
.rd-region { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: .85rem; color: var(--rd-muted); }
.rd-region label { font-weight: 650; color: var(--rd-ink-2); }
.rd-region select { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--rd-line); border-radius: var(--rd-r-sm); background: #fff; font: inherit; color: var(--rd-ink); max-width: 100%; }
.rd-region button { border: 0; background: none; font: inherit; font-weight: 650; color: var(--rd-tone-ink); text-decoration: underline; cursor: pointer; }
.rd-mnote { margin-top: 20px; padding: 20px; border-radius: var(--rd-r-lg); border: 1px solid color-mix(in srgb, var(--rd-tone) 25%, var(--rd-line)); background: var(--rd-tone-bg); }
.rd-mnote h3 { font-size: 1.05rem; }
.rd-mnote p { margin-top: 6px; font-size: .9rem; color: var(--rd-ink-2); }
.rd-mnote form { display: grid; gap: 12px; margin-top: 14px; }
.rd-mnote label { display: block; font-size: .75rem; font-weight: 650; color: var(--rd-ink-2); }
.rd-mnote input, .rd-mnote select { width: 100%; height: 42px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--rd-line); border-radius: var(--rd-r-sm); background: #fff; font: inherit; color: var(--rd-ink); }
.rd-mnote__ok, .rd-mnote__err { padding: 10px 14px; border-radius: var(--rd-r-sm); background: #fff; font-weight: 650; }
.rd-mnote__ok { color: #047857; }
.rd-mnote__err { color: #BE123C; }
.rd-others { margin-top: 18px; }
.rd-others h3 { font-size: 1.02rem; }
.rd-others p { margin-top: 4px; font-size: .9rem; color: var(--rd-muted); }
.rd-foot__lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .85rem; }
.rd-foot__lang select { height: 34px; padding: 0 10px; border-radius: var(--rd-r-sm); border: 1px solid rgba(255,255,255,.2); background: transparent; color: inherit; font: inherit; }
.rd-foot__lang option { color: #111827; }
.rd-foot__lang button { border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.rd-stories-more { margin-top: 16px; margin-bottom: 24px; }
