/* WMD Learn advert site. Plain CSS, no build step. */
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --brand-3: #6366f1;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .8em; }
.gradient-text { background: linear-gradient(90deg, var(--brand), var(--brand-2) 45%, var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15,23,42,.2); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-3)); display: grid; place-items: center; color: #fff; font-size: .9rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(15,118,110,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(15,118,110,.7); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: -1; animation: float 18s ease-in-out infinite; }
.blob.b1 { width: 460px; height: 460px; background: #99f6e4; top: -120px; left: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #c7d2fe; top: 40px; right: -100px; animation-delay: -6s; }
.blob.b3 { width: 300px; height: 300px; background: #fde68a; bottom: -140px; left: 40%; animation-delay: -12s; opacity: .3; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,25px) scale(.95); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #ecfdf5; color: var(--brand); font-weight: 600; font-size: .85rem; margin-bottom: 20px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(20,184,166,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(20,184,166,0); } 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); } }

/* Hero mock-up of the learner page */
.mock { position: relative; perspective: 1200px; }
.screen { background: #fff; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(15,23,42,.35), 0 0 0 1px var(--line); overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s; animation: rise 1s .2s both; }
.mock:hover .screen { transform: rotateY(0) rotateX(0); }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotateY(-8deg) rotateX(4deg); } }
.screen-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.screen-body { padding: 22px; }
.screen-body .hello { font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; }
.screen-body .sub { color: var(--ink-soft); font-size: .88rem; margin-bottom: 16px; }
.carry { background: linear-gradient(135deg, var(--brand), #0d9488); color: #fff; border-radius: 14px; padding: 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .9rem; }
.carry b { display: block; font-size: 1rem; }
.carry span.go { background: rgba(255,255,255,.2); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.course { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; font-size: .88rem; }
.course .thumb { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.course .t1 { background: linear-gradient(135deg, #5eead4, #0f766e); }
.course .t2 { background: linear-gradient(135deg, #a5b4fc, #6366f1); }
.course .t3 { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.course .info { flex: 1; }
.course b { display: block; }
.bar { height: 6px; background: #f1f5f9; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--brand-2); border-radius: 99px; width: 0; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.in .bar i { width: var(--w); }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite; z-index: 2; }
.float-card .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; }
.fc1 { left: -34px; bottom: 40px; }
.fc1 .ic { background: #ecfdf5; }
.fc2 { right: -20px; top: -18px; animation-delay: -2.5s; }
.fc2 .ic { background: #eef2ff; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Logos strip / marquee */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; gap: 48px; width: max-content; animation: scroll 32s linear infinite; }
.marquee span { white-space: nowrap; color: var(--ink-soft); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 100px 0; }
section.soft { background: var(--bg-soft); }
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.head .lead { margin: 0 auto; }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; background: #ecfdf5; transition: transform .4s; }
.card:hover .icon { transform: rotate(-8deg) scale(1.1); }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Toolkit cards */
.tool { padding: 30px; }
.tool::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--glow, #99f6e4); opacity: .25; filter: blur(30px); transition: transform .5s; }
.tool:hover::after { transform: scale(1.4); }
.tool .tag { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.tool h3 { margin-top: 6px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 70px; margin-bottom: 34px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: -30px; width: 2px; background: var(--line); }
.step p { color: var(--ink-soft); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); }
.stat span { color: var(--ink-soft); font-size: .95rem; }

/* Pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 40px; position: relative; }
.toggle button { position: relative; z-index: 1; background: none; border: 0; padding: 10px 22px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink-soft); border-radius: 999px; transition: color .3s; }
.toggle button[aria-pressed="true"] { color: #fff; }
.toggle .slider { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--brand); transition: transform .35s cubic-bezier(.4,1.4,.6,1), width .35s; }
.save { font-size: .75rem; background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.prices { max-width: 880px; margin: 0 auto; }
.price { padding: 36px; display: flex; flex-direction: column; }
.price.best { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price .ribbon { position: absolute; top: 18px; right: -34px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 40px; transform: rotate(45deg); }
.price .amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.price .setup { color: var(--ink-soft); font-size: .92rem; margin: 8px 0 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price li { padding: 7px 0 7px 30px; position: relative; font-size: .97rem; }
.price li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #ecfdf5; color: var(--brand); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.amount .num { display: inline-block; transition: opacity .25s, transform .25s; }
.amount .num.flip { opacity: 0; transform: translateY(-10px); }
.price-note { text-align: center; color: var(--ink-soft); font-size: .92rem; margin-top: 26px; }

/* Try it */
.try { background: linear-gradient(135deg, #0f766e, #134e4a 55%, #312e81); color: #fff; border-radius: 28px; padding: 64px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.try::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(94,234,212,.35), transparent 70%); right: -150px; top: -200px; animation: float 14s ease-in-out infinite; }
.try h2 { color: #fff; }
.try p { color: #ccfbf1; }
.try .btn-primary { background: #fff; color: var(--brand); }
.try .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.try .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.try-list { list-style: none; padding: 0; margin: 0; position: relative; }
.try-list li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; font-size: .95rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--brand); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; animation: fadein .4s; }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } }

/* CTA + footer */
.cta { text-align: center; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--ink-soft); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--ink); }

/* Enquiry page */
.form-hero { padding: 70px 0 30px; position: relative; overflow: hidden; }
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 100px; }
form.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 7px; font-size: .95rem; }
.field .opt { color: var(--ink-soft); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15,118,110,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .93rem; font-weight: 500; transition: all .2s; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(15,118,110,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .88rem; color: var(--ink-soft); margin: 4px 0 22px; }
.form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.form-msg.ok { background: #ecfdf5; color: #065f46; }
.form-msg.bad { background: #fef2f2; color: #991b1b; }
.side .card { margin-bottom: 18px; }
.done-box { text-align: center; padding: 50px 30px; }
.done-box .tick { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: #ecfdf5; display: grid; place-items: center; }
.done-box svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Phones and tablets */
@media (max-width: 960px) {
  .hero-grid, .split, .try, .form-wrap { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .mock { max-width: 480px; margin: 0 auto; }
  .try { padding: 44px 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }
  .g3, .g4, .g2, .row2 { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; border: 0; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero .actions .btn, .cta .actions .btn, .try .actions .btn { width: 100%; }
  .fc1 { left: -6px; bottom: -20px; }
  .fc2 { right: -6px; }
  .screen { transform: none; }
  form.enquiry { padding: 24px 20px; }
  .price { padding: 28px 22px; }
  footer a { margin: 0 18px 0 0; }
}

/* Respect people who turn animations off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bar i { width: var(--w); }
}
