/* Doãn Kiên Academy — giao diện theme. Selector đã giới hạn bằng :where(.dka) qua scripts/scope-css.py */

:root{
  --paper:#F4F6FB; --surface:#FFFFFF; --ink:#0F1530; --muted:#59617E; --line:#DCE1EE;
  --cobalt:#1D4ED8; --violet:#6D28D9; --cobalt-soft:#EEE8FD; --mark:#E4D6FF; --on-mark:#2E0B73; --ok:#0F8A5F; --warn:#B45309;
  --f-display:"Montserrat","Be Vietnam Pro",system-ui,sans-serif;
  --f-body:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
  --r:14px;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --paper:#0B0F1E; --surface:#131A30; --ink:#E9EDF9; --muted:#9AA3C0; --line:#263050;
  --cobalt:#8EA2FF; --violet:#B69CFF; --cobalt-soft:#221A48; --mark:#3D2A7A; --on-mark:#EFE6FF; --ok:#4FD1A0; --warn:#F5B454; color-scheme:dark}}
:root[data-theme="dark"]{
  --paper:#0B0F1E; --surface:#131A30; --ink:#E9EDF9; --muted:#9AA3C0; --line:#263050;
  --cobalt:#8EA2FF; --violet:#B69CFF; --cobalt-soft:#221A48; --mark:#3D2A7A; --on-mark:#EFE6FF; --ok:#4FD1A0; --warn:#F5B454; color-scheme:dark}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--paper);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.65;padding-inline:20px}
img{max-width:100%}
[hidden]{display:none!important}
.wrap{max-width:1120px;margin-inline:auto}
:where(.dka) h1,:where(.dka) h2,:where(.dka) h3,:where(.dka) h4{font-family:var(--f-display);line-height:1.15;text-wrap:balance;margin:0;letter-spacing:-.015em}
:where(.dka) h1{font-size:clamp(30px,4.6vw,50px);font-weight:800}
:where(.dka) h2{font-size:clamp(24px,3.4vw,36px);font-weight:800}
:where(.dka) h3{font-size:20px;font-weight:700}
:where(.dka) p{margin:0}
:where(.dka) a{color:var(--cobalt)}
:where(.dka) mark{background:var(--mark);color:var(--on-mark);padding:0 .15em;border-radius:3px}
:where(.dka) .eyebrow{font-family:var(--f-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
:where(.dka) .lead{color:var(--muted);font-size:18px;max-width:62ch}
:where(.dka) .muted{color:var(--muted)}
:where(.dka) .draft{font-size:13px;color:var(--muted);margin-top:16px}
:where(.dka) :focus-visible{outline:3px solid var(--cobalt);outline-offset:2px}

:where(.dka) .notice{font-family:var(--f-mono);font-size:12px;text-align:center;padding:8px 12px;margin-inline:-20px;background:var(--mark);color:var(--on-mark)}


:where(.dka) header.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:16px;flex-wrap:wrap;position:relative}
:where(.dka) .logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
:where(.dka) .logo img{width:44px;height:50px;flex:none}
:where(.dka) .logo-text{display:grid;line-height:1;font-family:var(--f-display)}
:where(.dka) .logo-text b{font-weight:800;font-size:19px;letter-spacing:.01em}
:where(.dka) .logo-text i{font-style:normal;font-weight:700;font-size:11px;letter-spacing:.42em;margin-top:5px;background:linear-gradient(90deg,var(--violet),var(--cobalt));-webkit-background-clip:text;background-clip:text;color:transparent}
:where(.dka) nav.menu{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;font-weight:500}
:where(.dka) nav.menu > a{color:var(--muted);text-decoration:none;padding-block:6px;border-bottom:2px solid transparent}
:where(.dka) nav.menu > a:hover{color:var(--ink)}
:where(.dka) nav.menu > a[aria-current="page"]{color:var(--ink);border-color:var(--violet)}
:where(.dka) .head-cta{display:flex;gap:8px;align-items:center}
:where(.dka) .menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:44px;height:44px;color:var(--ink);cursor:pointer}


:where(.dka) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 15px/1 var(--f-body);padding:14px 22px;border-radius:999px;border:1.5px solid var(--ink);background:var(--ink);color:var(--paper);text-decoration:none;cursor:pointer}
:where(.dka) .btn:hover{background:var(--violet);border-color:var(--violet)}
:where(.dka) .btn.ghost{background:transparent;color:var(--ink)}
:where(.dka) .btn.ghost:hover{background:var(--surface);color:var(--ink);border-color:var(--ink)}
:where(.dka) .btn.small{padding:10px 16px;font-size:14px}
:where(.dka) .btn.violet{background:var(--violet);border-color:var(--violet);color:#fff}
:where(.dka) .btn.violet:hover{background:var(--cobalt);border-color:var(--cobalt)}
:where(.dka) .btn.block{width:100%}

:where(.dka) section{padding-block:64px;border-top:1px solid var(--line)}
:where(.dka) .sec-head{display:grid;gap:14px;margin-bottom:32px}
:where(.dka) .crumbs{font-size:13px;color:var(--muted);padding-top:20px;display:flex;gap:6px;flex-wrap:wrap}
:where(.dka) .crumbs a{color:var(--muted)}


:where(.dka) .hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding-block:72px}
:where(.dka) .hero>*{min-width:0}
:where(.dka) .hero .lead{margin-top:20px}
:where(.dka) .cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
:where(.dka) .chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;font-size:13px;color:var(--muted)}
:where(.dka) .chips span{border:1px solid var(--line);border-radius:999px;padding:4px 12px;background:var(--surface)}
:where(.dka) .hero-visual{position:relative;min-width:0}
:where(.dka) .mascot{position:absolute;top:-92px;right:-6px;width:140px;height:153px;filter:drop-shadow(0 8px 16px rgba(109,40,217,.35))}
:where(.dka) .serp{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 30px 60px -40px rgba(15,21,48,.45)}
:where(.dka) .qbox{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;padding:12px 136px 12px 16px;font-size:15px;min-width:0}
:where(.dka) .qbox svg{flex:none}
:where(.dka) .qbox #q{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
:where(.dka) .qbox .caret{flex:none}
:where(.dka) .caret{display:inline-block;width:1.5px;height:1.1em;background:var(--cobalt);vertical-align:-3px;margin-left:2px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
:where(.dka) .ai{margin-top:16px;border-radius:14px;background:var(--cobalt-soft);padding:16px}
:where(.dka) .ai .tag{font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--violet);font-weight:600}
:where(.dka) .ai p{margin-top:8px;font-size:14.5px}
:where(.dka) .cite{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-family:var(--f-mono);font-size:12px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--ink)}
:where(.dka) .cite i{width:8px;height:8px;border-radius:50%;background:var(--violet);display:inline-block}
:where(.dka) .result{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
:where(.dka) .result .url{font-family:var(--f-mono);font-size:12px;color:var(--muted)}
:where(.dka) .result .t{font-size:17px;color:var(--cobalt);font-weight:600;margin-top:2px}
:where(.dka) .result p{font-size:13.5px;color:var(--muted);margin-top:4px}

:where(.dka) .shift{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
:where(.dka) .shift>div{display:grid;gap:10px;align-content:start}
:where(.dka) .shift .k{font-family:var(--f-mono);font-size:13px;color:var(--violet)}
:where(.dka) .shift p{color:var(--muted)}


:where(.dka) .courses{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
:where(.dka) .course{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:16px;min-width:0}
:where(.dka) .course.featured{border:2px solid var(--violet);background:linear-gradient(180deg,var(--cobalt-soft),var(--surface) 45%)}
:where(.dka) .course.featured .code{color:var(--violet);font-weight:600}
:where(.dka) .course .top{display:flex;justify-content:space-between;align-items:center;gap:12px}
:where(.dka) .course .code{font-family:var(--f-mono);font-size:12px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
:where(.dka) .ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--cobalt-soft);color:var(--violet);flex:none}
:where(.dka) .course h3{font-size:22px}
:where(.dka) .course h3 a{color:inherit;text-decoration:none}
:where(.dka) .course h3 a:hover{color:var(--violet)}
:where(.dka) .course .for{font-size:14px;color:var(--muted)}
:where(.dka) .arrows{margin:0;padding:0;list-style:none;display:grid;gap:8px;font-size:14.5px}
:where(.dka) .arrows li{display:grid;grid-template-columns:18px 1fr;gap:8px}
:where(.dka) .arrows li::before{content:"→";color:var(--violet);font-weight:700}
:where(.dka) .course .arrows{flex:1}
:where(.dka) .course .out{border-top:1px solid var(--line);padding-top:14px;font-size:14px}
:where(.dka) .course .out b{display:block;font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:4px}
:where(.dka) .course .foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
:where(.dka) .course .p{font-family:var(--f-display);font-weight:800;font-size:22px;font-variant-numeric:tabular-nums}
:where(.dka) .course .acts{display:flex;gap:8px;flex-wrap:wrap}


:where(.dka) .cases{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
:where(.dka) .case{border:1px dashed var(--line);border-radius:var(--r);padding:22px;display:grid;gap:12px;align-content:start;background:var(--surface)}
:where(.dka) .case .ind{font-family:var(--f-mono);font-size:12px;color:var(--muted)}
:where(.dka) .metric{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-family:var(--f-display);font-size:28px;font-weight:800;font-variant-numeric:tabular-nums}
:where(.dka) .metric small{font-family:var(--f-body);font-size:13px;font-weight:500;color:var(--muted)}
:where(.dka) .about{display:grid;grid-template-columns:280px 1fr;gap:40px;align-items:start}
:where(.dka) .about>*{min-width:0}
:where(.dka) .portrait{aspect-ratio:4/5;max-width:100%;border-radius:var(--r);background:repeating-linear-gradient(135deg,var(--cobalt-soft) 0 12px,var(--surface) 12px 24px);border:1px solid var(--line);display:grid;place-items:center;font-family:var(--f-mono);font-size:12px;color:var(--muted)}
:where(.dka) .creds{display:grid;margin-top:22px;border-top:1px solid var(--line)}
:where(.dka) .creds div{display:grid;grid-template-columns:160px 1fr;gap:16px;padding-block:12px;border-bottom:1px solid var(--line);font-size:15px}
:where(.dka) .creds .l{color:var(--muted);font-size:13px;font-family:var(--f-mono)}


:where(.dka) .prices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
:where(.dka) .plan{border:1px solid var(--line);border-radius:var(--r);padding:26px;background:var(--surface);display:flex;flex-direction:column;gap:16px}
:where(.dka) .plan.best{border:2px solid var(--violet);position:relative}
:where(.dka) .badge{display:inline-block;background:var(--violet);color:#fff;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px}
:where(.dka) .plan.best .badge{position:absolute;top:-12px;left:24px}
:where(.dka) .plan .name{font-family:var(--f-mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
:where(.dka) .price{font-family:var(--f-display);font-size:38px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
:where(.dka) .price small{font-size:16px;font-weight:600;color:var(--muted)}
:where(.dka) .save{font-size:13px;color:var(--ok);font-weight:600}
:where(.dka) .checks{margin:0;padding:0;list-style:none;display:grid;gap:8px;font-size:14.5px}
:where(.dka) .checks li{display:grid;grid-template-columns:18px 1fr;gap:8px}
:where(.dka) .checks li::before{content:"✓";color:var(--ok);font-weight:700}
:where(.dka) .checks.no li::before{content:"×";color:var(--muted)}
:where(.dka) .plan .checks{flex:1}
:where(.dka) .note{font-size:13px;color:var(--muted);margin-top:18px}


:where(.dka) .duo{display:grid;grid-template-columns:1fr 1fr;gap:20px}
:where(.dka) .panel{border-radius:var(--r);padding:30px;display:grid;gap:14px;align-content:start}
:where(.dka) .panel.dark{background:var(--ink);color:var(--paper)}
:where(.dka) .panel.dark p{color:color-mix(in srgb,var(--paper) 75%,transparent)}
:where(.dka) .panel.dark .btn{background:var(--paper);color:var(--ink);border-color:var(--paper);justify-self:start}
:where(.dka) .panel.light{background:var(--surface);border:1px solid var(--line)}
:where(.dka) .panel.light .btn{justify-self:start}
:where(.dka) .panel ul{margin:0;padding-left:18px;display:grid;gap:4px}


:where(.dka) .faq{display:grid;border-top:1px solid var(--line);max-width:820px}
:where(.dka) details{border-bottom:1px solid var(--line);padding-block:18px}
:where(.dka) summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:16px}
:where(.dka) summary::-webkit-details-marker{display:none}
:where(.dka) summary::after{content:"+";font-family:var(--f-mono);color:var(--violet)}
:where(.dka) details[open] summary::after{content:"–"}
:where(.dka) details>p{color:var(--muted);margin-top:10px;max-width:68ch}


:where(.dka) form.card,:where(.dka) .card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;display:grid;gap:12px}
:where(.dka) label{font-size:13px;font-weight:500;display:grid;gap:6px}
:where(.dka) input,:where(.dka) select,:where(.dka) textarea{font:15px var(--f-body);padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--paper);color:var(--ink);width:100%}
:where(.dka) textarea{min-height:96px;resize:vertical}
:where(.dka) .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
:where(.dka) .msg{font-size:13px;color:var(--ok);min-height:1.2em}
:where(.dka) .promise{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;font-size:14px;font-weight:500}
:where(.dka) .promise span::before{content:"✓ ";color:var(--ok)}
:where(.dka) .signup{display:grid;grid-template-columns:1fr 440px;gap:48px;align-items:center}
:where(.dka) .signup>*{min-width:0}


:where(.dka) .c-hero{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:start;padding-block:28px 64px}
:where(.dka) .c-hero>*{min-width:0}
:where(.dka) .c-hero .lead{margin-top:16px}
:where(.dka) .c-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
:where(.dka) .c-meta span{font-size:13px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 12px}
:where(.dka) .buybox{position:sticky;top:calc(env(safe-area-inset-top,0px) + 16px);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;display:grid;gap:14px;box-shadow:0 24px 48px -36px rgba(15,21,48,.5)}
:where(.dka) .buybox .price{font-size:36px}
:where(.dka) .outcomes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
:where(.dka) .outcome{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px;display:grid;gap:8px;align-content:start}
:where(.dka) .outcome p{font-size:14.5px;color:var(--muted)}
:where(.dka) .curr{max-width:820px;border-top:1px solid var(--line)}
:where(.dka) .curr summary{font-size:16px}
:where(.dka) .curr summary span{font-family:var(--f-mono);font-size:12px;color:var(--muted);font-weight:500;margin-right:10px}
:where(.dka) .curr ol{margin:12px 0 0;padding-left:22px;display:grid;gap:6px;color:var(--muted);font-size:15px}
:where(.dka) .fit{display:grid;grid-template-columns:1fr 1fr;gap:20px}
:where(.dka) .fit>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:24px;display:grid;gap:12px;align-content:start}
:where(.dka) .mini-teacher{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
:where(.dka) .mini-teacher img{width:96px;height:105px}
:where(.dka) .mini-teacher>div{flex:1;min-width:240px;display:grid;gap:8px}
:where(.dka) .upsell{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:var(--ink);color:var(--paper);border-radius:20px;padding:28px}
:where(.dka) .upsell p{color:color-mix(in srgb,var(--paper) 75%,transparent)}
:where(.dka) .upsell .btn{background:var(--paper);color:var(--ink);border-color:var(--paper)}


:where(.dka) .p-hero{padding-block:28px 56px;display:grid;gap:16px;max-width:780px}


:where(.dka) .checkout{display:grid;grid-template-columns:1fr 400px;gap:32px;align-items:start;padding-block:24px 64px}
:where(.dka) .checkout>*{min-width:0}
:where(.dka) .opts{display:grid;gap:10px}
:where(.dka) .opt{display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--surface);cursor:pointer;font-size:15px;font-weight:500}
:where(.dka) .opt input{width:18px;height:18px;margin:0;accent-color:var(--violet)}
:where(.dka) .opt b{font-family:var(--f-display);font-variant-numeric:tabular-nums}
:where(.dka) .opt small{display:block;font-weight:400;color:var(--muted);font-size:13px}
:where(.dka) .opt:has(input:checked){border:2px solid var(--violet);padding:13px 15px}
:where(.dka) .summary{display:grid;gap:10px;font-size:15px}
:where(.dka) .summary div{display:flex;justify-content:space-between;gap:12px}
:where(.dka) .summary .total{border-top:1px solid var(--line);padding-top:12px;font-weight:600}
:where(.dka) .summary .total b{font-family:var(--f-display);font-size:24px;font-variant-numeric:tabular-nums}
:where(.dka) .qr-wrap{display:grid;justify-items:center;gap:12px;text-align:center}
:where(.dka) .qr{width:220px;height:220px;max-width:100%;border-radius:12px;background:#fff;padding:12px;border:1px solid var(--line)}
:where(.dka) .bank{display:grid;gap:8px;font-size:14px;width:100%}
:where(.dka) .bank div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed var(--line);padding-bottom:6px}
:where(.dka) .bank span{color:var(--muted)}
:where(.dka) .bank b{font-family:var(--f-mono);font-weight:600}
:where(.dka) .status{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--warn)}
:where(.dka) .status.ok{color:var(--ok)}
:where(.dka) .dot{width:10px;height:10px;border-radius:50%;background:currentColor;animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.3}}
:where(.dka) .step-tag{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--muted)}
:where(.dka) .step-tag b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--violet);color:#fff;font-size:12px}


:where(.dka) .dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-block:24px 32px}
:where(.dka) .dash-head>div{display:grid;gap:6px}
:where(.dka) .sample{font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;background:var(--cobalt-soft);color:var(--violet);border-radius:6px;padding:3px 8px;justify-self:start}
:where(.dka) .dash{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start;padding-bottom:64px}
:where(.dka) .dash>*{min-width:0}
:where(.dka) .my-courses{display:grid;gap:16px}
:where(.dka) .my-course{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px}
:where(.dka) .my-course>div{min-width:0;display:grid;gap:8px}
:where(.dka) .bar{height:8px;border-radius:999px;background:var(--line);overflow:hidden}
:where(.dka) .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--violet),var(--cobalt));border-radius:999px}
:where(.dka) .small:not(.btn){font-size:13px;color:var(--muted)}
:where(.dka) .locked{opacity:.75}
:where(.dka) .side-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;display:grid;gap:10px}
:where(.dka) .side-stack{display:grid;gap:16px}
:where(.dka) .copy-row{display:flex;gap:8px}
:where(.dka) .copy-row input{font-family:var(--f-mono);font-size:13px}


:where(.dka) .lesson{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start;padding-block:16px 64px}
:where(.dka) .lesson>*{min-width:0}
:where(.dka) .player{position:relative;aspect-ratio:16/9;max-width:100%;border-radius:16px;overflow:hidden;background:#0B0E1C;display:grid;place-items:center;color:#fff}
:where(.dka) .player .play{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.14);border:2px solid rgba(255,255,255,.5);display:grid;place-items:center;cursor:pointer}
:where(.dka) .player .wm{position:absolute;font-family:var(--f-mono);font-size:12px;color:rgba(255,255,255,.28);pointer-events:none;white-space:nowrap}
:where(.dka) .player .ctrl{position:absolute;left:0;right:0;bottom:0;padding:12px 16px;display:flex;gap:12px;align-items:center;font-family:var(--f-mono);font-size:12px;background:linear-gradient(0deg,rgba(0,0,0,.6),transparent)}
:where(.dka) .player .ctrl .bar{flex:1;background:rgba(255,255,255,.25)}
:where(.dka) .l-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-top:20px}
:where(.dka) .l-title>div{display:grid;gap:6px}
:where(.dka) .tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-top:24px;overflow-x:auto}
:where(.dka) .tabs button{font:600 14px var(--f-body);background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:12px 14px;cursor:pointer;white-space:nowrap}
:where(.dka) .tabs button[aria-selected="true"]{color:var(--ink);border-color:var(--violet)}
:where(.dka) .tabpanel{padding-top:20px;display:grid;gap:14px;max-width:72ch}
:where(.dka) .files{display:grid;gap:10px}
:where(.dka) .file{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--surface);font-size:14px}
:where(.dka) .l-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:28px}
:where(.dka) .toc{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;position:sticky;top:calc(env(safe-area-inset-top,0px) + 16px)}
:where(.dka) .toc-head{padding:16px 18px;border-bottom:1px solid var(--line);display:grid;gap:8px}
:where(.dka) .toc details{border-bottom:1px solid var(--line);padding:0}
:where(.dka) .toc summary{padding:14px 18px;font-size:14px}
:where(.dka) .toc ol{list-style:none;margin:0;padding:0 0 8px}
:where(.dka) .toc li a{display:grid;grid-template-columns:20px 1fr;gap:10px;padding:8px 18px;font-size:14px;color:var(--ink);text-decoration:none}
:where(.dka) .toc li a:hover{background:var(--paper)}
:where(.dka) .toc li a[aria-current="true"]{background:var(--cobalt-soft);font-weight:600}
:where(.dka) .toc .st{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-size:11px;margin-top:2px}
:where(.dka) .toc .st.done{background:var(--ok);border-color:var(--ok);color:#fff}


:where(.dka) .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:s}
:where(.dka) .step{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px;display:grid;gap:8px;align-content:start}
:where(.dka) .step::before{counter-increment:s;content:counter(s);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--violet);color:#fff;font-weight:700;font-family:var(--f-display)}
:where(.dka) .step p{font-size:14.5px;color:var(--muted)}


:where(.dka) .filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
:where(.dka) .filters button{font:500 14px var(--f-body);border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:8px 14px;cursor:pointer}
:where(.dka) .filters button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
:where(.dka) .posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
:where(.dka) .post{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
:where(.dka) .post .thumb{aspect-ratio:16/9;max-width:100%;display:grid;place-items:center;font-family:var(--f-display);font-weight:800;font-size:20px;color:#fff;padding:20px;text-align:center}
:where(.dka) .post .thumb.t-agent{background:linear-gradient(135deg,#6D28D9,#4338CA)}
:where(.dka) .post .thumb.t-aio{background:linear-gradient(135deg,#1D4ED8,#3B82F6)}
:where(.dka) .post .thumb.t-gpt{background:linear-gradient(135deg,#4C1D95,#1D4ED8)}
:where(.dka) .post .body{padding:18px;display:grid;gap:8px;flex:1;align-content:start}
:where(.dka) .post .cat{font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--violet)}
:where(.dka) .post h3{font-size:17px;line-height:1.35}


:where(.dka) .timeline{display:grid;gap:0;border-left:2px solid var(--line);margin-left:8px;max-width:760px}
:where(.dka) .timeline div{position:relative;padding:0 0 24px 24px;display:grid;gap:4px}
:where(.dka) .timeline div::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--violet)}
:where(.dka) .timeline b{font-family:var(--f-mono);font-size:13px;color:var(--muted);font-weight:600}


:where(.dka) footer.site{border-top:1px solid var(--line);padding-block:40px 32px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;font-size:14px}
:where(.dka) footer.site h4{font-size:14px;margin-bottom:10px}
:where(.dka) footer.site ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
:where(.dka) footer.site a{color:var(--muted);text-decoration:none}
:where(.dka) footer.site a:hover{color:var(--ink)}
:where(.dka) .copy{grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px;font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

@media (max-width:960px){
  :where(.dka) .hero,:where(.dka) .signup,:where(.dka) .about,:where(.dka) .c-hero,:where(.dka) .checkout,:where(.dka) .dash,:where(.dka) .lesson{grid-template-columns:1fr}
  :where(.dka) .shift,:where(.dka) .cases,:where(.dka) .prices,:where(.dka) .duo,:where(.dka) .courses,:where(.dka) .posts,:where(.dka) .fit{grid-template-columns:1fr}
  :where(.dka) .outcomes,:where(.dka) .steps{grid-template-columns:1fr 1fr}
  :where(.dka) .portrait{max-width:260px}
  :where(.dka) .hero-visual{margin-top:90px}
  :where(.dka) .mascot{width:112px;height:122px;top:-80px}
  :where(.dka) .buybox,:where(.dka) .toc{position:static}
  :where(.dka) nav.menu{display:none;width:100%;flex-direction:column;gap:0;order:3}
  :where(.dka) nav.menu.open{display:flex}
  :where(.dka) nav.menu > a{padding:12px 0;border-bottom:1px solid var(--line)}
  :where(.dka) .menu-btn{display:grid;place-items:center}
  :where(.dka) .head-cta .btn.ghost{display:none}
  :where(.dka) footer.site{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  :where(.dka) .outcomes,:where(.dka) .steps,:where(.dka) .row2,:where(.dka) footer.site{grid-template-columns:1fr}
  :where(.dka) .creds div{grid-template-columns:1fr;gap:2px}
  :where(.dka) .qbox{padding-right:112px}
  :where(.dka) .my-course{grid-template-columns:1fr}
  :where(.dka) .my-course .ico{display:none}
}
@media (prefers-reduced-motion:reduce){:where(.dka) .caret,:where(.dka) .dot{animation:none}}
