/* StreamSoft Learn - teal and white, the StreamSoft palette (Sluice's teal #0D9488, header #0F766E). */
:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-deep: #115E59;
  --teal-tint: #CCFBF1;
  --teal-wash: #F0FDFA;
  --ink: #1A1A1A;
  --muted: #5D5D5D;
  --faint: #8A8A8A;
  --line: #E5E5E5;
  --bg: #F9F9F9;
  --card: #FFFFFF;
  --danger: #C42B1C;
  --ok: #0F7B0F;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(15,118,110,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 460px; }

/* Header */
.top { background: var(--teal-dark); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand .mark { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; }
.brand small { font-weight: 400; opacity: .85; }
.top nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 500; }
.top nav a:hover { background: rgba(255,255,255,.14); }
.top nav a.cta { background: #fff; color: var(--teal-dark); }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--teal-dark); background: var(--teal-dark); color: #fff; padding: 10px 18px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }   /* 1.16.7: teal-dark buttons (white on #0D9488 failed WCAG AA contrast) */
.btn.ghost { background: transparent; color: var(--teal-dark); }
.btn.ghost:hover { background: var(--teal-wash); }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.btn.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn:disabled { opacity: .55; cursor: default; }

/* Sections and cards */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--teal-dark); }
.price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-size: .8rem; font-weight: 600; }
.pill.grey { background: #EEE; color: var(--muted); }
.pill.red { background: #FDE7E4; color: var(--danger); }
.exam-card { display: flex; flex-direction: column; gap: 10px; }
/* Exams grouped by certification body (1.4.0): a heading and its grid; the ones coming soon are a single line. */
.vendor-group { margin-top: 28px; }
.vendor-group:first-child { margin-top: 8px; }
.vendor-group .grid { margin-top: 12px; }
h3.vendor { margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
h3.vendor .small { font-weight: 400; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
h3.vendor.soon .small { color: var(--muted); }
/* Every body's mark is the same size, logo or name, so the groups line up. */
/* Emblem: deep teal tile with a soft top highlight, the icon on a light chip, semibold name. */
.vbadge { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 168px; height: 44px; border-radius: 10px;
  padding: 0 14px 0 8px; box-sizing: border-box; color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .01em; flex: none;
  background: linear-gradient(135deg, #14877E 0%, #0F766E 45%, #115E59 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(17,94,89,.25), 0 4px 10px -6px rgba(17,94,89,.45); }
.vchip { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.vbadge svg { width: 18px; height: 18px; }
.vbadge.logo { justify-content: center; padding: 0; }
.vbadge.logo { background: #fff; border: 1px solid var(--line); }
.vbadge img { max-width: 104px; max-height: 28px; }
h3.vendor.soon .vbadge { background: #EEF7F6; color: #0F766E; box-shadow: inset 0 0 0 1px #CDE7E3; }
h3.vendor.soon .vchip { background: #fff; box-shadow: inset 0 0 0 1px #CDE7E3; }
.vendor-group:has(h3.soon) { margin-top: 12px; }
.exam-card .buy { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.domains { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.notice { border-left: 4px solid var(--teal); background: var(--teal-wash); padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.notice.error { border-color: var(--danger); background: #FDF1EF; }
.notice.ok { border-color: var(--ok); background: #EEF8EE; }

/* Forms */
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
input[type=email], input[type=password], input[type=text], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #D1D1D1; border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.auth { padding: 48px 0 72px; }
.auth .card { padding: 28px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.table-wrap { overflow-x: auto; }

/* Account tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: none; padding: 10px 14px; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--teal-dark); border-bottom-color: var(--teal); font-weight: 600; }
[hidden] { display: none !important; }

/* Bars */
.bar { height: 10px; border-radius: 6px; background: #EEE; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); }

footer { background: var(--teal-deep); color: #E6FFFA; padding: 28px 0; font-size: .9rem; }
footer a { color: #fff; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

/* ---- Exams as a tile per certifying body, with search and topic chips (1.4.0 - the "preview 1" design) ---- */
.exam-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(11,31,29,.25); color: var(--muted); margin: 6px 0 14px; cursor: text; }
.exam-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink, #1A1A1A); min-width: 0; }
.exam-search:focus-within { box-shadow: 0 0 0 2px var(--teal), 0 6px 16px -10px rgba(11,31,29,.25); }
.exam-search kbd { font: 600 11px/1 inherit; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: #F7FAFA; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.topic-chips .chip { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); color: #2D3B3A; cursor: pointer; }
.topic-chips .chip.on { background: var(--teal-dark); color: #fff; box-shadow: none; }
.result-line { color: var(--muted); margin: 0 0 12px; }
.back-link { font: inherit; font-weight: 600; color: var(--teal-dark); background: none; border: 0; padding: 0; margin: 0 0 14px; cursor: pointer; }
.vendor-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vtile { position: relative; border-radius: 18px; padding: 20px 20px 18px; min-height: 196px; overflow: hidden; outline: none;
  transition: transform .15s ease, box-shadow .15s ease; }
.vtile.live { color: #fff; cursor: pointer;
  background: radial-gradient(120% 140% at 100% 0%, #1AA394 0%, transparent 55%), linear-gradient(140deg, #0E6C65 0%, #0B524D 100%);
  box-shadow: 0 18px 30px -18px rgba(11,82,77,.75), inset 0 1px 0 rgba(255,255,255,.18); }
.vtile.live::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,251,241,.22), transparent 65%); pointer-events: none; }
.vtile.live:hover, .vtile.live:focus-visible { transform: translateY(-3px);
  box-shadow: 0 26px 40px -18px rgba(11,82,77,.85), inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 2px #5EEAD4; }
.vtile.soon { color: #115E59; background: linear-gradient(140deg, #FFFFFF 0%, #F1F8F7 100%); box-shadow: 0 0 0 1px var(--line), 0 10px 22px -18px rgba(11,31,29,.4); }
.vtop { display: flex; align-items: center; justify-content: space-between; }
.vico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.vico .vchip { background: none; box-shadow: none; width: auto; height: auto; }
.vico svg { width: 26px; height: 26px; }
.vico.logo { background: #fff; }
.vico.logo img { max-width: 40px; max-height: 40px; }
.vtile.soon .vico { background: #EEF7F6; box-shadow: inset 0 0 0 1px #CDE7E3; }
.vcount { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.vtile.soon .vcount { background: #EEF7F6; box-shadow: inset 0 0 0 1px #CDE7E3; color: #0F766E; }
.vtile h3 { font-size: 22px; line-height: 1.1; margin: 18px 0 4px; color: inherit; letter-spacing: -.01em; }
.vtile p { margin: 0 0 14px; font-size: 13.5px; opacity: .88; max-width: 88%; }
.vtile.soon p { color: var(--muted); opacity: 1; }
.vcodes { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; padding-right: 44px; }
.vcodes span { font: 700 11px/1 "Cascadia Code", Consolas, monospace; padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,.12); }
.vgo { position: absolute; right: 18px; bottom: 16px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #115E59; display: grid; place-items: center; font-weight: 700; }

/* My account > Learn (1.4.0): carry on, progress by domain, bookmarks. */
.carry-on { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; border-left: 4px solid var(--teal); }
.carry-on h3 { margin: 0 0 2px; }
.bm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ---- Home page hero: "Aurora" (1.4.0, the user's pick) - StreamSoft teal and white only ---- */
.aurora { position: relative; overflow: hidden; color: #fff; padding: 0 max(20px, calc((100vw - 1296px) / 2)) 80px;
  background: radial-gradient(60% 70% at 85% 10%, rgba(45,212,191,.35), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(20,135,126,.45), transparent 60%), linear-gradient(160deg, #062F2C 0%, #0B4A45 55%, #062F2C 100%); }
.aurora::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.aurora-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; flex-wrap: wrap; }
.aurora-nav .brand .mark { background: linear-gradient(135deg, #5EEAD4, #14877E); color: #04211F; border-radius: 11px; width: 36px; height: 36px; }
.aurora-nav nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.aurora-nav nav a { color: rgba(255,255,255,.85); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.aurora-nav nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.aurora-nav .pill-cta { border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff; padding: 9px 18px; margin-left: 6px; }
.aurora-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.aurora-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(94,234,212,.12); box-shadow: inset 0 0 0 1px rgba(94,234,212,.35); color: #99F6E4; }
.aurora-eyebrow b { background: #5EEAD4; color: #04211F; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.aurora h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 18px; color: #fff; }
.aurora h1 em { font-style: normal; background: linear-gradient(90deg, #5EEAD4, #CCFBF1 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aurora .lead { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 0 30px; }
.aurora-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-mint, .btn-glass { display: inline-flex; align-items: center; padding: 15px 22px; border-radius: 14px; font-weight: 600; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn-mint { background: linear-gradient(135deg, #5EEAD4, #2DD4BF); color: #04211F; box-shadow: 0 14px 30px -12px rgba(45,212,191,.7); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(45,212,191,.85); }
.btn-glass { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn-glass:hover { background: rgba(255,255,255,.08); }
.aurora-more { align-self: center; color: #99F6E4; font-weight: 600; text-decoration: none; padding: 8px 4px; }
.aurora-more:hover { color: #fff; text-decoration: underline; }
.aurora-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.aurora-stats b { display: block; font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; } .aurora-stats span { font-size: 13px; color: rgba(255,255,255,.65); }
.aurora-stage { position: relative; height: 540px; }
.aurora-window { position: absolute; inset: 30px 10px 50px 30px; border-radius: 20px; background: rgba(255,255,255,.97); color: #0B1F1D; overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.aw-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: linear-gradient(90deg, #0B524D, #0F766E); color: #fff; font-size: 14px; font-weight: 600; }
.aw-timer { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font: 600 13px "Cascadia Code", Consolas, monospace; }
.aw-body { padding: 24px 28px; } .aw-qn { color: #5D6B69; font-size: 13px; margin-bottom: 8px; }
.aw-q { font-size: 15.5px; line-height: 1.55; margin: 0 0 16px; }
.aw-opt { padding: 11px 14px; border-bottom: 1px solid #E3ECEA; font-size: 14px; display: flex; gap: 12px; align-items: center; }
.aw-opt i { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #7A8A88; flex: none; }
.aw-opt.sel { border: 2px solid #0D9488; border-radius: 10px; background: #E6FAF6; } .aw-opt.sel i { border-color: #0D9488; background: #0D9488; box-shadow: inset 0 0 0 4px #E6FAF6; }
.aurora-float { position: absolute; border-radius: 16px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 20px 40px -20px rgba(0,0,0,.5); padding: 16px 18px; color: #fff; }
.af-score { right: -10px; top: -4px; width: 210px; } .af-score b { font-size: 2.1rem; font-weight: 800; } .af-score div { font-size: 12px; opacity: .78; }
.af-pass { float: right; margin-top: 8px; background: #5EEAD4; color: #04211F; font-weight: 700; font-size: 12px; border-radius: 999px; padding: 4px 10px; }
.af-domains { left: -36px; bottom: -44px; width: 270px; font-size: 13px; background: rgba(6,47,44,.88); }
.af-bar { height: 7px; border-radius: 6px; background: rgba(255,255,255,.18); margin: 6px 0 10px; overflow: hidden; }
.af-bar span { display: block; height: 100%; background: linear-gradient(90deg, #2DD4BF, #99F6E4); border-radius: 6px; }
/* The hero's domain bars start at a quarter and flow slowly to their own widths (the inline style), one after another. */
.af-bar span { animation: af-grow 2.4s cubic-bezier(.22,.61,.36,1) .3s both; }
.af-bar:nth-of-type(2) span { animation-delay: .55s; } .af-bar:nth-of-type(3) span { animation-delay: .8s; }
@keyframes af-grow { from { width: 25%; } }
@media (prefers-reduced-motion: reduce) { .af-bar span { animation: none; } }
.aurora-strip { position: relative; margin-top: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.as-tile { display: block; border-radius: 18px; padding: 20px; color: #fff; text-decoration: none; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: transform .15s ease, box-shadow .15s ease; }
.as-tile.live { background: linear-gradient(140deg, rgba(20,135,126,.55), rgba(11,82,77,.35)); box-shadow: inset 0 0 0 1px rgba(94,234,212,.35); }
.as-tile.live:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #5EEAD4, 0 18px 30px -18px rgba(0,0,0,.6); }
.as-tile .vico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.as-tile .vico svg { width: 22px; height: 22px; }
.as-tile h3 { margin: 12px 0 4px; font-size: 1.25rem; color: #fff; } .as-tile p { margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.as-tile .vcodes { padding-right: 0; margin-top: 12px; }
@media (max-width: 900px) {
  .aurora-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .aurora-stage { height: 440px; margin: 0 12px; }
  .af-domains { left: 0; } .af-score { right: 0; }
}
@media (max-width: 520px) { .aurora-stage { display: none; } .aurora-strip { margin-top: 40px; }
  .aurora-nav { min-height: 0; padding: 14px 0 4px; } .aurora-nav nav { gap: 0; } .aurora-nav nav a { padding: 7px 8px; font-size: .9rem; } .aurora-nav .pill-cta { margin-left: 2px; padding: 7px 12px; } }
.as-tile .vchip { color: #fff; }
.as-tile .vcodes span { color: #fff; }

/* Installed web app (1.9.1): with viewport-fit=cover and a translucent status bar (iPad/iPhone home-screen app) the page
   runs under the status bar, so the top bars start below it and their colour fills the strip - no line at the top.
   env() is 0 in a normal browser tab, so nothing moves there. */
.top { padding-top: env(safe-area-inset-top, 0px); }
.aurora-nav { padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 520px) { .aurora-nav { padding-top: calc(14px + env(safe-area-inset-top, 0px)); } }

/* ---- My progress (1.16.0): /progress, a page of its own (js/progress.js) ---------------------------------------- */
.progress-link { display: flex; align-items: center; gap: 14px; margin-top: 26px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.progress-link:hover { border-color: var(--teal); transform: translateY(-1px); color: var(--ink); }
.progress-link-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-wash); color: var(--teal-dark); display: grid; place-items: center; }
.progress-link-go { margin-left: auto; font-size: 1.8rem; color: var(--teal); line-height: 1; }

.pg { padding: 26px 0 48px; }
.pg-crumb { margin: 0 0 6px; color: var(--muted); }
.pg-crumb a { text-decoration: none; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.pg-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 4px; }
.pg-head p { margin: 0; }
.pg-pick { display: grid; gap: 4px; min-width: min(100%, 320px); }
.pg-pick select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.pg-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; padding: 26px; background: linear-gradient(135deg, #fff 55%, var(--teal-wash)); }
.pg-ready { display: flex; gap: 22px; align-items: center; }
.pg-ready p { margin: 8px 0; }
.pg-ring-wrap { position: relative; flex: none; width: 150px; height: 150px; }
.pg-ring { width: 100%; height: 100%; }
.pg-ring .track { fill: none; stroke: #E6EFEE; stroke-width: 11; }
.pg-ring .val { fill: none; stroke: var(--teal); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); }
.pg-ring.near .val { stroke: #D08A00; } .pg-ring.low .val { stroke: var(--danger); } .pg-ring.none .val { stroke: #CFCFCF; }
.pg-ring .mark { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.pg-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.pg-ring-num strong { font-size: 2rem; font-weight: 700; }
.pg-ring-num span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pg-verdict { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #EEE; color: var(--muted); }
.pg-verdict.good { background: #DCF5E3; color: #126B2E; } .pg-verdict.near { background: #FFF1D6; color: #8A5A00; } .pg-verdict.low { background: #FDE7E4; color: var(--danger); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.pg-stat { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pg-stat strong { font-size: 1.7rem; line-height: 1.15; color: var(--teal-deep); }
.pg-stat strong small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pg-mini { height: 6px; margin: 4px 0 2px; }

.pg-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 34px 0 4px; }
.pg-section-head h2 { margin: 0; }
.pg-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: #EEF2F1; }
.pg-toggle button { border: 0; background: none; font: inherit; font-size: .88rem; padding: 6px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.pg-toggle button.on { background: #fff; color: var(--teal-deep); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pg-domains { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 12px; }
.pg-dom { display: grid; gap: 10px; align-content: start; border-top: 4px solid #CFCFCF; }
.pg-dom.good { border-top-color: var(--teal); } .pg-dom.near { border-top-color: #E0A21A; } .pg-dom.low { border-top-color: var(--danger); }
.pg-dom-top { display: flex; gap: 10px; align-items: flex-start; }
.pg-dom-top h3 { margin: 2px 0 0; font-size: 1.02rem; }
.pg-dom-no { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pg-dom-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #F1F1F1; color: var(--muted); }
.pg-chip.good { background: #DCF5E3; color: #126B2E; } .pg-chip.near { background: #FFF1D6; color: #8A5A00; } .pg-chip.low { background: #FDE7E4; color: var(--danger); }
.pg-dom-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pg-dom-num strong { font-size: 2rem; line-height: 1; color: var(--ink); }
.pg-bar { position: relative; overflow: visible; }
.pg-bar > span { border-radius: 6px; transition: width .8s ease; }
.pg-bar > span.near { background: #E0A21A; } .pg-bar > span.low { background: var(--danger); }
.pg-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 1px; }
.pg-dom-foot { display: flex; justify-content: space-between; gap: 10px; }
.pg-dom-foot a { font-weight: 600; text-decoration: none; }

.pg-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 34px; }
.pg-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.pg-chart .grid { stroke: #EEF2F1; }
.pg-chart .axis { font-size: 11px; fill: var(--faint); }
.pg-chart .pass-rule { stroke: var(--ink); stroke-dasharray: 5 5; stroke-width: 1.5; }
.pg-chart .pass-label { font-size: 11px; font-weight: 600; fill: var(--ink); }
.pg-chart .line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; }
.pg-chart .area { fill: var(--teal); opacity: .08; }
.pg-chart .pt { stroke: #fff; stroke-width: 2; }
.pg-chart .pt.ok { fill: var(--teal); } .pg-chart .pt.fail { fill: var(--danger); }
.pg-big strong { font-size: 2.2rem; color: var(--teal-deep); }

/* Tablet: the hero's two halves stack; domains two across. Phone: one column, the ring above its text. */
@media (max-width: 980px) {
  .pg-hero { grid-template-columns: 1fr; }
  .pg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-lower { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .pg-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .pg-hero { padding: 18px; }
  .pg-ready { flex-direction: column; align-items: flex-start; }
  .pg-ring-wrap { width: 128px; height: 128px; }
  .pg-pick { width: 100%; }
  .pg-domains { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pg-ring .val, .pg-bar > span { transition: none; } }

/* ---- The shared footer (1.16.4): the same legal bar on every Learn, SkillVerify and Team Skills page -------------
   footer.site-foot on ordinary pages (the dark teal bar), .site-legal as the bottom line of the SkillVerify and Team
   Skills home footers. On a short page (sign-in, confirm) the footer sits at the bottom of the window, not mid-screen. */
body:has(> footer.site-foot) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> footer.site-foot) > * { flex-shrink: 0; width: 100%; }
body:has(> footer.site-foot) > footer.site-foot { margin-top: auto; }
footer.site-foot { padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px)); font-size: .86rem; }
.site-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-legal-links a { text-decoration: none; }
.site-legal-links a:hover { text-decoration: underline; }
.svhome .site-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.6); }
.svhome .site-legal a { color: rgba(255,255,255,.82); }
.sfoot nav.site-legal-links { display: block; }
@media (max-width: 520px) { .site-legal { flex-direction: column; align-items: flex-start; } }

/* Visually hidden but still reachable by keyboard and read by screen readers (1.16.7) - e.g. the KYC file pickers
   inside their "Upload" buttons; the button shows the focus ring instead. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
label.btn:focus-within { outline: 3px solid var(--teal-tint); outline-offset: 2px; }
