/* Free AI Readiness Score (strategy_builder/readiness_score.html and its
   partials), in the look of the suite page at /platform/ (Digalu
   themes/digalu/home.html): a soft rainbow wash with the magenta-to-orange
   ring, purple eyebrows, bold-then-light headings, blue-to-violet gradient
   buttons and white cards with a coloured top edge.

   Replaces the page's two inline <style> blocks. Scoped under body.rs-page:
   the page swaps base_marketing's vendor CSS for CDN Bootstrap 5.3, so
   nothing else on it is styled for us. Colours from tokens.css. */

.rs-page {
  --rs-ink: var(--slate-900);
  --rs-body: var(--slate-600);
  --rs-muted: var(--slate-500);
  --rs-line: var(--slate-200);
  --rs-blue: var(--blue-700);
  --rs-violet: var(--violet-600);
  --rs-grad: linear-gradient(30deg, var(--violet-600) 10%, var(--blue-700) 85%);
  --rs-radius: 16px;
  --rs-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 22px 48px -24px rgba(30, 41, 99, .35);
  --rs-ease: cubic-bezier(.2, .8, .2, 1);
  background: var(--white);
  color: var(--rs-ink);
  font-family: "Yantramanav", var(--font-sans);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.rs-nav { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 rgba(15, 23, 42, .07); }
.rs-nav-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.rs-nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.rs-nav-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--rs-ink); }
.rs-nav-brand img { height: 40px; width: auto; }
.rs-nav-links { display: flex; align-items: center; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.rs-nav-links a.rs-nav-link { color: var(--slate-700); font-weight: 500; font-size: 1rem; text-decoration: none; padding: 6px 0; white-space: nowrap; transition: color .15s; }
.rs-nav-links a.rs-nav-link:hover, .rs-nav-links a.rs-nav-link:focus-visible { color: var(--rs-blue); }
.rs-nav-cta { display: flex; align-items: center; gap: 14px; }
.rs-nav-login { display: inline-flex; align-items: center; gap: 8px; color: var(--rs-ink); font-weight: 500; text-decoration: none; }
.rs-nav-login:hover { color: var(--rs-blue); }
.rs-nav-login .bi { font-size: 1.1rem; }
.rs-nav-signup { display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 8px; background: var(--rs-grad); color: var(--white); font-weight: 600; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(76, 29, 149, .7); transition: transform .15s var(--rs-ease), box-shadow .15s; }
.rs-nav-signup:hover, .rs-nav-signup:focus-visible { color: var(--white); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(76, 29, 149, .8); }
.rs-nav-user { position: relative; }
.rs-nav-user > button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rs-line); border-radius: 999px; background: transparent; color: var(--rs-ink); font-weight: 500; font-size: .9rem; cursor: pointer; }
.rs-nav-user > button:hover { border-color: var(--rs-blue); color: var(--rs-blue); }
.rs-nav-user .dropdown-menu { right: 0; left: auto; border: 1px solid var(--rs-line); box-shadow: var(--rs-shadow); }
.rs-nav-toggle { display: none; background: transparent; border: 0; font-size: 1.5rem; color: var(--rs-ink); }

/* ── Hero band ──────────────────────────────────────────────────────────── */
.rs-band { position: relative; overflow: hidden; isolation: isolate; background: url("../../themes/digalu/assets/img/shape/banner-5.f868ea884daa.webp") center / cover no-repeat, var(--slate-50); }
.rs-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("../../themes/digalu/assets/img/shape/banner-6.a9c2e35c6b94.webp") right bottom / 1500px auto no-repeat; opacity: .9; }
.rs-wrap { max-width: 1240px; margin: 0 auto; padding: 56px 24px 72px; display: grid; gap: 40px; grid-template-areas: "intro" "form" "juris"; align-items: start; }
.rs-hero { grid-area: intro; }
.rs-form { grid-area: form; }
.rs-side { grid-area: juris; }

.rs-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(124, 58, 237, .18); color: var(--rs-violet); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rs-title { margin: 0 0 20px; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; color: var(--rs-ink); font-weight: 900; }
.rs-title em { white-space: nowrap; font-style: normal; background: var(--rs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-title-light { display: block; font-weight: 300; letter-spacing: -.02em; }
.rs-sub { margin: 0 0 28px; max-width: 34rem; font-size: 1.15rem; line-height: 1.6; color: var(--rs-body); }
.rs-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 15px 26px; border-radius: 8px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; transition: transform .18s var(--rs-ease), box-shadow .18s, background-color .18s; }
.rs-btn:hover, .rs-btn:focus-visible { transform: translateY(-2px); }
.rs-btn--grad { background: var(--rs-grad); color: var(--white); box-shadow: 0 14px 28px -14px rgba(76, 29, 149, .75); }
.rs-btn--grad:hover, .rs-btn--grad:focus-visible { color: var(--white); }
.rs-btn--ghost { background: var(--white); border-color: var(--blue-200); color: var(--rs-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .1); }
.rs-btn--ghost:hover, .rs-btn--ghost:focus-visible { border-color: var(--rs-blue); color: var(--rs-blue); }

.rs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rs-stat { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 24px -18px rgba(30, 41, 99, .45); backdrop-filter: blur(6px); }
.rs-stat .n { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; background: var(--rs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-stat .l { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.35; color: var(--rs-body); }

/* ── Question card ──────────────────────────────────────────────────────── */
.rs-form { position: relative; }
.rs-circuit { position: absolute; z-index: -1; right: -40px; top: -40px; width: 340px; height: auto; color: var(--blue-200); opacity: .9; pointer-events: none; }
.rs-card { position: relative; overflow: hidden; padding: 34px 30px 26px; border-radius: var(--rs-radius); background: var(--white); box-shadow: var(--rs-shadow); }
.rs-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--blue-700), var(--violet-600), var(--red-400), var(--amber-500)); }
.rs-card-k { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 14px; color: var(--rs-violet); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rs-progress { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rs-progress .label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rs-muted); }
.rs-progress .nums { font-size: 1.05rem; color: var(--rs-body); white-space: nowrap; }
.rs-progress .nums strong { font-weight: 800; color: var(--rs-blue); }
.rs-bar { position: relative; height: 8px; margin-bottom: 26px; border-radius: 999px; background: var(--slate-100); overflow: hidden; }
.rs-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--rs-grad); transition: width .35s var(--rs-ease); }
.rs-q { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--rs-ink); }
.rs-qhint { margin: 0 0 20px; font-size: .95rem; line-height: 1.5; color: var(--rs-body); }
.rs-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.rs-opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: var(--white); color: var(--rs-ink); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s var(--rs-ease), background-color .15s; }
.rs-opt:hover, .rs-opt:focus-visible { border-color: var(--blue-400); box-shadow: 0 8px 20px -14px rgba(37, 99, 235, .6); transform: translateY(-1px); }
.rs-opt.selected { border-color: var(--rs-violet); background: var(--violet-50); }
.rs-opt .hint { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--blue-50); color: var(--rs-blue); font-size: .75rem; font-weight: 700; }
.rs-opt-desc { margin-top: 4px; font-size: .85rem; line-height: 1.45; color: var(--rs-body); }
.rs-lawnote { margin: -6px 0 18px; padding: 10px 14px; border-left: 3px solid var(--emerald-600); border-radius: 0 10px 10px 0; background: var(--emerald-100); }
.rs-lawnote-k { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-600); }
.rs-lawnote p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--slate-700); }

/* Finalize step (partials/_readiness_finalize.html). */
.rs-options--fields { gap: 12px; }
.rs-input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: var(--white); font: inherit; font-size: 1rem; color: var(--rs-ink); }
.rs-input:focus { outline: none; border-color: var(--rs-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.rs-consents { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 16px; }
.rs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--rs-body); cursor: pointer; }
.rs-consent input { margin-top: 3px; flex-shrink: 0; }
.rs-turnstile { margin: 12px 0; }
.rs-submit { display: inline-flex; align-items: center; gap: .5rem; padding: 14px 26px; border: 0; border-radius: 8px; background: var(--rs-grad); color: var(--white); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(76, 29, 149, .75); transition: transform .18s var(--rs-ease); }
.rs-submit:hover, .rs-submit:focus-visible { transform: translateY(-2px); }

.rs-strategy-cta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rs-line); }
.rs-strategy-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 13px 20px; border: 1.5px solid var(--blue-200); border-radius: 10px; background: var(--white); color: var(--rs-blue); font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.rs-strategy-btn:hover, .rs-strategy-btn:focus-visible { border-color: var(--rs-blue); background: var(--blue-50); color: var(--rs-blue); }

/* ── Country and data law ───────────────────────────────────────────────── */
.rs-juris { padding: 24px; border-radius: var(--rs-radius); background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--rs-shadow); backdrop-filter: blur(6px); }
.rs-juris-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 14px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--rs-ink); }
.rs-juris-title .bi { color: var(--emerald-600); }
.rs-field-label { display: block; margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rs-muted); }
.rs-select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--rs-line); border-radius: 10px; background: var(--white); font: inherit; font-size: 1rem; color: var(--rs-ink); cursor: pointer; }
.rs-select:focus { outline: none; border-color: var(--rs-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.rs-country { margin-bottom: 14px; }
.rs-country-go { margin-top: 8px; padding: 9px 18px; border: 0; border-radius: 8px; background: var(--rs-ink); color: var(--white); font-size: .9rem; }
.rs-law-box { display: flex; flex-direction: column; gap: 4px; min-height: 52px; padding: 12px 14px; border: 1.5px dashed var(--rs-line); border-radius: 10px; background: var(--white); }
.rs-law-box.is-set { border-style: solid; border-color: var(--emerald-500); background: var(--emerald-100); }
.rs-law-act { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--rs-ink); }
.rs-law-reg { font-size: .85rem; font-weight: 600; color: var(--emerald-600); }
.rs-law-placeholder { font-size: .9rem; line-height: 1.45; color: var(--rs-muted); }
.rs-law-list { display: grid; gap: 8px; margin: 14px 0 0; }
.rs-law-list div { display: grid; grid-template-columns: 132px 1fr; gap: 10px; font-size: .85rem; line-height: 1.45; }
.rs-law-list dt { font-weight: 700; color: var(--rs-ink); }
.rs-law-list dd { margin: 0; color: var(--rs-body); }
.rs-law-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rs-line); font-size: .85rem; font-weight: 600; color: var(--emerald-600); }
.rs-law-foot span { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; color: var(--rs-muted); }
.rs-last { margin: 16px 0 0; font-size: .95rem; }
.rs-last a { color: var(--rs-blue); font-weight: 600; }

/* ── What you get ───────────────────────────────────────────────────────── */
.rs-section { padding: 80px 0; background: var(--slate-50); }
.rs-section-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rs-section-head { text-align: center; max-width: 44rem; margin: 0 auto 40px; }
.rs-eyebrow { margin: 0 0 8px; color: var(--rs-violet); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rs-section-title { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--rs-ink); }
.rs-section-title span { font-weight: 300; }
.rs-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.rs-feature { position: relative; padding: 30px 28px; border-radius: var(--rs-radius); background: var(--white); box-shadow: var(--rs-shadow); border-top: 4px solid var(--rs-accent, var(--rs-blue)); transition: transform .25s var(--rs-ease); }
.rs-feature:hover { transform: translateY(-4px); }
.rs-feature--blue { --rs-accent: var(--blue-700); }
.rs-feature--orange { --rs-accent: var(--orange-500); }
.rs-feature--violet { --rs-accent: var(--violet-600); }
.rs-feature .rs-feature-k { margin: 0 0 10px; color: var(--rs-accent); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rs-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: var(--slate-50); color: var(--rs-accent); font-size: 1.4rem; }
.rs-feature h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--rs-ink); }
.rs-feature p { margin: 0; line-height: 1.6; color: var(--rs-body); }

/* ── Closing band ───────────────────────────────────────────────────────── */
.rs-close { padding: 72px 24px; text-align: center; color: rgba(255, 255, 255, .88); background: radial-gradient(600px 300px at 85% 10%, rgba(249, 115, 22, .35), transparent 60%), radial-gradient(600px 320px at 10% 100%, rgba(236, 72, 153, .3), transparent 60%), var(--rs-grad); }
.rs-close h2 { margin: 0 0 12px; color: var(--white); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.rs-close p { margin: 0 auto 26px; max-width: 38rem; font-size: 1.1rem; line-height: 1.6; color: inherit; }
.rs-btn--white { background: var(--white); color: var(--violet-600); }
.rs-btn--white:hover, .rs-btn--white:focus-visible { color: var(--blue-700); }

/* ── Footer (partials/footer.html, the suite page's footer) ─────────────── */
/* default-padding and f-items live only in the vendor CSS this page skips. */
.rs-page .iai-footer .default-padding { padding: 80px 0 40px; }
.rs-page .iai-footer .footer-item { margin-bottom: 30px; }

/* ── Breakpoints ────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .rs-wrap { grid-template-columns: 1.05fr .95fr; grid-template-areas: "intro form" "juris form"; column-gap: 56px; row-gap: 28px; padding: 72px 24px 96px; }
}
@media (max-width: 991.98px) {
  .rs-nav-inner { padding: 12px 18px; gap: 14px; }
  .rs-nav-toggle { display: inline-flex; margin-left: auto; }
  .rs-nav-links, .rs-nav-cta { display: none; }
  .rs-nav.is-open .rs-nav-links, .rs-nav.is-open .rs-nav-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; margin-left: 0; padding: 12px 0 4px; }
  .rs-nav.is-open .rs-nav-inner { flex-wrap: wrap; }
  .rs-circuit { display: none; }
}
@media (max-width: 575.98px) {
  .rs-wrap { padding: 40px 16px 56px; }
  .rs-card { padding: 28px 20px 22px; }
  .rs-stats { gap: 8px; }
  .rs-stat { padding: 12px 10px; }
  .rs-stat .n { font-size: 1.5rem; }
  .rs-hero-actions .rs-btn { flex: 1 1 100%; }
  .rs-law-list div { grid-template-columns: 1fr; gap: 2px; }
  .rs-section { padding: 56px 0; }
  .rs-section-inner { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-page *, .rs-page *::before { transition: none !important; }
  .rs-btn:hover, .rs-opt:hover, .rs-feature:hover, .rs-submit:hover { transform: none; }
}
