/* Compliance Tools uses the shared product-page glass, typography, and palette. */
.ct-tm { font-size: .6em; }
.ct-intro { max-width: 1000px; }
.ct-page section[id] { scroll-margin-top: 112px; }
.ct-hero-visual { min-width: 0; padding: 25px; border-radius: 28px; }
.ct-protected-letter { position: relative; padding: 12px 0 24px; }
.ct-protected-letter::before { content: ''; position: absolute; inset: 20px 12% 8px; border: 1px solid rgba(101, 184, 245, .24); border-radius: 50%; background: radial-gradient(ellipse, rgba(45, 155, 240, .12), transparent 70%); }
.ct-document { position: relative; width: min(72%, 238px); margin: 0 auto; padding: 25px 22px 29px; border-radius: 10px; background: linear-gradient(145deg, #fff, #e5edf6); box-shadow: 0 15px 40px rgba(0, 0, 0, .24); }
.ct-document-brand { width: 26px; height: 21px; margin-bottom: 17px; border: 4px solid var(--tm-blue); border-radius: 4px; box-shadow: inset 0 0 0 2px var(--tm-gold); }
.ct-document > b { display: block; margin-bottom: 16px; color: #30465c; font-size: 13px; font-weight: 650; line-height: 1.4; }
.ct-document-lines { height: 24px; background: repeating-linear-gradient(to bottom, #becbda 0 4px, transparent 4px 10px); }
.ct-document-lines--short { width: 70%; height: 14px; }
.ct-document-block { margin: 16px 0; padding: 11px 9px; border-left: 3px solid var(--tm-blue); background: rgba(45, 155, 240, .09); }
.ct-document-block > span { display: block; margin-bottom: 9px; color: #365470; font-size: 10px; font-weight: 650; line-height: 1.4; }
.ct-document-block i { display: block; height: 3px; margin-top: 6px; border-radius: 2px; background: #a1b7cd; }
.ct-document-block i:last-child { width: 72%; }
.ct-document-signature { width: 46px; height: 12px; margin-top: 15px; border-bottom: 2px solid #8295ac; border-radius: 50%; }
.ct-document-seal { position: absolute; right: -16px; bottom: 21px; display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #eaf2f8; border-radius: 50%; background: #297960; color: #fff; font-size: 23px; font-weight: 700; }
.ct-layer-stack { display: grid; gap: 8px; }
.ct-layer-stack > div { display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 11px 14px; border: 1px solid rgba(101, 184, 245, .3); border-radius: 10px; background: linear-gradient(100deg, rgba(45, 155, 240, .14), rgba(255, 255, 255, .035)); }
.ct-layer-stack > div > span { color: var(--tm-blue-bright); font-size: 11px; font-weight: 650; }
.ct-layer-stack b { color: #edf7ff; font-size: 13px; font-weight: 550; line-height: 1.4; }
.ct-layer-stack i { margin-left: auto; color: #a4e4c9; font-size: 13px; font-style: normal; }
.ct-caption { margin: 21px 0 0; color: var(--tm-muted); font-size: 13px; line-height: 1.6; text-align: center; }
.ct-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.ct-level { display: flex; flex-direction: column; min-width: 0; padding: 27px 23px; border-radius: 20px; color: #fff; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.ct-level:hover { border-color: var(--tm-blue-bright); color: #fff; background-color: rgba(45, 155, 240, .12); }
.ct-index { display: block; margin-bottom: 22px; color: var(--tm-blue-bright); font-size: 13px; font-weight: 650; }
.ct-level h3, .ct-tool h3, .ct-control h3, .ct-governance-details h3 { margin: 0 0 12px; color: #fff; font-size: 22px; font-weight: 550; line-height: 1.3; letter-spacing: -.02em; }
.ct-level p { margin: 0 0 23px; color: var(--tm-muted); font-size: 16px; line-height: 1.6; }
.ct-level-link { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; color: var(--tm-blue-bright); font-size: 13px; line-height: 1.5; }
.ct-section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 54px; margin-bottom: 36px; }
.ct-section-heading .tm-copy { margin: 0; }
.ct-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-tool { display: flex; flex-direction: column; min-width: 0; padding: 29px; border-radius: 22px; }
.ct-tool-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 25px; border: 1px solid rgba(101, 184, 245, .42); border-radius: 12px; background: rgba(45, 155, 240, .1); color: var(--tm-blue-bright); font-size: 21px; font-weight: 600; }
.ct-tool p, .ct-control p, .ct-governance-details p { margin: 0; color: var(--tm-muted); font-size: 17px; font-weight: 350; line-height: 1.65; }
.ct-text-link { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 22px; color: var(--tm-blue-bright); font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; text-underline-offset: 4px; }
.ct-text-link:hover { color: var(--tm-gold-bright); text-decoration: underline; text-decoration-color: currentColor; }
.ct-level:focus-visible, .ct-text-link:focus-visible { outline: 2px solid var(--tm-gold-bright); outline-offset: 5px; }
.ct-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.ct-template-visual, .ct-access-panel { min-width: 0; padding: 30px; border-radius: 25px; }
.ct-panel-label { margin-bottom: 25px; color: var(--tm-blue-bright); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
.ct-requirements { display: grid; gap: 23px; padding: 0; margin: 0; list-style: none; }
.ct-requirements li { display: flex; align-items: flex-start; gap: 13px; }
.ct-check { flex-shrink: 0; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(164, 228, 201, .4); border-radius: 50%; background: rgba(54, 137, 103, .2); color: #a4e4c9; font-size: 13px; }
.ct-requirements b { display: block; color: #fff; font-size: 16px; font-weight: 550; line-height: 1.4; }
.ct-requirements small { display: block; margin-top: 4px; color: var(--tm-muted); font-size: 13px; line-height: 1.5; }
.ct-template-visual .ct-caption { padding-top: 21px; border-top: 1px solid var(--tm-border); }
.ct-controls-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.ct-control { min-width: 0; padding: 26px; border-radius: 20px; }
.ct-control h3 { font-size: 20px; }
.ct-control p { font-size: 16px; }
.ct-split--visual-left { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ct-split--visual-left .ct-split-copy { grid-column: 2; grid-row: 1; }
.ct-split--visual-left .ct-access-panel { grid-column: 1; grid-row: 1; }
.ct-access-panel h3 { margin: 0 0 25px; color: #fff; font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.ct-role-list { margin: 0; padding: 0; list-style: none; }
.ct-role-list li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .13); color: #edf7ff; font-size: 16px; line-height: 1.5; }
.ct-role-list li > span { color: var(--tm-blue-bright); font-size: 11px; font-weight: 650; }
.ct-access-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ct-access-tags span { padding: 8px 12px; border: 1px solid rgba(101, 184, 245, .3); border-radius: 999px; background: rgba(45, 155, 240, .08); color: #dcefff; font-size: 12px; line-height: 1.5; }
.ct-governance-details { display: grid; gap: 25px; margin-top: 28px; }
.ct-governance-details > div { padding-left: 20px; border-left: 2px solid rgba(101, 184, 245, .42); }
.ct-governance-details h3 { font-size: 20px; margin-bottom: 8px; }
.ct-dashboard { min-width: 0; padding: 30px; border-radius: 26px; }
.ct-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.ct-dashboard-heading h3 { margin: 0; color: #fff; font-size: 23px; font-weight: 550; line-height: 1.3; }
.ct-dashboard-heading > span { color: var(--tm-faint); font-size: 12px; line-height: 1.5; }
.ct-dashboard-queues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.ct-dashboard-queues > div { min-width: 0; padding: 22px 18px; border: 1px solid rgba(101, 184, 245, .23); border-radius: 13px; background: rgba(19, 30, 47, .35); }
.ct-queue-dot { display: block; width: 7px; height: 7px; margin-bottom: 18px; border-radius: 50%; background: var(--tm-blue-bright); box-shadow: 0 0 12px rgba(45, 155, 240, .4); }
.ct-queue-dot--gold { background: var(--tm-gold); box-shadow: 0 0 12px rgba(242, 189, 62, .25); }
.ct-dashboard-queues b { display: block; color: #fff; font-size: 17px; font-weight: 550; line-height: 1.4; }
.ct-dashboard-queues small { display: block; margin-top: 8px; color: var(--tm-muted); font-size: 13px; line-height: 1.5; }
.ct-trace { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--tm-border); }
.ct-trace > span { color: #fff; font-size: 14px; }
.ct-trace ol { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.ct-trace li { position: relative; color: #dcefff; font-size: 13px; }
.ct-trace li + li::before { content: '→'; position: absolute; left: -19px; color: var(--tm-blue-bright); }
.ct-trace p { margin: 0 0 0 auto; color: var(--tm-muted); font-size: 13px; line-height: 1.5; }
.ct-oversight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.ct-oversight-grid .ct-control { padding: 0 0 0 20px; border-left: 1px solid rgba(101, 184, 245, .38); border-radius: 0; }
@media (max-width: 1100px) {
  .ct-levels, .ct-controls-grid, .ct-oversight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-dashboard-queues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ct-hero-visual { width: min(100%, 500px); margin: 0 auto; }
  .ct-section-heading, .ct-split, .ct-split--visual-left { grid-template-columns: 1fr; gap: 28px; }
  .ct-split--visual-left .ct-split-copy { grid-column: 1; grid-row: 1; }
  .ct-split--visual-left .ct-access-panel { grid-column: 1; grid-row: 2; }
  .ct-template-visual, .ct-access-panel { width: min(100%, 580px); margin: 0 auto; }
  .ct-trace p { width: 100%; margin-left: 0; }
}
@media (max-width: 620px) {
  .ct-levels, .ct-tool-grid, .ct-controls-grid, .ct-oversight-grid { grid-template-columns: 1fr; }
  .ct-level { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; padding: 22px; }
  .ct-index { grid-column: 1; grid-row: 1 / span 3; margin: 4px 0 0; }
  .ct-level h3, .ct-level p, .ct-level-link { grid-column: 2; }
  .ct-level h3 { margin-bottom: 6px; }
  .ct-level p { margin-bottom: 14px; }
  .ct-tool, .ct-control { padding: 25px; }
  .ct-template-visual, .ct-access-panel, .ct-dashboard { padding: 23px; }
  .ct-dashboard-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ct-dashboard-queues { gap: 10px; }
  .ct-dashboard-queues > div { padding: 17px 13px; }
  .ct-dashboard-queues b { font-size: 16px; }
  .ct-trace { align-items: flex-start; flex-direction: column; gap: 16px; }
  .ct-oversight-grid { gap: 30px; }
  .ct-hero-visual { padding: 20px; }
}
@media (max-width: 380px) {
  .ct-document { width: 80%; padding: 21px 16px; }
  .ct-dashboard-queues { grid-template-columns: 1fr; }
  .ct-layer-stack > div { gap: 10px; padding: 10px; }
  .ct-layer-stack b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-level { transition: none; }
}
