/* AI Radar page: four sticker cards, a small scanning radar by the title, and lines that "charge" the cards */
.rd-body { background: #140C26 radial-gradient(ellipse 900px 520px at 50% 0%, #2f2268, #1c1440 55%, #140C26) no-repeat; }
.rd-hero { padding: 38px 0 0; }
.rd-titlebox { position: relative; display: flex; justify-content: center; }
.rd-titletext { position: relative; text-align: center; }
.rd-titletext h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: #e8dcb0; }
.rd-sub { margin: 10px 0 0; color: #b8add8; font-size: 16px; }

.rd-scope { position: absolute; left: calc(50% + 190px); top: -8px; }
.rd-scope-dial { position: relative; width: 120px; height: 120px; border-radius: 50%; border: 5px solid #0a0618; box-shadow: 6px 6px 0 #0a0618; background: radial-gradient(circle, #33257a, #150f33 72%); overflow: hidden; }
.rd-scope-dial::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 14px, rgba(184, 173, 216, 0.28) 14px 16px); }
.rd-scope-dial::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(184, 173, 216, 0.28); }
.rd-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(127, 188, 162, 0) 0deg, rgba(127, 188, 162, 0) 270deg, rgba(127, 188, 162, 0.75) 360deg); animation: rd-spin 3.2s linear infinite; }
.rd-blip { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fdd861; opacity: 0; animation: rd-ping 3.2s ease-out infinite; }
.rd-blip.b1 { left: 74px; top: 24px; animation-delay: -0.4s; }
.rd-blip.b2 { left: 30px; top: 68px; background: #7ea6d8; animation-delay: -1.4s; }
.rd-blip.b3 { left: 86px; top: 80px; background: #ff9a6b; animation-delay: -2.3s; }
.rd-blip.b4 { left: 56px; top: 48px; background: #b8a0f0; animation-delay: -0.9s; }
.rd-scope-tag { position: absolute; right: -6px; bottom: -4px; z-index: 2; padding: 2px 9px; border: 3px solid #0a0618; border-radius: 999px; background: #ff6b5a; color: #0a0618; font: 800 10px var(--font-body); letter-spacing: 0.12em; }
@keyframes rd-spin { to { transform: rotate(360deg); } }
@keyframes rd-ping { 0%, 55% { opacity: 0; transform: scale(0.4); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }

.rd-board { padding: 0 0 34px; }
.rd-wrap { position: relative; padding-top: 70px; max-width: 1440px; }
.rd-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rd-lines .base { fill: none; stroke-width: 3; stroke-opacity: 0.35; }
.rd-lines .flow { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 88; animation: rd-flow 2.2s linear infinite; }
@keyframes rd-flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.rd-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; }
.rd-card { aspect-ratio: 1 / 1; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: 22px 24px 20px; border: 5px solid #0a0618; border-radius: 30px; box-shadow: 8px 8px 0 #0a0618; color: #0a0618; background: var(--c); }
.rd-card h2 { color: #0a0618; margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.rd-research { --c: #7ea6d8; }
.rd-policy { --c: #7fbca2; }
.rd-models { --c: #fdd861; }
.rd-attention { --c: #ff9a6b; }
.rd-item { padding: 7px 0; border-top: 3px solid rgba(10, 6, 24, 0.2); font-weight: 700; font-size: 15px; line-height: 1.3; }
.rd-item:first-of-type { border-top: 0; }
.rd-item a { color: inherit; text-decoration: none; }
.rd-item a:hover, .rd-item a:focus-visible { text-decoration: underline; }
.rd-item.is-off, .rd-bar.is-off, .rd-note.is-off { display: none; }
.rd-item small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; opacity: 0.72; }
.rd-empty { margin: 8px 0; font-weight: 700; opacity: 0.7; }
.rd-note { margin: auto 0 0; padding-top: 10px; font-size: 12px; font-weight: 700; opacity: 0.72; }

.rd-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin: 8px 0 4px; }
.rd-chart i { flex: 1; min-height: 3px; background: #0a0618; border-radius: 6px 6px 0 0; }
.rd-years { display: flex; gap: 8px; margin: 0 0 6px; font-size: 11px; font-weight: 700; opacity: 0.72; }
.rd-years span { flex: 1; text-align: center; }
.rd-bar { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 8px; margin: 7px 0; font-weight: 700; font-size: 14px; }
.rd-bar i { display: block; height: 14px; border-radius: 7px; background: #0a0618; }
.rd-bar b { text-align: right; }

.rd-sources { padding: 6px 0 56px; }
.rd-sources .wrap { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(36, 26, 78, 0.35); font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.rd-sources h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.rd-sources p { margin: 0 0 8px; }
.rd-sources ul { margin: 0 0 8px; padding-left: 18px; }
.rd-sources a { color: var(--gold); }

@media (min-width: 700px) { .rd-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (min-width: 1200px) { .rd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 760px) {
  .rd-hero { padding-top: 26px; }
  .rd-scope { left: auto; right: 0; top: -2px; }
  .rd-scope-dial { width: 84px; height: 84px; border-width: 4px; box-shadow: 4px 4px 0 #0a0618; }
  .rd-scope-dial::before { background: repeating-radial-gradient(circle, transparent 0 9px, rgba(184, 173, 216, 0.28) 9px 11px); }
  .rd-blip { width: 8px; height: 8px; }
  .rd-blip.b1 { left: 52px; top: 16px; } .rd-blip.b2 { left: 20px; top: 48px; } .rd-blip.b3 { left: 60px; top: 56px; } .rd-blip.b4 { left: 38px; top: 34px; }
  .rd-scope-tag { font-size: 8px; padding: 1px 7px; border-width: 2px; }
  .rd-titletext { text-align: left; padding-right: 96px; }
  .rd-titlebox { justify-content: flex-start; }
  .rd-wrap { padding-top: 46px; }
  .rd-card { border-width: 4px; border-radius: 26px; box-shadow: 6px 6px 0 #0a0618; padding: 18px 18px 16px; }
  .rd-card h2 { font-size: 26px; }
}
@media (max-width: 760px) { .rd-lines .base { stroke-width: 2.5; } }

@media (prefers-reduced-motion: reduce) {
  .rd-sweep, .rd-blip, .rd-lines .flow { animation: none; }
  .rd-blip { opacity: 0.9; }
}

/* the section links in the header (same look as the Trends page) */
.rd-body .tp-nav-inline { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 13px; }
.rd-body .tp-nav-inline a { color: var(--ink-faint); text-decoration: none; }
.rd-body .tp-nav-inline a:hover, .rd-body .tp-nav-inline a:focus-visible { color: var(--gold); }
@media (max-width: 860px) {
  .rd-body .header-inner { flex-wrap: wrap; }
  .rd-body .tp-nav-inline { width: 100%; margin: 8px 0 0; justify-content: center; gap: 16px; }
}

/* squares are compact: long titles and explanations show their first lines; the full text is on the source page the title links to */
.rd-item { font-size: 14px; }
.rd-item a, .rd-item > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-item small { font-size: 12px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-item small + small { display: block; -webkit-line-clamp: unset; font-weight: 700; opacity: 0.72; }

/* links: an arrow says "opens the source"; the whole item is the tap target */
.rd-item { position: relative; }
.rd-item a::before { content: ""; position: absolute; inset: 0; }
.rd-item a::after { content: " \2197"; font-weight: 800; }
.rd-item a:hover, .rd-item a:focus-visible { text-decoration: underline; }
.rd-bar a { color: inherit; text-decoration: none; position: relative; }
.rd-bar a::after { content: " \2197"; font-weight: 800; }
.rd-bar a:hover, .rd-bar a:focus-visible { text-decoration: underline; }

.rd-ai { display: inline-block; margin-top: 4px; font-size: 12.5px; color: #8e82b8; }

/* phones: no arrows; the whole item is the tap target and the title is underlined-free */
@media (max-width: 760px) {
  .rd-item a::after, .rd-bar a::after { content: none; }
}

/* the source line of every card sits on the same line at the bottom; the models chart is shorter so more names fit under it */
.rd-body-slot { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.rd-body-slot .rd-note { margin-top: auto; }
.rd-models .rd-chart { height: 46px; margin: 2px 0 2px; }
.rd-models .rd-item { padding: 4px 0; }
.rd-models .rd-item small { font-size: 11.5px; }
.rd-body-slot > .rd-chart, .rd-body-slot > .rd-years, .rd-body-slot > .rd-item, .rd-body-slot > .rd-bar { flex: none; }
.rd-models .rd-chart { height: 38px; }
.rd-models .rd-years { margin-bottom: 2px; }
.rd-models .rd-item { padding: 3px 0; font-size: 13.5px; }
.rd-models .rd-item small { line-height: 1.25; }
.rd-note { padding-top: 6px; }

.rd-note { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rd-note .rd-all { position: relative; z-index: 1; flex: none; color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.rd-note .rd-all::after { content: " \2197"; }
@media (max-width: 760px) { .rd-note .rd-all::after { content: none; } }
@media (max-width: 520px) {
  .rd-body .tp-nav-inline { gap: 12px; font-size: 12px; }
  .rd-body .tp-nav-inline a { padding: 7px 0; }
}
