  :root {
    --navy: #14225e; --navy-deep: #0b1440; --blue: #2f4ba0;
    --amber: #b06f00; --amber-bg: #fdf3e2; --amber-bd: #f0d9ab;
    --green: #1f7a4d; --green-bg: #eaf4ee; --green-bd: #c4e3d1;
    --red: #b3261e;
    --ink: #1b1e22; --muted: #5f6b7a; --line: #e3e6e9; --bg-soft: #f6f7fb;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
  body {
    font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; }
  .text-navy { color: var(--navy); }
  .text-muted-rc { color: var(--muted); }
  .bg-soft { background: var(--bg-soft); }
  .section { padding: 5.5rem 0; }
  @media (max-width: 767.98px) { .section { padding: 3.5rem 0; } }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
    background: #eef1fb; border: 1px solid #dbe1f5; border-radius: 50rem; padding: .4rem 1rem;
  }
  .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
  .section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; }

  /* ===== Buttons ===== */
  .btn-rc-primary {
    background: var(--amber); border-color: var(--amber); color: #fff; font-weight: 700;
    padding: .75rem 1.6rem; border-radius: .6rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 6px 18px rgba(176,111,0,.25);
  }
  .btn-rc-primary:hover { background: #c67c00; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176,111,0,.32); }
  .btn-rc-outline {
    border: 2px solid rgba(255,255,255,.55); color: #fff; font-weight: 700; padding: .7rem 1.5rem; border-radius: .6rem;
    transition: all .15s ease; background: transparent;
  }
  .btn-rc-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
  .btn-rc-navy {
    background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700;
    padding: .75rem 1.6rem; border-radius: .6rem; transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn-rc-navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,34,94,.28); }
  .btn-rc-login {
    background: transparent; border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
    padding: calc(.75rem - 2px) 1.4rem; border-radius: .6rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-rc-login:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,34,94,.28); }

  /* ===== Navbar ===== */
  .rc-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: #fff;
    border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
  }
  .rc-navbar.is-scrolled { box-shadow: 0 4px 18px rgba(20,34,94,.08); border-bottom-color: var(--line); }
  .rc-navbar .navbar-brand img { height: 34px; width: auto; display: block; }
  .rc-navbar .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem 1rem !important; }
  .rc-navbar .nav-link:hover { color: var(--navy); }
  .navbar-spacer { height: 78px; }

  /* ===== Hero ===== */
  .hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1100px 600px at 85% -10%, #24337d 0%, transparent 60%),
                linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 65%, #08102e 100%);
    padding: 7.5rem 0 5rem;
  }
  .hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
  .hero-blob.b1 { width: 420px; height: 420px; background: #3a56b8; top: -160px; right: -100px; animation: float1 14s ease-in-out infinite; }
  .hero-blob.b2 { width: 320px; height: 320px; background: var(--amber); opacity: .18; bottom: -120px; left: -80px; animation: float2 16s ease-in-out infinite; }
  @keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
  @keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(25px, -25px); } }
  .hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.15; }
  .hero .lead-rc { font-size: 1.12rem; color: #cfd6f0; max-width: 560px; }
  .hero-trust { color: #a9b3da; font-size: .9rem; }

  /* ===== Cycle diagram ===== */
  .cycle-wrap { position: relative; width: min(360px, 82vw); aspect-ratio: 1 / 1; margin: 0 auto; }
  .cycle-ring {
    position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.28);
  }
  .cycle-orbit { position: absolute; inset: 12%; border-radius: 50%; animation: spin 9s linear infinite; }
  .cycle-orbit .dot {
    position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
    border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 8px rgba(176,111,0,.25), 0 0 18px rgba(176,111,0,.6);
  }
  @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .cycle-node {
    position: absolute; width: 128px; margin-left: -64px; text-align: center; color: #fff;
  }
  .cycle-node .ic {
    width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin: 0 auto .5rem; backdrop-filter: blur(2px);
  }
  .cycle-node .lbl { font-weight: 700; font-size: .88rem; }
  .cycle-node.n1 { top: 0; left: 50%; }
  .cycle-node.n2 { top: 50%; left: 100%; margin-top: -50px; }
  .cycle-node.n3 { top: 100%; left: 50%; margin-top: -100px; }
  .cycle-node.n4 { top: 50%; left: 0%; margin-top: -50px; }
  .cycle-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
  .cycle-center .inner { font-size: .8rem; font-weight: 700; color: #cfd6f0; letter-spacing: .04em; text-transform: uppercase; max-width: 120px; }
  @media (max-width: 991.98px) { .cycle-wrap { margin-top: 3rem; } }

  /* ===== Reveal on scroll ===== */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal-delay-1.in-view { transition-delay: .08s; }
  .reveal-delay-2.in-view { transition-delay: .16s; }
  .reveal-delay-3.in-view { transition-delay: .24s; }
  .reveal-delay-4.in-view { transition-delay: .32s; }
  .reveal-delay-5.in-view { transition-delay: .4s; }
  .reveal-delay-6.in-view { transition-delay: .48s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .cycle-orbit { animation: none; }
    .hero-blob { animation: none; }
  }

  /* ===== Value cards ===== */
  .value-card {
    height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem 1.6rem;
    background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,34,94,.1); border-color: #d7ddf0; }
  .value-icon {
    width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1rem; color: #fff; background: var(--navy);
  }
  .value-icon.amber { background: var(--amber); }
  .value-icon.green { background: var(--green); }
  .value-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
  .value-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

  /* ===== How it works ===== */
  .step-card { text-align: center; padding: 1.5rem 1rem; position: relative; }
  .step-num {
    width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.05rem;
  }
  .step-card .ic2 { font-size: 1.6rem; color: var(--navy); margin-bottom: .6rem; }
  .step-card h4 { font-size: 1.02rem; margin-bottom: .4rem; }
  .step-card p { color: var(--muted); font-size: .9rem; }
  .step-arrow { display: flex; align-items: center; justify-content: center; color: #c7cde3; font-size: 1.3rem; }
  @media (max-width: 767.98px) { .step-arrow { transform: rotate(90deg); padding: .25rem 0; } }
  .loop-back {
    text-align: center; margin-top: 1rem; color: var(--muted); font-size: .92rem; font-weight: 600;
  }
  .loop-back i { color: var(--amber); margin-right: .4rem; }

  /* ===== Org tree visual ===== */
  .org-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.5rem 1.3rem; background: #fff; box-shadow: 0 18px 40px rgba(20,34,94,.07); }
  .org-card .org-card-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; display: flex; align-items: center; gap: .4rem; }
  .org-node-row { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 9px; margin-bottom: .4rem; font-size: .88rem; }
  .org-node-row .org-ic { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .78rem; flex: 0 0 auto; }
  .org-node-row .org-label { font-weight: 600; }
  .org-node-row .org-tag { margin-left: auto; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .18rem .5rem; border-radius: 50rem; white-space: nowrap; }
  .org-node-row.above { opacity: .6; }
  .org-node-row.above .org-ic { background: #eef1f3; color: #8b959d; }
  .org-node-row.above .org-tag { color: #9aa1a8; }
  .org-node-row.you { background: var(--navy); color: #fff; }
  .org-node-row.you .org-ic { background: rgba(255,255,255,.18); color: #fff; }
  .org-node-row.you .org-tag { background: var(--amber); color: #fff; }
  .org-node-row.visible { background: var(--green-bg); border: 1px solid var(--green-bd); }
  .org-node-row.visible .org-ic { background: #fff; color: var(--green); }
  .org-node-row.visible .org-tag { color: var(--green); }
  .org-node-row.locked { background: #f7f7f8; border: 1px solid var(--line); color: var(--muted); }
  .org-node-row.locked .org-ic { background: #fff; color: #9aa1a8; }
  .org-node-row.locked .org-tag { color: #9aa1a8; }
  .org-branch { padding-left: 1.35rem; margin-left: .7rem; border-left: 2px dashed #d7ddf0; }
  .org-branch.dim { border-left-color: #e7e9ed; }
  .org-legend { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .78rem; color: var(--muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
  .org-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }
  .org-legend .dot.you { background: var(--navy); }
  .org-legend .dot.visible { background: var(--green); }
  .org-legend .dot.locked { background: #b7bec6; }
  .hier-point { display: flex; gap: .9rem; margin-bottom: 1.4rem; }
  .hier-point .hp-ic {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1rem;
  }
  .hier-point h4 { font-size: .98rem; margin-bottom: .3rem; }
  .hier-point p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
  .hier-callout {
    background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--amber);
    border-radius: 10px; padding: 1rem 1.2rem; font-size: .92rem; color: var(--ink); margin-top: 1.5rem;
  }

  /* ===== Features ===== */
  .feat-tile {
    display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; height: 100%;
  }
  .feat-tile .ic3 {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.1rem;
    border: 1px solid var(--line);
  }
  .feat-tile h4 { font-size: .98rem; margin-bottom: .3rem; }
  .feat-tile p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }

  /* ===== Comparison ===== */
  .compare-col { border-radius: 14px; padding: 2rem 1.8rem; height: 100%; }
  .compare-col.old { background: #f7f7f8; border: 1px solid var(--line); }
  .compare-col.new { background: var(--navy); color: #fff; }
  .compare-col h4 { font-size: 1.05rem; margin-bottom: 1.1rem; }
  .compare-col.old h4 { color: var(--muted); }
  .compare-list { list-style: none; padding: 0; margin: 0; }
  .compare-list li { display: flex; gap: .65rem; padding: .55rem 0; font-size: .93rem; border-bottom: 1px dashed rgba(0,0,0,.08); }
  .compare-col.new .compare-list li { border-bottom-color: rgba(255,255,255,.14); }
  .compare-list li:last-child { border-bottom: none; }
  .compare-list i { margin-top: .2rem; flex: 0 0 auto; }
  .compare-col.old .compare-list i { color: var(--red); }
  .compare-col.new .compare-list i { color: #ffcf5c; }

  /* ===== Demo CTA ===== */
  .demo-section { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
  .demo-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 2.2rem; box-shadow: 0 24px 60px rgba(8,16,46,.35); }
  .demo-card .form-label { font-weight: 600; font-size: .88rem; }
  .demo-card .form-control, .demo-card .form-select {
    border-radius: .55rem; border-color: var(--line); padding: .6rem .8rem;
  }
  .demo-card .form-control:focus, .demo-card .form-select:focus {
    border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(47,75,160,.15);
  }
  .demo-success { text-align: center; padding: 2rem 1rem; }
  .demo-success .check-circle {
    width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 1rem;
    border: 1px solid var(--green-bd);
  }

  /* ===== FAQ ===== */
  .accordion-button { font-weight: 700; color: var(--ink); }
  .accordion-button:not(.collapsed) { color: var(--navy); background: var(--bg-soft); box-shadow: none; }
  .accordion-button:focus { box-shadow: none; border-color: var(--line); }
  .accordion-item { border-color: var(--line); }

  /* ===== Footer ===== */
  footer.rc-footer { background: var(--navy-deep); color: #c7cde3; padding: 3.5rem 0 1.5rem; }
  .footer-logo-chip { background: #fff; display: inline-flex; padding: .5rem .8rem; border-radius: 10px; margin-bottom: 1rem; }
  .footer-logo-chip img { height: 30px; width: auto; display: block; }
  footer.rc-footer h6 { color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
  footer.rc-footer a { color: #c7cde3; text-decoration: none; font-size: .92rem; }
  footer.rc-footer a:hover { color: #fff; }
  footer.rc-footer .fline { border-color: rgba(255,255,255,.12); margin: 2.5rem 0 1.5rem; }
  footer.rc-footer .fine { font-size: .82rem; color: #8f9ac6; }

  /* skip link for keyboard users */
  .skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
  .skip-link:focus { left: 0; }

  /* ===== Utility pages (About, Security, Privacy, Terms) ===== */
  .page-hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff; padding: 6.5rem 0 3.5rem; text-align: center;
  }
  .page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
  .page-hero p { color: #cfd6f0; font-size: 1.05rem; max-width: 640px; margin: .8rem auto 0; }

  .prose { max-width: 760px; margin: 0 auto; }
  .prose h2 { font-size: 1.3rem; color: var(--navy); margin-top: 2.2rem; margin-bottom: .7rem; }
  .prose h2:first-child { margin-top: 0; }
  .prose p, .prose li { color: #3b4046; font-size: 1rem; line-height: 1.7; }
  .prose ul { padding-left: 1.3rem; }

  .notice-box {
    background: var(--amber-bg); border: 1px solid var(--amber-bd); border-left: 4px solid var(--amber);
    border-radius: 10px; padding: 1.2rem 1.4rem; margin-bottom: 2rem; font-size: .96rem; color: var(--ink);
  }

  .about-block { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
  .about-block .ab-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.1rem; }

  /* ===== Small helpers (replace inline style="" so the page can run a strict Content-Security-Policy) ===== */
  .eyebrow.eyebrow-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
  .mw-680 { max-width: 680px; }
  .section-sub.mw-560 { max-width: 560px; }
  .mw-280 { max-width: 280px; }
  .ic-amber { color: var(--amber); }
  .ic-gold { color: #ffcf5c; }
  .txt-soft { color: #cfd6f0; }
  .demo-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
  .h4-105 { font-size: 1.05rem; }
  .bot-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
