
:root{
  --ink:#101828;
  --muted:#475467;
  --line:#e4e7ec;
  --bg:#f8fafc;
  --brand:#173f7a;
  --brand2:#0f2d57;
  --accent:#eef4ff;
  --good:#067647;
  --warn:#b54708;
  --white:#fff;
  --shadow:0 18px 50px rgba(16,24,40,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);background:white;line-height:1.6
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1120px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.brand{font-weight:800;font-size:1.25rem;color:var(--ink);letter-spacing:-.03em}
.brand span{color:var(--brand)}
.navlinks{display:flex;gap:24px;align-items:center;font-size:.95rem}
.navlinks a{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:10px;border:1px solid transparent;font-weight:700;cursor:pointer;text-decoration:none!important}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand2)}
.btn-secondary{border-color:var(--line);color:var(--ink);background:#fff}
.btn-small{padding:9px 13px;font-size:.9rem}
.hero{padding:84px 0 64px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
.eyebrow{display:inline-block;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:16px}
h1,h2,h3{line-height:1.12;letter-spacing:-.035em;margin-top:0}
h1{font-size:clamp(2.6rem,6vw,5.2rem);max-width:920px;margin-bottom:22px}
h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:18px}
h3{font-size:1.2rem}
.lead{font-size:1.23rem;color:var(--muted);max-width:760px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.trustline{margin-top:22px;font-size:.92rem;color:var(--muted)}
.section{padding:72px 0}
.section.alt{background:var(--bg)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 1px 2px rgba(16,24,40,.02)}
.card p{color:var(--muted);margin-bottom:0}
.card .link{display:inline-block;margin-top:16px;font-weight:700}
.stat{font-size:2rem;font-weight:800;letter-spacing:-.04em}
.pill{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:.84rem;background:#fff}
.notice{border-left:4px solid var(--brand);background:var(--accent);padding:18px 20px;border-radius:10px;margin:24px 0}
.notice strong{display:block;margin-bottom:4px}
.compare{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.compare th,.compare td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.compare th{background:#f9fafb}
.muted{color:var(--muted)}
.kicker{font-size:1.05rem;color:var(--muted);max-width:720px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
label{display:block;font-weight:700;margin:14px 0 7px}
input,select,textarea{
  width:100%;padding:12px 13px;border:1px solid #d0d5dd;border-radius:9px;font:inherit;background:white
}
input:focus,select:focus,textarea:focus{outline:3px solid #dbe8ff;border-color:#84adff}
.checkbox{display:flex;gap:10px;align-items:flex-start;margin:14px 0}
.checkbox input{width:auto;margin-top:5px}
.progress{height:8px;background:#eaecf0;border-radius:999px;overflow:hidden}
.progress span{display:block;height:100%;background:var(--brand)}
.question{display:none}
.question.active{display:block}
.option{display:block;border:1px solid var(--line);padding:13px 14px;border-radius:10px;margin:9px 0;cursor:pointer}
.option:hover{border-color:#98a2b3}
.option input{width:auto;margin-right:8px}
.result-box{display:none;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:24px;margin-top:24px}
.score{font-size:3rem;font-weight:800;letter-spacing:-.05em}
footer{border-top:1px solid var(--line);padding:42px 0;color:var(--muted);font-size:.9rem}
/* Five columns since the footer became the site's internal-link map: the
   brand blurb plus four link groups. It collapses to two columns on a tablet
   and one on a phone rather than leaving orphaned columns on a second row. */
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:24px}
.footer-grid a{display:inline-block;padding:2px 0}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
.breadcrumbs{font-size:.9rem;color:var(--muted);margin-bottom:24px}
.article{max-width:820px}
.article h2{margin-top:44px;font-size:2rem}
.article h3{margin-top:30px}
.article p,.article li{font-size:1.05rem}
.article ul{padding-left:20px}
.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#ecfdf3;color:var(--good);font-size:.78rem;font-weight:700}
.warning{background:#fff7ed;border-left-color:#f79009}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.choice{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.choice:hover{border-color:#98a2b3}
.hidden{display:none!important}
@media(max-width:820px){
  .navlinks a:not(.btn){display:none}
  .grid-3,.grid-2,.footer-grid{grid-template-columns:1fr}
  .hero{padding:56px 0 44px}
  h1{font-size:2.8rem}
  .compare{font-size:.88rem}
  .choice-grid{grid-template-columns:1fr}
}


/* B1English approved brand system */
:root{
  --ink:#0F2D57;
  --muted:#475467;
  --line:#E4E7EC;
  --bg:#F8FAFC;
  --brand:#173F7A;
  --brand2:#0F2D57;
  --accent:#14B8A6;
  --white:#FFFFFF;
}
body{
  color:var(--ink);
  background:var(--white);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.brand-logo{
  display:block;
  height:38px;
  width:auto;
  max-width:230px;
  object-fit:contain;
}
.brand-text-fallback{display:none}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand2)}
.progress span{background:var(--accent)}
.eyebrow{color:var(--brand)}
.badge{background:#ECFDF3;color:#067647}
.notice{border-left-color:var(--brand);background:#EEF4FF}
.site-header{background:rgba(255,255,255,.97)}
.card,.form-card{border-color:var(--line)}
a{color:var(--brand)}
footer{background:var(--bg)}
.accent-dot{color:var(--accent)}


/* Warm conversion-focused redesign */
:root{
  --warm:#fffdf8;
  --teal-soft:#e8fbf7;
  --teal-mid:#78ded2;
  --sand:#f7f3ea;
  --navy:#173F7A;
  --navy-deep:#0F2D57;
}
body{background:var(--warm)}
.hero{
  padding:68px 0 54px;
  background:
    radial-gradient(circle at 82% 25%, rgba(20,184,166,.12), transparent 31%),
    linear-gradient(180deg,#fffdf8 0%,#f8fbfb 100%);
}
.hero-shell{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:56px;
  align-items:center;
}
.hero h1{font-size:clamp(3rem,6.2vw,5.25rem);max-width:850px}
.hero .lead{font-size:1.23rem;max-width:760px}
.reassurance-list{
  display:grid;
  gap:10px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.reassurance-list li{
  display:flex;align-items:flex-start;gap:10px;
  color:var(--muted);font-weight:600;
}
.reassurance-list li::before{
  content:"✓";
  display:inline-flex;align-items:center;justify-content:center;
  min-width:24px;height:24px;border-radius:50%;
  background:var(--teal-soft);color:var(--accent);font-weight:900;
  margin-top:1px;
}
.hero-visual{
  position:relative;
  min-height:510px;
}
.human-card{
  position:absolute;inset:0 20px 30px 0;
  border-radius:30px;
  overflow:hidden;
  background:
    linear-gradient(155deg, rgba(15,45,87,.02), rgba(20,184,166,.08)),
    #e9f7f4;
  border:1px solid rgba(23,63,122,.08);
  box-shadow:0 24px 70px rgba(15,45,87,.12);
}
.human-scene{position:absolute;inset:0}
.human-scene .window{position:absolute;right:34px;top:34px;width:42%;height:50%;border-radius:24px;background:linear-gradient(180deg,#dff3ff,#f8fbff);border:8px solid rgba(255,255,255,.75)}
.human-scene .desk{position:absolute;left:8%;right:8%;bottom:11%;height:17%;background:linear-gradient(180deg,#c99d76,#a87551);border-radius:18px 18px 26px 26px}
.human-scene .laptop{position:absolute;left:49%;bottom:25%;width:35%;height:23%;background:#f6f8fb;border:7px solid #d9dee6;border-radius:12px;transform:skewX(-2deg)}
.human-scene .person{position:absolute;left:14%;bottom:16%;width:42%;height:66%}
.person .head{position:absolute;left:34%;top:2%;width:28%;aspect-ratio:1;border-radius:50%;background:#d9a782}
.person .hair{position:absolute;left:29%;top:-2%;width:38%;height:24%;border-radius:50% 50% 46% 46%;background:#3d2e2a}
.person .body{position:absolute;left:14%;bottom:0;width:72%;height:68%;border-radius:48% 48% 22% 22%;background:linear-gradient(180deg,#fdfefe,#dfeaf3)}
.person .arm{position:absolute;right:-2%;bottom:18%;width:42%;height:13%;border-radius:999px;background:#d9a782;transform:rotate(-15deg)}
.person .book{position:absolute;left:22%;bottom:17%;width:30%;height:18%;border-radius:8px;background:#173F7A;transform:rotate(7deg)}
.visual-note{position:absolute;right:0;bottom:0;width:245px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 16px 40px rgba(15,45,87,.11)}
.visual-note strong{display:block;color:var(--navy-deep);margin-bottom:8px}
.visual-note .step{display:flex;gap:9px;align-items:center;margin:8px 0;color:var(--muted);font-size:.92rem}
.visual-note .step span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--teal-soft);color:var(--accent);font-weight:800;font-size:.8rem}
.reassurance-strip{padding:20px 0;background:#fff;border-top:1px solid rgba(23,63,122,.06);border-bottom:1px solid rgba(23,63,122,.06)}
.reassurance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.reassurance-item{display:flex;gap:12px;align-items:flex-start}
.icon-dot{width:34px;height:34px;border-radius:10px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;color:var(--accent);font-weight:900;flex:0 0 auto}
.reassurance-item strong{display:block;color:var(--navy-deep)}
.reassurance-item span{display:block;color:var(--muted);font-size:.9rem}
.path-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfefe 100%)}
.path-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--accent)}
.path-icon{width:46px;height:46px;border-radius:14px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;color:var(--accent);font-weight:800;margin-bottom:16px}
.steps-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}
.step-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;position:relative}
.step-num{width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:18px}
.support-band{background:linear-gradient(135deg,var(--navy-deep),#184d73);color:#fff;border-radius:28px;padding:38px;display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.support-band h2{color:#fff}
.support-band p{color:rgba(255,255,255,.8)}
.support-note{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:20px}
.support-note strong{color:#fff}
.support-note .tiny{font-size:.9rem;color:rgba(255,255,255,.72)}
.section-warm{background:var(--sand)}
.form-card.warm{background:linear-gradient(180deg,#fff,#fbfffe);border:1px solid rgba(20,184,166,.22)}
.btn-teal{background:var(--accent);color:#063d38}
.btn-teal:hover{filter:brightness(.96)}
.micro-reassure{font-size:.9rem;color:var(--muted);margin-top:10px}
.quote-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 8px 28px rgba(15,45,87,.06)}
.quote-card .quote-mark{font-size:2.6rem;line-height:1;color:var(--accent);font-weight:900}
@media(max-width:960px){.hero-shell{grid-template-columns:1fr}.hero-visual{min-height:430px}.reassurance-grid{grid-template-columns:repeat(2,1fr)}.steps-wrap{grid-template-columns:1fr}.support-band{grid-template-columns:1fr}}
@media(max-width:620px){.reassurance-grid{grid-template-columns:1fr}.hero-visual{min-height:360px}.visual-note{width:210px}}

/* Hero revisions: approved photo, smaller title, accessible header CTA */
.hero h1{font-size:clamp(2.55rem,5vw,4.35rem);max-width:760px}
.hero-shell{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:42px}
.hero-visual{position:relative;min-height:520px}
.hero-photo-wrap{position:absolute;inset:0 18px 24px 0;border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(15,45,87,.14);border:1px solid rgba(23,63,122,.08);background:transparent}
.hero-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-photo-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 45%,rgba(15,45,87,.10) 100%);pointer-events:none}
.navlinks .btn-primary,.navlinks .btn-primary:visited,.btn-primary,.btn-primary:visited{color:#fff!important}
.visual-note{right:-8px;bottom:10px;width:260px}
@media(max-width:960px){.hero h1{font-size:clamp(2.3rem,8vw,3.5rem)}.hero-shell{grid-template-columns:1fr}.hero-visual{min-height:430px}}

/* Headings inside a card or panel are not section headings.
   The global h1 and h2 scale up to 5.2rem and 3rem, which is right across a
   full-width marketing section and much too large in a 320px card, where the
   heading wraps to three lines and pushes the button towards the fold. The
   buttons also sat hard against the paragraph above them, because .btn is
   inline-flex and carries no top margin of its own. */
.card h2{font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.25;letter-spacing:-.02em;margin-bottom:12px}
.card h3{font-size:1.12rem;margin-bottom:10px}
.panel h1{font-size:clamp(1.6rem,3.2vw,2.1rem);line-height:1.22;letter-spacing:-.02em;margin-bottom:14px}
.panel h2{font-size:clamp(1.25rem,2.2vw,1.5rem);margin-bottom:10px}
.card .btn,.panel .btn{margin-top:20px}

/* Assessment runner: audio playback, the recorder, and the task types that
   need more than a text box. */
.er-audio{background:#f3f8f7;border:1px solid #d7e6e3;border-radius:12px;padding:14px;margin:14px 0}
.er-audio-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.er-audio-note{color:#4b6a66;font-size:.9rem}
.er-audio-done{font-weight:700;color:#10345f}
.er-audio-who{margin:8px 0 0;font-size:.85rem;color:#64748b}
.er-record{background:#fff8f3;border:1px solid #f0dcc9;border-radius:12px;padding:16px;margin:14px 0}
.er-record-plan{margin:0 0 12px;font-size:.95rem}
.er-record-note{font-size:.9rem;color:#64748b;margin:8px 0 0}
.er-record-ok{font-weight:700;color:#0f766e;margin:0 0 10px}
.er-record-fail{font-weight:700;color:#b3261e;margin:0 0 10px}
.er-count{font-size:1.1rem;margin:0 0 10px}
.er-count strong{font-size:1.6rem;color:#10345f}
.er-count.er-live strong{color:#b3261e}
.er-figure{margin:16px 0;padding:12px;border:1px solid #dbe8e6;border-radius:12px;background:#fff;overflow-x:auto}
.er-figure svg{max-width:100%;height:auto;display:block}
.er-figure figcaption{margin-top:8px;font-size:.88rem;color:#64748b}
.er-read-aloud{font-size:1.15rem;line-height:1.7}
.er-transcript{background:#fff;border:1px solid #dbe8e6;border-radius:12px;padding:16px;line-height:2.1}
.er-word{padding:2px 4px;border-radius:5px;cursor:pointer}
.er-word:hover{background:#eef2f1}
.er-word.picked{background:#10345f;color:#fff}
.er-gaps{display:grid;gap:12px;margin:12px 0}
.er-gap{display:grid;gap:5px;font-size:.92rem;color:#64748b}
.er-gap select{padding:10px;border:1px solid #cfdcda;border-radius:9px;font-size:1rem;color:#0f172a}
.er-bullets{margin:12px 0;padding-left:22px}
.er-bullets li{margin-bottom:6px}
.er-hint{font-size:.92rem;color:#64748b;margin:0 0 10px}
.er-clock{display:flex;align-items:center;gap:14px;background:#10345f;color:#fff;border-radius:10px;padding:10px 14px;margin:0 0 16px;font-size:.92rem;flex-wrap:wrap}
.er-clock-sec{font-weight:700;letter-spacing:.02em}
.er-clock-time{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:700;margin-left:auto}
.er-clock-task{font-size:.85rem;opacity:.85}
.er-clock-task b{font-variant-numeric:tabular-nums}
.er-clock.er-clock-low{background:#b3261e}
.er-words{font-size:.88rem;margin:8px 0 0;font-variant-numeric:tabular-nums}
.er-words.ok{color:#0f766e}
.er-words.off{color:#b3261e}
.er-review{margin:16px 0 0;border-top:1px solid #e5eceb;padding-top:12px}
.er-review summary{cursor:pointer;font-size:.9rem;color:#64748b}
.er-dots{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.er-dot{width:34px;height:34px;border-radius:8px;border:1px solid #cfdcda;background:#fff;
  font-size:.82rem;font-weight:700;color:#64748b;cursor:pointer;padding:0}
.er-dot.done{background:#e6f2f0;border-color:#a9cfc8;color:#0f766e}
.er-dot.here{outline:2px solid #10345f;outline-offset:1px;color:#10345f}
.er-dot[disabled]{cursor:default;opacity:.75}
.er-between{text-align:center;max-width:560px;margin:0 auto}
.er-between h2{margin-top:6px}
.er-between .btn{margin-top:18px}
.er-flag{margin-left:auto;margin-right:8px;font-weight:600}
.er-flag.on{background:#fff4e0;border-color:#f0c78a;color:#8a5a12}
.er-dot.flagged{box-shadow:inset 0 0 0 2px #f0a92a}
.er-warn{background:#fff4e0;border:1px solid #f0c78a;color:#8a5a12;border-radius:10px;
  padding:10px 14px;margin:-8px 0 16px;font-size:.92rem;font-weight:600}
.er-between-lead{font-size:1.05rem;font-weight:600;color:#10345f;margin:6px 0}
.er-rules{text-align:left;max-width:420px;margin:18px auto 0;padding-left:20px}
.er-rules li{margin-bottom:8px;font-size:.93rem;color:#334155}
.er-plan{width:100%;border-collapse:collapse;margin:18px auto;max-width:420px;font-size:.93rem}
.er-plan th,.er-plan td{padding:8px 10px;border-bottom:1px solid #e5eceb;text-align:left}
.er-plan th{color:#64748b;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}
.er-plan .num{text-align:right}
.er-task-note{color:#64748b;font-size:.95rem;margin:-6px 0 14px}
/* Practice: the answer and explanation after each question. */
.er-check{margin:14px 0 4px}
.er-check-ok,.er-check-no{border:1px solid #dbe8e6;border-left-width:5px;border-radius:12px;padding:12px 16px;background:#fff}
.er-check-ok{border-left-color:#0f766e}.er-check-no{border-left-color:#b3261e}
.er-check p{margin:.35rem 0}
.linklike{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
.paywall-note{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:10px 12px}
.er-playback{display:block;width:100%;max-width:420px;margin:8px 0}
/* Links inside running text are underlined, so they can be told apart from
   the words around them without relying on colour. */
p a:not(.btn), li a:not(.btn), td a:not(.btn), small a, .notice a:not(.btn), .tiny a, .muted a, .micro-reassure a, .rule a{text-decoration:underline;text-underline-offset:2px}
/* Answer controls big enough to hit on a phone. */
.er-options input[type=radio], .er-card input[type=checkbox], input[type=checkbox]{width:20px;height:20px;flex:0 0 20px}
.er-options label{min-height:44px}
/* Public practice pages: a real sample with the answer behind a click. */
.sample{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff;margin:12px 0}
.sample-text{background:#f7fafc;border-radius:10px;padding:14px 16px;margin:10px 0;line-height:1.6}
.sample-item{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.sample-q{font-weight:600}
.sample-opts{margin:.3rem 0 .6rem}
.sample-audio{display:block;width:100%;max-width:520px;margin:8px 0}
details.answer{margin:10px 0;border:1px solid var(--line);border-radius:10px;padding:8px 12px}
details.answer summary{cursor:pointer;font-weight:600}
.calc-grid{display:grid;grid-template-columns:1fr 160px;gap:10px 16px;align-items:center}
@media(max-width:560px){.calc-grid{grid-template-columns:1fr}}
/* The prompt into the free speaking-and-listening test on the settlement guides. */
.cta-box{border:2px solid var(--brand);border-radius:14px;padding:16px 18px;margin:18px 0 22px;background:#f0fdfa}
.cta-box p{margin:.3rem 0}
.cta-box-title{font-weight:700;font-size:1.1rem}
.cta-box-alt{margin-left:12px}
/* Test-alert sign-up on the settlement guides. */
.alert-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:22px 0;background:#fff;position:relative}
.alert-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.alert-row input{flex:1 1 220px;min-height:44px;padding:8px 12px;border:1px solid #94a3b8;border-radius:10px;font:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.compare-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:760px){.compare-cols{grid-template-columns:1fr}}
.compare-cols h3{margin-top:12px}
.alert-top{border:2px solid var(--accent,#0f766e);background:#f4faf9}
.alert-compact{padding:12px 14px;margin:14px 0 22px}

/* Content tables: a navy header, row lines, alternate shading and a bold first
   column, so each row reads across. On a phone, header-row tables become one
   card per row (class "stack", added by build_seo.py with data-labels), and
   row-header tables scroll sideways with their labels pinned. */
.article table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #dbe3ef;border-radius:14px;overflow:hidden;font-size:.98rem;margin:8px auto 6px;max-width:none}
.article thead th{background:#173F7A;color:#fff;font-weight:700;font-size:.95rem;text-transform:none;letter-spacing:0;text-align:left;padding:13px 16px;vertical-align:bottom;border-bottom:0}
.article tbody th,.article tbody td{padding:13px 16px;text-align:left;vertical-align:top;border-top:1px solid #e6ecf4;border-bottom:0;line-height:1.45;color:var(--ink)}
.article tbody tr:nth-child(even) td,.article tbody tr:nth-child(even) th{background:#f4f7fc}
.article tbody tr:hover td,.article tbody tr:hover th{background:#e9f9f6}
.article tbody td:first-child,.article tbody th[scope=row]{font-weight:700;color:#0F2D57}
.article tbody th[scope=row]{background:#f7f9fc;min-width:130px;text-transform:none;letter-spacing:0;font-size:inherit}
.article table .num{text-align:right}
@media(max-width:640px){
  .article table{font-size:.94rem}
  .article thead th,.article tbody th,.article tbody td{padding:10px 12px}
  .article table.stack,.article table.stack tbody,.article table.stack tr,.article table.stack td,.article table.stack th[scope=row]{display:block;width:100%;max-width:none;position:static;box-shadow:none}
  .article table.stack tbody th[scope=row]{background:#173F7A;color:#fff;text-transform:none;letter-spacing:0;font-size:1rem}
  .article table.stack tbody th[scope=row] a,.article table.stack tbody td:first-child a{color:#fff;text-decoration:underline}
  .article table.stack{border:0;background:none}
  .article table.stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .article table.stack tr{background:#fff;border:1px solid #dbe3ef;border-radius:12px;margin:0 0 12px;overflow:hidden}
  .article table.stack tbody tr td{border-top:1px solid #e6ecf4;background:#fff;display:flex;gap:12px}
  .article table.stack tbody tr td:first-child{border-top:0;background:#173F7A;color:#fff}
  .article table.stack td[data-label]:not(:first-child)::before{content:attr(data-label);flex:0 0 38%;font-weight:700;color:#475467}
  .article tbody th[scope=row]{position:sticky;left:0;z-index:1;box-shadow:1px 0 0 #e6ecf4;min-width:110px;max-width:120px}
  .article table:not(.stack) td,.article table:not(.stack) thead th{min-width:150px}
}

/* Picture task sheet (LANGUAGECERT B1 Part 3). */
.er-sheet{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0;align-items:stretch}
.er-pic{margin:0;background:#fff;border:1px solid #dbe3ef;border-radius:10px;overflow:hidden}
.er-pic img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.er-pic figcaption{font-size:.85rem;padding:6px 8px;color:#475467;line-height:1.3}
.er-sheet-title{display:flex;align-items:center;justify-content:center;text-align:center;font-style:italic;font-size:1.15rem;font-weight:600;color:var(--ink);background:#f7f9fc;border:1px dashed #b8c4d6;border-radius:10px;padding:10px}
@media(max-width:560px){.er-sheet{grid-template-columns:repeat(2,1fr)}.er-sheet-title{grid-column:1/-1;order:-1}}

/* Live speaking test (B1English). */
.live-line{margin:0 0 10px;padding:10px 12px;border-radius:10px;background:#f1f5f9;margin-left:24px}
.live-examiner{background:#eef6f5;margin-left:0}
.live-partner{background:#fff7e6;margin-left:0}
.live-part{font-weight:700;color:var(--brand)}
