/* page-redesigns-2026-10-06: How it works + Security & Governance (Chris mockups). Scoped .rd-*; no bare anchor rule. */
.rd { color: #0b1631; overflow-x: clip; }
.rd *, .rd *::before, .rd *::after { box-sizing: border-box; }
.rd-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .rd-wrap { padding: 0 2rem; } }
.rd-eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5b47f0; }
.rd-h1 { margin: 0.7rem 0 0; font-size: clamp(2.05rem, 4.2vw, 3.3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: #0b1631; }
.rd-h2 { margin: 0.45rem 0 0; font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; color: #0b1631; }
.rd-lede { margin: 0.9rem 0 0; max-width: 46rem; font-size: 1.04rem; line-height: 1.62; color: #64748b; }
.rd-sec { position: relative; padding: 3.25rem 0; }
@media (min-width: 1024px) { .rd-sec { padding: 4.75rem 0; } }
.rd-tint { background:
  radial-gradient(560px 360px at 6% 12%, rgba(91,71,240,0.07), transparent 70%),
  radial-gradient(520px 340px at 96% 92%, rgba(91,71,240,0.06), transparent 70%), #f6f5fd; }
.rd-head { margin-bottom: 2rem; }
@media (min-width: 1024px) { .rd-head { margin-bottom: 2.5rem; } }
.rd-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }

/* preview banner */
.rd-banner { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; font-size: 0.82rem; }
.rd-banner .rd-wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; justify-content: space-between; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.rd-banner strong { font-weight: 700; }
.rd-banner-link { color: #92400e; font-weight: 600; text-decoration: underline; }

/* hero */
.rd-hero { position: relative; overflow: hidden; padding: 3rem 0 2.75rem; background:
  radial-gradient(420px 320px at -4% 70%, rgba(91,71,240,0.07), transparent 70%),
  radial-gradient(520px 380px at 88% 30%, rgba(91,71,240,0.08), transparent 70%), #fbfbfe; }
.rd-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .rd-hero { padding: 4.5rem 0 4.25rem; } .rd-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; } }
.rd-hero-copy .rd-lede { font-size: 1.08rem; }
.rd-hero-art { justify-self: center; width: 100%; max-width: 30rem; }
.rd-hero-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 639px) { .rd-hero-art { max-width: 20rem; } }

/* shared bits */
.rd-card { background: #fff; border: 1px solid #e6e3f7; border-radius: 16px; box-shadow: 0 6px 18px rgba(11,22,49,0.04); }
.rd-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #efecfd; color: #5b47f0; }
.rd-tile svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rd-tile--green { background: #e9f8ef; color: #1f9a50; }
.rd-tile--blue { background: #e8f0fe; color: #3b6ef5; }
.rd-tile--red { background: #fdeceb; color: #e5484d; }
.rd-tile--amber { background: #fff4e0; color: #d97706; }
.rd-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: #5b47f0; color: #fff; font-size: 0.76rem; font-weight: 800; }
.rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.45rem; border-radius: 9999px; border: 0;
  background: #5b47f0; color: #fff; font-size: 0.92rem; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(91,71,240,0.25); transition: background-color .15s; }
.rd-btn:hover { background: #4a38d8; }
.rd-btn:focus-visible, .rd-ghost:focus-visible, .rd-stage:focus-visible, .rd-step-tab:focus-visible { outline: 3px solid rgba(91,71,240,0.45); outline-offset: 2px; }
.rd-btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.rd-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.2rem; border-radius: 10px; border: 1px solid #e6e3f7;
  background: #f7f6fd; color: #0b1631; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.rd-ghost[disabled] { opacity: 0.45; cursor: not-allowed; }
.rd-pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; border: 1px solid #e6e3f7; background: #fff; padding: 0.45rem 0.95rem; font-size: 0.8rem; color: #475569; }
.rd-pill svg { width: 1rem; height: 1rem; flex: none; fill: none; stroke: #5b47f0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== How it works: 8-stage loop ===== */
.rd-loop { position: relative; }
.rd-loop-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 768px) { .rd-loop-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.rd-loop-list > li { position: relative; min-width: 0; }
.rd-stage { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 0.7rem; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid #e6e3f7; border-radius: 16px; box-shadow: 0 6px 18px rgba(11,22,49,0.04); padding: 0.9rem; transition: border-color .15s, box-shadow .15s; }
.rd-stage:hover { border-color: #c9c1fa; }
.rd-stage[aria-selected="true"] { border-color: #5b47f0; box-shadow: 0 10px 26px rgba(91,71,240,0.16); }
.rd-stage-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.rd-stage-title { font-size: 0.92rem; line-height: 1.25; font-weight: 700; color: #0b1631; }
@media (min-width: 1024px) {
  .rd-loop { padding: 0 3.25rem; }
  .rd-loop-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 3rem; row-gap: 2.5rem; grid-auto-rows: 6.5rem; }
  .rd-loop-list > li:nth-child(1) { grid-area: 1 / 1; } .rd-loop-list > li:nth-child(2) { grid-area: 1 / 2; }
  .rd-loop-list > li:nth-child(3) { grid-area: 1 / 3; } .rd-loop-list > li:nth-child(4) { grid-area: 1 / 4; }
  .rd-loop-list > li:nth-child(5) { grid-area: 2 / 4; } .rd-loop-list > li:nth-child(6) { grid-area: 2 / 3; }
  .rd-loop-list > li:nth-child(7) { grid-area: 2 / 2; } .rd-loop-list > li:nth-child(8) { grid-area: 2 / 1; }
  .rd-stage { flex-direction: row; flex-wrap: wrap; align-content: center; padding: 1rem 1.1rem; }
  .rd-stage-top { width: 100%; }
  .rd-stage-top .rd-tile { order: 2; }
  /* arrows between cards */
  .rd-loop-list > li:nth-child(-n+3)::after, .rd-loop-list > li:nth-child(n+6)::after { content: ""; position: absolute; top: 50%; right: -2.15rem; width: 1.3rem; height: 1.3rem; transform: translateY(-50%);
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d90f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E"); }
  .rd-loop-list > li:nth-child(n+6)::after { transform: translateY(-50%) scaleX(-1); }
  /* loop brackets: 4 -> 5 on the right, 8 -> 1 on the left */
  .rd-loop::before, .rd-loop::after { content: ""; position: absolute; top: 3.25rem; height: 9rem; width: 2.6rem; border: 2px solid #d4cdfb; pointer-events: none; }
  .rd-loop::before { right: 0.65rem; border-left: 0; border-radius: 0 22px 22px 0; }
  .rd-loop::after { left: 0.65rem; border-right: 0; border-radius: 22px 0 0 22px; }
  .rd-loop-head { position: absolute; width: 0.9rem; height: 0.9rem; pointer-events: none;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 1.5 10 6 2 10.5z' fill='%239d90f6'/%3E%3C/svg%3E"); }
  .rd-loop-head--in1 { left: 2.35rem; top: 2.8rem; }
  .rd-loop-head--in5 { right: 2.35rem; top: 11.8rem; transform: scaleX(-1); }
}
@media (max-width: 1023px) { .rd-loop-head { display: none; } }
.rd-stage-panels { margin-top: 1.5rem; }
@media (min-width: 1024px) { .rd-stage-panels { margin: 2rem 3.25rem 0; } }
.rd-stage-panel { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; margin-bottom: 0.75rem; }
.rd-stage-panel:last-child { margin-bottom: 0; }
.rd-js .rd-stage-panel { margin-bottom: 0; }
.rd-stage-panel h3 { margin: 0.15rem 0 0; font-size: 1.12rem; font-weight: 800; color: #0b1631; }
.rd-stage-panel p { margin: 0.45rem 0 0; font-size: 0.95rem; line-height: 1.62; color: #475569; max-width: 62rem; }
.rd-stage-panel .rd-kicker { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5b47f0; }
.rd-hint { margin: 0.9rem 0 0; font-size: 0.82rem; color: #64748b; }
@media (min-width: 1024px) { .rd-hint { margin-left: 3.25rem; } }

/* ===== How it works: workflow demo ===== */
.rd-demo { display: grid; overflow: hidden; border-radius: 20px; }
@media (min-width: 900px) { .rd-demo { grid-template-columns: 15.5rem minmax(0, 1fr); } }
.rd-steps { list-style: none; margin: 0; padding: 0.9rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; border-bottom: 1px solid #eeecf8; background: #fcfcff; }
@media (min-width: 900px) { .rd-steps { display: flex; flex-direction: column; gap: 0.3rem; border-bottom: 0; border-right: 1px solid #eeecf8; padding: 1.1rem; } }
.rd-step-tab { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.55rem 0.2rem; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 0.7rem; font-weight: 600; line-height: 1.2; color: #64748b; text-align: center; cursor: pointer; }
@media (min-width: 900px) { .rd-step-tab { flex-direction: row; gap: 0.7rem; padding: 0.65rem 0.75rem; font-size: 0.9rem; text-align: left; } }
.rd-step-tab .rd-step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; border: 1.5px solid #d6d9e6; background: #fff; color: #64748b; font-size: 0.75rem; font-weight: 700; }
.rd-step-tab:hover { color: #0b1631; }
.rd-step-tab[aria-selected="true"] { background: #efecfd; color: #5b47f0; }
.rd-step-tab[aria-selected="true"] .rd-step-n { background: #5b47f0; border-color: #5b47f0; color: #fff; }
.rd-step-tab.is-done .rd-step-n { background: #e9f8ef; border-color: #b7e6c8; color: #1f9a50; }
.rd-demo-main { padding: 1.25rem; min-width: 0; }
@media (min-width: 640px) { .rd-demo-main { padding: 1.6rem 1.9rem 1.5rem; } }
.rd-demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; }
.rd-badge { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 9999px; background: #fff7e6; border: 1px solid #fde3b0; color: #8a5a00; padding: 0.3rem 0.75rem; font-size: 0.74rem; font-weight: 600; }
.rd-badge svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rd-step-count { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5b47f0; }
.rd-step-panel h3 { margin: 0.6rem 0 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; color: #0b1631; }
.rd-step-panel > p { margin: 0.4rem 0 0; font-size: 0.94rem; line-height: 1.6; color: #64748b; max-width: 40rem; }
.rd-step-body { margin-top: 1.1rem; display: grid; gap: 0.85rem; }
@media (min-width: 1100px) { .rd-step-body { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.rd-ex { border: 1px solid #e6e3f7; border-radius: 14px; padding: 1rem 1.1rem; background: #fff; min-width: 0; }
.rd-ex-head { display: flex; gap: 0.75rem; align-items: flex-start; }
.rd-ex-head .rd-tile { width: 2.2rem; height: 2.2rem; border-radius: 10px; }
.rd-ex-head .rd-tile svg { width: 1.1rem; height: 1.1rem; }
.rd-ex-t { margin: 0; font-size: 0.86rem; font-weight: 700; color: #0b1631; }
.rd-ex-d { margin: 0.15rem 0 0; font-size: 0.9rem; line-height: 1.5; color: #334155; }
.rd-dl { margin: 0.85rem 0 0; display: grid; gap: 0.6rem; font-size: 0.84rem; }
@media (min-width: 640px) { .rd-dl--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-dl dt { color: #64748b; font-size: 0.76rem; }
.rd-dl dd { margin: 0.1rem 0 0; color: #0b1631; line-height: 1.45; }
.rd-actors { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.rd-actors li { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 10px; background: #f8f7fe; font-size: 0.84rem; line-height: 1.45; }
@media (min-width: 640px) { .rd-actors li { grid-template-columns: 7.2rem minmax(0, 1fr); column-gap: 0.75rem; } }
.rd-actors b { color: #0b1631; font-weight: 700; }
.rd-actors span { color: #334155; }
.rd-actors em { display: block; font-style: normal; color: #64748b; font-size: 0.8rem; }
.rd-chip { display: inline-flex; align-items: center; margin-left: 0.35rem; border-radius: 9999px; padding: 0.05rem 0.5rem; font-size: 0.68rem; font-weight: 700; vertical-align: 1px; }
.rd-chip--ok { background: #e9f8ef; color: #1b7f43; }
.rd-chip--warn { background: #fff4e0; color: #9a5b00; }
.rd-chip--info { background: #e8f0fe; color: #2f5bd3; }
.rd-next { border-radius: 14px; padding: 1rem 1.1rem; background: #f4f2fe; display: flex; gap: 0.75rem; align-items: flex-start; min-width: 0; }
.rd-next .rd-tile { width: 2.2rem; height: 2.2rem; border-radius: 9999px; background: #fff; }
.rd-next .rd-tile svg { width: 1.05rem; height: 1.05rem; }
.rd-next p { margin: 0; }
.rd-next .rd-ex-d { font-size: 0.85rem; color: #475569; }
.rd-demo-nav { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid #eeecf8; display: flex; justify-content: space-between; gap: 0.75rem; }
.rd-step-panel + .rd-step-panel { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px dashed #e6e3f7; }
.rd-js .rd-step-panel + .rd-step-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.rd-nojs-hide { display: none; }
.rd-js .rd-nojs-hide { display: flex; }
.rd-js .rd-steps-wrap { display: block; }

/* ===== Security: tiers table ===== */
.rd-table-card { overflow: hidden; border-radius: 16px; }
.rd-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rd-table th { text-align: left; font-size: 0.78rem; font-weight: 700; color: #0b1631; background: #fbfbfe; padding: 0.85rem 1.2rem; border-bottom: 1px solid #eeecf8; }
.rd-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid #f0eff7; vertical-align: middle; line-height: 1.45; }
.rd-table tr:last-child td { border-bottom: 0; }
.rd-table td:nth-child(2) { color: #0b1631; font-weight: 500; }
.rd-table td:nth-child(3) { color: #64748b; }
.rd-table th:first-child, .rd-table td:first-child { width: 6.5rem; }
.rd-table th:nth-child(2), .rd-table td:nth-child(2) { width: 34%; }
.rd-tier { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; padding: 0.2rem 0.6rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 800; }
.rd-tier-0 { background: #eceafa; color: #5b47f0; }
.rd-tier-1 { background: color-mix(in srgb, #5b47f0 22%, #eceafa); color: #4a38d8; }
.rd-tier-2 { background: color-mix(in srgb, #5b47f0 55%, #eceafa); color: #fff; }
.rd-tier-3 { background: color-mix(in srgb, #5b47f0 80%, #eceafa); color: #fff; }
.rd-tier-4 { background: #5b47f0; color: #fff; }
.rd-table-note { margin: 1rem 0 0; font-size: 0.88rem; line-height: 1.6; color: #475569; max-width: 62rem; }
@media (max-width: 767px) {
  .rd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rd-table, .rd-table tbody, .rd-table tr, .rd-table td { display: block; width: 100% !important; }
  .rd-table tr { padding: 0.95rem 1.1rem; border-bottom: 1px solid #f0eff7; }
  .rd-table tr:last-child { border-bottom: 0; }
  .rd-table td { padding: 0; border: 0; }
  .rd-table td + td { margin-top: 0.45rem; }
  .rd-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 0.1rem; }
}

/* ===== Security: control + ops cards ===== */
.rd-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .rd-grid--4, .rd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.rd-ctl { height: 100%; padding: 1.2rem 1.2rem 1.25rem; }
.rd-ctl-head { display: flex; align-items: center; gap: 0.8rem; }
.rd-ctl h3 { margin: 0; font-size: 0.98rem; line-height: 1.3; font-weight: 700; color: #0b1631; }
.rd-ctl p { margin: 0.75rem 0 0; font-size: 0.88rem; line-height: 1.6; color: #64748b; }
.rd-ops { height: 100%; padding: 1.35rem 1.4rem 1.4rem; }
.rd-ops h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0b1631; }
.rd-ops p { margin: 0.8rem 0 0; font-size: 0.92rem; line-height: 1.65; color: #64748b; }
.rd-disc { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.15rem 1.3rem; border-left: 4px solid #f59e0b; border-radius: 14px; }
.rd-disc .rd-tile { width: 2.1rem; height: 2.1rem; border-radius: 9999px; }
.rd-disc .rd-tile svg { width: 1.05rem; height: 1.05rem; }
.rd-disc h2 { margin: 0; font-size: 0.95rem; font-weight: 700; color: #0b1631; }
.rd-disc p { margin: 0.3rem 0 0; font-size: 0.88rem; line-height: 1.6; color: #64748b; }

/* ===== CTA band ===== */
.rd-cta { position: relative; overflow: hidden; background:
  radial-gradient(260px 260px at 4% 110%, rgba(91,71,240,0.10), transparent 70%),
  radial-gradient(300px 300px at 98% 20%, rgba(91,71,240,0.10), transparent 70%), #f3f1fd; }
.rd-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.rd-cta-copy { max-width: 42rem; }
.rd-cta .rd-h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.rd-cta .rd-lede { margin-top: 0.6rem; font-size: 0.98rem; }
.rd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rd-tform-note { margin-top: 0.5rem; font-size: 0.75rem; color: #92400e; }
@media (max-width: 639px) { .rd-br { display: none; } }
