/* ==========================================================================
   Tutor website — design system
   Logical properties (margin-inline, inset-inline…) keep Arabic RTL correct.
   ========================================================================== */

:root {
  --ink: #12263a;
  --ink-2: #3d5163;
  --muted: #66788a;
  --teal: #0e4f5c;
  --teal-2: #13707f;
  --teal-soft: #e3f0ef;
  --saffron: #f2a541;
  --saffron-soft: #fdf0dc;
  --coral: #e5674b;
  --coral-soft: #fbe5df;
  --bg: #fbf7f0;
  --paper: #ffffff;
  --line: #e8e0d3;
  --wa: #0d8a4f;
  --wa-hover: #0a7442;
  --wa-bright: #25d366;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 38, 58, .06), 0 8px 24px rgba(18, 38, 58, .07);
  --shadow-lg: 0 2px 4px rgba(18, 38, 58, .06), 0 20px 48px rgba(18, 38, 58, .12);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

[dir="rtl"] {
  --font-head: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body { font-size: 18px; line-height: 1.8; }

img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-2); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
strong { font-weight: 650; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

/* ---------- icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.ico-lg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); }
.ico-xl { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: var(--saffron-soft); color: #b06d10; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(13, 138, 79, .28); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0b1a29; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(232, 224, 211, .7); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; }
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-family: var(--font-head); font-size: 1.2rem; }
.logo small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.logo strong em { font-style: italic; font-weight: 500; color: #b3741a; }
.foot-brand .logo strong em { color: var(--saffron); }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .menu summary { display: block; padding: 8px 11px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .93rem; white-space: nowrap; }
.nav a:hover { background: var(--teal-soft); color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.bar-end { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .9rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; min-width: 190px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; }
.lang a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.lang a:hover { background: var(--teal-soft); }
.lang a[aria-current="true"] { font-weight: 700; color: var(--teal); }
.lang .code { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--teal-soft); color: var(--teal); font: 700 .7rem/1 var(--font-body); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px; color: var(--ink); cursor: pointer; }
.burger .ico { width: 24px; height: 24px; }

@media (max-width: 1280px) {
  .nav { position: fixed; inset: 72px 0 auto 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 20px; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .burger { display: inline-flex; }
  .bar-end { margin-inline-start: auto; }
}
@media (max-width: 560px) { .hide-sm { display: none; } .logo small { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font: 700 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.note { font-size: .92rem; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.micro { font-size: .88rem; color: var(--muted); margin-top: 14px; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--wa); margin-top: .2em; stroke-width: 2.4; }
.checks.light .ico { color: var(--saffron); }
.mini-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; font-size: .92rem; color: var(--ink-2); text-align: start; }
.mini-checks li { display: flex; gap: 8px; align-items: flex-start; }
.mini-checks .ico { color: var(--wa); width: 1.05em; height: 1.05em; margin-top: .25em; stroke-width: 2.6; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-inline-end: -12%; top: -30%; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(14, 79, 92, .10), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--teal-2); background: linear-gradient(transparent 62%, var(--saffron-soft) 62%); }
.hero-art img { width: 100%; display: block; filter: drop-shadow(0 24px 40px rgba(18, 38, 58, .12)); }
.hero-slim { padding-block: clamp(40px, 6vw, 72px) 24px; }
.hero-slim .crumbs { justify-content: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin-inline: auto; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.offer-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.offer-card img { width: 100%; border-radius: 16px; display: block; margin-bottom: 18px; background: var(--teal-soft); }
.offer-card .tier { margin: 0; }
.offer-price { font: 700 2rem/1 var(--font-head); margin: 6px 0 14px; color: var(--ink); }
.offer-price small { font: 500 1rem var(--font-body); color: var(--muted); }

/* ---------- trust bar ---------- */
.trust { background: var(--teal); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
.trust .stat { gap: 10px; }
.trust li { display: flex; gap: 12px; align-items: center; font-weight: 550; font-size: .95rem; }
.trust .ico { color: var(--saffron); width: 26px; height: 26px; }
.trust .stat strong { font: 700 1.6rem/1 var(--font-head); color: var(--saffron); white-space: nowrap; }

/* ---------- goals / personas ---------- */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .goals { grid-template-columns: 1fr; } }
.goal { display: flex; flex-direction: column; gap: 4px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.goal:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.goal > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); margin-bottom: 12px; }
.goal:nth-child(3n+2) > .ico { background: var(--saffron-soft); color: #a8650a; }
.goal:nth-child(3n) > .ico { background: var(--coral-soft); color: #b2442b; }
.goal p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.more { font-weight: 650; color: var(--teal-2); display: inline-flex; gap: 6px; align-items: center; font-size: .95rem; }
.goal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.goal-price { font-size: .88rem; color: var(--muted); }
.goal-price strong { font: 700 1.15rem var(--font-head); color: var(--ink); }

.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1020px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .personas { grid-template-columns: 1fr; } }
.persona { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.persona .ico-lg { margin-bottom: 16px; }
.persona:nth-child(3n+2) .ico-lg { background: var(--saffron-soft); color: #a8650a; }
.persona:nth-child(3n) .ico-lg { background: var(--coral-soft); color: #b2442b; }
.pain { font-style: italic; color: var(--muted); border-inline-start: 3px solid var(--line); padding-inline-start: 12px; }
[dir="rtl"] .pain { font-style: normal; }
.outcome { display: flex; gap: 8px; font-weight: 550; flex: 1; }
.outcome .ico { color: var(--coral); margin-top: .25em; }
.link-wa { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; color: var(--wa); text-decoration: none; margin-top: 8px; }
.link-wa:hover { color: var(--wa-hover); text-decoration: underline; }

/* ---------- split / bridge ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-art img { width: 100%; display: block; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-art { max-width: 480px; margin-inline: auto; } }
.portrait { border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--teal-soft); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 10%; border-top: 2px dashed #d5c8b4; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-ico { position: relative; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--teal); }
.step:first-child .step-ico { color: var(--wa); }
.step-ico .ico { width: 30px; height: 30px; }
.step-n { position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 .8rem/26px var(--font-body); }
.step p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; inset-inline: 33px auto; border-top: 0; border-inline-start: 2px dashed #d5c8b4; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 6px 18px; text-align: start; padding-bottom: 22px; }
  .step-ico { grid-row: span 2; margin: 0; }
  .step h3 { margin: 8px 0 0; }
}

/* ---------- lesson anatomy ---------- */
.lesson-card { background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 40px); }
.lesson-bar { display: flex; gap: 4px; height: 58px; border-radius: 16px; overflow: hidden; }
.seg { display: grid; place-items: center; color: #fff; font: 700 .95rem var(--font-body); min-width: 44px; }
.seg-1, .dot.seg-1 { background: var(--teal); }
.seg-2, .dot.seg-2 { background: var(--teal-2); }
.seg-3, .dot.seg-3 { background: var(--saffron); }
.seg-4, .dot.seg-4 { background: var(--coral); }
.seg-buffer { background: repeating-linear-gradient(45deg, #e7dfd2, #e7dfd2 8px, #f1ebe1 8px, #f1ebe1 16px); color: var(--ink-2); }
.lesson-scale { display: flex; gap: 4px; font-size: .8rem; color: var(--muted); margin: 8px 2px 28px; }
.lesson-scale .end { display: flex; justify-content: space-between; min-width: 44px; }
.lesson-legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.lesson-legend li { display: flex; gap: 12px; }
.lesson-legend .dot { flex: none; width: 14px; height: 14px; border-radius: 5px; margin-top: 6px; }
.lesson-legend h3 { font-size: 1.02rem; margin-bottom: 4px; }
.lesson-legend small { color: var(--muted); font-weight: 500; }
.lesson-legend p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.lesson-buffer { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }

/* ---------- timeline (outcomes) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: t; }
.timeline li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.timeline li::after { content: ""; position: absolute; top: 34px; inset-inline-end: -14px; width: 10px; height: 10px; border-top: 2px solid var(--saffron); border-inline-end: 2px solid var(--saffron); transform: rotate(45deg); }
[dir="rtl"] .timeline li::after { transform: rotate(-45deg); }
.timeline li:last-child::after { display: none; }
.when { display: inline-block; font: 700 .8rem var(--font-body); color: var(--teal); background: var(--teal-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.timeline p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline li::after { display: none; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.features li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.features .ico-lg { margin-bottom: 16px; }
.features p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* ---------- roadmap ---------- */
.roadmap { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; max-width: 980px; }
.roadmap li { display: flex; flex-direction: column; justify-content: flex-end; text-align: center; }
.roadmap .bar { height: var(--h); border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, var(--teal-2), var(--teal)); display: grid; place-items: start center; padding-top: 12px; }
.roadmap li:nth-child(n+3) .bar { background: linear-gradient(180deg, #f6b862, var(--saffron)); }
.roadmap li:nth-child(n+5) .bar { background: linear-gradient(180deg, #ee8a71, var(--coral)); }
.roadmap .lvl { color: #fff; font: 700 1.1rem var(--font-body); }
.roadmap p { font-size: .86rem; color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 700px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }

/* ---------- pricing ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px auto 34px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: none; font: 600 .95rem var(--font-body); color: var(--ink-2); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.js .tabpanel[data-hidden] { display: none; }
.panel-title { text-align: center; font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 24px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-start { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1040px; margin: 0 auto 34px; }
.price-start .price-card { flex-direction: row; align-items: center; gap: 18px; text-align: start; padding: 20px 22px; }
.price-start .info { flex: 1; min-width: 0; }
.price-start .price { font-size: 1.3rem; }
.price-start .price small { font: 500 .9rem var(--font-body); color: var(--muted); }
.price-start .tagline { margin: 4px 0 0; }
.price-start .btn { flex: none; margin: 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.price-grid .price-card { padding: 30px 24px 24px; }
.price-grid .price { font-size: 1.5rem; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.price-card.trial { background: var(--saffron-soft); border-color: #f3d8ab; }
.price-card.featured { border: 2px solid var(--wa); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card .tier { font: 800 1.2rem/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
[dir="rtl"] .price-card .tier { letter-spacing: 0; font-size: 1.35rem; }
.price { font: 700 1.45rem/1 var(--font-head); margin: 0 0 6px; color: var(--ink-2); }
.per { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.save { color: var(--wa); font-weight: 700; }
.tagline { font-size: .93rem; color: var(--ink-2); }
.saved { font-size: .85rem; font-weight: 650; color: var(--coral); margin-top: auto; }
.price-card .btn { margin-top: auto; }
.price-card .saved + .btn { margin-top: 0; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--wa); color: #fff; font: 700 .75rem var(--font-body); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.badge-alt { background: var(--coral); }
@media (max-width: 860px) { .price-start { grid-template-columns: 1fr; max-width: 520px; } .price-grid { grid-template-columns: 1fr; max-width: 440px; } .price-card.featured { transform: none; } }
@media (max-width: 460px) { .price-start .price-card { flex-direction: column; align-items: stretch; text-align: center; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 650; }
.compare thead th:last-child { background: var(--teal); }
.compare td:last-child { background: var(--teal-soft); font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- value stack + guarantee ---------- */
.stack { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.stack li { display: flex; gap: 16px; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.section:not(.alt) .stack li { background: var(--paper); }
.stack li > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.stack h3 { font-size: 1.04rem; margin-bottom: 4px; }
.stack p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.guarantee { display: flex; gap: 22px; align-items: center; margin-top: 28px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, var(--saffron-soft), #fff6e8); border: 1px solid #f3d8ab; }
.guarantee h3 { font-family: var(--font-head); font-size: 1.45rem; margin-bottom: 6px; }
.guarantee p { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .guarantee { flex-direction: column; align-items: flex-start; } }
.scarcity { display: flex; gap: 10px; align-items: flex-start; justify-content: center; max-width: 760px; margin: 24px auto 0; font-weight: 600; color: var(--coral); }
.scarcity .ico { margin-top: .25em; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.stars { color: var(--saffron); display: flex; gap: 2px; }
.stars .ico { fill: currentColor; }
.review blockquote { margin: 12px 0; font-size: 1.02rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.review figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.review figcaption small { display: block; }
.review .avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-weight: 700; }
.review blockquote { font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.reviews { max-width: 980px; margin-inline: auto; }
.portrait.photo { width: 100%; aspect-ratio: 4 / 4.55; object-fit: cover; object-position: 50% 30%; }

/* ---------- prose / faq ---------- */
.prose h2 { margin-bottom: 18px; }
.prose h3 { font-size: 1.2rem; margin-top: 30px; }
.prose p { color: var(--ink-2); }
.terms h2 { margin: 36px 0 12px; font-size: 1.45rem; }
.terms ul { margin: 0; padding-inline-start: 1.2em; }
.terms li { color: var(--ink-2); margin: 8px 0; }
.terms-note { margin-top: 36px; font-size: .92rem; color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s ease; color: var(--teal); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.answer { padding: 0 22px 6px; color: var(--ink-2); }

/* ---------- CTA + WhatsApp builder ---------- */
.cta-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset-inline-start: -10%; bottom: -40%; width: 60vw; max-width: 760px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(242, 165, 65, .18), transparent 70%); }
.cta-section .wrap { position: relative; }
.cta-section h2 { color: #fff; }
.cta-section .lead { color: #cfd8e1; }
.cta-section .eyebrow { color: var(--saffron); }
.builder { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field:first-child { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.field input, .field select { font: 500 1rem var(--font-body); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366788a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:focus, .field select:focus { outline: 2px solid var(--teal-2); outline-offset: 1px; border-color: transparent; }
.preview { grid-column: 1 / -1; background: #e9e3d9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.4' fill='%23d8cfc1'/%3E%3C/svg%3E"); border-radius: 16px; padding: 14px; }
.preview-label { font-size: .78rem; font-weight: 650; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; }
[dir="rtl"] .preview-label { letter-spacing: 0; }
.bubble { background: #d9fdd3; border-radius: 12px 12px 12px 4px; padding: 12px 14px; font-size: .92rem; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); max-width: 92%; margin-inline-start: auto; border-end-end-radius: 4px; border-end-start-radius: 12px; min-height: 60px; }
.builder .btn, .builder .note { grid-column: 1 / -1; }
.builder .note { margin: 0; justify-content: flex-start; font-size: .82rem; }
@media (max-width: 560px) { .builder { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #0b1a29; color: #b9c6d2; padding-top: 64px; padding-bottom: 96px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font: 700 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
[dir="rtl"] .site-footer h2 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7e0e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo small { color: #9fb0bf; display: block; }
.foot-brand p { max-width: 360px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #1f3346; font-size: .85rem; color: #8a9cad; }
.foot-bottom p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- floating WhatsApp ---------- */
.float-wa { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--wa-bright); color: #06341d; padding: 13px 18px 13px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(13, 138, 79, .35); transition: transform .2s ease; }
[dir="rtl"] .float-wa { padding: 13px 14px 13px 18px; }
.float-wa:hover { transform: translateY(-2px) scale(1.02); color: #06341d; }
.float-wa .ico { width: 26px; height: 26px; }
@media (max-width: 560px) { .float-wa span { display: none; } .float-wa { padding: 15px; } }
.float-wa.is-hidden, .float-wa.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }

/* ---------- misc ---------- */
.lang-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.page-404 main { min-height: 80vh; display: grid; place-items: center; }

/* ---------- live availability ---------- */
.avail-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin: -18px 0 28px; color: var(--muted); font-size: .93rem; }
.avail-meta .ico { color: var(--coral); }
.avail-count { font-weight: 700; color: var(--coral); }
.zone-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.zone-switch button { font: inherit; font-size: .88rem; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.zone-switch button[aria-pressed="true"] { background: var(--teal); color: #fff; font-weight: 600; }
.zone-switch button:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.avail-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.avail-day { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 14px; box-shadow: 0 1px 2px rgba(18, 38, 58, .04); }
.avail-day h3 { margin: 0 0 12px; text-align: center; font-size: 1rem; text-transform: capitalize; }
.avail-day h3 small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.avail-slots { display: grid; gap: 7px; }
.slot { display: block; width: 100%; padding: 10px 8px; border-radius: 12px; border: 1px solid #c7e8d4; background: #eaf7ef; color: #0a6b3d; font: 700 .98rem var(--font-body); cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.slot:hover, .slot:focus-visible { background: var(--wa); border-color: var(--wa); color: #fff; transform: translateY(-1px); }

.sheet { border: 0; padding: 0; border-radius: 26px; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.sheet::backdrop { background: rgba(11, 26, 41, .55); backdrop-filter: blur(3px); }
.sheet form { position: relative; padding: 28px 24px 22px; display: grid; gap: 14px; }
.sheet h3 { font-family: var(--font-head); font-size: 1.55rem; margin: -6px 0 0; text-transform: capitalize; }
.sheet .eyebrow { margin: 0; }
.sheet-her { margin: -8px 0 0; color: var(--muted); font-size: .92rem; }
.sheet-close { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.sheet fieldset { border: 0; padding: 0; margin: 0; }
.sheet legend { font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .92rem; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.sheet .note { margin: 0; font-size: .85rem; }
@media (max-width: 560px) {
  .sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 26px 26px 0 0; }
  .avail-days { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- navigation: exam dropdown + level-test pill ---------- */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ico { width: 1em; height: 1em; transition: transform .2s ease; }
.menu[open] summary .ico { transform: rotate(180deg); }
.menu summary:hover, .menu summary.active { background: var(--teal-soft); color: var(--teal); }
.menu ul { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 210px; display: grid !important; gap: 2px; padding: 8px; list-style: none; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; }
.menu ul a { border-radius: 10px; }
.nav-test a { background: var(--saffron-soft); color: #8a5208; }
.nav-test a:hover, .nav-test a[aria-current="page"] { background: var(--saffron); color: var(--ink); }
@media (max-width: 1280px) {
  .menu ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .menu summary { padding: 12px 14px; font-size: 1.05rem; }
}

/* ---------- level-test banner ---------- */
.test-banner-section { padding-block: 24px; }
.test-banner { display: flex; align-items: center; gap: 28px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: linear-gradient(120deg, var(--saffron-soft), #fff4e2 55%, var(--teal-soft)); border: 1px solid #f0dcb8; }
.test-banner h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.test-banner p { margin: 0; color: var(--ink-2); }
.test-banner .eyebrow { margin-bottom: 6px; }
.tb-copy { flex: 1; }
.tb-badge { display: flex; align-items: flex-end; gap: 6px; flex: none; }
.tb-badge span { display: grid; place-items: end center; width: 40px; padding-bottom: 6px; border-radius: 10px 10px 4px 4px; color: #fff; font: 700 .8rem var(--font-body); }
.tb-badge span:nth-child(1) { height: 38px; background: var(--teal-2); }
.tb-badge span:nth-child(2) { height: 58px; background: var(--saffron); color: var(--ink); }
.tb-badge span:nth-child(3) { height: 80px; background: var(--coral); }
@media (max-width: 760px) { .test-banner { flex-direction: column; align-items: flex-start; } .test-banner .btn { width: 100%; } }

/* ---------- exam pages: at a glance, score table, mistakes ---------- */
.glance-value { font: 700 1rem var(--font-body); color: var(--coral); margin: -4px 0 8px !important; }
.score-table td:last-child { background: none; font-weight: 400; }
.score-table tbody th { color: var(--teal); font: 700 1.05rem var(--font-head); white-space: nowrap; }
.score-table thead th:last-child { background: var(--ink); }
.mistakes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mistakes li { display: flex; gap: 16px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.mistakes .num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: #b2442b; font-weight: 700; }
.mistakes h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mistakes p { margin: 0; color: var(--ink-2); }
.persona-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; margin-top: 8px; }
.persona-foot .link-wa { margin-top: 0; }

/* ---------- level test ---------- */
.quiz-section { padding-top: 24px; }
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); min-height: 360px; }
.quiz-screen { display: grid; gap: 18px; justify-items: center; text-align: center; }
.quiz-screen h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.quiz-subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 560px; }
.subject-card { display: grid; justify-items: center; gap: 10px; padding: 20px 12px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.subject-card:hover { transform: translateY(-2px); }
.subject-card[aria-pressed="true"] { border-color: var(--wa); background: #eaf7ef; }
.subject-card .lang-chip { width: 46px; height: 34px; font-size: .85rem; }
.quiz-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font-size: .9rem; color: var(--muted); }
.quiz-back { background: none; border: 0; color: var(--muted); font: 600 .9rem var(--font-body); cursor: pointer; padding: 6px 0; }
.quiz-back:disabled { visibility: hidden; }
.quiz-progress { width: 100%; height: 8px; border-radius: 99px; background: #efe8dc; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-2), var(--wa)); border-radius: 99px; transition: width .25s ease; }
.quiz-instruction { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.quiz-q { font: 600 clamp(1.25rem, 3vw, 1.6rem)/1.4 var(--font-body); margin: 0; color: var(--ink); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.quiz-option { padding: 16px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); font: 600 1.05rem var(--font-body); color: var(--ink); cursor: pointer; text-align: center; transition: border-color .12s ease, background-color .12s ease; }
.quiz-option:hover { border-color: var(--teal-2); }
.quiz-option.chosen { border-color: var(--teal); background: var(--teal-soft); }
.quiz-skip { background: none; border: 1px dashed var(--line); border-radius: 12px; padding: 10px 16px; color: var(--muted); font: 600 .92rem var(--font-body); cursor: pointer; }
.quiz-skip:hover { border-color: var(--muted); color: var(--ink-2); }
.quiz-result .level-big { font: 700 clamp(3rem, 9vw, 4.6rem)/1 var(--font-head); color: var(--teal); margin: 0; }
.quiz-result .level-name { font-weight: 700; font-size: 1.15rem; margin: 0; }
.quiz-result .score { color: var(--muted); margin: 0; }
.level-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; max-width: 460px; }
.level-scale span { padding: 8px 0; border-radius: 10px; background: #efe8dc; color: var(--muted); font-weight: 700; font-size: .85rem; }
.level-scale span.on { background: var(--teal); color: #fff; }
.level-scale span.you { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(229, 103, 75, .35); }
.quiz-result .next { max-width: 520px; color: var(--ink-2); margin: 0; }
.quiz-result .rec { max-width: 520px; padding: 14px 16px; border-radius: 14px; background: var(--saffron-soft); font-weight: 600; margin: 0; }
.quiz-actions { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.quiz-actions .btn { width: 100%; }
.quiz .note { justify-content: center; text-align: center; margin: 0; }
@media (max-width: 560px) { .quiz-options { grid-template-columns: 1fr; } .quiz-subjects { grid-template-columns: 1fr; } .subject-card { grid-auto-flow: column; justify-content: start; } }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card .eyebrow { margin-bottom: 4px; }
.post-card h3 { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.3; }
.post-card p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 6px; justify-content: space-between; color: var(--muted); font-size: .88rem; padding-top: 12px; border-top: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.article-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-section { padding-top: 24px; }
.article-grid { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 56px; justify-content: center; align-items: start; }
.toc { position: sticky; top: 96px; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; }
.toc-title { font-weight: 700; margin: 0 0 8px; }
.toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.article-body { font-size: 1.06rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin: 42px 0 14px; scroll-margin-top: 96px; }
.article-body h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.article-body ul, .article-body ol { padding-inline-start: 22px; color: var(--ink-2); display: grid; gap: 6px; margin: 0 0 18px; }
.article-body li::marker { color: var(--teal-2); }
.article-body .callout { padding: 18px 20px; border-radius: 16px; background: var(--teal-soft); border-inline-start: 4px solid var(--teal); margin: 0 0 24px; }
.article-body .callout p { margin: 0; color: var(--ink); }
.article-body .table-wrap { margin: 8px 0 24px; }
.md-table td:last-child { background: none; font-weight: 400; }
.md-table thead th:last-child { background: var(--ink); }
.article-body .faq { margin-top: 10px; }
/* inline cards inside articles: [[cta: …]] books a trial, [[test]] opens the free level test */
.article-body .art-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px 26px; align-items: center; margin: 30px 0; padding: 24px 26px; border-radius: var(--radius);
  background: radial-gradient(circle at 100% 0, rgba(242, 165, 65, .22), transparent 55%), var(--ink); color: #fff; box-shadow: 0 18px 40px -22px rgba(18, 38, 58, .6); }
.article-body .art-cta .eyebrow { color: var(--saffron); margin: 0 0 6px; }
.article-body .art-cta h3 { color: #fff; margin: 0 0 6px; font-family: var(--font-head); font-size: 1.3rem; }
.article-body .art-cta p { margin: 0; color: rgba(255, 255, 255, .82); }
.article-body .art-cta-actions { display: grid; gap: 8px; justify-items: stretch; }
.article-body .art-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.article-body .art-cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.article-body .art-test { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: 28px 0; padding: 18px 20px; border-radius: var(--radius);
  background: var(--teal-soft); border: 1px dashed var(--teal-2); }
.article-body .art-test h3 { margin: 0 0 2px; font-size: 1.08rem; }
.article-body .art-test p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.article-body .art-test-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--teal);
  font: 700 .78rem/1.05 var(--font-body); text-align: center; letter-spacing: .04em; border: 1px solid var(--line); }
@media (max-width: 640px) {
  .article-body .art-cta { grid-template-columns: 1fr; padding: 22px 20px; }
  .article-body .art-test { grid-template-columns: auto 1fr; }
  .article-body .art-test .btn { grid-column: 1 / -1; }
}
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.readbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--saffron)); }
[dir="rtl"] .readbar i { transform-origin: 100% 50%; }
.article-end { display: grid; gap: 24px; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.author-box .portrait { width: 86px; height: 86px; border-radius: 50%; flex: none; aspect-ratio: 1; box-shadow: none; }
.author-box p { margin: 0; color: var(--ink-2); }
.author-box .eyebrow { margin-bottom: 4px; }
.article-cta { padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: var(--ink); color: #fff; }
.article-cta h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.article-cta p { color: #cfd8e1; }
.article-cta .btn-ghost { color: #fff; border-color: #fff; }
.article-cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.article-cta .related { margin: 14px 0 0; font-size: .95rem; }
.article-cta .related a { color: var(--saffron); }
.article-cta .related .btn { color: #fff; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; } }

.lang-chip { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 9px; background: var(--teal-soft); color: var(--teal); font: 700 .8rem var(--font-body); letter-spacing: .04em; flex: none; }
.stack li > .lang-chip { width: 42px; height: 42px; border-radius: 12px; }
.subject-card[aria-pressed="true"] .lang-chip { background: var(--wa); color: #fff; }
.quiz-q .blank { display: inline-block; min-width: 3.2em; border-bottom: 3px solid var(--saffron); color: transparent; margin: 0 .15em; line-height: 1; }
.logo span { white-space: nowrap; }
@media (min-width: 1281px) and (max-width: 1500px) { .site-header .logo small { display: none; } }
.site-header .wrap { max-width: 1340px; }
.bar { gap: 16px; }
.nav ul { gap: 2px; }
.cv-section { padding-top: 0; }
.cv { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.cv::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 58px; border-inline-start: 2px dashed #d5c8b4; }
.cv li { position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: start; }
.cv .years { position: relative; z-index: 1; justify-self: start; padding: 6px 10px; border-radius: 999px; background: var(--teal); color: #fff; font: 700 .82rem var(--font-body); white-space: nowrap; }
.cv li > div { padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.cv h3 { margin-bottom: 2px; }
.cv .place { color: var(--coral); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.cv li p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .cv::before { display: none; } .cv li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- home hero photo ---------- */
.hero-photo { position: relative; max-width: 460px; margin-inline: auto; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 34px; border: 6px solid #fff; box-shadow: var(--shadow-lg); filter: none; }
.hello { position: absolute; padding: 9px 16px; border-radius: 18px; font: 700 1rem var(--font-body); box-shadow: 0 10px 24px rgba(18, 38, 58, .18); white-space: nowrap; }
.hello::after { content: ""; position: absolute; bottom: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.hello-1 { top: 7%; inset-inline-start: -7%; background: var(--coral); color: #fff; }
.hello-1::after { inset-inline-start: 22px; }
.hello-2 { top: 17%; inset-inline-end: -8%; background: var(--teal); color: #fff; }
.hello-2::after { inset-inline-end: 22px; }
.hello-3 { top: 52%; inset-inline-end: -6%; background: var(--saffron); color: var(--ink); }
.hello-3::after { inset-inline-end: 18px; }
.hello-4 { top: 40%; inset-inline-start: -8%; background: #fff; color: var(--ink); font-family: "IBM Plex Sans Arabic", var(--font-body); }
.hello-4::after { inset-inline-start: 18px; }
.hero-stat { position: absolute; bottom: 20px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lg); white-space: nowrap; }
[dir="rtl"] .hero-stat { transform: translateX(50%); }
.hero-stat strong { font: 700 1.5rem var(--font-head); color: var(--coral); }
.hero-stat span { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.portrait.photo { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .hero-photo { max-width: 340px; margin-top: 8px; } .hello { font-size: .88rem; padding: 7px 12px; } .hello-1, .hello-4 { inset-inline-start: -3%; } .hello-2, .hello-3 { inset-inline-end: -3%; } }

/* ---------- citizenship course ---------- */
.offer-title { font: 700 1.25rem/1.3 var(--font-head); margin: 4px 0 14px; }
.course-grid { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
@media (max-width: 760px) { .course-grid { grid-template-columns: 1fr; } }

/* ---------- group lessons & speaking club ---------- */
.group-size { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: .92rem; }
.group-size .ico { width: 1.15em; height: 1.15em; }
#group-lessons .price small { font: 600 .9rem var(--font-body); color: var(--muted); }
.group-themes { margin-top: 64px; }
.group-themes .section-head h3 { font: 700 clamp(1.4rem, 2.6vw, 1.85rem)/1.2 var(--font-head); }
.group-themes .features h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pdf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; text-align: start; }
.pdf-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.pdf-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.pdf-card span { flex: 1; display: grid; }
.pdf-card small { color: var(--muted); }
.pdf-card > .ico:last-child { color: var(--teal-2); }

/* ---------- local-currency hint, pay links, referral banner, live groups, company page ---------- */
.approx { display: block; margin-top: 4px; font: 600 .82rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.goal-price .approx { display: inline; margin: 0 0 0 6px; }
.offer-price .approx { font-size: .9rem; }
.card-actions { display: grid; gap: 8px; justify-items: stretch; flex: none; }
.price-start .card-actions { justify-items: end; }
@media (max-width: 460px) { .price-start .card-actions { justify-items: stretch; } } /* stacked card on phones: full-width buttons under the centred text */
.pay-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .92rem var(--font-body); color: var(--teal); text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1.5px solid currentColor; background: #fff; }
.pay-link:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.price-card > .pay-link { margin-top: 10px; width: 100%; }
.ref-banner { background: linear-gradient(90deg, var(--saffron), #f6c070); color: var(--ink); }
.ref-banner .wrap { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-block: 8px; }
.ref-banner p { margin: 0; flex: 1; font-size: .95rem; }
.ref-close { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.group-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.group-card { display: grid; gap: 8px; padding: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.group-card h3 { margin: 0; font-family: var(--font-head); font-size: 1.25rem; }
.group-meta { margin: 0; color: var(--ink-2); font-size: .92rem; }
.group-seats { margin: 4px 0 0; font-weight: 700; color: var(--coral); }
.group-card.is-full .group-seats { color: var(--muted); }
.group-bar { height: 8px; border-radius: 99px; background: #efe8dc; overflow: hidden; }
.group-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--coral)); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps-4 { grid-template-columns: 1fr; } }
.biz-art { border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--teal-soft); }

/* Hero chip: face + Google stars next to the CTA on phones (the big photo sits below the fold there) */
.hero-chip { display: none; align-items: center; gap: 12px; margin-top: 22px; }
.hero-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-lg); }
.hero-chip strong { display: block; line-height: 1.2; }
.hero-chip small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.chip-stars { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-2); text-decoration: none; margin-top: 2px; }
.chip-stars .ico { width: 13px; height: 13px; }
.hero-chip + .cta-row { margin-top: 16px; }
@media (max-width: 900px) { .hero-chip { display: flex; } }

/* Mid-page booking strip */
.cta-strip { padding: 8px 0 56px; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 18px 28px; flex-wrap: wrap; text-align: center; }
.cta-strip p { margin: 0; font: 600 1.15rem var(--font-head); color: var(--ink); }

/* Phones: tighter cards so the home page scrolls less */
@media (max-width: 600px) {
  .goals { gap: 12px; }
  .goal { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 18px; }
  .goal > .ico { width: 42px; height: 42px; padding: 10px; margin: 0; grid-row: span 2; }
  .goal h3 { margin: 0; align-self: center; }
  .goal p { grid-column: 2; margin: 2px 0 0; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .goal-foot { grid-column: 1 / -1; padding-top: 10px; margin-top: 10px; }
  .stack { gap: 10px; }
  .stack li { padding: 16px; gap: 12px; }
  .stack li > .ico, .stack li > .lang-chip { width: 36px; height: 36px; padding: 8px; flex: none; }
  .stack p { font-size: .92rem; }
}

/* <picture> wrappers should not change the layout of the image inside */
picture { display: contents; }

/* Goal planner: "when will I reach B2?" */
.planner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; max-width: 980px; margin-inline: auto; }
.planner-form, .planner-result { background: var(--paper); border-radius: 26px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.planner-form { display: grid; gap: 14px; align-content: start; }
.planner-form select { width: 100%; }
.planner-test { font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.planner-result { display: flex; flex-direction: column; gap: 12px; text-align: center; border: 2px solid var(--teal-soft); }
.planner-result p { margin: 0; }
.pr-lead { color: var(--muted); font-weight: 600; }
.pr-date { font: 700 clamp(2.2rem, 6vw, 3.2rem)/1.05 var(--font-head); color: var(--teal); }
.pr-meta { color: var(--ink-2); }
.pr-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 4px 0; }
.pr-track span { padding: 8px 0; border-radius: 10px; background: #efe8dc; color: var(--muted); font-weight: 700; font-size: .85rem; transition: background .25s ease, color .25s ease; }
.pr-track span.on { background: var(--teal); color: #fff; }
.pr-track span.path { background: var(--saffron-soft); color: #a8650a; }
.pr-track span.goal { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(229, 103, 75, .35); }
.pr-faster { font-size: .92rem; color: var(--wa); font-weight: 600; }
.pr-rec { padding: 12px 14px; border-radius: 14px; background: var(--saffron-soft); font-weight: 600; }
.pr-prices { font-size: .9rem; font-weight: 600; }
.planner-result .note { font-size: .8rem; color: var(--muted); }
@media (max-width: 800px) { .planner { grid-template-columns: 1fr; } }

/* Level test: shareable result card */
.share-box { display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 420px; margin-top: 10px; }
.share-card { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.share-actions .btn { width: 100%; }
.share-actions .btn-dark { grid-column: 1 / -1; }
.share-actions .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Package value stack (Hormozi): what's inside, what it's worth, bonuses on 60/90 */
.value-line { font-size: .88rem; color: var(--muted); margin: 0 0 2px; }
.value-line s, .vstack-total s { color: var(--coral); font-weight: 700; text-decoration-thickness: 2px; }
.vstack { text-align: start; margin: 14px 0 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.vstack summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--teal); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.vstack summary::-webkit-details-marker { display: none; }
.vstack summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.vstack[open] summary::after { content: "–"; }
.vstack ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.vstack li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.vstack li .ico { color: var(--wa); width: 1.05em; height: 1.05em; margin-top: .2em; stroke-width: 2.6; grid-row: span 2; }
.vstack .worth { grid-column: 2; font-size: .78rem; font-weight: 700; color: var(--muted); }
.vstack .worth.incl { color: var(--wa); }
.vstack li.bonus { background: var(--saffron-soft); border-radius: 10px; padding: 8px 10px; }
.vstack li.bonus .ico { color: #a8650a; }
.bonus-tag { display: inline-block; font-size: .68rem; letter-spacing: .06em; background: var(--coral); color: #fff; padding: 2px 7px; border-radius: 999px; margin-inline-end: 4px; vertical-align: 1px; }
.vstack-total, .vstack-pay { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; font-size: .92rem; }
.vstack-total { padding-top: 10px; border-top: 1px dashed var(--line); }
.vstack-pay strong { font: 700 1.25rem var(--font-head); color: var(--ink); }
.card-guarantee { display: flex; gap: 8px; align-items: flex-start; text-align: start; font-size: .8rem; line-height: 1.4; color: var(--ink-2); margin: 12px 0 0; }
.card-guarantee .ico { flex: none; width: 18px; height: 18px; color: var(--wa); margin-top: 1px; }
.vstack li.locked { border: 1px dashed #f3d8ab; border-radius: 10px; padding: 8px 10px; color: #a8650a; font-weight: 600; }
.vstack li.locked .ico { color: #a8650a; grid-row: auto; }

/* USD pages seen from Turkey: link to the lira prices with card payment */
.try-hint { text-align: center; margin: -8px 0 22px; }
.try-hint a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font: 600 .92rem var(--font-body); text-decoration: none; }
.try-hint a:hover { background: var(--teal); color: #fff; }

/* "Paid? Message me": shown after a card button opened the checkout in a new tab */
.paid-panel { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; max-width: 400px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 18px 50px rgba(18, 38, 58, .28); }
.paid-panel[hidden] { display: none; }
.paid-panel p { margin: 0 0 10px; padding-inline-end: 28px; }
.paid-panel .btn { margin-top: 4px; }
.paid-close { position: absolute; top: 10px; inset-inline-end: 10px; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); border-radius: 999px; }
.paid-close:hover { background: var(--teal-soft); }
.paid-close .ico { width: 18px; height: 18px; }
.paid-steps-link { display: block; text-align: center; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--teal); }

/* Direct booking in the slot sheet (main.js adds .is-direct when the booking key is published) */
.sheet:not(.is-direct) [data-direct-only], .sheet.is-direct [data-wa-only] { display: none; }
.book-form { display: grid; gap: 14px; }
.book-fields { display: grid; gap: 10px; }
.book-fields .f { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.book-fields input { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.book-fields input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.book-fields .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.book-msg { margin: 0; min-height: 1.2em; font-weight: 600; color: #b2442b; }
.sheet-alt { text-align: center; font-weight: 600; font-size: .92rem; color: var(--teal); }
.booked { display: grid; gap: 12px; text-align: center; }
.booked[hidden] { display: none; }
.booked-title { font: 700 1.5rem var(--font-head); margin: 0; }
.booked-when { font-weight: 700; font-size: 1.1rem; margin: 0; text-transform: capitalize; }
.booked p { margin: 0; }
.booked-meet a { word-break: break-all; font-weight: 600; }
.slot.is-booked { opacity: .4; text-decoration: line-through; pointer-events: none; }

/* ---------- interactive English workbooks (/ingilizce-kitaplar/) ---------- */
.bk-cover { position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 230px; border-radius: 10px 18px 18px 10px; padding: 18px 16px; color: #fff; overflow: hidden;
            display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 40px -18px rgba(18, 38, 58, .55), inset 6px 0 0 rgba(0, 0, 0, .14); }
.bk-cover::after { content: ""; position: absolute; inset: auto -30% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.bk-cover.small { max-width: 150px; }
.bk-a1 { background: linear-gradient(150deg, #2a9d8f, #1f6f66); } .bk-a2 { background: linear-gradient(150deg, #3d7dd8, #24508f); }
.bk-b1 { background: linear-gradient(150deg, #e9a23b, #c26f17); } .bk-b2 { background: linear-gradient(150deg, #d9604a, #9e3a2b); }
.bk-c1 { background: linear-gradient(150deg, #34344a, #12121c); }
.bk-lv { font: 700 3.4rem/1 var(--font-head); letter-spacing: -.02em; }
.bk-cover.small .bk-lv { font-size: 2.4rem; }
.bk-cover-en { font: 600 1.1rem var(--font-head); opacity: .92; }
.bk-by { font: 600 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.bk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.bk-card { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper);
           text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.bk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.bk-card h2 { font-size: 1.15rem; margin: 2px 0 6px; }
.bk-card p { margin: 0 0 8px; color: var(--ink-2); font-size: .92rem; }
.bk-meta { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.bk-pct { color: var(--teal); }
.bk-hero-grid { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.bk-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 600; font-size: .9rem; }
.bk-progress .meter { flex: 1; max-width: 320px; height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bk-progress .meter span { display: block; height: 100%; background: var(--teal); transition: width .4s ease; }
.bk-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: start; }
.bk-toc { position: sticky; top: 90px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.bk-toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.bk-toc a { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.bk-toc a .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 700; font-size: .75rem; }
.bk-toc a .ok { color: var(--teal); font-weight: 800; opacity: 0; }
.bk-toc a.done .ok { opacity: 1; }
.bk-toc a.done .n { background: var(--teal-soft); color: var(--teal); }
.bk-toc a[aria-current="true"] { background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.bk-others { margin: 12px 0 0; font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.bk-others a { font-weight: 700; }
.bk-main { min-width: 0; }
.bk-ch h2 { margin: 4px 0 10px; }
.bk-goal { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-soft); border-radius: 14px; padding: 12px 14px; color: var(--ink); font-weight: 500; }
.bk-goal .ico { color: var(--teal); flex: none; margin-top: 2px; }
.bk-explain { margin: 18px 0; }
.bk-explain h3 { font-size: 1.1rem; margin: 0 0 6px; }
.bk-explain p { margin: 0; line-height: 1.7; color: var(--ink-2); }
.bk-explain em, .bk-tip em { font-style: normal; font-weight: 600; color: var(--teal); }
.bk-table-wrap { margin: 16px 0; }
.bk-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bk-table th, .bk-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.bk-table th { background: var(--ink); color: #fff; font-weight: 600; }
.bk-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 10px; font-size: 1.15rem; }
.bk-trtoggle { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: 600 .8rem var(--font-body); cursor: pointer; color: var(--ink-2); }
.bk-trtoggle[aria-pressed="true"] { background: var(--teal-soft); color: var(--teal); border-color: transparent; }
.bk-exlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bk-exlist li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.bk-exlist .en { font-weight: 600; }
.bk-exlist .tr { grid-column: 2; color: var(--muted); font-size: .9rem; }
.bk-exlist.hide-tr .tr { display: none; }
.bk-say { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; cursor: pointer; }
.bk-say .ico { width: 18px; height: 18px; }
.bk-say:active { transform: scale(.94); }
.bk-tip { margin: 22px 0; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--coral) 10%, var(--paper)); border-inline-start: 4px solid var(--coral); }
.bk-tip strong { display: block; color: var(--coral); margin-bottom: 4px; }
.bk-tip p { margin: 0; color: var(--ink-2); }
.bk-vocab { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bk-flip { position: relative; min-height: 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; font: 600 .95rem var(--font-body); color: var(--ink); padding: 10px; }
.bk-flip .back { display: none; color: var(--teal); }
.bk-flip.on { background: var(--teal-soft); border-color: transparent; }
.bk-flip.on .front { display: none; }
.bk-flip.on .back { display: inline; }
.bk-exs { display: grid; gap: 18px; }
.bk-exbox { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(14px, 3vw, 22px); }
.bk-ex-ins { font-weight: 700; margin: 0 0 12px; }
.bk-item { padding: 12px 0; border-top: 1px dashed var(--line); }
.bk-item:first-of-type { border-top: 0; }
.bk-q { margin: 0 0 8px; font-weight: 600; }
.bk-q .blank { color: var(--teal); letter-spacing: .1em; }
.bk-q .no { color: var(--muted); font-weight: 500; }
.bk-wrongline { text-decoration: line-through; text-decoration-color: var(--coral); }
.bk-hint { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.bk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-opt, .bk-word, .bk-m { border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 9px 14px; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; transition: transform .15s ease; }
.bk-opt:active, .bk-word:active, .bk-m:active { transform: scale(.97); }
.bk-opt.right, .bk-m.right { background: #dff1e6; border-color: #1d8550; color: #145c38; }
.bk-opt.wrong, .bk-m.wrong { background: #f8e3de; border-color: var(--coral); color: #9e3a2b; }
.bk-opt:disabled { cursor: default; }
.bk-input { width: min(100%, 260px); font: 500 1rem var(--font-body); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.bk-input.wide { width: 100%; }
.bk-input.ok { border-color: #1d8550; background: #eef8f2; }
.bk-input.no { border-color: var(--coral); background: #fbefec; }
.bk-check { margin-top: 12px; }
.bk-fb { margin: 8px 0 0; font-size: .92rem; }
.bk-fb.ok strong { color: #1d8550; }
.bk-fb.no strong { color: var(--coral); }
.bk-fb .why { display: block; color: var(--ink-2); margin-top: 2px; }
.bk-line { min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 2px dashed var(--line); border-radius: 12px; margin-bottom: 8px; }
.bk-line.ok { border-color: #1d8550; background: #eef8f2; } .bk-line.no { border-color: var(--coral); background: #fbefec; }
.bk-pool { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-word.in { background: var(--teal-soft); border-color: transparent; }
.bk-match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-match .col { display: grid; gap: 8px; align-content: start; }
.bk-m.sel { outline: 3px solid var(--teal); }
.bk-score { margin: 12px 0 0; font-weight: 700; }
.bk-score.good { color: #1d8550; } .bk-score.low { color: var(--coral); }
.bk-chdone { margin: 16px 0 0; font-weight: 700; color: #1d8550; }
.bk-lesson { margin-top: 26px; padding: clamp(16px, 3vw, 24px); border-radius: 20px; background: linear-gradient(150deg, var(--teal-soft), var(--paper) 70%); border: 1px solid var(--line); }
.bk-lesson .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.bk-lesson .eyebrow .ico { width: 18px; height: 18px; }
.bk-lesson-sub { margin: 0 0 12px; color: var(--ink-2); }
.bk-lesson h4 { margin: 14px 0 6px; font-size: 1rem; }
.bk-speak { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.bk-speak li span { font-weight: 600; }
.bk-speak li small { display: block; color: var(--muted); }
.bk-hw { margin: 0; color: var(--ink-2); }
.bk-lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bk-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.bk-result { text-align: center; margin-top: 20px; padding: 24px; border-radius: 20px; background: var(--teal-soft); }
.bk-big { font: 700 3rem/1 var(--font-head); color: var(--teal); margin: 0 0 6px; }
@media (max-width: 900px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bk-toc { position: static; padding: 12px; }
  .bk-toc ol { display: flex; overflow-x: auto; gap: 6px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .bk-toc li { flex: none; scroll-snap-align: start; }
  .bk-toc a { grid-template-columns: 24px auto auto; white-space: nowrap; border: 1px solid var(--line); }
  .bk-hero-grid { grid-template-columns: 110px 1fr; gap: 18px; }
  .bk-hero-grid .bk-cover { max-width: 110px; padding: 12px 10px; }
  .bk-hero-grid .bk-lv { font-size: 2.2rem; }
  .bk-card { grid-template-columns: 96px 1fr; }
}

/* book visuals: timeline, sentence formula, comparison, scale, steps */
.bv { margin: 18px 0; padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bv-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.bv-title .ico { color: var(--saffron, #c98a1c); width: 18px; height: 18px; }
.bv-scroll { overflow-x: auto; }
.bv-tl { width: 100%; min-width: 520px; height: auto; display: block; font-family: var(--font-body); }
.bv-tl .ax { stroke: var(--ink-2); stroke-width: 2; } .bv-tl .ax-head { fill: var(--ink-2); }
.bv-tl .now { stroke: var(--coral); stroke-width: 2; stroke-dasharray: 5 5; }
.bv-tl .now-t { fill: var(--coral); font-size: 12px; font-weight: 700; text-anchor: middle; letter-spacing: .06em; }
.bv-tl .side { fill: var(--muted); font-size: 12px; } .bv-tl .side.end { text-anchor: end; }
.bv-tl .tick { stroke: var(--ink-2); stroke-width: 2; } .bv-tl .mark { fill: var(--ink-2); font-size: 12px; text-anchor: middle; font-weight: 600; }
.bv-tl .span.s0, .bv-tl .pt.s0 { fill: #0e6766; } .bv-tl .span.s1, .bv-tl .pt.s1 { fill: #c98a1c; } .bv-tl .span.s2, .bv-tl .pt.s2 { fill: #3d7dd8; }
.bv-tl .span { opacity: .9; }
.bv-tl .lab { fill: var(--ink); font-size: 14px; font-weight: 700; }
.bv-tl .note { fill: var(--muted); font-size: 12px; }
.bv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--line); }
.bv-row:first-of-type { border-top: 0; }
.bv-sign { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); font-weight: 800; color: var(--ink-2); flex: none; }
.bv-plus { color: var(--muted); font-weight: 700; }
.bv-chip { padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: .95rem; }
.k-s { background: #e3eefc; color: #1f4f96; } .k-v { background: var(--teal-soft); color: #0e5a59; } .k-x { background: #fbefd9; color: #8a5a10; }
.k-o { background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); } .k-n { background: #f8e3de; color: #9e3a2b; } .k-q { background: #efe6fb; color: #5b3b96; }
.bv-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; font-size: .75rem; }
.bv-legend span { padding: 2px 8px; border-radius: 999px; }
.bv-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.bv-side { border-radius: 14px; padding: 14px; }
.bv-side.l { background: var(--teal-soft); } .bv-side.r { background: #fbefd9; }
.bv-side h4 { margin: 0 0 8px; font-size: 1.05rem; }
.bv-side ul { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.bv-ex { margin: 10px 0 0; font-weight: 600; font-style: italic; }
.bv-vs { align-self: center; font: 700 .9rem var(--font-head); color: var(--muted); }
.bv-sc { display: grid; grid-template-columns: 120px 1fr 48px; gap: 4px 10px; align-items: center; padding: 5px 0; }
.bv-sc .w { font-weight: 700; } .bv-sc .v { font-size: .8rem; color: var(--muted); text-align: end; }
.bv-sc .bar { height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.bv-sc .bar i { display: block; height: 100%; background: linear-gradient(90deg, #0e6766, #c98a1c); border-radius: 99px; }
.bv-sc small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin-top: -2px; }
.bv-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.bv-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.bv-steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; }
.bv-steps small { display: block; color: var(--muted); }
.bk-reading { margin: 26px 0; padding: clamp(16px, 3vw, 24px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.bk-reading .eyebrow { display: flex; align-items: center; gap: 8px; }
.bk-reading .eyebrow .ico { width: 18px; height: 18px; }
.bk-reading h3 { margin: 6px 0 10px; font-family: var(--font-head); }
.bk-reading-text p { margin: 0 0 10px; line-height: 1.75; }
.bk-reading .bk-exbox { margin-top: 14px; background: var(--bg); }
@media (max-width: 640px) { .bv-cols { grid-template-columns: 1fr; } .bv-vs { justify-self: center; } .bv-sc { grid-template-columns: 96px 1fr 40px; } }

/* book: steps, lock, plan, overlays (lesson mode + mistakes), pronunciation */
.bk-steps { display: flex; gap: 6px; overflow-x: auto; margin: 16px 0 8px; padding-bottom: 4px; }
.bk-stepbtn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 600 .85rem var(--font-body); color: var(--ink-2); cursor: pointer; }
.bk-stepbtn .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: .75rem; }
.bk-stepbtn[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bk-stepbtn[aria-current="true"] .n { background: rgba(255, 255, 255, .18); }
.bk-stepbtn.focus { box-shadow: 0 0 0 2px var(--saffron, #c98a1c); }
.bk-stepbtn.focus::after { content: "★"; color: var(--saffron, #c98a1c); }
.bk-step { animation: fadeUp .35s ease both; }
.bk-next { margin-top: 20px; }
.bk-lessonbtn { float: right; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: 600 .78rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--teal); cursor: pointer; }
.bk-lessonbtn .ico { width: 16px; height: 16px; }
.bk-lock { margin: 18px 0; padding: 22px; border-radius: 20px; text-align: center; background: linear-gradient(160deg, var(--teal-soft), var(--paper)); border: 1px solid var(--line); }
.bk-lock-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; }
.bk-lock h3 { margin: 10px 0 6px; }
.bk-lock p { color: var(--ink-2); max-width: 520px; margin: 0 auto 12px; }
.bk-lock-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0; }
.bk-lock-form input { font: 700 1rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; width: 190px; background: var(--paper); color: var(--ink); }
.bk-lock-msg { min-height: 1.3em; font-weight: 600; color: var(--coral); }
.bk-plan { margin: 0 0 18px; padding: 16px 18px; border-radius: 18px; background: #fbf3e2; border: 1px solid #f0d9a8; }
.bk-plan .eyebrow { color: #8a5a10; margin: 0 0 6px; }
.bk-plan-note { margin: 0 0 10px; font-weight: 600; }
.bk-plan-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-plan-chip { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid #f0d9a8; text-decoration: none; color: var(--ink); font-size: .85rem; font-weight: 600; }
.bk-plan-chip.done { text-decoration: line-through; opacity: .6; }
.bk-plan-focus { margin: 10px 0 0; font-size: .88rem; color: #8a5a10; font-weight: 600; }
.bk-toc a.plan .n { background: #fbefd9; color: #8a5a10; }
.bk-missbtn { margin-top: 12px; }
.bk-streak { margin-inline-start: 6px; padding: 3px 10px; border-radius: 999px; background: #fdebd0; color: #9a5b00; font-size: .82rem; }
.bk-protected { background-repeat: repeat; -webkit-user-select: none; user-select: none; }
.bk-protected input, .bk-protected textarea { -webkit-user-select: text; user-select: text; }
@media print { .bk-protected { display: none !important; } }
.bk-mic { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fbefd9; color: #8a5a10; display: grid; place-items: center; cursor: pointer; }
.bk-mic .ico { width: 18px; height: 18px; }
.bk-mic.rec { background: var(--coral); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(217, 96, 74, .2); } }
.bk-exlist li { grid-template-columns: auto 1fr auto; }
.bk-said { grid-column: 2 / -1; display: grid; gap: 2px; font-size: .86rem; padding-top: 4px; }
.bk-said strong.ok { color: #1d8550; } .bk-said strong.mid { color: #c98a1c; } .bk-said strong.low { color: var(--coral); }
.bk-said .heard { color: var(--muted); } .bk-said .missed { color: var(--coral); }
.bk-exlist.tap-tr li { cursor: pointer; } .bk-exlist.tap-tr.hide-tr li.show-tr .tr { display: block; }
.bk-noscroll, .bk-noscroll body { overflow: hidden; }
.bk-overlay { position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow: auto; padding: max(16px, env(safe-area-inset-top)) var(--gutter) 90px; }
.bk-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.1rem; cursor: pointer; }
.bk-ov-inner { max-width: 760px; margin: 30px auto; display: grid; gap: 14px; }
.bk-lesson-ov { --bk-zoom: 1; background: radial-gradient(120% 70% at 100% 0%, rgba(217, 178, 106, .14), transparent 60%), var(--bg); }
.bk-stage { max-width: 1000px; margin: 40px auto 0; font-size: calc(1.15rem * var(--bk-zoom)); }
.bk-slide { animation: fadeUp .35s ease both; }
.bk-slide > h2 { font-size: calc(2rem * var(--bk-zoom)); margin: 0 0 18px; }
.bk-slide .bk-q, .bk-slide .bk-opt, .bk-slide .bk-word, .bk-slide .bk-input { font-size: calc(1.15rem * var(--bk-zoom)); }
.bk-big-list { display: grid; gap: 12px; padding-inline-start: 1.3em; font-size: calc(1.35rem * var(--bk-zoom)); font-weight: 600; }
.bk-big-list small { display: block; font-size: .7em; color: var(--muted); font-weight: 500; }
.bk-drill { text-align: center; padding: 30px 20px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.bk-drill-q .bk-q { font-size: calc(1.8rem * var(--bk-zoom)); }
.bk-drill-a { font: 700 calc(1.8rem * var(--bk-zoom)) var(--font-head); color: #1d8550; margin: 12px 0; }
.bk-drill-n { color: var(--muted); font-weight: 600; }
.bk-drill-nav { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.bk-stagebar { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 6px; align-items: center; padding: 8px; border-radius: 999px; background: var(--ink); box-shadow: var(--shadow-lg); z-index: 3; }
.bk-nav-btn { min-width: 44px; height: 40px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 .95rem var(--font-body); cursor: pointer; padding: 0 12px; }
.bk-count { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 8px; }

.bk-wordtest, .bk-sentences { margin-top: 20px; }
.bk-wordtest h4, .bk-sentences h4 { margin: 0 0 8px; font-size: 1.02rem; }
.bk-sent-row { display: grid; gap: 4px; margin-bottom: 12px; }
.bk-sent-row strong { color: var(--teal); }
.bk-sent-msg.ok { color: #1d8550; } .bk-sent-msg.no { color: var(--coral); }
.bk-sentences .btn-wa { margin-top: 4px; }

.bk-lock-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: start; margin-top: 8px; }
.bk-lock-col { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.bk-lock-col small { color: var(--muted); }
.bk-lock-k { margin: 0; font-weight: 700; }
.bk-lock-col .bk-lock-form { justify-content: flex-start; }
.bk-lock-col .bk-lock-form input { width: 150px; }
.bk-lock-buy { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .bk-lock-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: start; }
  .bk-hero-grid .bk-cover { max-width: 86px; padding: 10px 9px; }
  .bk-hero-grid .bk-lv { font-size: 1.8rem; } .bk-hero-grid .bk-cover-en { font-size: .85rem; }
  .bk-hero .crumbs { justify-content: flex-start; text-align: start; }
}

.bk-review-note { background: #fdf1d8; border-bottom: 1px solid #f0cf8f; color: #6f4706; font-size: .92rem; padding: 10px 0; }

/* certificate exam on the prices page: three level bands and the student discounts */
.cert-exam { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cert-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cert-tiers li { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.cert-tiers .tier { margin: 0; font-weight: 700; }
.cert-tiers .price { margin: 0; font: 700 1.6rem var(--font-head); color: var(--teal); white-space: nowrap; }
.cert-tiers .price small { font: 500 .85rem var(--font-body); color: var(--muted); }
.cert-perks { background: var(--teal-soft); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 12px; }
.cert-perks h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.cert-perks .mini-checks { margin: 0; }
@media (max-width: 760px) { .cert-exam { grid-template-columns: 1fr; } .cert-tiers li { padding: 14px 16px; } }

/* certificate page (2026-11-02) */
.steps.cert-steps { grid-template-columns: repeat(4, 1fr); }
.cert-honest { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cert-honest > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.cert-honest h3 { margin: 0 0 12px; font-size: 1.1rem; }
.cert-honest .mini-checks { margin: 0; font-size: .95rem; }
.mini-checks.is-not .ico { color: var(--coral); }
@media (max-width: 860px) { .steps.cert-steps { grid-template-columns: 1fr; } .cert-honest { grid-template-columns: 1fr; } }
.cert-tiers li { flex-wrap: wrap; }
.cert-tiers .tier-actions { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

/* home hero: three cards seen at once, each opening the details (2026-11-02) */
.hero-how { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 10px; }
.hero-how a { display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: 0 6px 18px rgba(18, 38, 58, .05); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hero-how a:hover { transform: translateY(-2px); border-color: var(--teal-2); box-shadow: 0 12px 26px rgba(18, 38, 58, .1); }
.hero-how .ico-lg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.hero-how li:last-child .ico-lg { background: #fdf0d9; color: #b7791f; }
.hero-how strong { display: block; font-size: 1rem; }
.hero-how small { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.35; }
.hero-how a > .ico:last-child { width: 18px; height: 18px; color: var(--muted); }
[dir="rtl"] .hero-how a > .ico:last-child { transform: scaleX(-1); }

/* website forms instead of WhatsApp (2026-11-02) */
.lead-alt { margin-top: 12px; }
.lead-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .9; }
.lead-toggle .ico { width: 18px; height: 18px; }
.lead-fields { display: grid; gap: 10px; margin-top: 8px; }
.lead-form { display: grid; gap: 12px; text-align: start; max-width: 520px; margin: 28px auto 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.lead-form h3 { margin: 0; font-size: 1.15rem; }
.lead-form .f, .lead-fields .f { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea, .lead-fields input { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.lead-form textarea { resize: vertical; }
.lead-form .hp, .lead-fields .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
