/* Rehocode website Phase 2: scoped public-page design. */
:root { --rh-ink:#10213a; --rh-subtle:#54647a; --rh-accent:#155eef; --rh-mint:#12a98a; --rh-line:#e4e9f2; --rh-paper:#f6f8fc; }
.rh-page { margin:0; color:var(--rh-ink); background:var(--rh-paper); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.55; }
.rh-page *, .rh-page *::before, .rh-page *::after { box-sizing:border-box; }
.rh-page a { color:inherit; }
.rh-page a:focus-visible, .rh-site-links a:focus-visible { outline:3px solid #86b5ff; outline-offset:3px; border-radius:4px; }
.rh-container { width:min(1100px,calc(100% - 40px)); margin-inline:auto; }
.rh-header { background:#fff; border-bottom:1px solid var(--rh-line); }
.rh-head-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; }
.rh-brand { display:inline-flex; gap:10px; align-items:center; text-decoration:none; font-weight:800; letter-spacing:-.4px; font-size:1.2rem; white-space:nowrap; }
.rh-symbol { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:12px; color:#fff; background:var(--rh-accent); font-weight:850; }
.rh-nav { display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.rh-nav a { color:#40526d; text-decoration:none; font-size:.94rem; font-weight:600; }
.rh-nav a:hover, .rh-nav a[aria-current=page] { color:var(--rh-accent); }
.rh-hero { padding:82px 0 70px; color:#fff; background:linear-gradient(125deg,#0d234b 0%,#1247a0 60%,#086c85 100%); }
.rh-eyebrow { margin:0 0 12px; text-transform:uppercase; font-size:.74rem; letter-spacing:.14em; font-weight:800; color:#8ee9dc; }
.rh-hero h1 { font-size:clamp(2.2rem,5vw,4rem); line-height:1.13; letter-spacing:-.045em; max-width:790px; margin:0 0 18px; }
.rh-lead { max-width:700px; font-size:1.14rem; margin:0; color:#e4ecfb; }
.rh-section { padding:62px 0; }
.rh-section h2 { font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.2; margin:0 0 16px; letter-spacing:-.025em; }
.rh-section p { color:var(--rh-subtle); }
.rh-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:28px; }
.rh-panel { border:1px solid var(--rh-line); border-radius:20px; background:#fff; padding:28px; box-shadow:0 6px 26px rgba(16,33,58,.045); }
.rh-panel h3 { font-size:1.15rem; margin:6px 0 9px; }
.rh-panel p { margin:0; }
.rh-number { display:inline-grid; place-items:center; height:34px; min-width:34px; border-radius:10px; background:#e9f1ff; color:#155eef; font-weight:800; }
.rh-wide { background:#eaf1ff; border:1px solid #d5e4ff; border-radius:22px; padding:34px; }
.rh-wide p { margin:8px 0 0; }
.rh-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:25px; }
.rh-action { display:inline-block; text-decoration:none; font-weight:700; padding:12px 17px; background:#fff; color:#0d3578!important; border:1px solid transparent; border-radius:11px; }
.rh-action-secondary { background:transparent; color:#fff!important; border-color:#a9c5eb; }
.rh-note { border-left:3px solid var(--rh-accent); padding:12px 18px; color:#44566e; background:#eef4ff; margin-top:25px; }
.rh-footer { border-top:1px solid var(--rh-line); background:#fff; padding:24px 0; font-size:.88rem; }
.rh-foot-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; color:#5f6e82; }
.rh-foot-inner a { color:var(--rh-accent); text-decoration:none; }
/* On previously existing pages: preserve original navbar; add only compact discovery links. */
.rh-site-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 24px; padding:12px 18px; background:#f0f5ff; border-bottom:1px solid #dce7fb; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; }
.rh-site-links a { color:#174b9c; font-weight:650; text-decoration:none; }
.rh-site-links a:hover { text-decoration:underline; }
@media (max-width:760px) { .rh-head-inner { align-items:flex-start; flex-direction:column; gap:15px; } .rh-nav { gap:11px 16px; } .rh-hero { padding:54px 0; } .rh-grid { grid-template-columns:1fr; } .rh-section { padding:42px 0; } .rh-panel, .rh-wide { padding:22px; } }
