/* Daily GCSE website. Duolingo-style layout (white space, rounded type, chunky buttons) in the app's colours. */
:root {
  --ink: #1b1b1b;
  --text: #3c3c3c;           /* headings and strong text */
  --grey: #6f6f6f;           /* body copy */
  --grey-2: #a3a3a3;         /* quiet labels */
  --line: #e5e5e5;           /* card borders */
  --wash: #f7f7f7;
  --navy: #131f3a;
  --coral: #e8604c;          /* the brand colour, from the logo tile */
  --coral-d: #c4462f;
  --pink: #f6bcb2;   --pink-d: #e8604c;
  --yellow: #fcf09e; --yellow-d: #f2cf1d;
  --lilac: #d6c8f7;  --lilac-d: #8e64e6;
  --blue: #d4e7fb;   --blue-d: #4f97e3;
  --green: #d3f39d;  --green-d: #6cc12c;
  --beige: #f3efe8;
  --ink-2: #6f6f6f; --ink-3: #a3a3a3; --rule: #e5e5e5;   /* older names, used by a few inline styles */
  --font: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--grey); background: #fff; font-size: 17px; line-height: 1.55; font-weight: 500; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue-d); font-weight: 800; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text); margin: 0; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: inherit; font-weight: 800; color: var(--text); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
.center { text-align: center; }
.small { font-size: 14px; }
.muted { color: var(--grey); }
.lead { font-size: 19px; margin-top: 16px; }
.intro { font-size: 18px; margin-top: 14px; max-width: 680px; }
.center .intro, .intro.center { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%); }
.c-red { color: var(--coral); }
.c-blue { color: var(--blue-d); }
h2 .c-red, .row h3 .c-red { color: var(--navy); }

/* ---------- buttons: flat colour on a darker bottom edge, pressed down on click ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 15px/1.1 var(--font); letter-spacing: .07em; text-transform: uppercase;
  color: #fff; background: var(--coral); border: 0; border-radius: 14px; padding: 15px 26px; box-shadow: 0 4px 0 var(--coral-d); cursor: pointer;
  text-decoration: none; text-align: center; transition: transform .08s, box-shadow .08s, filter .15s; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--coral-d); }
.btn.light { background: #fff; color: var(--blue-d); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); padding: 13px 24px; }
.btn.light:active { box-shadow: 0 0 0 var(--line); }
.btn.small { font-size: 13px; padding: 11px 18px; border-radius: 12px; }
.btn.light.small { padding: 9px 16px; }
.btn.wide { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .ctas { justify-content: center; }
.stack { display: grid; gap: 14px; width: 100%; max-width: 340px; margin-top: 32px; }
@media (max-width: 400px) { .ctas .btn { white-space: normal; } }

/* small labels */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); background: var(--wash); border-radius: 999px; padding: 8px 16px; margin-bottom: 18px; }
.pill svg { width: 17px; height: 17px; }
.pill.pink { background: var(--pink); } .pill.yellow { background: var(--yellow); } .pill.lilac { background: var(--lilac); }
.pill.blue { background: var(--blue); } .pill.green { background: var(--green); }
.soon { display: inline-block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--text);
  background: var(--yellow); border-radius: 6px; padding: 3px 8px; vertical-align: middle; white-space: nowrap; }
.kicker { display: block; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); margin-bottom: 12px; }
@media (max-width: 640px) { .kicker { font-size: 16px; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 900; color: var(--navy); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top-link, .dd-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--grey-2); font: 900 14px/1 var(--font); text-transform: uppercase; letter-spacing: .06em;
  padding: 11px 12px; border-radius: 10px; text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.top-link:hover, .dd-btn:hover, .dd.open .dd-btn { color: var(--coral); background: #fff4f2; text-decoration: none; }
.top-link.on, .dd-btn.on { color: var(--coral); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.dd { position: relative; }
.dd.open .chev { transform: rotate(180deg); }
/* the dropdown card */
.dd-menu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 320px; background: #fff; border: 2px solid var(--line);
  border-bottom-width: 5px; border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(19, 31, 58, .12); z-index: 40; }
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* keeps hover open across the gap */
.dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 1061px) { .dd:hover .dd-menu { display: block; } .dd:hover .chev { transform: rotate(180deg); } }
.dd-label { display: none; }
.dd-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--grey); font-weight: 500; }
.dd-item:hover { background: var(--wash); text-decoration: none; }
.dd-item b { display: block; color: var(--text); font-size: 16px; font-weight: 900; }
.dd-item small { display: block; font-size: 13px; line-height: 1.35; }
.dd-item.on b { color: var(--coral); }
.dd-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 12px; background: #fff; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
.menu-btn svg path { stroke: var(--text); }
.nav .signin-m { display: none; }
/* phones and small tablets: one menu, with the groups listed under small headings */
@media (max-width: 1060px) {
  .menu-btn { display: grid; place-items: center; }
  .top .signin { display: none; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 2px solid var(--line); padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, .06); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav.open { display: flex; }
  .top-link { padding: 16px 4px; border-radius: 0; border-bottom: 2px solid var(--wash); font-size: 15px; color: var(--text); }
  .dd-btn { display: none; }
  .dd-menu { display: block; position: static; transform: none; width: auto; border: 0; box-shadow: none; padding: 6px 0 4px; border-radius: 0; border-bottom: 2px solid var(--wash); }
  .dd-menu::before { display: none; }
  .dd-label { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-2); padding: 12px 4px 4px; }
  .dd-item { padding: 8px 4px; }
  .dd-ico { width: 38px; height: 38px; }
  .nav .signin-m { display: flex; margin-top: 16px; border: 0; color: #fff; padding: 15px; border-radius: 14px; }
}

/* ---------- home hero: illustration beside a short headline and two stacked buttons ---------- */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: min(620px, 74vh); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; color: var(--text); max-width: 480px; }
.hero .lead { max-width: 460px; font-size: 18px; }
@media (max-width: 860px) {
  .hero { padding: 28px 0 48px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 0; }
  .hero .stack { max-width: 420px; }
}

/* the illustration: an app screen in a phone, a pastel circle behind it, and maths tiles floating round it */
.art { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1; display: grid; place-items: center; isolation: isolate; }
.art::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; background: var(--blue); z-index: -2; }
.art .phone { box-sizing: content-box; width: 41%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border: 10px solid var(--ink); border-radius: 38px; box-shadow: 0 22px 44px rgba(19, 31, 58, .2); background: #fff; }
.t { position: absolute; z-index: 1; width: 15%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22%; font-weight: 900; color: var(--ink);
  font-size: clamp(20px, 3.4vw, 38px); line-height: 1; animation: bob 5s ease-in-out infinite; }
.t.pink { background: var(--pink); box-shadow: 0 6px 0 #d98f81; } .t.yellow { background: var(--yellow); box-shadow: 0 6px 0 #d9c75c; }
.t.lilac { background: var(--lilac); box-shadow: 0 6px 0 #a993dc; } .t.blue { background: var(--blue); box-shadow: 0 6px 0 #9fc1e6; }
.t.green { background: var(--green); box-shadow: 0 6px 0 #9fcb5c; } .t.coral { background: var(--coral); box-shadow: 0 6px 0 var(--coral-d); color: #fff; }
.t1 { left: 2%; top: 10%; --r: -14deg; } .t2 { left: 0; top: 46%; --r: 10deg; animation-delay: -1.2s; } .t3 { left: 9%; top: 78%; --r: -8deg; animation-delay: -2.4s; }
.t4 { right: 4%; top: 6%; --r: 12deg; animation-delay: -.6s; } .t5 { right: 0; top: 38%; --r: -10deg; animation-delay: -1.8s; } .t6 { right: 7%; top: 72%; --r: 16deg; animation-delay: -3s; }
.t7 { left: 40%; top: -2%; width: 11%; --r: 8deg; animation-delay: -3.6s; } .t8 { left: 44%; bottom: -3%; width: 11%; --r: -12deg; animation-delay: -4.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
.art.green::before { background: var(--green); } .art.lilac::before { background: var(--lilac); } .art.pink::before { background: var(--pink); } .art.yellow::before { background: var(--yellow); }
.art.wide { aspect-ratio: 4 / 3; max-width: 640px; }
.art.wide::before { inset: 4% 8%; }
.art.wide .phone { box-sizing: border-box; aspect-ratio: auto; object-fit: contain; height: auto; width: 100%; border: 0; border-radius: 0; box-shadow: none; background: none; }

/* ---------- topic strip under the hero (like Duolingo's course list) ---------- */
.strip { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.strip .wrap { display: flex; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; }
.strip .wrap::-webkit-scrollbar { display: none; }
.strip a { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 8px 14px; border-radius: 12px; color: var(--grey); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.strip a:hover { background: var(--wash); color: var(--text); }
.strip i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-style: normal; font-weight: 900; font-size: 17px; color: var(--ink); }
@media (max-width: 860px) { .strip .wrap { justify-content: flex-start; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section + .section { padding-top: 24px; }
.section h2 { font-size: clamp(32px, 4.4vw, 48px); color: var(--coral); }
.section h2.center, .section.center h2 { margin-left: auto; margin-right: auto; max-width: 820px; }
@media (max-width: 640px) { .section { padding: 56px 0; } .section + .section { padding-top: 12px; } }
.band { background: var(--wash); }
.section.band, .section + .section.band, .band + .section { padding-top: 80px; padding-bottom: 80px; }
.dark { background: var(--navy); color: #c9d3ea; }
.dark h2 { color: #fff !important; }
.dark .lead { color: #c9d3ea; }
.section.dark, .section + .section.dark, .dark + .section { padding-top: 88px; padding-bottom: 88px; }
.dark .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.dark .btn.light { background: transparent; color: #fff; border-color: #3a4766; box-shadow: 0 4px 0 #3a4766; }
.dark .btn.light:hover { background: rgba(255, 255, 255, .14); border-color: #8d9abb; box-shadow: 0 4px 0 #8d9abb; filter: none; }
.dark .shot { padding: 0; }
@media (max-width: 860px) { .dark .wrap { grid-template-columns: minmax(0, 1fr); } }

/* page heroes (the inner pages) */
.page-hero { padding: 56px 0 40px; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: var(--text); line-height: 1.06; }
.page-hero .lead { max-width: 540px; }
@media (max-width: 860px) { .page-hero { padding: 32px 0 24px; } .page-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* alternating feature rows: big coloured heading, short copy, an app screen in a phone */
.rows { display: grid; gap: 40px; margin-top: 40px; }
.row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; min-height: 520px; } .row:nth-child(even) > :first-child { order: 2; } }
.row h3 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; color: var(--coral); line-height: 1.1; }
.row p { margin-top: 16px; font-size: 18px; }
.row .ticks { margin-top: 22px; }
.row .ticks li { font-size: 16px; }

/* app screens: a phone with a pastel circle behind and two maths tiles */
.shot { margin: 0; position: relative; display: grid; place-items: center; padding: 34px 0; isolation: isolate;
  background: radial-gradient(circle closest-side, var(--bg, var(--blue)) 0 92%, transparent 93%) center / min(100%, 470px) min(100%, 470px) no-repeat; }
/* devices keep real proportions: a phone is a 390 × 844 screen, a tablet 820 × 1180, inside a dark bezel */
.shot img { box-sizing: content-box; width: 250px; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border: 10px solid var(--ink); border-radius: 36px; box-shadow: 0 20px 40px rgba(19, 31, 58, .18); background: #fff; }
.shot.tablet img { width: min(400px, 78vw); aspect-ratio: 820 / 1180; border-width: 14px; border-radius: 30px; }
.shot::before, .shot::after { position: absolute; z-index: 2; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 16px; font: 900 32px/1 var(--font);
  color: var(--ink); animation: bob 5s ease-in-out infinite; }
.shot::before { content: var(--a, '+'); left: 6%; top: 14%; --r: -12deg; background: var(--pink); box-shadow: 0 6px 0 #d98f81; }
.shot::after { content: var(--b, '×'); right: 6%; bottom: 14%; --r: 10deg; animation-delay: -2.5s; background: var(--yellow); box-shadow: 0 6px 0 #d9c75c; }
.row:nth-child(4n+2) .shot { --bg: var(--green); --a: '÷'; --b: 'π'; }
.row:nth-child(4n+2) .shot::before { background: var(--lilac); box-shadow: 0 6px 0 #a993dc; }
.row:nth-child(4n+2) .shot::after { background: var(--blue); box-shadow: 0 6px 0 #9fc1e6; }
.row:nth-child(4n+3) .shot { --bg: var(--lilac); --a: '%'; --b: '√'; }
.row:nth-child(4n+3) .shot::before { background: var(--green); box-shadow: 0 6px 0 #9fcb5c; }
.row:nth-child(4n+3) .shot::after { background: var(--pink); box-shadow: 0 6px 0 #d98f81; }
.row:nth-child(4n+4) .shot { --bg: var(--yellow); --a: '½'; --b: '='; }
.row:nth-child(4n+4) .shot::before { background: var(--blue); box-shadow: 0 6px 0 #9fc1e6; }
.row:nth-child(4n+4) .shot::after { background: var(--coral); box-shadow: 0 6px 0 var(--coral-d); color: #fff; }
.shot.wide { background: none; padding: 0; }
.shot.wide::before, .shot.wide::after { display: none; }
.shot.wide img { box-sizing: border-box; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; background: none; width: 100%; height: auto; max-height: none; }
.shot figcaption { font-size: 14px; margin-top: 14px; text-align: center; }
@media (max-width: 520px) {
  .shot { padding: 24px 0; }
  .shot img { width: 210px; border-width: 8px; border-radius: 30px; }
  .shot.tablet img { width: min(300px, 78vw); border-width: 10px; border-radius: 22px; }
  .shot::before, .shot::after { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; }
  .shot::before { left: 0; } .shot::after { right: 0; }
}

/* ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks b { color: var(--text); }
.tk { width: 26px; height: 26px; border-radius: 8px; background: var(--green); display: grid; place-items: center; margin-top: 1px; }
.tk svg { width: 15px; height: 15px; }

/* cards */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }   /* six cards: 2 rows of 3 */
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature, .step, .who-card { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; padding: 24px; }
.feature h3, .step h3 { font-size: 20px; font-weight: 900; margin-top: 14px; }
.feature p, .step p { font-size: 16px; margin-top: 8px; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; counter-reset: s; }
.step { position: relative; padding-top: 74px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 24px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--coral); color: #fff; font-weight: 900; font-size: 19px; box-shadow: 0 4px 0 var(--coral-d); }
.step h3 { margin-top: 0; }

/* who are you? chooser */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 40px; }
.who-card { display: flex; flex-direction: column; align-items: flex-start; color: var(--grey); font-weight: 500; text-decoration: none; transition: transform .1s, border-color .15s; }
.who-card:hover { text-decoration: none; border-color: #d6d6d6; transform: translateY(-3px); }
.who-card .tile { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; }
.who-card h3 { font-size: 21px; margin-top: 16px; }
.who-card p { font-size: 15px; margin-top: 6px; flex: 1; }
.who-card .go { margin-top: 16px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-d); }

/* daily tiles (Monday to Sunday) */
.days { display: flex; gap: 8px; margin-top: 26px; }
.day { width: 52px; height: 56px; border-radius: 12px; display: grid; place-items: center; align-content: center; font-weight: 900; font-size: 21px; color: var(--ink); line-height: 1; }
.day small { display: block; font-size: 8px; letter-spacing: .06em; margin-top: 3px; }
.day:nth-child(5n+1) { background: var(--pink); box-shadow: 0 5px 0 #d98f81; } .day:nth-child(5n+2) { background: var(--yellow); box-shadow: 0 5px 0 #d9c75c; }
.day:nth-child(5n+3) { background: var(--lilac); box-shadow: 0 5px 0 #a993dc; } .day:nth-child(5n+4) { background: var(--blue); box-shadow: 0 5px 0 #9fc1e6; }
.day:nth-child(5n) { background: var(--green); box-shadow: 0 5px 0 #9fcb5c; }
@media (max-width: 520px) { .days { gap: 6px; } .day { flex: 1 1 0; width: auto; min-width: 0; max-width: 50px; height: 50px; font-size: 18px; } .day small { font-size: 7px; letter-spacing: 0; } }

/* video */
.video { border-radius: 22px; overflow: hidden; border: 2px solid var(--line); border-bottom-width: 5px; background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-cap { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--grey-2); text-transform: uppercase; letter-spacing: .06em; }
.video-cap svg { width: 18px; height: 18px; }
.video-wrap { max-width: 860px; margin: 40px auto 0; }

/* devices line */
.devices { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.devices span { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--text); background: var(--wash); border-radius: 999px; padding: 7px 14px; }

/* school vs Home plan */
.compare-wrap { overflow-x: auto; margin-top: 40px; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; background: #fff; text-align: left; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-top: 2px solid var(--wash); vertical-align: top; }
.compare thead th { border-top: 0; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--text); background: var(--wash); }
.compare thead th.sch { background: var(--blue); } .compare thead th.home { background: var(--yellow); }
.compare td:first-child { font-weight: 900; color: var(--text); width: 32%; }
.yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--green); margin-right: 8px; vertical-align: -5px; }
.yes svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .compare { min-width: 0; font-size: 14px; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare thead th:first-child { display: none; }
  .compare td:first-child { grid-column: 1 / -1; width: auto; background: var(--wash); padding: 10px 14px 8px; }
  .compare th, .compare td { padding: 10px 12px; }
  .compare tbody td + td { border-top: 0; }
  .compare tbody td:last-child { border-left: 2px solid var(--wash); }
}

/* numbered steps */
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; counter-reset: t; max-width: 760px; }
.centered-list { margin-left: auto; margin-right: auto; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border: 2px solid var(--line);
  border-bottom-width: 5px; border-radius: 18px; padding: 18px; }
.timeline li::before { content: counter(t); width: 42px; height: 42px; border-radius: 12px; background: var(--coral); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 19px; box-shadow: 0 4px 0 var(--coral-d); }
.timeline b { display: block; font-size: 18px; color: var(--text); font-weight: 900; }
.timeline span { font-size: 16px; }

.note { margin-top: 24px; background: var(--wash); border-radius: 14px; padding: 15px 18px; font-size: 15px; }
.note b { color: var(--text); }
.note svg { display: inline; vertical-align: -3px; }

/* points table */
.mini { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 28px; font-size: 16px; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; overflow: hidden; }
.mini td { padding: 14px 18px; border-top: 2px solid var(--wash); }
.mini tr:first-child td { border-top: 0; }
.mini td:last-child { text-align: right; font-weight: 900; color: var(--coral); white-space: nowrap; }
@media (max-width: 600px) { .mini td { padding: 12px 14px; } .mini td:last-child { white-space: normal; width: 42%; } }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 900; font-size: 18px; color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--wash); display: grid; place-items: center; font-size: 22px; color: var(--grey); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; font-size: 16px; }

/* final call to action */
.cta { text-align: center; padding: 24px 0 8px; }
.cta h2 { font-size: clamp(36px, 5.4vw, 60px) !important; color: var(--coral); max-width: 900px; margin: 0 auto; }
.cta > p { font-size: 19px; margin: 18px auto 0; max-width: 620px; }
.cta .ctas { justify-content: center; }
.email-line { margin-top: 24px; font-size: 15px; color: var(--grey-2); display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* stats (Skill Builders) */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats > div { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; padding: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(34px, 4.4vw, 48px); font-weight: 900; line-height: 1; color: var(--coral); }
.stats span { display: block; margin-top: 8px; font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sk-st { display: inline-block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 7px; margin-right: 4px; color: var(--ink); }
.sk-st.red { background: var(--pink); } .sk-st.amber { background: var(--yellow); } .sk-st.green { background: var(--green); }

/* the list of skills */
.sk-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 32px; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chips button { font: 800 14px var(--font); padding: 9px 14px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 12px; background: #fff; color: var(--grey); cursor: pointer; }
.sk-chips button small { font-weight: 700; opacity: .7; margin-left: 2px; }
.sk-chips button.on { background: var(--blue); border-color: var(--blue-d); color: var(--text); }
#sk-search { font: 600 16px var(--font); padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--wash); flex: 1 1 240px; max-width: 340px; min-width: 0; color: var(--text); }
#sk-search:focus { outline: none; border-color: var(--blue-d); background: #fff; }
@media (max-width: 600px) { #sk-search { max-width: none; } }
.sk-count { font-size: 14px; margin: 14px 0 0; color: var(--grey-2); font-weight: 800; }
.sk-strand { margin-top: 36px; }
.sk-strand h3 { font-size: 26px; font-weight: 900; color: var(--coral); }
.sk-strand h3 small { font-size: 15px; font-weight: 800; color: var(--grey-2); margin-left: 6px; }
.sk-strand h4 { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-2); margin: 22px 0 0; }
.sk-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sk-item { background: #fff; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.sk-item b { font-size: 17px; line-height: 1.25; color: var(--text); font-weight: 900; }
.sk-item > span { font-size: 14px; line-height: 1.45; }
.sk-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sk-tag { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 6px; background: var(--wash); color: var(--text); }
.sk-tag.h { background: var(--lilac); } .sk-tag.c { background: var(--blue); }
.sk-item[hidden], .sk-strand[hidden], .sk-grid[hidden], .sk-strand h4[hidden] { display: none; }

/* ---------- footer (brand colour, like Duolingo's green one) ---------- */
.foot { background: var(--coral-d); color: #ffe3dc; padding: 64px 0 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 761px) and (max-width: 1000px) { .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }
.foot .brand { color: #fff; font-size: 26px; }
.foot h4 { color: #fff; font-size: 17px; font-weight: 900; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { color: #ffe3dc; font-weight: 700; font-size: 15px; }
.foot nav a:hover { color: #fff; }
.foot .tag-line { margin-top: 14px; font-size: 15px; max-width: 280px; }
.foot .legal { margin-top: 44px; padding-top: 22px; border-top: 2px solid rgba(255, 255, 255, .2); font-size: 13px; display: grid; gap: 6px; }
@media (max-width: 760px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- scroll animations (only when html.anim is set: JavaScript on, and no request for reduced motion) ---------- */
.anim .rv { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.anim .rv.rv-l { transform: translateX(-48px); }
.anim .rv.rv-r { transform: translateX(48px); }
.anim .rv.rv-pop { transform: translateY(40px) scale(.86) rotate(-2deg); transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.anim .rv.in { opacity: 1; transform: none; }
/* the maths tiles round each phone spring in once the phone has arrived, then bob */
.anim .shot.rv::before, .anim .shot.rv::after { opacity: 0; animation: none; }
.anim .shot.rv.in::before, .anim .shot.rv.in::after { opacity: 1; animation: pop .55s cubic-bezier(.34, 1.56, .64, 1) .45s backwards, bob 5s ease-in-out 1s infinite; }
.anim .shot.rv.in::after { animation-delay: .6s, 1.15s; }
@keyframes pop { from { opacity: 0; transform: scale(0) rotate(var(--r, 0deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); } }
/* the hero: the circle grows, the phone rises, then the tiles pop in one by one */
.anim .art::before { animation: grow .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.anim .art .phone { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .15s both; }
.anim .art .t { animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) backwards, bob 5s ease-in-out infinite; }
.anim .art .t1 { animation-delay: .45s, 1s; } .anim .art .t2 { animation-delay: .55s, -.2s; } .anim .art .t3 { animation-delay: .65s, -1.4s; }
.anim .art .t4 { animation-delay: .5s, .4s; } .anim .art .t5 { animation-delay: .6s, -.8s; } .anim .art .t6 { animation-delay: .7s, -2s; }
.anim .art .t7 { animation-delay: .75s, -2.6s; } .anim .art .t8 { animation-delay: .85s, -3.2s; }
.anim .hero-copy { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
@keyframes grow { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
main { overflow-x: clip; }   /* content sliding in from the side never makes the page scroll sideways */


/* GCSE Papers: the practice sets */
.psets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; text-align: left; }
.pset { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; overflow: hidden; }
.pset-top { padding: 22px 22px 18px; }
.pset-top .pill { background: #fff; margin-bottom: 12px; }
.pset-top h3 { font-size: 22px; }
.pset-top p { font-size: 15px; color: var(--text); margin-top: 2px; }
.pset ul { list-style: none; margin: 0; padding: 8px 22px 18px; }
.pset li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 2px solid var(--wash); }
.pset li:first-child { border-top: 0; }
.pset li b { display: block; color: var(--text); }
.pset li small { display: block; font-size: 14px; }
.pp-n { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: 0 3px 0 var(--coral-d); }
.stats b:not([data-count]) { font-size: clamp(28px, 3.6vw, 40px); }
/* "See it in 40 seconds" under the home headline, and the video pop-up it opens */
.watch { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 20px 8px 8px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 999px;
  background: #fff; color: var(--text); font: 800 16px/1 var(--font); cursor: pointer; transition: transform .1s, border-color .15s; }
.watch:hover { border-color: #d6d6d6; transform: translateY(-2px); }
.watch:active { transform: translateY(2px); border-bottom-width: 2px; }
.watch:focus-visible { outline: 4px solid var(--blue-d); outline-offset: 4px; }
.watch-ico { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 var(--coral-d); }
.watch-ico svg { width: 18px; height: 18px; margin-left: 3px; }
.watch-ico::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--coral); opacity: .5; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.3); opacity: 0; } }
.hero .stack { margin-top: 24px; }

.vmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(19, 31, 58, .88); animation: fade .2s ease; }
.vmodal[hidden] { display: none; }
.vbox { position: relative; width: min(980px, 100%); animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
.vbox video { width: 100%; max-height: 82vh; aspect-ratio: 16 / 9; background: #000; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.vclose { position: absolute; top: -18px; right: -18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--text); font: 900 28px/1 var(--font);
  cursor: pointer; box-shadow: 0 4px 0 var(--line), 0 10px 20px rgba(0, 0, 0, .25); display: grid; place-items: center; }
.vclose:hover { color: var(--coral); }
@media (max-width: 640px) { .vclose { top: -58px; right: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
body.no-scroll { overflow: hidden; }

/* Phones: size the hero picture by the screen's height, so the headline and both buttons fit on the first screen */
@media (max-width: 860px) {
  .hero { padding: 10px 0 36px; }
  .hero .wrap { gap: 6px; }
  .hero .art { max-width: min(340px, 33vh); max-width: min(340px, 33svh); }
  .hero h1 { font-size: clamp(24px, 6.6vw, 30px); }
  .hero .watch { margin-top: 14px; padding: 6px 16px 6px 6px; font-size: 15px; }
  .hero .watch-ico { width: 32px; height: 32px; }
  .hero .stack { margin-top: 16px; gap: 10px; }
  .hero .stack .btn { padding-top: 13px; padding-bottom: 13px; }
  .hero .stack .btn.light { padding-top: 11px; padding-bottom: 11px; }
}

/* Privacy policies: a plain, readable document */
.doc-hero { padding: 48px 0 8px; }
.doc-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; color: var(--text); line-height: 1.08; }
.doc-hero .lead { max-width: 680px; }
.section.doc-section { padding-top: 16px; }
.doc { max-width: 760px; font-size: 17px; line-height: 1.65; }
.section .doc h2 { font-size: 24px; color: var(--text); margin: 40px 0 10px; }
.doc h3 { font-size: 18px; color: var(--text); margin: 24px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc a { color: var(--blue-d); text-decoration: underline; overflow-wrap: anywhere; }
.doc .doc-date { color: var(--ink-2); font-size: 15px; }
.anim .doc .rv { opacity: 1; transform: none; transition: none; }   /* no scroll animation in the policies */

/* The research page */
.findings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.finding { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; }
.finding-big { display: inline-block; align-self: flex-start; font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.1; color: var(--text); padding: 6px 14px; border-radius: 14px; margin-bottom: 14px; }
.finding h3 { font-size: 20px; margin: 0 0 8px; color: var(--text); }
.finding p { margin: 0 0 10px; }
.finding .finding-note { font-size: 14px; color: var(--ink-2); font-style: italic; }
.src { font-size: 14px; margin-top: auto !important; padding-top: 6px; color: var(--ink-2); }
.cycle { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 32px 0 20px; counter-reset: cy; }
.cycle li { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; padding: 16px; text-align: center; position: relative; }
.cycle li b { display: block; font-size: 17px; color: var(--text); }
.cycle li span { display: block; font-size: 14px; margin-top: 4px; }
.cycle li:not(:last-child)::after { content: '→'; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 17px; font-weight: 900; line-height: 28px; text-align: center; }
.cycle { gap: 18px; }
.finding-big sup { font-size: .5em; margin-left: 2px; }
.footnotes { max-width: 900px; margin: 18px auto 0; font-size: 13px; color: var(--ink-2); }
.footnotes p { margin: 0 0 6px; }
.footnotes sup { font-weight: 900; margin-right: 3px; }
.honest { max-width: 820px; margin: 0 auto; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 22px; padding: 30px; }
.section .honest h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; }
.refs { max-width: 820px; margin: 24px auto 0; padding-left: 22px; font-size: 15px; line-height: 1.6; }
.refs li { margin: 0 0 12px; }
.refs a, .src a { overflow-wrap: anywhere; }
@media (max-width: 860px) { .findings { grid-template-columns: minmax(0, 1fr); } .cycle { grid-template-columns: minmax(0, 1fr); } .cycle li:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -23px; transform: translateX(50%); } }
.honest p { margin: 0 0 12px; } .honest p:last-child { margin-bottom: 0; }

/* Rows showing a laptop screenshot (Assessments): give the picture more room than a phone needs */
@media (min-width: 860px) {
  .row:has(.shot.wide) { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 56px; min-height: 0; }
  .row:has(.shot.wide):nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
}

/* GCSE Papers: one card per exam board, with its sets A to L */
.psets.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .psets.two { grid-template-columns: minmax(0, 1fr); } }
.pset-sets { display: grid; grid-template-columns: repeat(6, 30px); gap: 6px; margin-top: 12px; }   /* two rows of six: A–F, G–L */
.pset-l { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--text); font-weight: 900; font-size: 14px; display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0, 0, 0, .12); }

/* ---------- Pricing ---------- */
.center-hero .wrap { grid-template-columns: minmax(0, 1fr) !important; text-align: center; }
.center-hero .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.plan { position: relative; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 22px; padding: 28px 24px 24px; }
.plan.best { border-color: var(--coral); box-shadow: 0 14px 34px rgba(232, 96, 76, .14); }
.plan-badge { position: absolute; top: -14px; left: 24px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; box-shadow: 0 3px 0 var(--coral-d); }
.plan h3 { font-size: 24px; }
.plan-who { font-size: 15px; line-height: 1.5; margin-top: 6px; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.plan-price b { font-size: 46px; font-weight: 900; color: var(--text); line-height: 1; letter-spacing: -.02em; }
.plan-price span { font-size: 16px; font-weight: 700; }
.plan-vat { font-size: 13px; font-weight: 800; color: var(--grey-2); margin: 6px 0 18px; text-transform: uppercase; letter-spacing: .06em; }
.plan .ticks { margin-top: 22px; }
.plan .ticks li { font-size: 15px; }
.plans-note { max-width: 640px; margin: 28px auto 0; }
.ptable-wrap { overflow-x: auto; margin-top: 36px; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; background: #fff; }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 14px 16px; border-top: 2px solid var(--wash); text-align: center; vertical-align: middle; }
.ptable td:first-child, .ptable th:first-child { text-align: left; font-weight: 800; color: var(--text); width: 46%; }
.ptable thead th { border-top: 0; background: var(--wash); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.ptable thead th:last-child { background: #fde3de; }
.ptable .yes { margin: 0; }
.ptable .no { color: var(--grey-2); font-weight: 800; }
.school-email { display: flex; gap: 18px; align-items: flex-start; max-width: 820px; margin: 0 auto; background: var(--wash); border-radius: 20px; padding: 24px; }
.school-email > svg { flex: none; width: 44px; height: 44px; padding: 8px; background: var(--yellow); border-radius: 12px; }
.school-email h3 { font-size: 20px; }
.school-email p { font-size: 16px; margin-top: 8px; }
/* With Pricing in the menu, tighten the links a little on smaller laptops */
@media (min-width: 1061px) and (max-width: 1200px) { .top-link, .dd-btn { padding: 11px 8px; font-size: 13px; } }
.plan-for { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--text); background: var(--blue); padding: 5px 10px; border-radius: 999px; }
.plan-for.empty { visibility: hidden; }
@media (max-width: 900px) { .plan-for.empty { display: none; } }
.plan-small { font-size: 13px; line-height: 1.45; margin: 8px 0 18px; min-height: 3.9em; }
.btn.is-soon { flex-direction: column; gap: 3px; background: #f1f1f1; color: var(--grey); box-shadow: 0 4px 0 var(--line); cursor: default; }
.btn.is-soon:hover { filter: none; }
.btn.is-soon:active { transform: none; box-shadow: 0 4px 0 var(--line); }
.btn.is-soon small { font-size: 11px; letter-spacing: .08em; color: var(--grey-2); }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plans.four .plan { padding: 26px 20px 22px; }
.plans.four .plan-price b { font-size: 40px; }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; row-gap: 28px; } }
@media (max-width: 640px) { .plans.four { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.plans.four .plan-who { min-height: 4.5em; }
.plans.four .plan-small { min-height: 2.9em; }
@media (max-width: 640px) { .plans.four .plan-who, .plans.four .plan-small { min-height: 0; } }
.plan[hidden] { display: none; }
.plans.four.one-off { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; }
@media (max-width: 1100px) { .plans.four.one-off { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans.four.one-off { grid-template-columns: minmax(0, 1fr); } }
.plan-count { margin: 12px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff4f2; color: var(--coral-d); font-size: 13px; font-weight: 800; text-align: center; }
.plan-count + .ticks { margin-top: 18px; }
.plan-price { position: relative; }
.plan-price b small { position: absolute; left: 0; top: -17px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.plan-price span { white-space: nowrap; }
.plans-foot { max-width: 760px; margin: 22px auto 0; font-size: 13px; color: var(--grey); line-height: 1.5; }
.plans.one-off ~ .plans-foot { display: none; }
.plan-badge.soft { background: var(--lilac); color: var(--text); box-shadow: 0 3px 0 #a993dc; }
.doc-draft { background: var(--yellow); border-radius: 14px; padding: 14px 18px; font-size: 15px; color: var(--text); }
.doc mark { background: #fff1c2; color: var(--text); padding: 2px 4px; border-radius: 4px; font-weight: 700; }
.plans-terms { margin: 14px auto 0; font-size: 14px; color: var(--grey); }
.plans-more { margin: 26px auto 0; font-size: 16px; color: var(--text); }
