/**
 * css/public-home.css — ReadyCare Systems public marketing homepage styles.
 *
 * Brand direction: calm, accessible slate/navy + teal/aqua palette with a
 * restrained warm accent, distinct from the Watson blue/gold agency brand.
 * Original ReadyCare styling only — not copied from any template source.
 *
 * Reusable design tokens live under :root so any future public-facing page
 * can share them without a build step.
 */

:root {
    color-scheme: light;

    /* Core brand palette */
    --rcs-navy-900: #0b1220;
    --rcs-navy-800: #101a2e;
    --rcs-navy-700: #16243d;
    --rcs-slate-600: #3c4a63;
    --rcs-slate-500: #5b6b85;
    --rcs-slate-400: #8391a8;
    --rcs-slate-200: #d7dde6;
    --rcs-slate-100: #eef1f6;
    --rcs-paper: #f7f9fc;
    --rcs-white: #ffffff;

    --rcs-teal-700: #0f766e;
    --rcs-teal-600: #0d9488;
    --rcs-aqua-500: #14b8a6;
    --rcs-aqua-300: #5eead4;

    --rcs-accent-warm: #d97757;
    --rcs-accent-warm-dark: #b85c3f;

    /* Semantic tokens */
    --rcs-ink: #101a2e;
    --rcs-muted: #5b6b85;
    --rcs-border: #d7dde6;
    --rcs-card: #ffffff;
    --rcs-focus-ring: #14b8a6;

    --rcs-radius-lg: 20px;
    --rcs-radius-md: 14px;
    --rcs-radius-sm: 8px;
    --rcs-shadow-card: 0 18px 40px rgba(11, 18, 32, 0.08);
    --rcs-shadow-elevated: 0 24px 60px rgba(11, 18, 32, 0.16);
}

* { box-sizing: border-box; }

body.rcs-public {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--rcs-ink);
    background: var(--rcs-paper);
    line-height: 1.55;
    /* Backstop against any single element overflowing the viewport width
       (a real one existed in .rcs-nav-inner — see its own comment) —
       matching the same safeguard already on body.rcs-app/body.rcs-admin
       (tests/mobile-responsive-audit.test.js), never added here until a
       real headless-screenshot check at 390px caught it (2026-09-09). */
    overflow-x: hidden;
}

a { color: var(--rcs-teal-700); }
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--rcs-focus-ring);
    outline-offset: 2px;
}

.rcs-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Top navigation ─────────────────────────────────────────────────── */
.rcs-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 249, 252, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rcs-border);
}
.rcs-nav .rcs-container.rcs-nav-inner {
    /* The nav gets a wider track than the page body so brand + all six
       links + language + login sit on one line on desktop. Body content
       still uses the standard min(1120px) container. */
    width: min(1280px, 100%);
}
.rcs-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 28px;
    /* One line on desktop. Below 760px the nav-links are hidden entirely
       (see the media query) and only brand + language + login remain,
       which fit one line down to phone widths — real bug history:
       tests/mobile-responsive-audit.test.js, a 390px headless screenshot
       caught an overflow here on 2026-09-09. */
    flex-wrap: nowrap;
}
.rcs-nav-brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.06rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--rcs-ink);
    white-space: nowrap;
    flex: 0 0 auto;
}
.rcs-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-inline: auto;
}
.rcs-nav-links a {
    color: var(--rcs-slate-600);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
}
.rcs-nav-links a:hover { color: var(--rcs-teal-700); }
.rcs-nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 0 0 auto;
}
/* "Agency Login": the one deliberate call-to-action in the bar, so it
   carries the brand fill and a nudge-on-hover arrow instead of the old
   flat outline pill. */
.rcs-nav-login {
    background: var(--rcs-teal-600);
    color: #ffffff;
    padding: 9px 18px;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.28);
    white-space: nowrap;
}
.rcs-nav-login:hover { background: var(--rcs-teal-700); }
.rcs-nav-login-arrow {
    display: inline-block;
    transition: transform 0.15s ease;
}
.rcs-nav-login:hover .rcs-nav-login-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
    .rcs-nav-login-arrow { transition: none; }
}
.rcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.rcs-btn-primary {
    background: var(--rcs-teal-600);
    color: #ffffff;
}
.rcs-btn-primary:hover { background: var(--rcs-teal-700); }
.rcs-btn-outline {
    background: transparent;
    color: var(--rcs-navy-800);
    border-color: var(--rcs-slate-200);
}
.rcs-btn-outline:hover { border-color: var(--rcs-teal-600); color: var(--rcs-teal-700); }
.rcs-btn-warm {
    background: var(--rcs-accent-warm);
    color: #ffffff;
}
.rcs-btn-warm:hover { background: var(--rcs-accent-warm-dark); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.rcs-hero {
    background: linear-gradient(160deg, var(--rcs-navy-900), var(--rcs-navy-700) 60%, var(--rcs-teal-700));
    color: #fff;
    padding: 72px 0 96px;
}
.rcs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
}
.rcs-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.16);
    color: var(--rcs-aqua-300);
    margin-bottom: 18px;
    font-weight: 700;
}
.rcs-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    line-height: 1.08;
}
.rcs-hero p.lede {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 52ch;
}
.rcs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.rcs-hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--rcs-radius-lg);
    padding: 28px;
}
.rcs-hero-card ul { margin: 0; padding-left: 20px; }
.rcs-hero-card li { margin-bottom: 10px; color: rgba(255, 255, 255, 0.88); }

/* ── Sections ────────────────────────────────────────────────────────── */
.rcs-section { padding: 72px 0; }
.rcs-section-alt { background: var(--rcs-slate-100); }
.rcs-section-head { max-width: 62ch; margin-bottom: 40px; }
.rcs-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; }
.rcs-section-head p { color: var(--rcs-muted); margin: 0; }

.rcs-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.rcs-card {
    background: var(--rcs-card);
    border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-md);
    padding: 24px;
    box-shadow: var(--rcs-shadow-card);
}
.rcs-card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.rcs-card p { margin: 0; color: var(--rcs-muted); font-size: 0.95rem; }

/* Status badges — vocabulary matches app.html Platform Modules section */
.rcs-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-left: 8px;
}
.rcs-status-active            { background: #dcfce7; color: #166534; }
.rcs-status-in-development     { background: #fef9c3; color: #854d0e; }
.rcs-status-planned            { background: #e5e7eb; color: #374151; }
.rcs-status-roadmap            { background: #dbeafe; color: #1e40af; }
.rcs-status-requires-integration { background: #ffe4e6; color: #9f1239; }
.rcs-status-enterprise-add-on  { background: #ede9fe; color: #5b21b6; }

/* How it works — numbered steps */
.rcs-steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.rcs-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rcs-teal-600);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Pricing */
.rcs-pricing-card {
    background: linear-gradient(180deg, var(--rcs-navy-900), var(--rcs-navy-700));
    color: #fff;
    border-radius: var(--rcs-radius-lg);
    padding: 36px;
    box-shadow: var(--rcs-shadow-elevated);
}
.rcs-pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 6px 0 4px;
}
.rcs-pricing-price small { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.75); }
.rcs-pricing-card ul { padding-left: 20px; margin: 20px 0; }
.rcs-pricing-card li { margin-bottom: 8px; color: rgba(255,255,255,0.9); }
.rcs-pricing-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 16px;
    margin-top: 16px;
}

/* Security / boundaries */
.rcs-boundary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rcs-boundary-list li {
    padding-left: 28px;
    position: relative;
    color: var(--rcs-slate-600);
}
.rcs-boundary-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--rcs-teal-600);
    font-weight: 900;
}

/* "Everything included" checklist (pricing.html, 2026-09-15) — reuses
   .rcs-boundary-list's own checkmark bullets, grouped into category
   cards on the light alt-section background rather than the dark
   pricing-card gradient (this list applies across every tier, it isn't
   another thing to compare tier by tier). */
.rcs-feature-checklist-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.rcs-feature-checklist-card {
    background: var(--rcs-card);
    border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-md);
    padding: 26px 24px;
    box-shadow: var(--rcs-shadow-card);
}
.rcs-feature-checklist-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rcs-ink);
    margin: 0 0 16px;
}
.rcs-feature-checklist-card .rcs-boundary-list li { font-size: 0.9rem; }

/* CTA band */
.rcs-cta-band {
    background: linear-gradient(120deg, var(--rcs-teal-700), var(--rcs-navy-800));
    color: #fff;
    border-radius: var(--rcs-radius-lg);
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.rcs-cta-band h2 { margin: 0 0 6px; font-size: 1.5rem; }
.rcs-cta-band p { margin: 0; color: rgba(255,255,255,0.85); }
.rcs-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.rcs-footer {
    background: var(--rcs-navy-900);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    font-size: 0.9rem;
}
.rcs-footer a { color: rgba(255,255,255,0.85); }
.rcs-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

/* Pricing page (pricing.html, 2026-09-09; 4th "Custom" tier added
   2026-09-15). Reuses .rcs-pricing-card's own dark gradient card exactly
   (the single-card homepage teaser and these cards are the same visual
   object, just laid out in a row) rather than inventing a second card
   style. */
.rcs-pricing-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}
.rcs-pricing-grid .rcs-pricing-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
}
.rcs-pricing-grid .rcs-pricing-card ul { flex: 1 1 auto; }
.rcs-pricing-card--featured {
    background: linear-gradient(180deg, var(--rcs-teal-700), var(--rcs-navy-800));
    box-shadow: var(--rcs-shadow-elevated), 0 0 0 2px var(--rcs-aqua-300);
    transform: translateY(-8px);
}
/* The "Custom" tier is deliberately not another priced option — a dashed
   border reads as "different kind of card" (an invitation, not a fourth
   number to compare) without a whole second visual language. */
.rcs-pricing-card--custom {
    border: 1px dashed rgba(255,255,255,0.35);
    background: var(--rcs-navy-800);
}
.rcs-pricing-featured-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--rcs-aqua-300);
    color: var(--rcs-navy-900);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.rcs-pricing-disclaimer {
    max-width: 74ch;
    margin: 28px auto 0;
    text-align: center;
    color: var(--rcs-muted);
    font-size: 0.85rem;
}

/* Billing-term toggle (2026-09-15) — a real price break for committing to
   a term, modeled on the ramped-onboarding + term-discount structure
   reviewed against a competitor's contract, minus its lock-in tactics
   (see .rcs-trust-strip below). */
.rcs-term-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.rcs-term-toggle-btn {
    background: transparent;
    border: 1px solid var(--rcs-border);
    color: var(--rcs-slate-600);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rcs-term-toggle-btn:hover { border-color: var(--rcs-teal-600); }
.rcs-term-toggle-btn.active {
    background: var(--rcs-teal-700);
    border-color: var(--rcs-teal-700);
    color: #fff;
}
.rcs-term-toggle-save {
    background: var(--rcs-aqua-300);
    color: var(--rcs-navy-900);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
}
.rcs-term-toggle-btn.active .rcs-term-toggle-save {
    background: rgba(255,255,255,0.28);
    color: #fff;
}
.rcs-pricing-billed-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin: 0 0 14px;
}

/* Honest-differentiator strip (2026-09-15) — direct contrast with
   industry-standard exit fees and data-monetization clauses found while
   reviewing a competitor's real contract. Named specifically, not vague
   "we care about privacy" language. */
.rcs-trust-strip {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 920px;
    margin: 36px auto 0;
}
.rcs-trust-strip > div {
    text-align: center;
    padding: 20px 18px;
    border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-md);
    background: var(--rcs-card);
}
.rcs-trust-strip h3 {
    font-size: 0.95rem;
    margin: 0 0 6px;
    color: var(--rcs-ink);
}
.rcs-trust-strip p { font-size: 0.85rem; color: var(--rcs-muted); margin: 0; }

/* FAQ (pricing.html) — a plain, readable accordion-free list; nothing
   here needs to be collapsed to be scannable. */
.rcs-faq-list { display: grid; gap: 20px; max-width: 78ch; }
.rcs-faq-list dt { font-weight: 700; margin-bottom: 6px; }
.rcs-faq-list dd { margin: 0; color: var(--rcs-muted); }

/* "Get Started" intake form (pricing.html) — the structured lead-capture
   form replacing a bare mailto: link. Plain, accessible form controls
   matching this page's existing input-less design language (no prior
   form anywhere on the public site to match against). */
.rcs-form-card {
    background: var(--rcs-card);
    border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-lg);
    padding: 36px;
    box-shadow: var(--rcs-shadow-card);
}
.rcs-form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.rcs-form-grid--full { grid-template-columns: 1fr; }
.rcs-field { display: flex; flex-direction: column; gap: 6px; }
.rcs-field label { font-weight: 600; font-size: 0.9rem; }
.rcs-field .rcs-optional { font-weight: 400; color: var(--rcs-muted); }
.rcs-field input,
.rcs-field select,
.rcs-field textarea {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-sm);
    background: var(--rcs-white);
    color: var(--rcs-ink);
}
.rcs-field input:focus-visible,
.rcs-field select:focus-visible,
.rcs-field textarea:focus-visible {
    outline: 3px solid var(--rcs-focus-ring);
    outline-offset: 1px;
}
.rcs-field textarea { resize: vertical; min-height: 90px; }
.rcs-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--rcs-muted); }
.rcs-form-consent input { margin-top: 4px; }
.rcs-form-status {
    padding: 12px 14px;
    border-radius: var(--rcs-radius-sm);
    font-size: 0.9rem;
    margin-top: 4px;
}
.rcs-form-status--ok { background: #dcfce7; color: #166534; }
.rcs-form-status--error { background: #fee2e2; color: #991b1b; }

/* Language switcher (nav) */
.rcs-lang-switch { display: flex; gap: 6px; align-items: center; font-size: 0.85rem; }
.rcs-lang-switch a { color: var(--rcs-slate-500); text-decoration: none; padding: 2px 4px; }
.rcs-lang-switch a[aria-current="true"] { color: var(--rcs-teal-700); font-weight: 700; }
.rcs-lang-switch span { color: var(--rcs-slate-200); }
.rcs-lang-select {
    font: inherit;
    font-size: 0.85rem;
    color: var(--rcs-slate-500);
    background: transparent;
    border: 1px solid var(--rcs-slate-200);
    border-radius: 6px;
    padding: 3px 6px;
    max-width: 12rem;
    cursor: pointer;
}
.rcs-lang-select:hover { border-color: var(--rcs-teal-600); color: var(--rcs-teal-700); }
.rcs-lang-select:focus-visible { outline: 2px solid var(--rcs-teal-600); outline-offset: 1px; }

/* Draft-translation notice — shown only on the machine-drafted language
   mirrors (/so/, /ne/, /ar/), not on the English original or the
   translator-backed Spanish pages. A slim, honest bar under the nav.
   The [hidden] attribute is toggled by a tiny inline script per page
   (localStorage: rcs-xlate-notice-dismissed) so a dismissal sticks
   across the site without a build step. */
.rcs-xlate-notice {
    background: #fdf6ec;
    border-bottom: 1px solid #f0e2c8;
    color: #7a5b16;
    font-size: 0.85rem;
    line-height: 1.4;
}
.rcs-xlate-notice-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    gap: 14px;
    align-items: baseline;
    justify-content: space-between;
}
.rcs-xlate-notice p { margin: 0; }
.rcs-xlate-notice code {
    background: rgba(122, 91, 22, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.92em;
    unicode-bidi: plaintext;
}
.rcs-xlate-notice button {
    flex: none;
    background: none;
    border: 0;
    color: #9a7b2e;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.rcs-xlate-notice button:hover { color: #7a5b16; }
[dir="rtl"] .rcs-xlate-notice-inner { flex-direction: row-reverse; }

/* Right-to-left (Arabic marketing mirror) — first pass. The public
   pages carry hardly any hard-coded physical direction; this flips the
   few spots that do. Not a full RTL audit — a pass with an
   Arabic-reading reviewer against real screens is still open (tracked
   in docs/next-initiatives-roadmap.md §42). */
[dir="rtl"] body.rcs-public { text-align: right; }
[dir="rtl"] .rcs-hero-card ul,
[dir="rtl"] .rcs-pricing-card ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .rcs-status-badge { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .rcs-boundary-list li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .rcs-boundary-list li::before { left: auto; right: 6px; }
/* The "Agency Login" arrow points toward reading direction: left in RTL,
   and its hover nudge follows. */
[dir="rtl"] .rcs-nav-login-arrow { transform: scaleX(-1); }
[dir="rtl"] .rcs-nav-login:hover .rcs-nav-login-arrow { transform: scaleX(-1) translateX(3px); }

@media (max-width: 1180px) {
    /* Four cards at full width start feeling cramped before the existing
       900px single-column breakpoint kicks in — a 2x2 layout in between
       keeps each card readable rather than squeezing four columns down
       to nothing. */
    .rcs-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .rcs-pricing-card--featured { transform: none; }
}

@media (max-width: 900px) {
    .rcs-pricing-grid { grid-template-columns: 1fr; }
    .rcs-pricing-card--featured { transform: none; }
}

@media (max-width: 760px) {
    /* Real bug caught 2026-09-09 via an actual headless screenshot at a
       390px width: a bare `1fr` here defaults to `minmax(auto, 1fr)`,
       re-introducing exactly the min-content-width floor the desktop
       rule above deliberately avoids with `minmax(0, 1.1fr)`/
       `minmax(0, 0.9fr)`. That floor was wide enough (a hero-actions
       button row's own min-content) to overflow the whole page
       horizontally on a real phone-width viewport — explicit `minmax(0,
       1fr)` here closes the same gap on the single-column layout. */
    .rcs-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .rcs-nav-links { display: none; }
    /* Links gone; brand + language + login remain. Allow a wrap as a
       safety net at the narrowest phone widths and tighten the gap. */
    .rcs-nav-inner { flex-wrap: wrap; row-gap: 10px; gap: 14px; }
}

/* -----------------------------------------------------------------------
   features.html ("Inside ReadyCare") — 2026-09-15. Approved as a mockup
   earlier, built here as a real page reusing this stylesheet's own
   existing tokens/classes (.rcs-btn, .rcs-hero*, .rcs-container) rather
   than the mockup's own duplicated CSS variables.
   ----------------------------------------------------------------------- */
.rcs-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 44px 0;
    border-bottom: 1px solid var(--rcs-border);
}
.rcs-feature-row:last-child { border-bottom: none; }
.rcs-feature-row.rcs-reverse .rcs-feature-visual { order: -1; }
.rcs-feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--rcs-teal-600); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.rcs-feature-row h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.rcs-feature-row p { color: var(--rcs-muted); font-size: 0.98rem; margin: 0; }
.rcs-feature-row ul { margin: 14px 0 0; padding: 0; list-style: none; }
.rcs-feature-row li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--rcs-slate-600); margin-bottom: 8px; }
.rcs-feature-row li::before { content: "✓"; color: var(--rcs-teal-600); font-weight: 800; flex: 0 0 auto; }
.rcs-feature-visual {
    background: var(--rcs-card); border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-lg); box-shadow: var(--rcs-shadow-card);
    padding: 22px; min-height: 200px;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.rcs-fv-line { height: 11px; border-radius: 6px; background: var(--rcs-slate-200); }
.rcs-fv-pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rcs-fv-pill {
    font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
    background: var(--rcs-slate-100); color: var(--rcs-slate-600); border: 1px solid var(--rcs-border);
}
.rcs-fv-pill.rcs-on { background: var(--rcs-teal-600); color: #fff; border-color: var(--rcs-teal-600); }
.rcs-fv-card { border: 1px solid var(--rcs-border); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.rcs-fv-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }

/* Forms directory (the real 65-form browser, marketing-page version) */
.rcs-directory {
    background: var(--rcs-card); border: 1px solid var(--rcs-border);
    border-radius: var(--rcs-radius-lg); box-shadow: var(--rcs-shadow-card);
    padding: 24px; max-width: 1040px; margin: 0 auto;
}
.rcs-dir-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.rcs-dir-search { flex: 1 1 260px; position: relative; }
.rcs-dir-search input {
    width: 100%; padding: 11px 14px 11px 38px; border: 1px solid var(--rcs-border);
    border-radius: 10px; font: inherit; font-size: 0.92rem; background: var(--rcs-paper); color: var(--rcs-ink);
}
.rcs-dir-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--rcs-muted); }
.rcs-dir-count { font-size: 0.82rem; color: var(--rcs-muted); font-weight: 600; white-space: nowrap; }
.rcs-dir-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rcs-dir-tab {
    flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rcs-border);
    background: var(--rcs-paper); color: var(--rcs-slate-600); font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.rcs-dir-tab.rcs-active { background: var(--rcs-teal-600); border-color: var(--rcs-teal-600); color: #fff; }
.rcs-dir-list { display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow-y: auto; padding-right: 4px; }
.rcs-dir-row { border: 1px solid var(--rcs-border); border-radius: 12px; padding: 13px 16px; background: var(--rcs-paper); display: flex; align-items: center; gap: 14px; }
.rcs-dir-row .rcs-dr-name { font-weight: 700; font-size: 0.92rem; }
.rcs-dir-row .rcs-dr-desc { color: var(--rcs-muted); font-size: 0.82rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcs-dir-row .rcs-dr-tags { flex: 0 0 auto; display: flex; gap: 6px; }
.rcs-dir-tag { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; background: var(--rcs-slate-100); color: var(--rcs-teal-700); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.rcs-dir-empty { text-align: center; color: var(--rcs-muted); padding: 40px 0; display: none; }

/* Custom Forms spotlight */
.rcs-spotlight {
    background: linear-gradient(135deg, var(--rcs-accent-warm) 4%, var(--rcs-paper) 40%);
    border: 1px solid var(--rcs-border); border-radius: var(--rcs-radius-lg);
    padding: 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.rcs-spotlight h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; margin: 10px 0 14px; letter-spacing: -0.01em; }
.rcs-spotlight p { color: var(--rcs-slate-600); font-size: 1rem; }
.rcs-spot-card { background: var(--rcs-card); border: 1px solid var(--rcs-border); border-radius: 14px; padding: 20px; box-shadow: var(--rcs-shadow-card); }
.rcs-spot-card .rcs-quote { font-size: 0.95rem; color: var(--rcs-ink); line-height: 1.6; }
.rcs-spot-card .rcs-attribution { margin-top: 14px; font-size: 0.8rem; color: var(--rcs-muted); font-weight: 600; }

.rcs-hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-top: 32px; max-width: 520px;
}
.rcs-hero-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px 14px; }
.rcs-hero-stat .rcs-hs-num { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rcs-hero-stat .rcs-hs-lbl { font-size: 0.74rem; color: #9fb0c8; margin-top: 2px; }

@media (max-width: 860px) {
    .rcs-feature-row, .rcs-feature-row.rcs-reverse { grid-template-columns: 1fr; }
    .rcs-feature-row.rcs-reverse .rcs-feature-visual { order: unset; }
    .rcs-spotlight { grid-template-columns: 1fr; padding: 30px; }
}
