/* Rota Core: public home page, scoped under .rh. The timetable: warm stone paper, ink, deep teal and coral, a literary serif. */
.rh { --ink:#20252d; --leaf:#0f5c63; --leaf-deep:#0a4046; --sage:#f5f2ec; --sage-2:#ece6da; --line:#d9d3c7; --saff:#d9593d; --saff-tint:#fbe6df; color:#20252d; font-family: var(--font-body); }
.rh * { box-sizing: border-box; }
.rh section { margin: 0 !important; border-radius: 0; }
.rh-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.rh-narrow { max-width: 52rem; }
.rh h1, .rh h2, .rh h3, .rh p { margin: 0; }
.rh h1, .rh h2, .rh h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.rh-eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saff); margin-bottom: 1rem !important; }
.rh-dark { color: var(--leaf); }
.rh-btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none !important; border: 2px solid transparent; }
.rh-btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.rh-btn-gold { background: var(--leaf); color: #fff !important; } .rh-btn-gold:hover { background: var(--leaf-deep); }
.rh-btn-ghost { border-color: var(--leaf); color: var(--leaf-deep) !important; } .rh-btn-ghost:hover { background: var(--sage-2); }
.rh-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

/* hero: light, airy, with a conversation turning into a change */
.rh-hero { background: var(--sage); padding: clamp(3rem, 7vw, 6rem) 0 0; position: relative; overflow: hidden; }
.rh-hero::before { content: ''; position: absolute; right: -8rem; top: -8rem; width: 34rem; height: 34rem; border-radius: 50%; background: var(--saff-tint); opacity: .8; }
.rh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; position: relative; }
.rh-hero .rh-eyebrow { color: var(--leaf); }
.rh-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1; color: var(--ink); }
.rh-hero h1 em { font-style: italic; font-weight: 400; background: linear-gradient(transparent 62%, var(--saff) 62% 90%, transparent 90%); padding: 0 .1em; }
.rh-lede { margin-top: 1.4rem !important; font-size: 1.15rem; line-height: 1.65; color: #343b47; max-width: 36rem; }
.rh-say { position: relative; display: grid; gap: .6rem; max-width: 27rem; margin-inline: auto; }
.rh-bubble { padding: 1.2rem 1.4rem; border-radius: 22px 22px 22px 5px; box-shadow: 0 14px 30px -18px rgb(32 37 45 / .45); }
.rh-bubble span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem; }
.rh-b-said { background: #fff; border: 1px solid #eebfb0; transform: rotate(-1.5deg); } .rh-b-said span { color: #7a2a17; }
.rh-b-said p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
.rh-b-did { background: var(--leaf); color: #fff; border-radius: 22px 22px 5px 22px; margin-left: 2rem; transform: rotate(1deg); } .rh-b-did span { color: #f8cdbd; } .rh-b-did p { line-height: 1.5; }
.rh-turn { justify-self: center; font-size: 1.6rem; color: var(--leaf); line-height: 1; }
.rh-chip { justify-self: start; margin-left: 2rem; background: var(--saff-tint); border: 1px solid #e1c26a; color: #4a3200; font-size: .82rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.rh-facts { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.rh-facts li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.5rem 1.5rem; }
.rh-facts strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--leaf-deep); margin-bottom: .3rem; }
.rh-facts span { display: block; line-height: 1.55; color: #343b47; }

.rh-sec { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #fff; }
.rh-sec-paper { background: var(--sage-2); }
.rh-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rh h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.05; color: var(--ink); }
.rh-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.rh-cols article { background: var(--sage); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.rh-cols article:nth-child(even) { background: #fff; }
.rh-cols h3 { font-size: 1.35rem; color: var(--leaf-deep); margin-bottom: .6rem; line-height: 1.15; }
.rh-cols p { line-height: 1.6; }
.rh-cols-5 { grid-template-columns: repeat(3, 1fr); }
.rh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.rh-steps li { counter-increment: s; line-height: 1.55; padding-top: 3.4rem; position: relative; }
.rh-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--saff); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; border-radius: 50%; z-index: 1; }
.rh-steps li::after { content: ''; position: absolute; top: 1.28rem; left: 2.6rem; right: -1.5rem; height: 2px; background: #b3cfd0; } .rh-steps li:last-child::after { display: none; }
.rh-steps b { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .3rem; font-weight: 600; }
.rh-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.rh-split p { line-height: 1.65; margin-top: 1rem; }
.rh-list { list-style: none; margin: 0; padding: .5rem 1.4rem; background: var(--sage); border: 1px solid var(--line); border-radius: 22px; }
.rh-list li { padding: .85rem 0; border-top: 1px solid var(--line); } .rh-list li:first-child { border-top: 0; }
.rh-suite { background: var(--ink); color: #d8e8e8; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.rh-suite h2 { color: #fff; }
.rh-suitehead { max-width: 46rem; margin-bottom: 2rem; }
.rh-suitelead { margin-top: 1rem !important; font-size: 1.1rem; line-height: 1.65; color: #c3d9da; }
.rh-suitecols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2.5rem; }
.rh-suitecols h3 { color: var(--saff); font-size: 1.4rem; margin-bottom: .6rem; }
.rh-suitecols ul { list-style: none; margin: 0; padding: 0; } .rh-suitecols li { padding: .6rem 0; border-top: 1px solid rgb(255 255 255 / .18); line-height: 1.55; color: #c3d9da; } .rh-suitecols strong { color: #fff; }
.rh-diagram figcaption a { color: var(--saff); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rh details { border-top: 1px solid var(--line); padding: 1.2rem 0; } .rh details:last-of-type { border-bottom: 1px solid var(--line); }
.rh summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.rh details p { margin-top: .7rem; line-height: 1.65; }
.rh-narrow h2 { margin-bottom: 1.5rem; }
.rh-demo { background: var(--leaf); color: #e1eeee; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.rh-demo h2 { color: #fff; margin-bottom: 1rem; } .rh-demo p { line-height: 1.6; margin-bottom: 1rem; }
.rh-demo .rh-btn-ghost { border-color: #fff; color: #fff !important; } .rh-demo .rh-btn-gold { background: var(--saff); color: var(--ink) !important; }
.rh-roles { list-style: none; margin: 1.5rem 0; padding: 0; } .rh-roles li { padding: .6rem 0; border-top: 1px solid rgb(255 255 255 / .3); }
.rh-roles code { color: #fff; background: rgb(0 0 0 / .2); padding: .1rem .5rem; border-radius: 6px; } .rh-roles span { color: #f8cdbd; margin-left: .5rem; }
.rh-small { font-size: .95rem; }
@media (max-width: 62rem) { .rh-hero-grid, .rh-split, .rh-suitecols { grid-template-columns: 1fr; } .rh-cols, .rh-cols-5 { grid-template-columns: 1fr 1fr; } .rh-steps { grid-template-columns: 1fr 1fr; } .rh-steps li::after { display: none; } .rh-facts { grid-template-columns: 1fr; } .rh-hero::before { display: none; } }
@media (max-width: 40rem) { .rh-cols, .rh-steps, .rh-cols-5 { grid-template-columns: 1fr; } .rh-nt { font-size: 24px; } .rh-ns { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .rh-b-said, .rh-b-did { transform: none; } }

/* Suite connectivity diagram (Care Core's style, used on every page) */
.rh-diagram { margin: 0; }
.rh-diagram svg { display: block; width: 100%; height: auto; }
.rh-diagram figcaption { margin-top: .75rem; font-size: .9rem; color: #bcd0d1; }
.rh-rings circle { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 1; }
.rh-live { fill: none; stroke: #ee8a6f; stroke-width: 2.6; stroke-dasharray: 9 11; stroke-linecap: round; animation: rh-flow 2.4s linear infinite; }
.rh-rings circle { animation: rh-ring 5s ease-in-out infinite; } .rh-rings circle:nth-child(2) { animation-delay: 1s; } .rh-rings circle:nth-child(3) { animation-delay: 2s; }
@keyframes rh-flow { to { stroke-dashoffset: -20; } }
@keyframes rh-ring { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rh-live, .rh-rings circle { animation: none; } }
.rh-hub circle { fill: #0a4046; stroke: #ee8a6f; stroke-width: 2.6; }
.rh-ht, .rh-hs, .rh-nt, .rh-ns { text-anchor: middle; }
.rh-ht { fill: #fff; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 24px; font-weight: 600; }
.rh-hs { fill: #cfe3e3; font-size: 12.5px; }
.rh-node rect { fill: #173a40; stroke: rgb(255 255 255 / .3); stroke-width: 1.5; }
.rh-nt { fill: #fff; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 20px; font-weight: 600; }
.rh-ns { fill: #c7d4d4; font-size: 12.5px; }
.rh-here rect { stroke: #ee8a6f; stroke-width: 3; fill: #1f4d55; }
.rh-here .rh-ns { fill: #ee8a6f; font-weight: 700; }
.rh-link { cursor: pointer; }
.rh-link:hover .rh-node rect { stroke-width: 3; stroke: #fff; }
.rh-link:hover .rh-hub circle { stroke-width: 4; }
.rh-link:focus-visible { outline: 3px solid #ee8a6f; outline-offset: 4px; }
@media (max-width: 48rem) { .rh-suitecols { grid-template-columns: 1fr; } .rh-nt { font-size: 24px; } .rh-ns { font-size: 15px; } }

.rh-cols-5 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 62rem) { .rh-cols-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .rh-cols-5 { grid-template-columns: 1fr; } }

/* feature rows: a screenshot beside each, alternating, on a soft colour block */
.rh-feats { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
.rh-feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.rh-feat:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.rh-feat:nth-child(even) .rh-feat-text { order: 2; }
.rh-feat-n { font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--saff); margin-bottom: .4rem !important; }
.rh-feat h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--leaf-deep); margin-bottom: .8rem; }
.rh-feat-text > p:not(.rh-feat-n) { line-height: 1.65; font-size: 1.05rem; }
.rh-feat ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .55rem; }
.rh-feat li { position: relative; padding-left: 1.7rem; line-height: 1.5; }
.rh-feat li::before { content: ''; position: absolute; left: 0; top: .35rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--leaf); box-shadow: inset 0 0 0 .22rem var(--saff-tint); }
.rh-feat-shot { margin: 0; position: relative; padding: 0 0 1.6rem 1.6rem; }
.rh-feat-shot::before { content: ''; position: absolute; inset: 1.6rem 0 0 1.6rem; background: var(--saff-tint); border-radius: 26px; z-index: 0; }
.rh-feat:nth-child(even) .rh-feat-shot { padding: 0 1.6rem 1.6rem 0; } .rh-feat:nth-child(even) .rh-feat-shot::before { inset: 1.6rem 1.6rem 0 0; background: #d0e3e4; }
.rh-frame { position: relative; z-index: 1; display: flex; gap: 6px; padding: .6rem .9rem; background: #e6efee; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; }
.rh-frame i { width: 9px; height: 9px; border-radius: 50%; background: #a9c8ca; }
.rh-feat-shot img { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 27rem; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 24px 40px -22px rgb(32 37 45 / .5); background: #fff; }
@media (max-width: 62rem) { .rh-feat, .rh-feat:nth-child(even) { grid-template-columns: 1fr; } .rh-feat:nth-child(even) .rh-feat-text { order: 0; } }
