@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&display=swap");
@property --dr-spin { syntax: "<angle>"; initial-value: 132deg; inherits: false; }
:root { --dr-ink: #0b0716; --dr-panel: rgba(20,12,38,.62); --dr-line: rgba(201,184,255,.14); --dr-line-2: rgba(201,184,255,.24);
  --dr-purple: #9146ff; --dr-violet: #b44dff; --dr-magenta: #ff5ad9; --dr-lav: #c9b8ff; --dr-text: #efe9ff; --dr-muted: #b3a6d6;
  --dr-grad: linear-gradient(var(--dr-spin), #9146ff, #ff5ad9 30%, #c9b8ff 55%, #b44dff 80%, #9146ff);
  --dr-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif; }

.dr-page { position: relative; isolation: isolate; clip-path: inset(0); overflow-x: clip; color: var(--dr-text); padding-bottom: 10px; background: var(--dr-ink); }
.dr-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(70% 60% at 85% 0%, rgba(145,70,255,.32), transparent 70%), #0b0716; }
.dr-blobs { position: absolute; inset: 0; filter: blur(56px); }
.dr-blobs i { position: absolute; width: 70vmax; height: 70vmax; left: calc(50% - 35vmax); top: calc(50% - 35vmax); border-radius: 50%; opacity: .5; }
.dr-blobs .b1 { background: radial-gradient(circle, rgba(145,70,255,.55) 0, rgba(145,70,255,0) 50%); animation: dr-vert 34s ease-in-out infinite; }
.dr-blobs .b2 { background: radial-gradient(circle, rgba(180,77,255,.4) 0, rgba(180,77,255,0) 50%); transform-origin: calc(50% - 30vw) 50%;
  animation: dr-circle 28s linear infinite reverse; }
.dr-blobs .b3 { background: radial-gradient(circle, rgba(61,31,122,.85) 0, rgba(61,31,122,0) 50%); animation: dr-horiz 42s ease-in-out infinite; }
.dr-blobs .b4 { background: radial-gradient(circle, rgba(255,90,217,.14) 0, rgba(255,90,217,0) 50%); transform-origin: calc(50% + 35vw) 40%;
  animation: dr-circle 46s linear infinite; }
.dr-blobs .dr-follow { width: 56vmax; height: 56vmax; left: -28vmax; top: -28vmax; opacity: .35;
  background: radial-gradient(circle, rgba(201,184,255,.6) 0, rgba(201,184,255,0) 50%); }
@keyframes dr-circle { to { transform: rotate(360deg); } }
@keyframes dr-vert { 50% { transform: translateY(30%); } 0%, 100% { transform: translateY(-30%); } }
@keyframes dr-horiz { 50% { transform: translateX(35%) translateY(8%); } 0%, 100% { transform: translateX(-35%) translateY(-8%); } }

.dr-badge { display: block; flex: none; border-radius: 22%; }
.dr-page h2, .dr-page h3 { font-family: var(--dr-display); font-weight: 800; letter-spacing: -.015em; }
.dr-page a:not(.dr-btn):not(.dr-row) { color: var(--dr-lav); text-decoration: underline; text-decoration-color: rgba(201,184,255,.45);
  text-underline-offset: 3px; font-weight: 700; }
.dr-page a:not(.dr-btn):not(.dr-row):hover { color: #fff; text-decoration-color: currentColor; }
.dr-page :focus-visible { outline: 3px solid var(--dr-lav); outline-offset: 3px; border-radius: 6px; }
.dr-ref { margin-left: 2px; font-size: .68em; line-height: 0; }
.dr-ref a { text-decoration: none !important; color: var(--dr-violet) !important; }

.dr-magic { position: relative; isolation: isolate; }
.dr-magic::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; background: var(--dr-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: dr-spin 5s linear infinite; }
.dr-magic::after { content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -4%; z-index: -2; border-radius: inherit;
  background: linear-gradient(var(--dr-spin), #9146ff, #b44dff, #ff5ad9); filter: blur(46px); opacity: .32; animation: dr-spin 5s linear infinite; }
@keyframes dr-spin { to { --dr-spin: 492deg; } }

.dr-backlight { position: relative; isolation: isolate; }
.dr-backlight::after { content: ""; position: absolute; left: 8%; right: 8%; top: 22%; bottom: -8%; z-index: -1; filter: blur(30px);
  background: linear-gradient(270deg, #9146ff, #ff5ad9, #b44dff, #c9b8ff); background-size: 300% 300%; opacity: .55;
  animation: dr-glow 10s ease infinite; }
@keyframes dr-glow { 50% { background-position: 100% 50%; } 0%, 100% { background-position: 0% 50%; } }

.dr-hero { padding: clamp(40px, 6vw, 80px) 0 20px; }
.dr-hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.dr-updated { margin: 0; font-size: .9rem; font-weight: 600; color: var(--dr-muted); }
.dr-title { margin: 10px 0 18px; font-family: var(--dr-display); line-height: 1; }
.dr-pre { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--dr-lav); }
.dr-big { position: relative; display: block; margin-top: 6px; font-family: var(--dr-display); font-weight: 800;
  font-size: clamp(3.1rem, 8.4vw, 6.4rem); line-height: .98; letter-spacing: -.035em; color: #fff;
  text-shadow: 0 0 26px rgba(180,77,255,.7); }
.dr-big > span { display: inline-block; }
.dr-big canvas { position: absolute; pointer-events: none; filter: drop-shadow(0 0 10px rgba(180,77,255,.75)) drop-shadow(0 0 26px rgba(255,90,217,.35)); }
.dr-big.dr-drawn { color: transparent; text-shadow: none; }
.dr-lede { max-width: 580px; margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.16rem); line-height: 1.7; color: var(--dr-muted); }
.dr-count { margin: 18px 0 0; font-size: 1rem; color: var(--dr-muted); }
.dr-count[hidden] { display: none; }
.dr-count strong { color: #fff; font-variant-numeric: tabular-nums; }
.dr-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.dr-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 800;
  text-decoration: none; color: #fff; background: var(--dr-purple); box-shadow: 0 12px 34px rgba(145,70,255,.45);
  transition: transform .18s ease, background-color .18s ease; }
.dr-btn svg { width: 18px; height: 18px; fill: currentColor; }
.dr-btn:hover { transform: translateY(-2px); background: #a066ff; }
.dr-zone { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .92rem; font-weight: 600; color: var(--dr-muted); }
.dr-zone select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--dr-line-2);
  border-radius: 10px; font: 700 .95rem/1 inherit; font-family: inherit; color: var(--dr-text); cursor: pointer;
  background: rgba(20,12,38,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9b8ff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.dr-zone select:hover { border-color: var(--dr-lav); }
.dr-zone option { color: #111; background: #fff; }

.dr-case { margin: 0; padding: 22px 20px 20px; border-radius: 24px; background: var(--dr-panel);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.dr-case figcaption { margin: 0 0 14px; font-family: var(--dr-display); font-size: 1.15rem; font-weight: 800; color: #fff; }
.dr-case-row { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--dr-line); }
.dr-case-row:first-of-type { border-top: 0; padding-top: 4px; }
.dr-case-h { margin: 0; font-size: .95rem !important; font-weight: 600 !important; letter-spacing: 0 !important; color: var(--dr-lav); }
.dr-case-line { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 6px 10px; }
.dr-slot { display: grid; justify-items: center; gap: 6px; min-width: 64px; }
.dr-slot .dr-badge { filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.dr-case-new .dr-badge { filter: drop-shadow(0 0 16px rgba(180,77,255,.65)); }
.dr-name { font-size: .78rem; font-weight: 700; color: #ddd3f5; }
.dr-arrow { align-self: center; margin-bottom: 20px; font-size: 1rem; color: rgba(201,184,255,.55); }

.dr-sec { padding: clamp(46px, 6vw, 76px) 0 0; }
.dr-sec > h2, .dr-split h2 { margin: 0 0 12px; font-size: clamp(1.85rem, 3.8vw, 2.7rem); line-height: 1.08; text-wrap: balance; }
.dr-intro { max-width: 700px; margin: 0 0 26px; font-size: 1.05rem; line-height: 1.7; color: var(--dr-muted); }
.dr-small { max-width: 780px; margin: 22px 0 0; font-size: .95rem; line-height: 1.7; color: var(--dr-muted); }

.dr-rows { border-top: 1px solid var(--dr-line-2); }
.dr-row { display: grid; grid-template-columns: 190px minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: 22px; align-items: center;
  padding: 20px 14px; border-bottom: 1px solid var(--dr-line-2); color: var(--dr-text); text-decoration: none; transition: background-color .18s ease; }
.dr-row:hover { background: rgba(145,70,255,.12); }
.dr-row-art { display: flex; gap: 6px; }
.dr-word { font-family: var(--dr-display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--dr-lav); }
.dr-row-main { display: grid; gap: 4px; }
.dr-row-main b { font-family: var(--dr-display); font-size: 1.18rem; font-weight: 800; line-height: 1.2; }
.dr-where { font-size: .9rem; font-weight: 600; color: var(--dr-violet); }
.dr-row-how { font-size: .95rem; line-height: 1.55; color: var(--dr-muted); }
.dr-row-when { font-size: .95rem; font-weight: 700; color: #fff; }
.dr-done { opacity: .45; }
.dr-row.dr-done .dr-row-when::after { content: " (ended)"; color: var(--dr-muted); }
.dr-ended-note { margin: 16px 0 0; font-weight: 700; color: var(--dr-lav); }

.dr-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 5vw, 70px); align-items: start; }
.dr-split-even { grid-template-columns: 1fr 1fr; }
.dr-split-head { align-items: end; margin-bottom: 8px; }
.dr-split-head .dr-zone { justify-self: end; margin: 0 0 30px; }
.dr-line-big { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; width: fit-content; margin-top: 6px; }
.dr-line-big .dr-slot { min-width: 84px; }

.dr-steps { counter-reset: dr; margin: 0; padding: 0; list-style: none; }
.dr-steps li { counter-increment: dr; position: relative; padding: 16px 0 16px 58px; border-top: 1px solid var(--dr-line); line-height: 1.7; color: var(--dr-muted); }
.dr-steps li:first-child { border-top: 0; padding-top: 4px; }
.dr-steps li::before { content: counter(dr); position: absolute; left: 0; top: 10px; width: 40px; text-align: center;
  font-family: var(--dr-display); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--dr-violet); }
.dr-steps li:first-child::before { top: -2px; }
.dr-steps b { color: #fff; }
.dr-steps-wide { columns: 2; column-gap: 56px; }
.dr-steps-wide li { break-inside: avoid; }
.dr-steps-wide li:nth-child(4) { border-top: 0; padding-top: 4px; }
.dr-steps-wide li:nth-child(4)::before { top: -2px; }

.dr-good { margin-top: 34px; padding: 24px 28px; border-radius: 18px; background: rgba(145,70,255,.1); }
.dr-good h3 { margin: 0 0 10px; font-size: 1.3rem; }
.dr-good ul, .dr-why-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dr-good li, .dr-why-list li { position: relative; padding-left: 26px; line-height: 1.65; color: var(--dr-muted); }
.dr-good li::before, .dr-why-list li::before { content: "\2661"; position: absolute; left: 0; top: 0; color: var(--dr-magenta); font-weight: 700; }
.dr-good b, .dr-why-list b { color: #fff; }
.dr-good q { color: #fff; font-style: italic; }

.dr-lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dr-lines li { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0; border-top: 1px solid var(--dr-line); }
.dr-lines li:first-child { border-top: 0; padding-top: 0; }
.dr-lines .dr-slot { min-width: 74px; }

.dr-timeline { position: relative; display: grid; margin: 0; padding: 0 0 0 30px; list-style: none; }
.dr-timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--dr-purple), var(--dr-magenta) 50%, var(--dr-lav)); box-shadow: 0 0 12px rgba(145,70,255,.55); }
.dr-timeline li { position: relative; display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--dr-line); }
.dr-timeline li:last-child { border-bottom: 0; }
.dr-timeline li::before { content: ""; position: absolute; left: -28px; top: 21px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--dr-ink); border: 2px solid var(--dr-lav); box-shadow: 0 0 10px rgba(180,77,255,.7); }
.dr-when { font-family: var(--dr-display); font-size: 1.1rem; font-weight: 800; color: #fff; }
.dr-what { line-height: 1.6; color: var(--dr-muted); }
.dr-timeline li.dr-done .dr-what::after { content: " (ended)"; font-weight: 700; }

.dr-facts { display: grid; margin: 0; border-top: 1px solid var(--dr-line-2); }
.dr-facts > div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--dr-line-2); }
.dr-facts dt { font-family: var(--dr-display); font-size: 1.12rem; font-weight: 800; color: #fff; }
.dr-facts dd { margin: 0; line-height: 1.7; color: var(--dr-muted); }

.dr-why .dr-split { padding: 34px; border-radius: 22px; background: linear-gradient(135deg, rgba(145,70,255,.2), rgba(255,90,217,.08)); }

.dr-faq { max-width: 900px; border-top: 1px solid var(--dr-line-2); }
.dr-faq details { border-bottom: 1px solid var(--dr-line-2); }
.dr-faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; font-size: 1.05rem; font-weight: 700;
  color: #fff; cursor: pointer; list-style: none; }
.dr-faq summary::-webkit-details-marker { display: none; }
.dr-faq summary::after { content: "+"; flex: none; font-family: var(--dr-display); font-size: 1.5rem; font-weight: 800; line-height: .9; color: var(--dr-violet); }
.dr-faq details[open] summary::after { content: "\2212"; }
.dr-ans { padding: 0 2px 20px; max-width: 760px; line-height: 1.75; color: var(--dr-muted); }

.dr-refs ol { display: grid; gap: 10px; margin: 0; padding-left: 26px; color: var(--dr-muted); }
.dr-refs li { padding-left: 4px; line-height: 1.6; }
.dr-refs li::marker { font-weight: 800; color: var(--dr-violet); }
.dr-ref-src { font-weight: 700; color: #fff; }
.dr-refs li:target { color: #fff; }

.dr-cta { margin-top: clamp(50px, 7vw, 86px); padding: clamp(40px, 6vw, 70px) 0; text-align: center; border-top: 1px solid var(--dr-line);
  background: radial-gradient(60% 100% at 50% 100%, rgba(145,70,255,.32), transparent 70%); }
.dr-cta-in { display: grid; justify-items: center; gap: 16px; }
.dr-cta-badges { display: flex; gap: 14px; }
.dr-cta h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 3.8vw, 2.6rem); text-wrap: balance; }
.dr-cta p { max-width: 560px; margin: 0 0 6px; line-height: 1.7; color: var(--dr-muted); }

@media (max-width: 980px) {
  .dr-hero-in, .dr-split, .dr-split-even { grid-template-columns: 1fr; }
  .dr-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 6px; }
  .dr-split-head .dr-zone { justify-self: start; margin: 0 0 16px; }
  .dr-steps-wide { columns: 1; }
  .dr-steps-wide li:nth-child(4) { border-top: 1px solid var(--dr-line); padding-top: 16px; }
  .dr-steps-wide li:nth-child(4)::before { top: 10px; }
}
@media (max-width: 640px) {
  .dr-case { padding: 18px 12px 14px; }
  .dr-case-line { gap: 4px; }
  .dr-slot { min-width: 54px; }
  .dr-case .dr-badge { width: 40px; height: 40px; }
  .dr-case-new .dr-badge { width: 52px; height: 52px; }
  .dr-name { font-size: .7rem; }
  .dr-arrow { font-size: .85rem; }
  .dr-timeline li, .dr-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .dr-lines .dr-badge { width: 40px; height: 40px; }
  .dr-lines .dr-slot { min-width: 58px; }
  .dr-why .dr-split { padding: 22px 18px; }
  .dr-zone { flex-wrap: wrap; }
  .dr-blobs { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .dr-blobs i, .dr-magic::before, .dr-magic::after, .dr-backlight::after { animation: none; }
  .dr-btn, .dr-row { transition: none; }
}
.dr-steps li, .dr-lines li, .dr-rows, .dr-row > * { min-width: 0; }
