/* 两套方案卡 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px 34px 26px; border-radius: 30px; font-family: "Be Vietnam Pro","Noto Sans SC",sans-serif; }
.duo-path { background: linear-gradient(135deg,#8f2022,#5c0f11); color: #fff6ea; box-shadow: 0 22px 44px rgba(120,32,28,.24); }
.duo-proof { background: #fffaf2; color: #17110e; box-shadow: 0 22px 44px rgba(86,47,26,.12); }
.duo-card p, .duo-card h3 { margin: 0; }
.duo-tag { font-size: 13px; font-weight: 600; color: #ffd9a0; }
.duo-proof .duo-tag { color: #961e20; }
.duo-card h3 { margin-top: 10px; font-size: 26px; line-height: 1.35; }
.duo button { font: inherit; color: inherit; cursor: pointer; }
.duo button:focus-visible, .duo a:focus-visible { outline: 3px solid #d99a55; outline-offset: 3px; }
.duo-say { min-height: 22px; font-size: 14px; line-height: 22px; opacity: .82; }
.duo-card a { margin-top: 10px; color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .25s; }
.duo-card a:hover { transform: translateX(4px); }

/* 路径：走到卡住的那一环就停下 */
.duo-track { position: relative; display: grid; grid-template-columns: repeat(5,1fr); align-self: stretch; margin: 34px 0 20px; }
.duo-line { position: absolute; left: 10%; right: 10%; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,240,222,.4) 0 5px, transparent 5px 10px); }
.duo-line i { display: block; height: 100%; background: #ffd9a0; transform-origin: left; transform: scaleX(calc(var(--at) / 4)); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.duo-track button { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0; border: 0; background: none; font-size: 14px; }
.duo-track em { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,240,222,.55); background: #7a191b; transition: transform .35s ease-out, background-color .25s, box-shadow .25s; }
.duo-track .duo-done em { background: #ffd9a0; border-color: #ffd9a0; transform: scale(.62); }
.duo-track .duo-here em { background: #fff; border-color: #fff; box-shadow: 0 0 0 8px rgba(255,217,160,.24); }
.duo-track .duo-here span { font-weight: 700; }

/* 依据：四段圆环 */
.duo-body { display: flex; align-items: center; gap: 26px; align-self: stretch; margin: 18px 0 8px; }
.duo-ring { position: relative; flex: none; width: 106px; height: 106px; }
.duo-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.duo-ring circle { fill: none; stroke: #eadfce; stroke-width: 8; transition: stroke .3s; }
.duo-ring circle.duo-lit { stroke: #961e20; }
.duo-ring strong { position: absolute; inset: 0; display: grid; grid-auto-flow: column; place-content: center; font-size: 16px; color: #8a7568; }
.duo-ring strong span { color: #961e20; font-size: 28px; line-height: 1; align-self: end; }
.duo-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.duo .duo-checks button { min-height: 40px; border: 1px solid #d9c8b2; border-radius: 12px; background: transparent; font-size: 14px; transition: background-color .25s, color .25s, transform .2s; }
.duo .duo-checks button:active { transform: scale(.96); }
.duo .duo-checks button[aria-pressed="true"] { border-color: #961e20; color: #961e20; font-weight: 600; }
.duo .duo-checks button[aria-pressed="true"]::before { content: "✓ "; }

.duo-stage { position: absolute; z-index: 4; }
.mb .duo { grid-template-columns: minmax(0,1fr); gap: 14px; }
.mb .duo-card { padding: 24px 20px; }
.mb .duo-card h3 { font-size: 21px; }
.mb .duo-body { gap: 16px; }
.mb .duo-ring { width: 84px; height: 84px; }

/* C5A 路径卡改为浅底，与 CRA 卡一致 */
.duo .duo-path { background: #fffaf2; color: #17110e; box-shadow: 0 22px 44px rgba(86,47,26,.12); }
.duo-path .duo-tag { color: #961e20; }
.duo-path .duo-line { background: repeating-linear-gradient(90deg, #d9c8b2 0 5px, transparent 5px 10px); }
.duo-path .duo-line i { background: #961e20; }
.duo-path .duo-track em { background: #fffaf2; border-color: #d9c8b2; }
.duo-path .duo-track .duo-done em { background: #961e20; border-color: #961e20; }
.duo-path .duo-track .duo-here em { background: #fffaf2; border: 3px solid #961e20; box-shadow: 0 0 0 7px rgba(150,30,32,.1); }
.duo-path .duo-track .duo-here span { color: #961e20; }

/* English & Vietnamese spacing refinements inside C5A / CRA interactive cards */
html[data-lang="en"] .duo-card,
html[data-lang="vn"] .duo-card { padding: 26px 30px 22px; }
html[data-lang="en"] .duo-card h3,
html[data-lang="vn"] .duo-card h3 { font-size: 21px; line-height: 1.3; }
html[data-lang="en"] .duo-track,
html[data-lang="vn"] .duo-track { margin: 24px 0 16px; }
html[data-lang="en"] .duo-track button,
html[data-lang="vn"] .duo-track button { font-size: 12px; }
html[data-lang="en"] .duo .duo-checks button,
html[data-lang="vn"] .duo .duo-checks button { font-size: 13px; padding: 0 8px; }
html[data-lang="en"] .duo-say,
html[data-lang="vn"] .duo-say { font-size: 13.5px; line-height: 1.45; }
