/* v1.143: Two Ways In — the free Calibration Test, buy buttons and the Somewhere Else sample. */

.dwct { --ct-pad: clamp(20px, 4vw, 40px); max-width: 760px; margin: 0 auto; color: var(--dw-text); font-family: var(--dw-sans); transition: background-color .8s ease; border-radius: var(--dw-radius); }
.dwct__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dwct__card {
	position: relative; padding: var(--ct-pad); border: 1px solid var(--dw-line); border-radius: var(--dw-radius);
	background: linear-gradient(180deg, rgba(182,164,206,.06), rgba(1,15,42,0) 40%), var(--dw-night);
}
.dwct__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--dw-lavender); border-radius: var(--dw-radius) var(--dw-radius) 0 0; }
body .dwct p { margin: 0 0 14px; padding: 0; line-height: 1.65; }
body .dwct .dwct__eyebrow { margin: 0 0 6px; font: 700 13px/1.4 var(--dw-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dw-lavender); }
body .dwct .dwct__title { margin: 0 0 18px; padding: 0; font: 500 clamp(30px, 5vw, 42px)/1.15 var(--dw-serif); color: var(--dw-cream); outline: none; }
body .dwct .dwct__title--small { font-size: clamp(24px, 4vw, 30px); }
body .dwct .dwct__run .dwct__title--small { text-align: center; }
.dwct__run .dwct__progress { justify-content: center; }
body .dwct .dwct__lead { font-size: 18px; color: var(--dw-text); }
body .dwct .dwct__prep { font-size: 19px; line-height: 1.7; color: var(--dw-cream); max-width: 36em; }
body .dwct .dwct__fine { font-size: 14px; color: var(--dw-muted); }
.dwct__welcome p:last-child { color: var(--dw-cream); }

/* Buttons */
body .dwct .dwct__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
	border: 1px solid var(--dw-line-strong); border-radius: 999px; background: transparent; color: var(--dw-cream);
	font: 600 16px/1.2 var(--dw-sans); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
body .dwct .dwct__btn:hover { border-color: var(--dw-gold); }
body .dwct .dwct__btn:focus-visible { outline: 2px solid var(--dw-gold); outline-offset: 3px; }
body .dwct .dwct__btn--gold { background: var(--dw-gold); border-color: var(--dw-gold); color: var(--dw-night); }
body .dwct .dwct__btn--gold:hover { background: var(--dw-gold-light); border-color: var(--dw-gold-light); }
body .dwct .dwct__btn--quiet { min-height: 40px; padding: 8px 18px; font-size: 14px; color: var(--dw-text); }
body .dwct .dwct__btn[disabled] { opacity: .4; cursor: not-allowed; }
.dwct__actions { display: flex; gap: 12px; margin-top: 26px; }
.dwct__actions--wrap { flex-wrap: wrap; }
.dwct__controls { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* Progress: five small stars along the top */
.dwct__progress { display: flex; gap: 8px; margin: 0 0 18px; }
.dwct__progress span { width: 26px; height: 4px; border-radius: 2px; background: var(--dw-line); }
.dwct__progress span.is-done { background: var(--dw-lavender); }
.dwct__progress span.is-now { background: var(--dw-gold); }

/* Modes and the last result */
.dwct__modes { margin: 22px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.dwct__modes legend { margin-bottom: 8px; color: var(--dw-cream); font-weight: 600; }
.dwct__mode { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--dw-line); border-radius: 12px; cursor: pointer; }
.dwct__mode:has(input:checked) { border-color: var(--dw-gold); background: rgba(217,185,138,.06); }
.dwct__mode input { margin-top: 5px; accent-color: var(--dw-gold); }
.dwct__mode strong { display: block; color: var(--dw-cream); }
.dwct__last { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--dw-line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
body .dwct .dwct__last p { margin: 0; }

/* Sliders */
.dwct__slider { margin: 22px 0 0; }
.dwct__slider label { display: block; margin-bottom: 8px; color: var(--dw-cream); }
.dwct__sliderrow { display: flex; align-items: center; gap: 12px; }
.dwct__sliderrow input[type="range"] { flex: 1; accent-color: var(--dw-gold); height: 28px; }
.dwct__end { font-size: 13px; color: var(--dw-muted); min-width: 2.2em; text-align: center; }
.dwct__out { min-width: 2em; text-align: right; font: 600 22px/1 var(--dw-serif); color: var(--dw-gold); }
.dwct__out--wide { display: block; margin-top: 10px; text-align: left; font-size: 20px; }

/* The run: one line at a time */
.dwct__run { min-height: 360px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
body .dwct .dwct__line {
	min-height: 5.2em; margin: 20px auto 12px; max-width: 30em; display: flex; align-items: center; justify-content: center;
	font: 500 clamp(22px, 3.6vw, 30px)/1.45 var(--dw-serif); color: var(--dw-cream);
	opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease;
}
body .dwct .dwct__line.is-in { opacity: 1; transform: none; }
body .dwct .dwct__line--quiet { font-size: 40px; color: var(--dw-muted); letter-spacing: .3em; animation: dwct-breathe 8s ease-in-out infinite; }
@keyframes dwct-breathe { 50% { opacity: .35; } }
.dwct__time { height: 3px; max-width: 320px; width: 100%; margin: 0 auto; background: var(--dw-line); border-radius: 2px; overflow: hidden; }
.dwct__time span { display: block; height: 100%; width: 0; background: var(--dw-lavender); transition: width .25s linear; }
.dwct--dark .dwct__card { background: #000814; border-color: #0b1530; }
.dwct--dark .dwct__card::before { opacity: .2; }

/* Questions */
.dwct__q { margin: 24px 0 0; padding: 0; border: 0; }
.dwct__q legend { margin-bottom: 10px; color: var(--dw-cream); font-weight: 600; font-size: 17px; }
.dwct__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dwct__opt { position: relative; cursor: pointer; }
.dwct__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dwct__opt span { display: inline-block; padding: 10px 16px; border: 1px solid var(--dw-line-strong); border-radius: 999px; font-size: 15px; line-height: 1.3; transition: background-color .15s, border-color .15s, color .15s; }
.dwct__opt:hover span { border-color: var(--dw-lavender); }
.dwct__opt input:checked + span { background: var(--dw-lavender); border-color: var(--dw-lavender); color: var(--dw-night); font-weight: 600; }
.dwct__opt input:focus-visible + span { outline: 2px solid var(--dw-gold); outline-offset: 2px; }

/* The result */
.dwct__bars { display: grid; gap: 14px; margin: 26px 0 30px; }
.dwct__bar { display: grid; grid-template-columns: 9.5em 1fr 4.2em; gap: 14px; align-items: center; }
.dwct__barlabel { color: var(--dw-cream); }
.dwct__track { height: 12px; border-radius: 6px; background: var(--dw-line); overflow: hidden; }
.dwct__fill { display: block; height: 100%; background: var(--dw-lavender); border-radius: 6px; }
.dwct__bar.is-top .dwct__fill { background: var(--dw-gold); }
.dwct__barval { text-align: right; font: 600 17px/1 var(--dw-serif); color: var(--dw-cream); white-space: nowrap; }
body .dwct .dwct__routes { margin: -14px 0 26px; }
.dwct__readouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.dwct__readout { padding: 18px; border: 1px solid var(--dw-line); border-radius: 12px; background: rgba(10,26,58,.5); }
body .dwct .dwct__readlabel { margin: 0 0 4px; font: 700 12px/1.4 var(--dw-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dw-muted); }
body .dwct .dwct__readbig { margin: 0 0 10px; font: 500 34px/1.1 var(--dw-serif); color: var(--dw-gold); }
body .dwct .dwct__readtext p { font-size: 15px; line-height: 1.55; }
.dwct__fc { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 14px; }
.dwct__fc th, .dwct__fc td { padding: 4px 6px; border-bottom: 1px solid var(--dw-line); text-align: right; font-weight: 400; }
.dwct__fc th[scope="row"], .dwct__fc thead th:first-child { text-align: left; color: var(--dw-text); }
.dwct__fc { max-width: 34em; margin-bottom: 8px; }
.dwct__fc thead th { color: var(--dw-muted); font-size: 12px; }
.dwct__section { margin: 0 0 18px; }
body .dwct .dwct__section h3, body .dwct .dwct__offer h3 { margin: 0 0 6px; padding: 0; font: 600 22px/1.3 var(--dw-serif); color: var(--dw-cream); }
.dwct__code { margin: 26px 0 0; padding: 18px 20px; border: 1px dashed var(--dw-line-strong); border-radius: 12px; }
body .dwct .dwct__codeval { margin: 0 0 8px; font: 700 20px/1.3 var(--dw-sans); letter-spacing: .04em; color: var(--dw-gold); }
.dwct__offer { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--dw-line); }
.dwct__offerlinks { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body .dwct a.dwct__textlink { color: var(--dw-gold); }

@media (max-width: 720px) {
	.dwct__readouts { grid-template-columns: 1fr; }
	.dwct__bar { grid-template-columns: 6.4em 1fr 3.8em; gap: 10px; }
	.dwct__actions { flex-wrap: wrap; }
	.dwct__actions .dwct__btn--gold { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	body .dwct .dwct__line { transition: none; transform: none; }
	body .dwct .dwct__line--quiet { animation: none; }
}
@media print {
	body.dwct-printing * { visibility: hidden !important; }
	body.dwct-printing .dwct-result, body.dwct-printing .dwct-result * { visibility: visible !important; }
	body.dwct-printing .dwct-result { position: absolute; left: 0; top: 0; width: 100%; background: #fff !important; color: #111 !important; border: 0; }
	body.dwct-printing .dwct-result * { color: #111 !important; background: transparent !important; }
	body.dwct-printing .dwct__fill { background: #555 !important; }
	body.dwct-printing .dwct__track { background: #ddd !important; }
	body.dwct-printing .dwct__actions, body.dwct-printing .dwct__offer { display: none !important; }
}

/* The experiments' own controls */
.dwct__given { color: var(--dw-gold); letter-spacing: .06em; }
.dwct__q[hidden] { display: none; }
.dwct__q--big legend { font: 500 clamp(21px, 3.2vw, 26px)/1.4 var(--dw-serif); margin-bottom: 14px; }
body .dwct .dwct__sword {
	min-height: 1.3em; margin: 34px 0 30px; text-align: center; font: 700 clamp(54px, 13vw, 92px)/1.1 var(--dw-sans); letter-spacing: .04em; color: transparent;
}
body .dwct .dwct__sword[data-ink="blue"] { color: #6FA8FF; }
body .dwct .dwct__sword[data-ink="gold"] { color: #E6BE5A; }
.dwct__sbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; width: 100%; margin: 0 auto; }
body .dwct .dwct__sbtn {
	min-height: 72px; border-radius: 14px; border: 2px solid; background: transparent; font: 700 17px/1.2 var(--dw-sans); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
body .dwct .dwct__sbtn--blue { border-color: #6FA8FF; color: #6FA8FF; }
body .dwct .dwct__sbtn--gold { border-color: #E6BE5A; color: #E6BE5A; }
body .dwct .dwct__sbtn:active { background: rgba(255,255,255,.08); }
body .dwct .dwct__sbtn:focus-visible, body .dwct .dwct__pad:focus-visible { outline: 2px solid var(--dw-cream); outline-offset: 3px; }
body .dwct .dwct__sleft { margin: 16px 0 0; text-align: center; }
.dwct__slot { min-height: 9.5em; display: flex; flex-direction: column; justify-content: center; }
body .dwct .dwct__pad {
	display: grid; place-items: center; width: min(100%, 300px); min-height: 120px; margin: 18px auto 0; padding: 12px 20px;
	border: 2px solid var(--dw-gold); border-radius: 22px; background: rgba(217,185,138,.06); color: var(--dw-gold);
	font: 700 18px/1.3 var(--dw-sans); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
	transition: background-color .1s, transform .1s;
}
body .dwct .dwct__pad.is-hit { background: rgba(217,185,138,.28); transform: scale(.98); }
body .dwct .dwct__pad--dim { border-color: #2a3a63; color: #7f8aa8; background: transparent; }
body .dwct .dwct__pad--dim.is-hit { background: rgba(182,164,206,.16); }
body .dwct .dwct__dot { margin: 30px 0 34px; text-align: center; }
.dwct__dot span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dw-muted); opacity: .7; }
@media (prefers-reduced-motion: reduce) { body .dwct .dwct__pad { transition: none; } }

/* v1.144: the on-screen Calibration record */
.dwcr__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
body .dwct .dwcr__tab { min-height: 44px; padding: 8px 16px; border: 1px solid var(--dw-line-strong); border-radius: 999px; background: transparent; color: var(--dw-text); font: 600 15px/1.2 var(--dw-sans); cursor: pointer; }
body .dwct .dwcr__tab.is-on { background: var(--dw-lavender); border-color: var(--dw-lavender); color: var(--dw-night); }
body .dwct .dwcr__tab:focus-visible { outline: 2px solid var(--dw-gold); outline-offset: 2px; }
.dwcr__group { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--dw-line); }
body .dwct .dwcr__group h3, body .dwct .dwcr__totals h3, body .dwct .dwcr__chartbox h3 { margin: 0 0 6px; padding: 0; font: 600 21px/1.3 var(--dw-serif); color: var(--dw-cream); }
.dwcr__field { margin: 12px 0 0; display: grid; gap: 6px; }
.dwcr__field label { color: var(--dw-cream); font-size: 16px; }
body .dwct .dwcr__field input { box-sizing: border-box; width: 100%; max-width: 22em; min-height: 46px; padding: 8px 12px; border: 1px solid var(--dw-line-strong); border-radius: 10px; background: #071633; color: var(--dw-cream); font: 400 17px/1.3 var(--dw-sans); color-scheme: dark; }
body .dwct .dwcr__field input[type="number"] { max-width: 9em; }
body .dwct .dwcr__field input:focus-visible { outline: 2px solid var(--dw-gold); outline-offset: 1px; }
.dwcr__q.dwct__q { margin-top: 14px; }
.dwcr__q legend { font-weight: 400; font-size: 16px; }
.dwcr__q .dwct__opt span { min-width: 46px; text-align: center; }
.dwcr__pad { margin: 12px 0 4px; }
body .dwct .dwcr__padlabel { margin: 0 0 8px; font: 700 12px/1.4 var(--dw-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dw-muted); }
.dwcr__seis { display: block; width: 300px; max-width: 100%; aspect-ratio: 300 / 280; border: 1px solid var(--dw-line-strong); border-radius: 12px; background: #000814; touch-action: none; cursor: crosshair; }
body .dwct .dwcr__padout { margin: 8px 0; color: var(--dw-gold); font-weight: 600; }
body .dwct .dwcr__logpad { margin: 0; width: 300px; max-width: 100%; }
.dwcr__totals { margin: 22px 0 0; padding: 18px 20px; border: 1px dashed var(--dw-line-strong); border-radius: 12px; overflow-x: auto; }
.dwcr__totals .dwct__fc { max-width: none; }
body .dwct .dwcr__lead { margin: 10px 0 0; color: var(--dw-cream); }
.dwcr__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.dwcr__chart { width: 100%; height: auto; display: block; }
.dwcr__tick { fill: #A6A0A4; font: 11px sans-serif; }
body .dwct .dwcr__status { margin: 12px 4px 0; }
@media (max-width: 640px) { .dwcr__charts { grid-template-columns: 1fr; } }
@media print {
	.dwcr__tabs, .dwcr .dwct__actions, .dwcr__status, .dwcr__pad .dwct__btn { display: none !important; }
	.dwcr .dwct__card { border: 0; background: #fff !important; }
	.dwcr, .dwcr * { color: #111 !important; }
	.dwcr .dwct__opt input:checked + span { background: #ddd !important; border-color: #111 !important; }
}

/* Buy buttons and the sample */
.dwtd-soon { display: inline-block; padding: 10px 0; margin-right: 10px; color: var(--dw-muted); font-style: italic; }
.dwtd-sample { margin: 24px 0; padding: 22px 24px; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); background: var(--dw-night); position: relative; scroll-margin-top: 120px; }
.dwtd-sample::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--dw-gold); border-radius: var(--dw-radius) var(--dw-radius) 0 0; }
body .dwtd-sample p { margin: 0 0 10px; }
body .dwtd-sample .dwtd-sample__label { font: 700 13px/1.4 var(--dw-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dw-gold); }
body .dwtd-sample .dwtd-sample__how { color: var(--dw-text); font-size: 16px; }
.dwtd-sample audio { width: 100%; }
.dwtd-sample--soon { opacity: .85; }
