/* Rising Impact marketing site. No external fonts, scripts or images. */

:root {
  --bg: #fbfbfe;
  --surface: #ffffff;
  --surface-2: #f2f3fb;
  --text: #14152b;
  --muted: #565b7c;
  --line: #e2e4f1;
  --accent: #4a4fd6;
  --accent-ink: #ffffff;
  --accent-soft: #eceeff;
  --accent-text: #3a3fc4;
  --good: #1a7a50;
  --good-soft: #e3f5ec;
  --warn: #8f5206;
  --warn-soft: #fdf0dc;
  --shadow: 0 1px 2px rgba(20, 21, 43, 0.06), 0 14px 36px rgba(20, 21, 43, 0.09);
  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e1b;
    --surface: #161830;
    --surface-2: #1b1e3a;
    --text: #eceefc;
    --muted: #a6abcf;
    --line: #2a2d50;
    --accent: #8a90ff;
    --accent-ink: #0d0e1b;
    --accent-soft: #23274d;
    --accent-text: #aab0ff;
    --good: #5fd39b;
    --good-soft: #15332a;
    --warn: #f0b765;
    --warn-soft: #3a2c14;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { stroke: var(--accent-ink); }
.nav-desktop { display: none; margin-left: auto; gap: 4px; }
.nav-desktop a, .menu-panel a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: 0.98rem; }
.nav-desktop a:hover, .menu-panel a:hover { background: var(--surface-2); }
.nav-desktop a[aria-current="page"], .menu-panel a[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); }
.btn.cta-desktop { display: none; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.menu-panel a { padding: 12px; }
@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .btn.cta-desktop { display: inline-flex; }
  .menu { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, background-color 0.12s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions-center { justify-content: center; }

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-weight: 650; font-size: 0.88rem; margin-bottom: 20px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }

/* Hero */
.hero { position: relative; padding-block: clamp(44px, 8vw, 104px); background: radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(700px 360px at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); background: radial-gradient(800px 300px at 90% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }

/* Cards and grids */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px; }
.icon { display: block; }

/* Two products */
.split { display: grid; gap: 18px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.product { padding: clamp(24px, 3vw, 36px); }
.product .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 16px; }
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--muted); margin: 0; }

/* Feature rows */
.feature { display: grid; gap: 14px 40px; padding-block: 36px; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 860px) { .feature { grid-template-columns: 0.8fr 1.2fr; } }
.feature h3 { display: flex; align-items: center; gap: 14px; font-size: 1.35rem; margin: 0; }
.feature h3 .ico { margin: 0; flex: none; }
.feature .intro { color: var(--muted); margin-top: 10px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg) translateY(-50%); }
.also { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.also li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 550; font-size: 0.95rem; }
.group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

/* Illustration: sample schedule */
.mock { position: relative; padding-bottom: 72px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head strong { font-size: 1rem; }
.badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 6px 0; }
.rows li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 12px 20px; font-size: 0.96rem; }
.rows li + li { border-top: 1px solid var(--line); }
.rows time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.rows .name { font-weight: 650; }
.rows .sub { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 450; }
.chip { font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.neutral { background: var(--accent-soft); color: var(--accent-text); }
.float { position: absolute; right: -4px; bottom: 0; width: min(270px, 72%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.float .who { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; flex: none; }
.float p { margin: 0; font-size: 0.9rem; line-height: 1.35; }
.float .small { color: var(--muted); }
@media (max-width: 520px) { .rows li { grid-template-columns: 56px 1fr; } .rows .chip { grid-column: 2; justify-self: start; } .float { position: static; width: 100%; margin-top: 14px; } .mock { padding-bottom: 0; } }

/* Illustration: family portal on a phone */
.duo { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1.1fr 0.9fr; } }
.phone-wrap { display: grid; place-items: center; }
.phone { width: min(300px, 100%); background: var(--bg); border: 8px solid var(--text); border-radius: 36px; box-shadow: var(--shadow); padding: 18px 14px 12px; display: grid; gap: 10px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 6px; }
.phone-top strong { font-size: 1rem; }
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; justify-items: start; }
.p-card p { margin: 0; }
.p-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.p-title { font-weight: 750; font-size: 1.1rem; }
.p-sub { font-size: 0.88rem; color: var(--muted); }
.p-card .chip { margin-top: 6px; }
.p-row { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
.p-row .chip { margin: 0; }
.progress { width: 100%; height: 10px; border-radius: 999px; background: var(--accent-soft); margin: 6px 0 4px; overflow: hidden; }
.progress span { display: block; width: 62%; height: 100%; border-radius: 999px; background: var(--accent); }
.p-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); text-align: center; font-size: 0.74rem; color: var(--muted); }
.p-tabs .on { color: var(--accent-text); font-weight: 700; }

/* Notice and CTA band */
.band { background: var(--accent); color: var(--accent-ink); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 20px; }
.band h2 { margin-bottom: 0.3em; }
.band p { margin: 0; opacity: 0.92; max-width: 38em; }
.band .btn { background: var(--accent-ink); color: var(--accent); }
.band .btn:hover { background: color-mix(in srgb, var(--accent-ink) 90%, var(--accent)); }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; align-items: center; } }

.soon { text-align: center; max-width: 44em; margin-inline: auto; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.soon .ico { margin-inline: auto; width: 60px; height: 60px; }

.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.faq { display: grid; gap: 12px; max-width: 50em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); padding-bottom: 12px; margin: 0; }

.email-card { display: grid; gap: 8px; padding: clamp(24px, 4vw, 40px); }
.email-card .big { font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; word-break: break-word; }
.checklist { margin: 0; padding-left: 1.2em; color: var(--muted); }
.checklist li { margin-bottom: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; margin-top: 0; background: var(--bg); }
.foot { display: grid; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--text); text-decoration: none; font-weight: 550; padding: 6px 0; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 8px 0 0; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.2fr 1fr auto; align-items: start; } .foot .copy { text-align: right; margin: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
