/* ClaroWeb Website Score Check. Everything is scoped to #cwsc so the theme can't restyle it. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); }

#cwsc {
	--navy: #0a1430;
	--navy-2: #0f1d42;
	--ink: #12203a;
	--orange: #ff5b14;
	--orange-soft: #ff8a57;
	--blue: #1e3fae;
	--text-2: #d0d8e9;
	--text-3: #9aa7c2;
	--tint: rgba(160, 185, 255, .09);
	--tint-2: rgba(160, 185, 255, .16);
	--strong: #5ee09a;
	--ok: #ffc65c;
	--weak: #ff8585;
	--heading: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--body: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;

	position: relative;
	width: calc(100vw - var(--cw-sb, 0px));
	max-width: none;
	margin: 0 0 0 calc(50% - 50vw + var(--cw-sb, 0px) / 2);
	overflow-x: clip;
	background: var(--navy);
	color: #fff;
	font: 400 18px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

/* Theme reset. :where() keeps these as light as possible, so the rules below always win. */
#cwsc *, #cwsc *::before, #cwsc *::after { box-sizing: border-box; }
#cwsc [hidden] { display: none !important; }
#cwsc :where(h1, h2, h3, h4, p, ol, ul, li, form, fieldset, details, summary) { margin: 0; padding: 0; color: inherit; font-size: inherit; text-transform: none; letter-spacing: normal; }
#cwsc :where(ol, ul) { list-style: none; }
#cwsc :where(a) { color: var(--orange-soft); text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
#cwsc :where(a:hover) { color: #fff; }
#cwsc :where(button, input, select, textarea) { margin: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
#cwsc :where(button, [type="button"], [type="submit"]) { padding: 0; background: none; border: 0; border-radius: 0; cursor: pointer; }
#cwsc :where(button, [type="button"], [type="submit"]):where(:hover, :focus) { background: none; color: inherit; }
#cwsc :where(input:not([type="checkbox"]), select) { width: auto; padding: 0; background: none; border: 0; border-radius: 0; }
#cwsc :where(label) { display: inline; line-height: inherit; vertical-align: baseline; }
#cwsc :where(svg) { display: block; max-width: none; }
#cwsc :where(b, strong) { font-weight: 700; }

#cwsc .cwsc-wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
#cwsc .cwsc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#cwsc .cwsc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#cwsc .cwsc-glass { position: relative; background: var(--tint); border-radius: 28px; box-shadow: 0 30px 70px rgba(2, 6, 20, .45); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	#cwsc .cwsc-glass { -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	#cwsc .cwsc-glass { background: #16264d; }
}

/* Type */
#cwsc .cwsc-h1 { font: 800 clamp(40px, 6vw, 66px)/1.02 var(--heading); letter-spacing: -.025em; color: #fff; }
#cwsc .cwsc-h1 em { font-style: normal; color: var(--orange); }
#cwsc .cwsc-h2 { font: 800 clamp(28px, 3.6vw, 40px)/1.08 var(--heading); letter-spacing: -.02em; color: #fff; }
#cwsc .cwsc-h3 { font: 800 24px/1.15 var(--heading); letter-spacing: -.01em; color: #fff; }
#cwsc .cwsc-lede { max-width: 560px; margin-top: 20px; font-size: 20px; color: var(--text-2); }
#cwsc .cwsc-text { margin-top: 10px; color: var(--text-2); }
#cwsc .cwsc-small { margin-top: 14px; font-size: 15px; color: var(--text-3); }
#cwsc .cwsc-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: #fff; }

/* Buttons */
#cwsc .cwsc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 26px; border-radius: 999px;
	font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
#cwsc .cwsc-btn svg { width: 18px; height: 18px; }
#cwsc .cwsc-btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 30px rgba(255, 91, 20, .35); }
#cwsc .cwsc-btn-primary:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 91, 20, .5); }
#cwsc .cwsc-btn-soft { background: var(--tint-2); color: #fff; }
#cwsc .cwsc-btn-soft:hover { background: rgba(160, 185, 255, .24); color: #fff; }
#cwsc .cwsc-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
#cwsc .cwsc-link { color: var(--orange-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#cwsc .cwsc-link:hover { color: #fff; }
#cwsc a:focus-visible, #cwsc button:focus-visible, #cwsc summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }

/* Inputs */
#cwsc .cwsc-inputrow { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--tint-2); transition: box-shadow .2s ease; }
#cwsc .cwsc-inputrow:focus-within { box-shadow: 0 0 0 3px rgba(255, 91, 20, .55); }
#cwsc .cwsc-inputrow input { flex: 1; min-width: 0; min-height: 54px; padding: 0 20px; background: none; border: 0; color: #fff; font-size: 18px; outline: none; }
#cwsc .cwsc-inputrow input::placeholder { color: #8f9cb8; opacity: 1; }
#cwsc .cwsc-form { max-width: 560px; margin-top: 30px; }
#cwsc .cwsc-form-error { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 133, 133, .14); color: #ffd0d0; font-size: 16px; }
#cwsc .cwsc-review input, #cwsc .cwsc-review select {
	display: block; width: 100%; min-height: 54px; padding: 0 16px;
	border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 17px;
	transition: box-shadow .2s ease, background .2s ease;
}
#cwsc .cwsc-review select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ff8a57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
#cwsc .cwsc-review select option { color: var(--ink); }
#cwsc .cwsc-review input:focus, #cwsc .cwsc-review select:focus { outline: none; background-color: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(255, 91, 20, .55); }
#cwsc .cwsc-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; font-size: 16px; color: var(--text-2); cursor: pointer; }
#cwsc .cwsc-check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); }

/* Hero */
#cwsc .cwsc-hero { position: relative; padding: 72px 0 80px; }
#cwsc .cwsc-rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#cwsc .cwsc-ray { position: absolute; display: block; filter: blur(6px); }
#cwsc .cwsc-ray svg { width: 100%; height: auto; }
#cwsc .cwsc-ray-blue { width: 600px; left: -200px; top: 60px; color: var(--blue); opacity: .45; }
#cwsc .cwsc-ray-orange { width: 480px; right: -150px; top: -70px; color: #c2410c; opacity: .45; }
#cwsc .cwsc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }

/* The four checks, which double as the progress display */
#cwsc .cwsc-route { padding: 30px 28px; }
#cwsc .cwsc-route-title { margin-bottom: 18px; font: 800 21px/1.25 var(--heading); color: #fff; }
#cwsc .cwsc-route-list { display: grid; gap: 6px; }
#cwsc .cwsc-route-list li { display: flex; gap: 16px; align-items: flex-start; padding: 12px; border-radius: 18px; transition: background .3s ease; }
#cwsc .cwsc-route-list li b { display: block; font-size: 18px; color: #fff; }
#cwsc .cwsc-route-d { display: block; font-size: 16px; line-height: 1.45; color: var(--text-2); }
#cwsc .cwsc-route-dot { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--ink); font: 800 18px/1 var(--heading); transition: background .3s ease, color .3s ease; }
#cwsc .cwsc-route.is-loading .cwsc-route-list li:not(.is-lit) .cwsc-route-dot { background: rgba(255, 255, 255, .1); color: var(--text-3); }
#cwsc .cwsc-route.is-loading .cwsc-route-list li.is-lit { background: rgba(255, 91, 20, .1); }
#cwsc .cwsc-progress { height: 8px; margin-top: 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#cwsc .cwsc-progress-bar { width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .45s ease; }
#cwsc .cwsc-status { margin-top: 12px; font-size: 16px; color: var(--text-2); }
#cwsc .cwsc-status:empty { display: none; }

/* Results */
#cwsc .cwsc-results { padding: 24px 0 80px; outline: none; }
#cwsc .cwsc-results-head { display: flex; align-items: center; gap: 30px; padding: 32px; }
#cwsc .cwsc-ring {
	--ring: var(--ok);
	flex: none; position: relative; display: grid; place-items: center;
	width: 132px; height: 132px; border-radius: 50%;
	background: conic-gradient(var(--ring) calc(var(--cwsc-score, 0) * 1%), rgba(255, 255, 255, .08) 0);
}
#cwsc .cwsc-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--navy-2); }
#cwsc .cwsc-ring span { position: relative; font: 800 40px/1 var(--heading); color: #fff; }
#cwsc .cwsc-ring.is-strong { --ring: var(--strong); }
#cwsc .cwsc-ring.is-weak { --ring: var(--weak); }
#cwsc .cwsc-for { margin-bottom: 6px; font-size: 16px; color: var(--text-2); word-break: break-word; }
#cwsc .cwsc-for span { font-weight: 700; color: #fff; }
#cwsc .cwsc-out-of { font-size: .55em; color: var(--text-3); }
#cwsc .cwsc-results-copy .cwsc-pill { margin-top: 14px; }

#cwsc .cwsc-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 700; background: rgba(255, 255, 255, .08); color: #fff; }
#cwsc .cwsc-pill.is-strong { background: rgba(94, 224, 154, .15); color: var(--strong); }
#cwsc .cwsc-pill.is-ok { background: rgba(255, 198, 92, .15); color: var(--ok); }
#cwsc .cwsc-pill.is-weak { background: rgba(255, 133, 133, .15); color: var(--weak); }

#cwsc .cwsc-summary { margin-top: 18px; padding: 20px 24px; border-radius: 22px; background: rgba(255, 91, 20, .13); font-size: 18px; color: #fff; }
#cwsc .cwsc-summary b { color: var(--orange-soft); }
#cwsc .cwsc-notes { margin-top: 14px; font-size: 15px; color: var(--text-3); }

#cwsc .cwsc-stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
#cwsc .cwsc-stop { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: 24px; background: var(--tint); }
#cwsc .cwsc-stop.is-weakest { background: rgba(255, 91, 20, .12); box-shadow: inset 0 0 0 2px rgba(255, 91, 20, .55); }
#cwsc .cwsc-stop-top { display: flex; align-items: center; gap: 12px; }
#cwsc .cwsc-stop-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); font: 800 16px/1 var(--heading); }
#cwsc .cwsc-stop.is-weakest .cwsc-stop-n { background: var(--orange); color: var(--ink); }
#cwsc .cwsc-stop-name { font: 800 21px/1.2 var(--heading); color: #fff; }
#cwsc .cwsc-weakest-label { align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; margin-top: 12px; padding: 0 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 700; }
#cwsc .cwsc-stop-sub { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
#cwsc .cwsc-stop-score { margin-top: auto; padding-top: 16px; font: 800 44px/1 var(--heading); color: #fff; }
#cwsc .cwsc-stop-score small { margin-left: 2px; font-size: 18px; color: var(--text-3); }
#cwsc .cwsc-stop .cwsc-pill { align-self: flex-start; margin-top: 12px; }
#cwsc .cwsc-stop-count { margin-top: 10px; font-size: 14px; color: var(--text-3); }

#cwsc .cwsc-fixes-block { margin-top: 64px; }
#cwsc .cwsc-fixes { display: grid; gap: 14px; margin-top: 24px; counter-reset: none; }
#cwsc .cwsc-fix { display: flex; gap: 20px; padding: 26px 24px; border-radius: 24px; background: var(--tint); }
#cwsc .cwsc-fix > div:last-child { flex: 1; min-width: 0; }
#cwsc .cwsc-fix-num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--ink); font: 800 21px/1 var(--heading); }
#cwsc .cwsc-fix-stop { font-size: 15px; font-weight: 700; color: var(--orange-soft); }
#cwsc .cwsc-fix h3 { margin-top: 4px; font: 800 22px/1.2 var(--heading); color: #fff; }
#cwsc .cwsc-fix-text { margin-top: 8px; color: var(--text-2); }
#cwsc .cwsc-fix-found { margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, .18); font-size: 15px; color: var(--text-2); }
#cwsc .cwsc-fix-found span { font-weight: 700; color: #fff; }
#cwsc .cwsc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#cwsc .cwsc-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(94, 224, 154, .14); color: var(--strong); font-size: 14px; font-weight: 700; }
#cwsc .cwsc-tag-dev { background: rgba(255, 91, 20, .16); color: var(--orange-soft); }
#cwsc .cwsc-tag-quiet { background: rgba(255, 255, 255, .08); color: var(--text-2); }
#cwsc .cwsc-nofix { padding: 24px; border-radius: 24px; background: rgba(94, 224, 154, .12); color: var(--strong); font-weight: 700; }

#cwsc .cwsc-gate { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-top: 48px; padding: 34px; }
#cwsc .cwsc-inputrow-sm input { min-height: 50px; font-size: 17px; }
#cwsc .cwsc-inputrow-sm .cwsc-btn { min-height: 50px; padding: 0 22px; font-size: 16px; }
#cwsc .cwsc-sent { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: rgba(94, 224, 154, .14); color: #d9fbe8; font-weight: 700; }
#cwsc .cwsc-gate .cwsc-sent { grid-column: 1 / -1; }

#cwsc .cwsc-full { margin-top: 56px; }
#cwsc .cwsc-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
#cwsc .cwsc-checkgroup { padding: 24px; border-radius: 24px; background: var(--tint); }
#cwsc .cwsc-checkgroup h3 { margin-bottom: 12px; font: 800 20px/1.2 var(--heading); color: #fff; }
#cwsc .cwsc-checkgroup ul { display: grid; gap: 12px; }
#cwsc .cwsc-checkgroup li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
#cwsc .cwsc-mark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; }
#cwsc .cwsc-mark.is-pass { background: rgba(94, 224, 154, .16); color: var(--strong); }
#cwsc .cwsc-mark.is-fail { background: rgba(255, 133, 133, .16); color: var(--weak); }
#cwsc .cwsc-check-ev { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }

#cwsc .cwsc-cta { margin-top: 64px; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, rgba(255, 91, 20, .2), rgba(30, 63, 174, .25)); }
#cwsc .cwsc-cta-copy { max-width: 720px; }
#cwsc .cwsc-founding { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 91, 20, .16); color: #fff; font-size: 16px; font-weight: 700; }
#cwsc .cwsc-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
#cwsc .cwsc-talk { margin-top: 16px; font-size: 16px; color: var(--text-2); }
#cwsc .cwsc-review { margin-top: 26px; padding: 26px; border-radius: 22px; background: rgba(5, 11, 28, .45); }
#cwsc .cwsc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 20px; }
#cwsc .cwsc-span2 { grid-column: 1 / -1; }
#cwsc .cwsc-again-row { margin-top: 32px; text-align: center; }

/* How it works */
#cwsc .cwsc-how { padding: 72px 0 88px; background: rgba(0, 0, 0, .14); }
#cwsc .cwsc-how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
#cwsc .cwsc-faq details { padding: 14px 22px; border-radius: 20px; background: var(--tint); }
#cwsc .cwsc-faq details + details { margin-top: 10px; }
#cwsc .cwsc-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.35; color: #fff; }
#cwsc .cwsc-faq summary::-webkit-details-marker { display: none; }
#cwsc .cwsc-faq summary svg { flex: none; width: 22px; height: 22px; color: var(--orange-soft); transition: transform .2s ease; }
#cwsc .cwsc-faq details[open] summary svg { transform: rotate(45deg); }
#cwsc .cwsc-faq details p { margin: 8px 0 6px; color: var(--text-2); }

/* Tablet */
@media (max-width: 960px) {
	#cwsc .cwsc-hero { padding: 48px 0 56px; }
	#cwsc .cwsc-hero-grid, #cwsc .cwsc-how-grid, #cwsc .cwsc-gate { grid-template-columns: 1fr; gap: 32px; }
	#cwsc .cwsc-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#cwsc .cwsc-checks { grid-template-columns: 1fr; }
	#cwsc .cwsc-glass { -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); }
	#cwsc .cwsc-ray-blue { width: 420px; left: -200px; top: 220px; }
	#cwsc .cwsc-ray-orange { width: 340px; right: -170px; top: -40px; }
}

/* Phones */
@media (max-width: 640px) {
	#cwsc { font-size: 17px; }
	#cwsc .cwsc-wrap { padding: 0 20px; }
	#cwsc .cwsc-lede { font-size: 18px; }
	#cwsc .cwsc-inputrow { flex-direction: column; padding: 0; gap: 10px; border-radius: 0; background: none; }
	#cwsc .cwsc-inputrow:focus-within { box-shadow: none; }
	#cwsc .cwsc-inputrow input { min-height: 56px; border-radius: 16px; background: var(--tint-2); }
	#cwsc .cwsc-inputrow input:focus { box-shadow: 0 0 0 3px rgba(255, 91, 20, .55); }
	#cwsc .cwsc-inputrow .cwsc-btn { width: 100%; }
	#cwsc .cwsc-route { padding: 22px 16px; border-radius: 24px; }
	#cwsc .cwsc-route-list li { padding: 10px 8px; }
	#cwsc .cwsc-results-head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px; }
	#cwsc .cwsc-ring { width: 108px; height: 108px; }
	#cwsc .cwsc-ring span { font-size: 34px; }
	#cwsc .cwsc-stops { grid-template-columns: 1fr; gap: 12px; }
	#cwsc .cwsc-stop { padding: 20px; }
	#cwsc .cwsc-stop-score { font-size: 38px; }
	#cwsc .cwsc-fixes-block { margin-top: 48px; }
	#cwsc .cwsc-fix { flex-direction: column; gap: 14px; padding: 22px 20px; }
	#cwsc .cwsc-fix-num { width: 40px; height: 40px; font-size: 18px; }
	#cwsc .cwsc-gate { padding: 24px 20px; gap: 20px; }
	#cwsc .cwsc-cta { padding: 28px 20px; border-radius: 24px; }
	#cwsc .cwsc-buttons .cwsc-btn { width: 100%; }
	#cwsc .cwsc-review { padding: 20px 16px; }
	#cwsc .cwsc-grid2 { grid-template-columns: 1fr; }
	#cwsc .cwsc-review .cwsc-btn { width: 100%; }
	#cwsc .cwsc-how { padding: 56px 0 64px; }
	#cwsc .cwsc-faq details { padding: 12px 18px; }
	#cwsc .cwsc-faq summary { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	#cwsc *, #cwsc *::before, #cwsc *::after { transition: none !important; animation: none !important; }
}
