/* ── WAJD SKILLS ──────────────────────────────────────────────────────────────
   Visual language modelled on the ReadWithUs learning-platform layout: clean white,
   Poppins headings on a deep navy, a bright sky-blue primary, soft rounded cards,
   generous whitespace. Self-contained: it also defines the CSS variables quizflow.js
   expects, so lessons and quizzes inherit the same skin without shared.css.
   Author: WAJD AI. UK English. No emoji, no em or en dashes. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ReadWithUs-style palette */
  --sky: #2dadff;
  --sky-dark: #1f93e0;
  --sky-soft: #e7f4ff;
  --soft-blue: #cdeaff;
  --ink: #0a033c;
  --ink-2: #2a2550;
  --body: #45455e;
  --muted: #8a8aa2;
  --line: #e6ecf5;
  --wash: #f5f9ff;
  --hero-top: #f5faff;
  --purple: #6b4fd0;
  --white: #ffffff;
  --success: #2e9e6e;
  --error: #e0483d;
  --shadow: 0 6px 24px rgba(10,3,60,.08);
  --shadow-lg: 0 18px 48px rgba(10,3,60,.14);
  --nav-h: 74px;

  /* Aliases so quizflow.js (which references the WAJD tokens) matches this skin */
  --cyan: #2dadff;   --cyan-light: #e7f4ff;
  --blue: #1f7fd0;   --navy: #0a033c;   --navy-dark: #070229;
  --yellow: #f5a623;
  --light-bg: #f0f5fc;
  --text-dark: #0a033c;  --text-mid: #45455e;  --text-light: #8a8aa2;
  --border: #e6ecf5;
}

html { scroll-behavior: smooth; }
body { font-family: 'Roboto', -apple-system, 'Segoe UI', sans-serif; background: var(--white); color: var(--body); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--ink); line-height: 1.18; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.rw-nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.rw-nav-in { max-width: 1180px; margin: 0 auto; height: var(--nav-h); padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rw-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.rw-logo img { width: 40px; height: 40px; border-radius: 11px; }
.rw-logo b { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: .2px; }
.rw-logo b span { color: var(--sky); }
.rw-navlinks { display: flex; align-items: center; gap: 4px; list-style: none; }
.rw-navlinks a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: 9px 15px; border-radius: 9px; transition: color .16s, background .16s; }
.rw-navlinks a:hover, .rw-navlinks a.active { color: var(--sky); background: var(--sky-soft); }
.rw-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rw-locale { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .82rem; color: var(--sky); background: var(--sky-soft); border: 1px solid var(--soft-blue); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.rw-locale svg { width: 14px; height: 14px; }
.hamburger { display: none; align-items: center; justify-content: center; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; padding: 7px; color: var(--ink); }
.hamburger svg { width: 24px; height: 24px; display: block; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; border-radius: 10px; padding: 12px 24px; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; transition: transform .16s, box-shadow .16s, background .16s, color .16s; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-fill { background: var(--sky); color: #fff; box-shadow: 0 8px 22px rgba(45,173,255,.28); }
.btn-fill:hover { background: var(--sky-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45,173,255,.36); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--soft-blue); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 12px; }
/* Aliases used by quizflow.js so the knowledge check matches this skin */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; border: none; border-radius: 10px; padding: 12px 24px; cursor: pointer; text-decoration: none; background: var(--sky); color: #fff; box-shadow: 0 8px 22px rgba(45,173,255,.28); transition: background .16s, transform .16s; }
.btn-primary:hover { background: var(--sky-dark); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; border: 1.5px solid var(--soft-blue); border-radius: 10px; padding: 11px 22px; cursor: pointer; text-decoration: none; background: #fff; color: var(--ink); transition: border-color .16s, color .16s; }
.btn-outline:hover { border-color: var(--sky); color: var(--sky); }
.btn-sm { padding: 9px 18px; font-size: .84rem; }
.btn-block { width: 100%; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.rw-hero { background: linear-gradient(180deg, var(--hero-top) 0%, #fff 60%); padding: 62px 0 78px; }
.rw-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: #eef2fb; color: var(--ink-2); border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 600; font-size: .84rem; margin-bottom: 22px; }
.eyebrow svg { width: 18px; height: 18px; color: var(--sky); }
.rw-hero h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; }
.rw-hero h1 span { color: var(--sky); }
.rw-hero .lead { font-size: 1.28rem; font-weight: 700; color: var(--ink-2); margin-bottom: 16px; line-height: 1.4; }
.rw-hero .sub { font-size: 1.02rem; color: var(--body); max-width: 40ch; margin-bottom: 30px; }
.rw-hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; background: #f3f7ff; border: 1px solid #e4edfb; border-radius: 16px; padding: 12px; }
.trust-row { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.trust-row div { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.trust-row svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* Hero illustration: a circular orbit of skill icons (no third-party imagery) */
.rw-orbit { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.rw-orbit .ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed #d9e4f7; }
.rw-orbit .ring.r2 { inset: 18%; border-color: #e6ecfa; }
.rw-orbit .disc { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff, #eef4ff); box-shadow: var(--shadow-lg); overflow: hidden; border: 5px solid #fff; }
.rw-orbit .disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.rw-orbit .node { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(10,3,60,.12); display: flex; align-items: center; justify-content: center; color: var(--sky); border: 1px solid var(--line); }
.rw-orbit .node svg { width: 30px; height: 30px; }
.rw-orbit .node.p { color: var(--purple); }
.rw-orbit .n1 { top: 2%; left: 50%; transform: translateX(-50%); }
.rw-orbit .n2 { top: 24%; right: 2%; }
.rw-orbit .n3 { bottom: 24%; right: 2%; }
.rw-orbit .n4 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.rw-orbit .n5 { bottom: 24%; left: 2%; }
.rw-orbit .n6 { top: 24%; left: 2%; }

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
section { padding: 70px 0; }
section.wash { background: var(--wash); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.sec-head.left { text-align: left; margin-left: 0; }
.kicker { display: inline-block; color: var(--sky); font-weight: 700; font-size: .8rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: 2.3rem; font-weight: 700; margin-bottom: 12px; }
.sec-head p { color: var(--body); font-size: 1.02rem; }

/* Feature/about cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat .ic { width: 58px; height: 58px; border-radius: 15px; background: var(--sky-soft); color: var(--sky); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat .ic svg { width: 30px; height: 30px; }
.feat h3 { font-size: 1.16rem; margin-bottom: 9px; }
.feat p { font-size: .93rem; color: var(--body); }

/* Track/course cards */
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.track-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; text-decoration: none; color: inherit; }
.track-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.track-top { height: 128px; display: flex; align-items: center; justify-content: center; position: relative; }
.track-top svg { width: 56px; height: 56px; color: #fff; }
.track-top .badge { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-weight: 700; font-size: .68rem; letter-spacing: .4px; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; }
.track-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.track-lanes { display: flex; gap: 6px; margin-bottom: 11px; }
.lane-tag { font-weight: 700; font-size: .66rem; letter-spacing: .4px; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; background: var(--sky-soft); color: var(--sky); }
.lane-tag.adult { background: #efeafb; color: var(--purple); }
.track-body h3 { font-size: 1.24rem; margin-bottom: 9px; }
.track-body p { font-size: .92rem; color: var(--body); flex: 1; margin-bottom: 16px; }
.track-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.track-meta .hrs { font-size: .82rem; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.track-meta .hrs svg { width: 15px; height: 15px; }
.track-go { color: var(--sky); font-weight: 700; font-size: .9rem; }
.track-card.soon { opacity: .82; }
.track-card.soon:hover { transform: none; }

/* Steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 8px; }
.step .n { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--sky); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(45,173,255,.3); }
.step h4 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: .89rem; color: var(--body); }

/* Pricing / value cards */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 820px; margin: 0 auto; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px; box-shadow: var(--shadow); position: relative; }
.price.hi { border: 2px solid var(--sky); box-shadow: var(--shadow-lg); }
.price .flag { position: absolute; top: -13px; left: 32px; background: var(--sky); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .5px; text-transform: uppercase; border-radius: 999px; padding: 6px 15px; }
.price h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price .amt { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--ink); margin: 6px 0 4px; }
.price .amt small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price .note { color: var(--body); font-size: .92rem; margin-bottom: 20px; }
.price ul { list-style: none; margin-bottom: 26px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); padding: 8px 0; }
.price li svg { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* Testimonials */
.ts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ts { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow); }
.ts .stars { color: var(--yellow); display: flex; gap: 3px; margin-bottom: 14px; }
.ts p { font-size: .96rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 18px; }
.ts .who { display: flex; align-items: center; gap: 12px; }
.ts .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--purple)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; }
.ts .who b { display: block; font-family: 'Poppins', sans-serif; color: var(--ink); font-size: .95rem; }
.ts .who span { font-size: .82rem; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, #171063 60%, var(--sky-dark) 130%); border-radius: 26px; padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 28px; font-size: 1.04rem; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; }
.stat b { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--sky); }
.stat span { color: var(--body); font-size: .92rem; font-weight: 500; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.rw-foot { background: #070229; color: rgba(255,255,255,.62); padding: 60px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand b { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.foot-brand b img { width: 34px; height: 34px; border-radius: 9px; }
.foot-brand p { font-size: .9rem; line-height: 1.7; max-width: 34ch; }
.foot-col h4 { color: #fff; font-family: 'Poppins', sans-serif; font-size: .98rem; margin-bottom: 16px; }
.foot-col a { display: block; text-decoration: none; color: rgba(255,255,255,.62); font-size: .9rem; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--sky); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .84rem; }
.foot-bottom a { color: rgba(255,255,255,.62); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* ── LANE TOGGLE ─────────────────────────────────────────────────────────── */
.lane-switch { display: inline-flex; background: #eef2fb; border-radius: 999px; padding: 5px; gap: 4px; }
.lane-switch button { border: none; background: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem; color: var(--ink-2); padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .16s, color .16s; }
.lane-switch button.on { background: var(--sky); color: #fff; box-shadow: 0 6px 16px rgba(45,173,255,.3); }

/* ── SUB-PAGE HEADER (tracks / track / unit) ─────────────────────────────── */
.page-hero { background: linear-gradient(180deg, var(--hero-top), #fff); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--sky); text-decoration: none; }
.page-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { color: var(--body); max-width: 62ch; font-size: 1.04rem; }

/* Progress bar */
.prog { height: 10px; background: #e9eefb; border-radius: 6px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--purple)); transition: width .5s ease; }

/* Unit list on a track page */
.unit-list { display: flex; flex-direction: column; gap: 14px; }
.unit-row { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .16s, box-shadow .16s; }
.unit-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.unit-row .idx { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--sky-soft); color: var(--sky); font-family: 'Poppins', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.unit-row.done .idx { background: var(--success); color: #fff; }
.unit-row .u-body { flex: 1; min-width: 0; }
.unit-row h3 { font-size: 1.1rem; margin-bottom: 3px; }
.unit-row p { font-size: .88rem; color: var(--body); }
.unit-row .u-state { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.unit-row.done .u-state { color: var(--success); }

/* Step tabs on the unit page */
.steps-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.steps-tabs button { border: 1.5px solid var(--line); background: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .88rem; color: var(--ink-2); padding: 10px 18px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .15s; }
.steps-tabs button svg { width: 17px; height: 17px; flex-shrink: 0; }
.steps-tabs button.on { background: var(--sky); color: #fff; border-color: var(--sky); }
.steps-tabs button .tick { width: 16px; height: 16px; color: var(--success); display: none; }
.steps-tabs button.done:not(.on) .tick { display: inline-block; }
.panel { display: none; }
.panel.on { display: block; }

/* Learn panel content */
.learn-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.learn-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.learn-card p { color: var(--ink-2); font-size: 1rem; }
.eg-box { background: var(--wash); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 22px; }
.eg-box h4 { font-size: 1rem; margin-bottom: 12px; color: var(--sky); }
.eg-box ul { list-style: none; }
.eg-box li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-2); font-size: .96rem; }
.eg-box li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

/* Build panel */
.build-brief { background: #fff8ec; border: 1px solid #f6e2bd; border-radius: 14px; padding: 22px 24px; margin-bottom: 20px; }
.build-brief h3 { color: #8a5a00; margin-bottom: 8px; }
.build-brief p { color: #6b4c14; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: none; }
.check-list input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sky); flex-shrink: 0; }
.check-list label { font-size: .98rem; color: var(--ink-2); }

/* Prove gate + credential */
.gate { background: var(--sky-soft); border: 1px solid var(--soft-blue); border-radius: 14px; padding: 18px 22px; margin-bottom: 22px; display: flex; gap: 14px; align-items: flex-start; }
.gate svg { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; margin-top: 1px; }
.gate p { font-size: .94rem; color: var(--ink-2); }
.cert { max-width: 720px; margin: 0 auto; background: #fff; border: 2px solid var(--sky); border-radius: 22px; padding: 48px 44px; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.cert .seal { width: 92px; height: 92px; margin: 0 auto 18px; }
.cert .lbl { color: var(--sky); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .82rem; margin-bottom: 10px; }
.cert h2 { font-size: 2rem; margin-bottom: 6px; }
.cert .name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink); border-bottom: 2px dashed var(--line); display: inline-block; padding: 4px 26px 10px; margin: 8px 0 16px; }
.cert .meta { color: var(--muted); font-size: .9rem; margin-top: 20px; }
.cert .sig { display: flex; justify-content: space-between; margin-top: 34px; gap: 20px; }
.cert .sig div { flex: 1; border-top: 1.5px solid var(--line); padding-top: 8px; font-size: .82rem; color: var(--muted); }

/* Toast */
.toast { position: fixed; top: 22px; right: 22px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 32px rgba(0,0,0,.14); font-weight: 600; font-size: .9rem; z-index: 9999; transform: translateX(140%); transition: transform .4s cubic-bezier(.34,1.56,.64,1); border-left: 4px solid var(--sky); max-width: 320px; }
.toast.show { transform: translateX(0); }
.toast.ok { border-left-color: var(--success); }

.center { text-align: center; }
.mt24 { margin-top: 24px; }
.hidden { display: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .rw-navlinks, .rw-locale { display: none; }
  .rw-nav.open .rw-navlinks { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 16px; gap: 2px; box-shadow: var(--shadow); }
  .rw-nav.open .rw-navlinks a { padding: 13px 12px; }
  .hamburger { display: inline-flex; }
  .lane-switch { display: flex; width: 100%; }
  .lane-switch button { flex: 1; padding: 10px 8px; font-size: .8rem; }
  /* Keep the whole bar on one line: shrink the mark and the call to action. */
  .rw-nav-in { padding: 0 16px; gap: 10px; }
  .rw-logo img { width: 34px; height: 34px; }
  .rw-logo b { font-size: 1.05rem; }
  .rw-actions { gap: 8px; }
  .rw-actions .btn { padding: 9px 13px; font-size: .82rem; }
  .rw-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .rw-orbit { max-width: 320px; order: -1; }
  .feat-grid, .track-grid, .ts-grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .rw-hero h1 { font-size: 2.5rem; }
  .rw-hero { padding: 40px 0 50px; }
  .sec-head h2, .cta-band h2 { font-size: 1.7rem; }
  section { padding: 50px 0; }
  .feat-grid, .track-grid, .ts-grid, .steps, .price-grid, .stats, .foot-grid { grid-template-columns: 1fr; }
  .rw-hero-cta { width: 100%; }
  .rw-hero-cta .btn { flex: 1; }
  .cert { padding: 34px 22px; }
  .cert .sig { flex-direction: column; gap: 10px; }
}
