/* English Planet — site styles */
:root {
  --cobalt: #1F33A6;
  --cobalt-deep: #141F6B;
  --lime: #C9F24D;
  --lime-soft: #F1FBD2;
  --red: #D7262E;
  --bg: #FFFFFF;
  --surface: #F2F4FB;
  --ink: #12162E;
  --muted: #4A5070;
  --line: #DDE1F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 31, 107, .12);
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 6px var(--cobalt); border-radius: 6px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40em; }
.small { font-size: .92rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.5em; border-radius: 999px; background: var(--cobalt); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--cobalt); font-size: 1rem; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--cobalt-deep); }
.btn--lime:hover { background: #d8f77a; border-color: #d8f77a; color: var(--cobalt-deep); }
.btn--white { background: #fff; border-color: #fff; color: var(--cobalt-deep); }
.btn--white:hover { background: var(--lime-soft); border-color: var(--lime-soft); }
.btn--ghost { background: transparent; color: var(--cobalt); }
.btn--ghost:hover { color: #fff; }
.btn--big { min-height: 56px; font-size: 1.08rem; padding: .8em 1.7em; }
.btn--small { min-height: 44px; padding: .5em 1.2em; font-size: .95rem; }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.pill { display: inline-block; padding: .35em .95em; border-radius: 999px; background: var(--lime-soft); color: var(--cobalt); font-weight: 700; font-size: .88rem; margin-bottom: 14px; border: 1px solid #DDF2A0; }
.pill--lime { background: var(--lime); color: var(--cobalt-deep); border-color: var(--lime); }
.hl { color: var(--lime); }

/* Call block */
.call-block { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.call-block .ring { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--cobalt-deep); display: grid; place-items: center; }
.call-block .ring svg { width: 21px; height: 21px; }
.call-block small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; line-height: 1.2; }
.call-block b { font-family: var(--head); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.call-block--light { color: #fff; }
.call-block--light small { color: #C9D0F2; }

/* Top bar + header */
.topbar { background: var(--cobalt-deep); color: #DDE2FA; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.tb-left { display: flex; gap: 22px; align-items: center; }
.tb-left span, .tb-left a { display: inline-flex; align-items: center; gap: 6px; }
.tb-left a { font-weight: 500; color: #DDE2FA; }
.topbar svg { color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 31, 107, .1); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cobalt); }
.logo img { width: 58px; height: 58px; }
.logo span { font-family: var(--head); font-weight: 800; font-size: 1.45rem; line-height: .95; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.logo b { font-weight: 800; color: var(--cobalt-deep); }
.logo span::first-line { color: var(--cobalt); }
.logo--light, .logo--light b { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--cobalt); background: var(--lime-soft); }
.nav .mobile-only { display: none; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: var(--surface); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Orbit pattern (from the logo ring) */
.hero, .section--cobalt, .page-hero .ph-text { position: relative; isolation: isolate; }
.hero::before, .section--cobalt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14;
  background:
    radial-gradient(ellipse 60% 18% at 12% 85%, transparent 96%, var(--lime) 97%, var(--lime) 98.2%, transparent 99%),
    radial-gradient(ellipse 48% 14% at 92% 10%, transparent 96%, #fff 97%, #fff 98.2%, transparent 99%);
}

/* Home hero */
.hero { background: var(--cobalt); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { color: #DDE2FA; font-size: 1.22rem; margin-bottom: 1.6em; max-width: 30em; }
.hero-note { margin: 22px 0 0; color: #C9D0F2; display: flex; align-items: center; gap: 8px; font-size: .98rem; }
.hero-note a { color: var(--lime); font-weight: 700; }
.hero-note svg { color: var(--lime); }
.hero-planet { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-planet img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); position: relative; z-index: 1; }
.orbit { position: absolute; left: -14%; right: -14%; top: 50%; height: 34%; transform: translateY(-50%) rotate(-14deg); border: 12px solid var(--lime); border-radius: 50%; z-index: 2; clip-path: inset(50% 0 0 0); }
.orbit::after { content: ""; }
.hero-planet::before { content: ""; position: absolute; left: -14%; right: -14%; top: 50%; height: 34%; transform: translateY(-50%) rotate(-14deg); border: 12px solid var(--lime); border-radius: 50%; z-index: 0; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--cobalt-deep); font-family: var(--head); font-weight: 800; font-size: 1.05rem; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.chip svg { color: var(--cobalt); width: 1.2em; height: 1.2em; }
.chip--a { top: 6%; left: 2%; }
.chip--b { bottom: 6%; right: -2%; background: var(--lime); }

/* Trust row */
.trust { margin-top: -62px; position: relative; z-index: 5; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 10px; border: 1px solid var(--line); }
.trust-row > div { display: flex; align-items: center; gap: 14px; padding: 18px 18px; }
.trust-row > div + div { border-left: 1px solid var(--line); }
.trust-row p { margin: 0; line-height: 1.3; color: var(--muted); font-size: .94rem; }
.trust-row b { display: block; color: var(--ink); font-family: var(--head); font-size: 1.08rem; font-weight: 800; }
.ti { width: 48px; height: 48px; border-radius: 50%; background: var(--cobalt); color: var(--lime); display: grid; place-items: center; flex: none; }
.ti svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tint { background: var(--surface); }
.section--cobalt { background: var(--cobalt); color: #fff; overflow: hidden; }
.section--cobalt p { color: #DDE2FA; }
.head { max-width: 720px; margin-bottom: 40px; }
.head p { color: var(--muted); font-size: 1.1rem; }

/* Skill cards */
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.skill { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.skill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.skill img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.skill-body { position: relative; padding: 44px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.skill-ic { position: absolute; top: -34px; left: 28px; width: 68px; height: 68px; border-radius: 50%; background: var(--lime); color: var(--cobalt-deep); display: grid; place-items: center; border: 5px solid #fff; }
.skill-ic svg { width: 28px; height: 28px; }
.skill h3 { font-size: 1.7rem; }
.skill p { color: var(--muted); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cobalt); padding-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 20px; height: 20px; color: var(--cobalt); background: var(--lime); border-radius: 50%; padding: 3px; margin-top: 3px; }
.ticks--big li { font-weight: 500; font-size: 1.05rem; }

/* Red-pen signature */
.redpen-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.redpen-text p { color: var(--muted); font-size: 1.08rem; }
.paper { margin: 0; position: relative; background: #fff; border-radius: 6px 6px 18px 18px; padding: 54px 34px 30px 64px; box-shadow: 0 2px 0 var(--line), 0 24px 50px rgba(20, 31, 107, .14); transform: rotate(-1deg);
  background-image: linear-gradient(90deg, transparent 46px, #F3B7BA 46px, #F3B7BA 48px, transparent 48px), repeating-linear-gradient(transparent 0 43px, #DCE3F5 43px 44px);
  background-position: 0 0, 0 40px; }
.paper figcaption { position: absolute; top: 16px; left: 64px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.paper > p { font-size: 1.18rem; line-height: 44px; margin: 0 0 18px; color: var(--ink); }
.paper del { color: #8A8FA8; text-decoration: none; background: linear-gradient(var(--red), var(--red)) no-repeat 0 55% / var(--strike, 100%) 2.5px; transition: background-size .5s ease; }
.paper ins { text-decoration: none; color: var(--red); font-weight: 700; font-style: italic; margin-left: 4px; position: relative; display: inline-block; line-height: 1.2; transform: translateY(-14px) rotate(-2deg); transition: opacity .4s .3s, transform .4s .3s; }
.paper .notes { list-style: none; margin: 0; padding: 18px 0 0; border-top: 2px dashed #F3B7BA; display: grid; gap: 8px; }
.paper .notes li { display: flex; gap: 10px; color: var(--red); font-weight: 600; font-size: .98rem; line-height: 1.4; }
.paper .notes b { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; font-size: .78rem; }
.paper.pending del { --strike: 0%; }
.paper.pending ins { opacity: 0; transform: translateY(-4px) rotate(-2deg); }

/* Who we teach */
.who-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: stretch; }
.who-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; max-height: 620px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.who-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.who-card:hover { border-color: var(--cobalt); transform: translateY(-3px); box-shadow: var(--shadow); }
.who-card h3 { margin-top: 16px; }
.who-card h3 small { display: block; font-family: var(--body); font-size: .9rem; color: var(--cobalt); font-weight: 700; letter-spacing: 0; margin-top: 4px; }
.who-card p { color: var(--muted); margin: 0; }
.who-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--cobalt); color: var(--lime); display: grid; place-items: center; flex: none; }
.who-ic svg { width: 25px; height: 25px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border-radius: 18px; padding: 28px 24px; position: relative; }
.section--tint .steps li { background: #fff; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--cobalt); color: var(--lime); font-family: var(--head); font-weight: 800; font-size: 1.35rem; display: grid; place-items: center; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* Teacher */
.teacher { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.teacher-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 52% 40%; border: 8px solid var(--lime); width: 100%; max-width: 480px; margin-inline: auto; }
.teacher h2 { color: #fff; }
.why { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.why li { display: flex; gap: 14px; align-items: flex-start; color: #DDE2FA; }
.why b { color: #fff; }
.why svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(201, 242, 77, .16); color: var(--lime); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-family: var(--head); font-weight: 700; font-size: 1.18rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--lime-soft); color: var(--cobalt); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--lime); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 46em; }
.ask-card { margin-top: 28px; background: var(--cobalt); color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 14px; justify-items: start; }
.ask-card p { color: #DDE2FA !important; margin: 0; }
.ask-card b { display: block; color: #fff; font-family: var(--head); font-size: 1.25rem; }
.ask-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--lime); color: var(--cobalt-deep); display: grid; place-items: center; }
.ask-ic svg { width: 24px; height: 24px; }
.ask-card .btn { background: #fff; border-color: #fff; color: var(--cobalt-deep); }

/* Inner page hero */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--cobalt); color: #fff; min-height: 480px; }
.page-hero .ph-text { padding: clamp(44px, 6vw, 84px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 84px) max(20px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.page-hero .lead { color: #DDE2FA; margin-bottom: 1.5em; }
.page-hero .ph-img { position: relative; }
.page-hero .ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-bottom-left-radius: 140px; }
.crumbs { font-size: .92rem; margin-bottom: 16px; color: #C9D0F2; }
.crumbs a { color: inherit; }
.about-hero .crumbs, .contact-sec .crumbs { color: var(--muted); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: var(--muted); font-size: 1.06rem; }
.split--img { grid-template-columns: .9fr 1.1fr; }
.rounded { border-radius: 22px; width: 100%; object-fit: cover; max-height: 560px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: 16px; padding: 18px 20px; }
.checklist li > svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--cobalt); color: var(--lime); }
.checklist b { display: block; font-family: var(--head); font-size: 1.12rem; }
.checklist span { color: var(--muted); }

/* Phrase swaps */
.swaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.swap { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.swap .from { color: #8A8FA8; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; margin: 0 0 8px; font-size: 1.05rem; }
.swap .to { font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: var(--cobalt); line-height: 1.2; margin: 0 0 12px; padding-left: 30px; position: relative; }
.swap .to::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141F6B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.swap small { color: var(--muted); font-size: .92rem; display: block; }

/* Writing layers */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.layer { border-radius: 18px; padding: 26px 24px; background: var(--surface); border-top: 6px solid var(--cobalt); }
.layer:nth-child(2) { border-top-color: #3A50C4; }
.layer:nth-child(3) { border-top-color: #7A8BE0; }
.layer:nth-child(4) { border-top-color: var(--lime); }
.layer p { color: var(--muted); margin: 0; }
.layer-ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--cobalt); display: grid; place-items: center; margin-bottom: 16px; }
.layer-ic svg { width: 23px; height: 23px; }

/* About */
.about-hero { padding: clamp(48px, 7vw, 96px) 0; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-grid p:not(.lead):not(.crumbs) { color: var(--muted); }
.about-photo { position: relative; }
.about-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--lime); }
.about-photo::before { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 30%; border: 10px solid var(--cobalt); border-radius: 50%; transform: translateY(-50%) rotate(-14deg); z-index: -1; }
.about-hero { position: relative; isolation: isolate; overflow: hidden; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.promise h3 { margin-top: 16px; }
.promise p { color: var(--muted); margin: 0; }
.two-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.big-link { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 26px; color: #DDE2FA; text-decoration: none; transition: background .2s; }
.big-link:hover { background: rgba(255, 255, 255, .15); }
.big-link .who-ic { background: var(--lime); color: var(--cobalt-deep); }
.big-link b { display: block; color: #fff; font-family: var(--head); font-size: 1.35rem; }
.big-link .go { margin-left: auto; width: 26px; height: 26px; color: var(--lime); }

/* Contact */
.contact-sec { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); background: linear-gradient(var(--surface), #fff 60%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: "intro form" "more form"; column-gap: 48px; align-items: start; }
.contact-info { grid-area: intro; }
.contact-form { grid-area: form; }
.contact-more { grid-area: more; }
@media (max-width: 920px) { .contact-grid { grid-template-areas: "intro" "form" "more"; } .contact-more { margin-top: 28px; } }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.c-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--ink); min-width: 0; }
a.c-card:hover { border-color: var(--cobalt); }
.c-card small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.c-card b { font-family: var(--head); font-size: 1.08rem; overflow-wrap: anywhere; }
.c-card .who-ic { width: 46px; height: 46px; }
.c-card .who-ic svg { width: 21px; height: 21px; }
.c-note h2 { font-size: 1.4rem; }
.contact-form .qform { box-shadow: var(--shadow); }

/* CTA band */
.band { position: relative; isolation: isolate; color: #fff; padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 31, 107, .96) 0%, rgba(31, 51, 166, .9) 50%, rgba(31, 51, 166, .55) 100%); }
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #DDE2FA; font-size: 1.12rem; margin: 0; max-width: 34em; }
.band .btn-row { justify-content: flex-end; }

/* Footer */
.site-footer { background: var(--cobalt-deep); color: #C9D0F2; padding: 64px 0 28px; font-size: .96rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #C9D0F2; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.f-brand p { margin: 18px 0; max-width: 26em; }
.f-call { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: #fff !important; }
.f-call svg { color: var(--lime); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 48px; padding-top: 22px; font-size: .86rem; }

/* Mobile bar */
.mobile-bar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .header-cta .call-block { display: none; }
  .steps, .layers { grid-template-columns: 1fr 1fr; }
  .who-wrap { grid-template-columns: 1fr; }
  .who-photo { max-height: 380px; object-position: 50% 25%; }
}
@media (max-width: 920px) {
  body { padding-bottom: 68px; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 120px 0 auto 0; background: #fff; flex-direction: column; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(20, 31, 107, .12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 120px); overflow: auto; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav .mobile-only { display: flex; }
  .nav .btn { margin-top: 10px; color: #fff; }
  .nav-call { display: inline-flex !important; align-items: center; gap: 8px; justify-content: center; font-weight: 800 !important; color: var(--cobalt) !important; }
  .hero-grid, .redpen-grid, .teacher, .faq-grid, .split, .split--img, .about-grid, .contact-grid, .band .wrap { grid-template-columns: 1fr; }
  .hero-planet { max-width: 400px; margin-top: 10px; }
  .skills, .swaps, .promises, .two-links { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row > div:nth-child(3) { border-left: 0; }
  .trust-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .ph-img { height: 280px; order: -1; }
  .page-hero .ph-img img { border-radius: 0; }
  .page-hero .ph-text { padding: 36px 20px 44px; }
  .band .btn-row { justify-content: flex-start; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .teacher-photo img { max-width: 320px; }
  .about-photo { max-width: 380px; margin-inline: auto; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 31, 107, .1); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--cobalt-deep); background: var(--surface); }
  .mobile-bar a.primary { background: var(--cobalt); color: #fff; }
  .mobile-bar svg { width: 18px; height: 18px; }
  .qm-open .mobile-bar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .tb-hide { display: none !important; }
  .topbar .wrap { font-size: .82rem; }
  .site-header .wrap { min-height: 70px; }
  .nav { inset: 110px 0 auto 0; }
  .logo img { width: 48px; height: 48px; }
  .logo span { font-size: 1.25rem; }
  .trust { margin-top: -48px; }
  .trust-row { padding: 4px; }
  .trust-row > div { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 12px; }
  .steps, .layers, .who, .c-cards { grid-template-columns: 1fr; }
  .paper { padding: 50px 18px 24px 40px; transform: none; background-image: linear-gradient(90deg, transparent 26px, #F3B7BA 26px, #F3B7BA 28px, transparent 28px), repeating-linear-gradient(transparent 0 43px, #DCE3F5 43px 44px); }
  .paper figcaption { left: 40px; }
  .paper > p { font-size: 1.05rem; }
  .chip { font-size: .92rem; padding: 8px 14px; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .btn-row .btn--big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* >>> stepform engine (scripts/stepform) — do not edit here */
/* Step-by-step quote form + popup (Website Factory shared engine).
   Append to a site's CSS, then set the --sf-* tokens to the brand in a :root block AFTER this.
   Every class is q-prefixed so it can never clash with the site's own styles (.chip, .field, .card...). */
:root {
  --sf-head: #1f2937;        /* header band */
  --sf-head-ink: #e5e7eb;
  --sf-accent: #f97316;      /* progress, selected tiles */
  --sf-accent-on: #fff;
  --sf-accent-soft: #fff4ec;
  --sf-btn: #c2410c;         /* submit / continue */
  --sf-btn-ink: #fff;
  --sf-ink: #111827;
  --sf-muted: #6b7280;
  --sf-line: #d9dee5;
  --sf-soft: #f3f5f7;
  --sf-radius: 18px;
  --sf-tile-radius: 12px;
  --sf-pill: 999px;
  --sf-font: inherit;
  --sf-title-font: inherit;
  --sf-title-weight: 700;
  --sf-title-transform: none;
  --sf-title-style: normal;
}
.qmodal { border: 0; padding: 0; background: transparent; width: min(580px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; color: var(--sf-ink); }
.qmodal::backdrop { background: rgba(10, 14, 20, .62); backdrop-filter: blur(3px); }
.qmodal[open] { animation: qpop .22s ease-out; }
@keyframes qpop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qwrap { max-height: calc(100dvh - 24px); overflow: auto; border-radius: var(--sf-radius); }
.qform { position: relative; background: #fff; border-radius: var(--sf-radius); padding: 0 0 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); overflow: hidden; text-align: left; font-family: var(--sf-font); font-size: 16px; line-height: 1.5; color: var(--sf-ink); }
.qform *, .qform *::before, .qform *::after { box-sizing: border-box; }
.qform [hidden] { display: none !important; }
.qform svg { width: 1.1em; height: 1.1em; flex: none; }
.qform p, .qform label, .qform li { color: inherit; }
.qclose { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--sf-head), #fff 16%); color: #fff; font: 400 1.6rem/1 system-ui, sans-serif; cursor: pointer; z-index: 2; display: grid; place-items: center; padding: 0; }
.qclose:hover { background: color-mix(in srgb, var(--sf-head), #fff 30%); }
[data-qform-inline] .qclose { display: none !important; }
.qhead { display: flex; gap: 14px; align-items: center; background: var(--sf-head); color: var(--sf-head-ink); padding: 22px 60px 16px 24px; }
.qhead img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.qform .qhead h2 { color: #fff; font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.35rem; line-height: 1.15; margin: 0 0 3px; letter-spacing: 0; }
.qform .qhead p { margin: 0; font-size: .85rem; line-height: 1.4; color: var(--sf-head-ink); }
.qsteps { list-style: none; margin: 0; padding: 4px 24px 18px; background: var(--sf-head); display: flex; justify-content: space-between; position: relative; }
.qsteps::before { content: ""; position: absolute; left: 46px; right: 46px; top: 19px; height: 2px; background: rgba(255,255,255,.2); }
.qsteps::after { content: ""; position: absolute; left: 46px; top: 19px; height: 2px; background: var(--sf-accent); width: calc((100% - 92px) * var(--p, 0)); transition: width .3s; }
.qsteps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; font-size: .72rem; color: rgba(255,255,255,.6); width: 44px; white-space: nowrap; text-align: center; line-height: 1.2; margin: 0; padding: 0; }
.qsteps li::before, .qsteps li::marker { content: none; }
.qsteps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sf-head); border: 2px solid rgba(255,255,255,.3); color: #fff; font-size: .8rem; transition: .2s; }
.qsteps li.on { color: #fff; }
.qsteps li.on b { background: var(--sf-accent); border-color: var(--sf-accent); color: var(--sf-accent-on); }
.qsteps li.done b { background: #fff; border-color: #fff; color: var(--sf-head); }
.qstep { border: 0; margin: 0; padding: 22px 24px 4px; min-width: 0; }
.qform .qstep legend { float: left; width: 100%; font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.25rem; line-height: 1.25; color: var(--sf-ink); margin: 0 0 14px; padding: 0; letter-spacing: 0; }
.qstep legend + * { clear: both; }
.qstep.is-in { animation: qin .25s ease-out; }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }

/* Answer cards: every card in a set is the same size, media is the same size and sits at the same height */
.qtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.qtiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qtiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qtiles--list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
.qtile { position: relative; cursor: pointer; display: block; margin: 0; min-width: 0; }
.qtile input, .qchip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qtile > span { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 2px; padding: 16px 8px 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-tile-radius); background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.qtile .qmedia { width: 54px; height: 54px; flex: none; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--sf-soft); color: var(--sf-head); overflow: hidden; }
.qtile .qmedia svg { width: 26px; height: 26px; }
.qtile .qmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qtile b { font-size: .9rem; color: var(--sf-ink); line-height: 1.25; font-weight: 700; }
.qtile small { font-size: .75rem; color: var(--sf-muted); line-height: 1.3; }
.qtiles--list .qtile > span { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; padding: 12px 14px; }
.qtiles--list .qtile .qmedia { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 2; }
.qtiles--list .qtile .qmedia svg { width: 22px; height: 22px; }
.qtiles--list .qtile b { align-self: end; }
.qtiles--list .qtile small { align-self: start; }
.qtile:hover > span { border-color: var(--sf-accent); }
.qtile input:checked + span { border-color: var(--sf-accent); background: var(--sf-accent-soft); box-shadow: 0 0 0 2px var(--sf-accent) inset; }
.qtile input:checked + span .qmedia { background: #fff; box-shadow: 0 0 0 2px var(--sf-accent); }
.qtile input:focus-visible + span, .qchip input:focus-visible + span { outline: 3px solid var(--sf-accent); outline-offset: 2px; }
.qform .qhint { text-align: center; font-size: .8rem; color: var(--sf-muted); margin: 12px 0 0; }
.qform .qhint.warn { color: #B42318; font-weight: 600; }
.qform .qsub { font-weight: 600; color: var(--sf-ink); margin: 18px 0 8px; font-size: .95rem; }
.qform .qsub--first { margin-top: 0; }
.qchips + .qhint { text-align: left; margin-top: 8px; }
.qsub small, .qform label small { color: var(--sf-muted); font-weight: 400; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { position: relative; cursor: pointer; margin: 0; display: inline-flex; }
.qchip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-pill); font-size: .86rem; font-weight: 500; background: #fff; color: var(--sf-ink); white-space: nowrap; }
.qchip span::before { content: "+"; color: var(--sf-btn); font-weight: 700; }
.qchip input:checked + span { background: var(--sf-head); border-color: var(--sf-head); color: #fff; }
.qchip input:checked + span::before { content: "✓"; color: #fff; }

/* Text fields */
.qfield { display: grid; gap: 6px; margin: 0 0 14px; }
.qfield label { font-weight: 600; font-size: .88rem; color: var(--sf-ink); }
.qfield input, .qfield select, .qfield textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-tile-radius); font: inherit; font-size: 1rem; color: var(--sf-ink); background: #fff; margin: 0; }
.qfield textarea { min-height: 76px; resize: vertical; }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { border-color: var(--sf-head); outline: 3px solid color-mix(in srgb, var(--sf-accent) 35%, transparent); outline-offset: 0; }
.qrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qerr { color: #B42318; font-size: .8rem; display: none; }
.qfield.bad .qerr { display: block; }
.qfield.bad input, .qfield.bad select { border-color: #B42318; }

/* Buttons */
.qnav { display: flex; gap: 10px; margin-top: 18px; }
.qnav .qgo { flex: 1; }
.qgo { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--sf-pill); background: var(--sf-btn); color: var(--sf-btn-ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; }
.qgo:hover { filter: brightness(.92); }
.qback { min-height: 52px; padding: 0 18px; border-radius: var(--sf-pill); border: 1.5px solid var(--sf-line); background: #fff; color: var(--sf-ink); font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer; }
.qback:hover { border-color: var(--sf-head); }
.qskip { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--sf-muted); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }
.qform .qtip { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--sf-ink); background: var(--sf-soft); border-radius: var(--sf-tile-radius); padding: 10px 12px; margin: 14px 0 0; }
.qtip svg { width: 18px; height: 18px; color: var(--sf-btn); margin-top: 1px; }
.qtip a { color: var(--sf-btn); font-weight: 700; }
.qform .qsend-err { color: #B42318; font-size: .85rem; font-weight: 600; margin: 10px 0 0; text-align: center; }
.qform .qsend-err a { color: inherit; }
.qform .qconsent { font-size: .74rem; line-height: 1.4; color: var(--sf-muted); margin: 12px 0 0; text-align: center; }
.qtrust { display: flex; justify-content: center; gap: 16px; font-size: .78rem; color: var(--sf-muted); padding: 14px 0 0; border-top: 1px solid var(--sf-line); margin: 18px 24px 0; }
.qtrust span { display: inline-flex; gap: 5px; align-items: center; }
.qtrust svg { width: 14px; height: 14px; color: var(--sf-head); }

/* Thank-you screen */
.qsuccess { display: none; }
.qform.q-sent > *:not(.qsuccess):not(.qhead):not(.qclose) { display: none !important; }
.qform.q-sent .qsuccess { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 4px; padding: 26px 24px 8px; }
.qok { width: 64px; height: 64px; border-radius: 50%; background: var(--sf-accent); color: var(--sf-accent-on); display: grid; place-items: center; margin-bottom: 8px; }
.qok svg { width: 30px; height: 30px; }
.qform .qsuccess h3 { margin: 0; color: var(--sf-ink); font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.4rem; }
.qform .qsuccess p { margin: 0; }
.qsummary { list-style: none; padding: 14px 16px; margin: 12px 0 16px; background: var(--sf-soft); border-radius: var(--sf-tile-radius); width: 100%; text-align: left; font-size: .88rem; display: grid; gap: 4px; }
.qsummary li { margin: 0; padding: 0; }
.qsummary li::before { content: none; }
.qsummary b { color: var(--sf-ink); }
.qsuccess .qgo { white-space: normal; text-align: center; max-width: 100%; }
.qform .qnum { white-space: nowrap; }
.qsuccess .qactions { display: grid; gap: 10px; width: 100%; max-width: 360px; }
.qsuccess .qgo--wa { background: #128C4A; }
.qsuccess .qgo--line { background: #fff; color: var(--sf-ink); border: 1.5px solid var(--sf-line); }
[data-qform-inline] .qform { box-shadow: var(--shadow, 0 14px 34px -16px rgba(0,0,0,.35)); }
body.qm-open { overflow: hidden; }

@media (max-width: 560px) {
  .qmodal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .qwrap { max-height: 100dvh; height: 100dvh; border-radius: 0; background: #fff; }
  .qmodal .qform { border-radius: 0; min-height: 100%; box-shadow: none; }
  .qhead { padding: 18px 56px 14px 18px; }
  .qhead h2 { font-size: 1.15rem; }
  .qstep { padding: 18px 18px 4px; }
  .qtrust { margin-inline: 18px; gap: 10px; flex-wrap: wrap; }
  .qtiles, .qtiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qtiles--3m { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qtiles--list { grid-template-columns: minmax(0, 1fr); }
  .qsteps { padding-inline: 12px; }
  .qsteps::before, .qsteps::after { left: 34px; }
  .qsteps::before { right: 34px; }
  .qsteps::after { width: calc((100% - 68px) * var(--p, 0)); }
  .qsteps li { font-size: .64rem; }
  .qrow2 { grid-template-columns: 1fr; gap: 0; }
}
/* <<< stepform engine */
/* brand for the step form */
:root {
  --sf-head: #1F33A6;
  --sf-head-ink: #DDE2FA;
  --sf-accent: #1F33A6;
  --sf-accent-on: #FFFFFF;
  --sf-accent-soft: #EEF0FB;
  --sf-btn: #1F33A6;
  --sf-btn-ink: #FFFFFF;
  --sf-ink: #12162E;
  --sf-muted: #4A5070;
  --sf-line: #DDE1F0;
  --sf-soft: #F2F4FB;
  --sf-radius: 20px;
  --sf-tile-radius: 14px;
  --sf-font: 'Figtree', system-ui, sans-serif;
  --sf-title-font: 'Outfit', sans-serif;
  --sf-title-weight: 800;
  --sf-pill: 999px;
}
